SRCDS Steam group


How many servers?
#16
On all server i have mani admin, sourcemod with sourcebans (I know i should only have sourcemod instead of both sourcemod and mani) zombiemod (on the zm/ze server) then just few addons from eventscripts

and rates for 100tick server:
sv_maxrate 30000
sv_minrate 5000
sv_minupdaterate 50
sv_maxupdaterate 100
sv_mincmdrate 50
sv_maxcmdrate 100

rates for my 66tick:
sv_maxrate 25000
sv_minrate 5000
sv_minupdaterate 10
sv_maxupdaterate 66
sv_mincmdrate 10
sv_maxcmdrate 66

oh yeah since we were talking about assigning 1gs to 1 core im just curious if im doing this right in my start.sh
and next server is taskset -c 1 and so on... I read alot of topics about assigning gs to cores and so but still confusing me a little.

#!/bin/sh
echo "Starting Minigames"
sleep 1
screen -A -m -d -S minigames taskset -c 0 ./srcds_run -console -game cstrike +maxplayers 24 +map mapname -tickrate 100 -port 27015 -secure -autoupdate

I will have to do this all remotly so I have had really busy days learning more about Linux. and how to do all thru ssh with putty and so on. I was gonna install redhat enterprise on a computer here at home and try to learn more but then i realised enterprise wasnt free Toungue so now im basicly just waiting for my order to complete, I think its best for me to learn about how to handle a unmanaged server then just let someone else do all work for me on a managed server which costs alot more and I wouldnt learn shit then but to click couple of buttons

and I think i might have to update the kernel aswell for higher fps and i read alot about it so hopefully I can do it myself
Reply
#17
taskset -c 1 <<<< i got bad fps results when i setting up the gs for only one CPU. i would use all for each process. both has pro and contra, but i think you will get the most positive results by setting up for all CPU "0-3"

i would install debian 32 or 64 bit

for 1000fps > you need to activate the high resolution timer in your kernel, normally thats all. after that there are a lot of othere tricks to get more stable fps.

-peter
Reply
#18
(12-02-2009, 04:44 PM)Peter_Pan123 Wrote:  "Either learn too English, or don't post."
.......
Please, before you correct me look for your own mistakes.


That's called bait, or taking the piss.

Also, your the one starting this flame war. You called my post bullshit then apparently agreed with what I said. And you can get 1000FPS with the stock Debain 5 kernel.

For using taskset:

#!/bin/sh
echo "Starting Minigames"
sleep 1
taskset -c X screen -A -m -d -S 1 ./srcds_run -console -game cstrike +maxplayers 24 +map mapname -tickrate 100 -port 27015 -secure -autoupdate

Were x is the core, eg core 0 = 1st CPU core, 1 = 2nd, etc.

Only an assumption, but from experience any SRCDS's I assign to core 0 tend to run slightly less stable than cores 1-3, so I believe that's what the OS and other lovely bits are running on.

So use this for assigning the SRCDS to core 2.

#!/bin/sh
echo "Starting Minigames"
sleep 1
taskset -c 1 screen -A -m -d -S 1 ./srcds_run -console -game cstrike +maxplayers 24 +map mapname -tickrate 100 -port 27015 -secure -autoupdate


Also seems this is your first time with Linux, I would use some other methods to stabilise the FPS before compiling your own kernel. Then when you get some more experience go for it :p

What I would suggest is trying to set the pr and nice value's, using a simple set of scripts. A good tutorial for setting pr is found here: http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization#Setting_your_servers_to_run_with_realtime_schedulin​g

And for reniceing your SRCDS proccesses use: http://www.srcds.com/db/engine.php?subaction=showfull&id=1103579727&archive=

-Christy
Reply
#19
bloodangel: iam to old for that kiddy stuff sry i stop here and for you ... You shouldn't throw stones if you live in a glass house ....
Reply
#20
#!/bin/sh
echo "Starting Minigames"
sleep 1
taskset -c 0 screen -A -m -d -S mg ./srcds_run -console -game cstrike +maxplayers 24 +map mapname -tickrate 100 -port 27015 -secure -autoupdate

#!/bin/sh
echo "Starting ZE"
sleep 1
screen -A -m -d -S ze ./srcds_run -console -game cstrike +maxplayers 50 +map mapname -tickrate 66 -port 27015 -secure -autoupdate

#!/bin/sh
echo "Starting zm"
sleep 1
taskset -c 1 screen -A -m -d -S zm ./srcds_run -console -game cstrike +maxplayers 24 +map mapname -tickrate 100 -port 27015 -secure -autoupdate

#!/bin/sh
echo "Starting random"
sleep 1
taskset -c 2 screen -A -m -d -S something ./srcds_run -console -game cstrike +maxplayers 24 +map mapname -tickrate 100 -port 27015 -secure -autoupdate

#!/bin/sh
echo "Starting random"
sleep 1
taskset -c 3 screen -A -m -d -S something ./srcds_run -console -game cstrike +maxplayers 24 +map mapname -tickrate 100 -port 27015 -secure -autoupdate

This is how it looks right now... i mean these are just random Toungue but this is how it is gonna look... I removed the taskset from ze since it should be able to use all cores i think or i have to make it like taskset -c 0-3 ?

and I guess I will be reniceing all the srcds im gonna run since i aint gonna run them all from one install cause of 2 different zombiemod configs Toungue

I still have alot of to learn about hosting with linux but im starting to understand alot more now thanks to you guys =)
Reply
#21
(12-04-2009, 12:03 AM)[KmZ]KaMiKaZe Wrote:  I removed the taskset from ze since it should be able to use all cores i think or i have to make it like taskset -c 0-3 ?
srcds can unfortunately use only one core. but (on a quad-core) no taskset or taskset -c 0-3 will be the same (and mean in our case that srcds can use any core).

Quote:and I guess I will be reniceing all the srcds im gonna run since i aint gonna run them all from one install cause of 2 different zombiemod configs Toungue
1. what has renicing to do with your number of installations? ;-)
2. in my experience, renicing doesn't help much. much better is setting the scheduling to SCHED_FIFO and a high priority.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#22
I thought you had to renceing all the srcds that will be running since you in windows you basicly just put in /high in the command line for it to have high priority Toungue I guess I learned something new again Big Grin
Reply
#23
well, renicing might be close to what you can do on windows with start /high, but linux can do better, so we want to use that, right? ;-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#24
Yeah i've heard that Linux takes less resources if just configure it all right and im sick and tired of windows.
This week i've learned pretty much about Linux and will try to focuse more on it then windows and someday I can help people that are just as big noobs as i am today Big Grin
Reply
#25
(12-03-2009, 04:39 PM)Peter_Pan123 Wrote:  bloodangel: iam to old for that kiddy stuff sry i stop here and for you ... You shouldn't throw stones if you live in a glass house ....

Don't be a douche all your life.

On topic, Yes high priority + scheduling changes are much better, but every little helps right Big Grin?
Reply


Forum Jump:


Users browsing this thread: 12 Guest(s)