You can run the process with taskset: *http://linux.die.net/man/1/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
