[ut2004] RAM usage in 2.6.9?
Rick
zajelo3 at cfl.rr.com
Mon Oct 25 19:58:19 EDT 2004
Mathew Hennessy wrote:
>Hi,
> I'm having a hell of a time with ut2004 when running the 2.6.9 kernel. I end
>up maxing out physical memory (top shows over 280MB real, 420 total for
>ut2004-bin) and going into swap. This results in a major slowdown.
>
> Is there any instrumentation in ut2004 that I can turn on that would help
>diagnose this issue?
>
> I'm running a P4 2.8C, 512MB RAM, Gentoo 2.6.9 w/nvidia 6111 drivers.
>
>TIA!
>- Matt
>
>
>
Any kernel I've ever used has taken that much memory to run ut2004,
be it a 2.4 kernel or 2.6. Can you do a "echo 0 >
/proc/sys/vm/swappiness" to keep your machine from swapping? It works on
FC2 with 512megs of memory. Otherwise you can add some variables to your
etc/rc.d/rc.local file like :
echo 16 > /sys/block/hda/queue/max_sectors_kb
echo 0 > /proc/sys/vm/dirty_expire_centisecs
echo 0 > /proc/sys/vm/dirty_writeback_centisecs
echo 60 > /proc/sys/vm/dirty_background_ratio
echo 95 > /proc/sys/vm/dirty_ratio
All this does is tweak your virtual memory.
Rick B
More information about the ut2004
mailing list