Re: [hlds_linux] srcds_linux multithreaded
I have been running one tf2 server through wine for the last 3 hours, and so far tickrate has never gone below 60 even on pl_goldrush and pl_frontier_final at 32 players. Metamod, Sourcemod, Stripper, TF2Items, SDK Hooks and CBaseServer plugins/extensions seem to be working fine. Both top and rcon stats report srcds.exe using up to 120% CPU The only problem so far, apart from the awkwardness of running the windows version of a program that has a native linux implementation, is that srcds.exe is using 3.2 GB of swap. I still have to investigate this, also because I have a total 2 GB of swap :) On Tue, Mar 15, 2011 at 2:48 PM, Claudio Beretta beretta.clau...@gmail.comwrote: TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] srcds_linux multithreaded
On Wed, Mar 16, 2011 at 5:39 PM, Claudio Beretta beretta.clau...@gmail.com wrote: TF2Items :D ~ Their heads are green, and their hands are blue, And they went to sea in a Sieve. - Edward Lear On Wed, Mar 16, 2011 at 5:39 PM, Claudio Beretta beretta.clau...@gmail.com wrote: I have been running one tf2 server through wine for the last 3 hours, and so far tickrate has never gone below 60 even on pl_goldrush and pl_frontier_final at 32 players. Metamod, Sourcemod, Stripper, TF2Items, SDK Hooks and CBaseServer plugins/extensions seem to be working fine. Both top and rcon stats report srcds.exe using up to 120% CPU The only problem so far, apart from the awkwardness of running the windows version of a program that has a native linux implementation, is that srcds.exe is using 3.2 GB of swap. I still have to investigate this, also because I have a total 2 GB of swap :) On Tue, Mar 15, 2011 at 2:48 PM, Claudio Beretta beretta.clau...@gmail.comwrote: TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ 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
[hlds_linux] srcds_linux multithreaded
TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] srcds_linux multithreaded
As far as I know, srcds is always single-threaded. L4D and L4D2 will use multiple CPUs if they are running multiple forks, but even in this configuration each individual fork will only use one CPU. - Dave - Original Message - From: Claudio Beretta beretta.clau...@gmail.com Date: Tuesday, March 15, 2011 9:49 am Subject: [hlds_linux] srcds_linux multithreaded To: Half-Life dedicated Linux server mailing list hlds_linux@list.valvesoftware.com TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ 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
Re: [hlds_linux] srcds_linux multithreaded
SRCDS does not support multithreading/multicore yet, so you don't have this option at the moment. /Chris Sendt fra min iPhone 4 Den 15/03/2011 kl. 14.48 skrev Claudio Beretta beretta.clau...@gmail.com: TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ 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
Re: [hlds_linux] srcds_linux multithreaded
thanks Chris and Dave for your replies. On windows it was working great and was definitely using more than one core. Don't tell me I have to run 32 slots servers under wine :) On Tue, Mar 15, 2011 at 3:54 PM, Christoffer Pedersen v...@vrod.dk wrote: SRCDS does not support multithreading/multicore yet, so you don't have this option at the moment. /Chris Sendt fra min iPhone 4 Den 15/03/2011 kl. 14.48 skrev Claudio Beretta beretta.clau...@gmail.com : TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ 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
Re: [hlds_linux] srcds_linux multithreaded
Maybe windows was showing multicore load while process was still one thread - better load balancing under windows? thanks Chris and Dave for your replies. On windows it was working great and was definitely using more than one core. Don't tell me I have to run 32 slots servers under wine :) On Tue, Mar 15, 2011 at 3:54 PM, Christoffer Pedersenv...@vrod.dk wrote: SRCDS does not support multithreading/multicore yet, so you don't have this option at the moment. /Chris Sendt fra min iPhone 4 Den 15/03/2011 kl. 14.48 skrev Claudio Berettaberetta.clau...@gmail.com : TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ 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 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] srcds_linux multithreaded
A few months ago there was a TF2 update that increased CPU usage significantly. The temporary workaround suggested by valve was to put -threads 3 in the commandline. I can't remember if it was a problem specific to windows or affected linux too, but from this we can say that -at least on windows- srcds has some sort of multithread support. And even in the (unlikely?) case that process explorer was wrong in reporting the CPU usage.. at the end the tickrate was stable at 66, which is the result I'm seeking to achieve on linux. On Tue, Mar 15, 2011 at 4:12 PM, Kacper Nowak ad...@gameranger.pl wrote: Maybe windows was showing multicore load while process was still one thread - better load balancing under windows? thanks Chris and Dave for your replies. On windows it was working great and was definitely using more than one core. Don't tell me I have to run 32 slots servers under wine :) On Tue, Mar 15, 2011 at 3:54 PM, Christoffer Pedersenv...@vrod.dk wrote: SRCDS does not support multithreading/multicore yet, so you don't have this option at the moment. /Chris Sendt fra min iPhone 4 Den 15/03/2011 kl. 14.48 skrev Claudio Berettaberetta.clau...@gmail.com : TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ 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 ___ 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
Re: [hlds_linux] srcds_linux multithreaded
Hi ! We did use CentOS for a very short time, it wasent the best(for us). We now are using fedora core for one machine (4 cores running 2 TF2+ 1 dods). Another machine with almost same spec. running Debian (2 dods) All is 32-slots minimum installs with custom kernels (no x-windows installed) We are monitoring all servers with munin and can se every stat in graphs. maybe you managed to get CentOS to run as it should, but we didnt. if you having problems do install debian on a spare hd and try ! we are using kernels from here http://www.ulrich-block.de Good luck ! Peter -Ursprungligt meddelande- From: Claudio Beretta Sent: Tuesday, March 15, 2011 2:48 PM To: Half-Life dedicated Linux server mailing list Subject: [hlds_linux] srcds_linux multithreaded TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ 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
Re: [hlds_linux] srcds_linux multithreaded
thanks for your feedback. Which kind of problems did you have with CentOS that forced you move to Debian? The same issue I'm experiencing when the server is full or something else? I'd rather avoid changing (again!) OS if it isn't really necessary, and I don't have a spare HDD to test it on :( On Tue, Mar 15, 2011 at 6:07 PM, Svensk Ljud Ljus Produktion i...@teaterljud.se wrote: Hi ! We did use CentOS for a very short time, it wasent the best(for us). We now are using fedora core for one machine (4 cores running 2 TF2+ 1 dods). Another machine with almost same spec. running Debian (2 dods) All is 32-slots minimum installs with custom kernels (no x-windows installed) We are monitoring all servers with munin and can se every stat in graphs. maybe you managed to get CentOS to run as it should, but we didnt. if you having problems do install debian on a spare hd and try ! we are using kernels from here http://www.ulrich-block.de Good luck ! Peter -Ursprungligt meddelande- From: Claudio Beretta Sent: Tuesday, March 15, 2011 2:48 PM To: Half-Life dedicated Linux server mailing list Subject: [hlds_linux] srcds_linux multithreaded TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ 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
Re: [hlds_linux] srcds_linux multithreaded
CentOS isn't too great for Gameserver hosting, or so I've found. I get much better throughput with Gentoo in comparison. Debian was much better then CentOS (There have been several notable performance increases with the latest Kernels, including 2.6.38 which just came out today). Realtime is retarded for GS hosting, especially when you're going for throughput. SRCDS is a whore, Valve doesn't seem to care at all which was made evident with the last wave of performance hurting updates. Their testing field is 32 players on CS:S, I'm unsure about other games. We're running dual X5650s ( http://ark.intel.com/Product.aspx?id=47922 ). Even this monster cannot handle 54 players that well. Kyle. On Tue, Mar 15, 2011 at 11:46 AM, Claudio Beretta beretta.clau...@gmail.com wrote: thanks for your feedback. Which kind of problems did you have with CentOS that forced you move to Debian? The same issue I'm experiencing when the server is full or something else? I'd rather avoid changing (again!) OS if it isn't really necessary, and I don't have a spare HDD to test it on :( On Tue, Mar 15, 2011 at 6:07 PM, Svensk Ljud Ljus Produktion i...@teaterljud.se wrote: Hi ! We did use CentOS for a very short time, it wasent the best(for us). We now are using fedora core for one machine (4 cores running 2 TF2+ 1 dods). Another machine with almost same spec. running Debian (2 dods) All is 32-slots minimum installs with custom kernels (no x-windows installed) We are monitoring all servers with munin and can se every stat in graphs. maybe you managed to get CentOS to run as it should, but we didnt. if you having problems do install debian on a spare hd and try ! we are using kernels from here http://www.ulrich-block.de Good luck ! Peter -Ursprungligt meddelande- From: Claudio Beretta Sent: Tuesday, March 15, 2011 2:48 PM To: Half-Life dedicated Linux server mailing list Subject: [hlds_linux] srcds_linux multithreaded TL;DR version: are there magic command line parameters or convars that enable multithreading for srcds games on linux? Or anything that might prevent the gameserver from using more than one core? Long version: I recently changed OS from Windows 2008 64 bit to Centos 5.5 64 bit because I needed iptables to filter all the incoming attacks so popular in these days. The hardware remained the same: Xeon w3520 (server version of i7 920), 12 GB RAM, 2x80 GB Intel x25-M SSD. The problem I'm encountering is that when any 32 slots server gets full, the server fps (measured from rcon stats and net_graph 4) drop below acceptable levels. They may even reach 20-30 fps, and much less when there are bots playing. This obviously affects the tickrate, and players experience rubber banding and bad hit detection. Both top and rcon stats say that the CPU usage never goes over 100% (1 core). On windows rcon stats reported up to 150%, and sysinternals process explorer confirmed that the gameserver was using up to 19% of the whole system (which means approximately 1.5 cores, since this box has 4+4 cores thanks to hyperthreading). On windows, fps were stable, and only in a couple of maps the tickrate would drop below 66. I've tried several kernels: the stock centos one (2.6.18-194.32.1.el5), a couple provided by my host via netboot (2.6.34-something, 2.6.34-something HZ1000) and now i'm using a realtime kernel (2.6.33.7-rt29). Both 2.6.34 and the realtime kernel were the best regarding to fps jitter, but they did't improve at all the low fps when the server is full. Playing with taskset to set the affinity of the process has no visible effects, same thing with nice and chrt. Also tried disabling all addons and using a 3 lines server.cfg (sv_log 0; hostname; rcon_password) but still no effect worth mentioning. I've come to the conclusion that srcds on linux can use at most one core. I hope I'm wrong, since it would mean I'm stuck at running 32 slots servers at tickrate 33 despite having good hardware. How you guys manage to run 32 slots srcds servers on linux? Thanks Claudio ___ 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 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux