Tweaking freebsd kernel for gaming

Hi. I am trying to tweak my freebsd kernel for use with game servers to help reduce the lag. Could anyone help me to let me know if my settings or correct?

I run a p4 2.8ghz server with hyperthreading, 2gigs pc3200 ddr

Operating system is Freebsd 5.1

Here are some of the settings I came up with from other websites and posts about this stuff.

# Memory Kernel Settings

options SHMSEG=81920
options SEMMNI=81920
options SEMMNS=1024
options SHMALL=81920
options SHMMNI=81920

# Add to /etc/sysctl.conf

kern.ipc.shmmax=335544320

Are any of my settings incorrect? Also would this work on a dual xeon 2.4ghz with hyperthreading and 1gig of ddr pc3200.

Thanks

 

 

 

 

Top