I'm running CentOS - I configured the bootloader to make sure it is not running a dynamic kernel timer (nohz=no) and the OS boots only using 1 core (isolating the other cores from the scheduler). I have a script that boosts the priority and assigns each srcds process it's own core, has fifo scheduling and io scheduling to realtime (ensure SDA io scheduler is CFQ if available). taskset -pc 1 $pids chrt -p -f 30 $pids ionice -c 1 -n 2 -t -p $pids I run 128 tick and ppl complain about 2-3 var sometimes on the match servers .. unfortunately currently it is running in Hyper-V, as we run several VM on the hardware (webservers, db server & csgo servers) I need virtualization and hope to move to a better hypervisor (any suggestions, I was advised to use XenServer?) we don't host servers for money, we just try to run a game forum / match making experience for a local community (where the Valve MM servers are 60+ ping and 64 tick and we don't have leetway/altpug/ESEA) Date: Mon, 31 Mar 2014 00:31:04 +0200 From: [email protected] To: [email protected] Subject: Re: [Csgo_servers] Server performance problems
You can run the process with taskset: http://linux.die.net/man/1/taskset If you are using your own modified srcds_run (shell script), you can add this command. When you do your own start script, which runs the srcds_linux directly, you have to set the LD_LIBRARY_PATH=./bin The process can be started in a while true loop. I've seen this script which is setting the priority for all servers in cron job. It's not the best way. 2014-03-30 20:59 GMT+02:00 [email protected] <[email protected]>: Thx guys. I'll try it this way! :) thx a lot!! Am 30.03.2014 20:36, schrieb Valentin G.: You can have the server create a .pid file and use a script to renice or taskset it. On Sun, Mar 30, 2014 at 8:13 PM, Moritz <[email protected]> wrote: No, not as far as I know. Am 30.03.2014 19:27, schrieb [email protected]: One more time the process-priority thing: is there a way to start the server with a higher cpu priority? is this also '-high' as on clientside? Am 30.03.2014 15:44, schrieb [email protected]: Thx a lot. I will test it now and i'll report if this have the effect i hope it will. :) Am 30.03.2014 15:37, schrieb ics: To clarify.. -20 is highest, 20 is lowest. It's reverse thing. -ics ics kirjoitti: Yes and yes. You can only lower the priority as normal user but sudo or root is required to raise it. -ics [email protected] kirjoitti: Thx for the fast answers. Is it possible to change the priority 'on the fly' , so while the Server is running and full? :) And: I have to change it really via 'root' and not as 'server-user'? Am 30.03.2014 13:56, schrieb Moritz: Hey, first you need to install a task-manager like utitily. I prefer htop, but you can use top. Then you find out the Process-ID of the CS:GO server, and run the following command as root: # renice -20 <pid> That should help to get a more stable tickrate. Am 30.03.2014 13:51, [email protected] wrote: Hey, anyone wrote something about setting CPU Priority on Debian ( i dont find the mail... ). Could anyone describes how it works for a linux-noob? :) Thanks a lot! _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
_______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
