So if we jump this up to 2GB of RAM (we have 1GB now), you think we'll
be in better shape? Enough to be able to run 3-4 HLDS (pingboost 2 and
500fps)?

Thanks Sid!

- Matt

Sid Stuart wrote:

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
The performance problem does not look to be due to high CPU load.The
first line of vmstat shows the utilization over the life of the machine.
The server averages 13% (sy + id) load. With the two servers running, it
shows 22% load, lot's of headroom. The wait state percentage (wa) is 0,
so the system is not hanging on I/O.

Memory looks more likely to be the problem. The six hlds processes are
consuming 66% of memory. My math skills say starting another game would
consume 99% of memory and leave little space available for buffering
maps and such. Doubling or tripling the amount of memory in the system
would let it run four to six servers, given the CPU utilization.

sid

Matt Savona wrote:



At the moment, the 3rd server isnt running (because preformance is too
poor for all other HLDS). Here is vmstat 1:

procs -----------memory---------- ---swap-- -----io----
--system------cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us
sy id wa
2  0      0  72480  40148 644952    0    0     2     3    4     0 12
1 87  0
1  0      0  72480  40148 644952    0    0     0     0 3843  1473 20
2 77  0


And ps vax (required processes trimmed for brevity):

2451 ?        S      0:00      0    27  1508  568  0.0 syslogd -m 0
2455 ?        S      0:00      0    20  1467  444  0.0 klogd -x
2465 ?        S      0:02      0     6  1473  452  0.0 irqbalance
2482 ?        S      0:00      1    27  1588  572  0.0 portmap
2501 ?        S      0:00      0    33  1586  700  0.0 rpc.statd
2536 ?        S      0:00      0    26  1517  560  0.0 rpc.idmapd
2643 ?        S      0:00      0    15  1460  460  0.0 /usr/sbin/acpid
2654 ?        S      0:00      9   237  7402 1996  0.1 cupsd
2818 ?        S      0:01      0   262  3469 1456  0.1 /usr/sbin/sshd
2836 ?        S      0:00      0   143  1944  896  0.0 xinetd
-stayalive -pidfile /var/run/xinetd.pid
2854 ?        S      0:00      0   690  6349 2768  0.2 sendmail:
accepting connections
2863 ?        S      0:00      0   690  5453 2348  0.2 sendmail: Queue
[EMAIL PROTECTED]:00:00 for /var/spool/clientmqueue
2878 ?        S      0:00      0    23  1572  632  0.0 crond
2894 ?        S      0:00      2    72  4351 2684  0.2 xfs -droppriv
-daemon
2911 ?        S      0:00      0    15  1572  596  0.0 /usr/sbin/atd
2920 ?        S      0:00      0   230  1713  812  0.0 dbus-daemon-1
--system
2933 ?        S      0:38      1    59  2136 1116  0.1 mdadm --monitor
--scan
2949 tty2     S      0:00      0     8  1463  344  0.0 /sbin/mingetty
tty2
2950 tty3     S      0:00      0     8  1463  340  0.0 /sbin/mingetty
tty3
2951 tty4     S      0:00      0     8  1459  340  0.0 /sbin/mingetty
tty4
2952 tty5     S      0:00      0     8  1463  340  0.0 /sbin/mingetty
tty5
2953 tty6     S      0:00      0     8  1459  340  0.0 /sbin/mingetty
tty6
3104 tty1     S      0:00      0     8  1459  340  0.0 /sbin/mingetty
tty1
3270 ?        S      0:10      0   306  4269 1240  0.1 SCREEN -d -m -S
10 ./hlds_run -game cstrike -pingboost 2 +ip 69.93.50.152 +exec
server.cfg +port 270
3271 pts/1    S      0:00      0   554  3869 1048  0.1 /bin/sh
./hlds_run -game cstrike -pingboost 2 +ip 69.93.50.152 +exec server.cfg
+port 27015 +maxplay
4231 pts/1    R    393:12      0    44 133683 122860 11.8 ./hlds_i686
-game cstrike -pingboost 2 +ip 69.93.50.152 +exec server.cfg +port 27015
+maxplayers
4232 pts/1    S      0:00      0    44 133683 122860 11.8 ./hlds_i686
-game cstrike -pingboost 2 +ip 69.93.50.152 +exec server.cfg +port 27015
+maxplayers
4233 pts/1    S      0:00      0    44 133683 122860 11.8 ./hlds_i686
-game cstrike -pingboost 2 +ip 69.93.50.152 +exec server.cfg +port 27015
+maxplayers
5092 ?        S      0:03      0   306  4265 1232  0.1 SCREEN -d -m -S
cstrike-62 ./hlds_run -game cstrike -pingboost 2 +ip 69.93.50.153 +exec
server.cfg +
5093 pts/2    S      0:00      0   554  3865 1020  0.0 /bin/sh
./hlds_run -game cstrike -pingboost 2 +ip 69.93.50.153 +exec server.cfg
+port 27015 +maxplay
5101 pts/2    S    248:45      2    44 115999 106120 10.2 ./hlds_i686
-game cstrike -pingboost 2 +ip 69.93.50.153 +exec server.cfg +port 27015
+maxplayers
5102 pts/2    S      0:00      0    44 115999 106120 10.2 ./hlds_i686
-game cstrike -pingboost 2 +ip 69.93.50.153 +exec server.cfg +port 27015
+maxplayers
5103 pts/2    S      0:00      0    44 115999 106120 10.2 ./hlds_i686
-game cstrike -pingboost 2 +ip 69.93.50.153 +exec server.cfg +port 27015
+maxplayers
5453 ?        S      0:00      0   262  7121 2080  0.2 sshd: 62 [priv]
5455 ?        S      0:00      0   262  7261 2276  0.2 sshd: [EMAIL PROTECTED]/0
5805 ?        SN     0:00      0    93  1706  804  0.0 vsftpd
5807 ?        SN     0:01      0    93  1814  908  0.0 vsftpd
5917 pts/0    R      0:00      0    64  2215  568  0.0 ps vax

I'll turn AMX off in the metamod config and see what affect it has :).

- Matt

Sid Stuart wrote:



More information is needed to diagnose the performance problem,

Run a "vmstat 1" for about 10 seconds while the three programs are
running and post the results.

Also do a "ps vax" and post the results from that. With the output from
those two programs, I can see whether it is CPU or memory bound.

Sid

Matt Savona wrote:



Hi Guys,

  At the moment we have a machine with the following specs:

  Dual Xeon 2.8GHz (HT enabled in the kernel)
  1GB RAM
  74GB 10k RPM SCSI Hard Drive

  I'm running 2.6.12 kernel with the hz/user_hz tweak (=1000).

  At the moment we have 2x 12 man privates that are full 100% of the
time. These are running with pingboost 2 and sys_ticrate 500. FPS on
these two servers is almost always 500. System load is around 1.0.

  However, when we attempt to run a 3rd HLDS with the same
pingboost/ticrate settings, FPS on all 3 servers drop significantly
(and
randomly) below 100. Load hits about 2.10. When we kill the 3rd
process,
load drops back to ~1.0 and we get 500 fps on the other two servers
again.

  We are under the assumption that the processor can handle 3
instances of HLDS without a problem. But we're not sure why this 3rd
HLDS process is making such a big difference in game server
performance.
Does anyone have any ideas? Is it the RAM? Have we configured the
kernel
wrong? Any suggestions would be very helpful!

Thanks!

- Matt

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux





_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux







--
/Sid Stuart
Games Engineering /

Yahoo! Games
            701 First Avenue
            Sunnyvale, CA  94089
            (408) 349-7575   office


--


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux






_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to