SRCDS Steam group


New guy here, looking for some help
#1
Ok, i seem to be having an issue. I have 2 servers up, one running debian with the kernel i compiled following the howto from one of the members here. On the other box i have centos 5.2 on it stock kernel.

What seems to be happening is that they dont want to do anything more than a 33 tick rate. Now i cant say that its a for sure that its not pumping more but when looking at the ins and outs for netgraph in CS:S it pegs out at 33.9 and wont go above it.

On the both servers i am using the config i found from this thread http://forums.srcds.com/viewtopic/8433

The only thing that i changed was host_framerate. Anything above 0 and the server ran in double time.

Anyone have an pointers or can see something that im doing wrong?
Reply
#2
- Are you launching it with "-tickrate 100" ?
- fps_max higher than ~300 ?
- got sv_maxcmdrate 100 ?
- got sv_maxupdaterate 100 ?

What's the output of "rcon stats"? (Could be High cpu usage and poor fps due to it?)

Post your server configs so perhaps we can help you further.
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Reply
#3
The config is from this thread http://forums.srcds.com/viewtopic/8433

and the way i start the server is

./srcds_run -game cstrike -autoupdate -tickrate 100 +maxplayers 20


Code:
// Define your ServerName, this is the name there'll be displayed in the Internet tab.
// Defualt: Counter-Strike: Source
hostname "Test Server"


// Define your RCon(Remote Console) password, this is mostly used for match servers.
// I'll recommend you to set one, incase you suddenly needs it.
// Default: Just don't make it easy to quess! Use big and small letters and numbers!
// Look at the example I've set for this one. No one will quess that, only 1 out of ten billion times.
// Defualt: None.
rcon_password "XXXX"


// Define your Server password, so only people who knows it can connect.
// Defualt: None.
sv_password " "


// Define your maxsize for a map(sounds, materials and models are included too)
// if your map exceeds the CVAR limit, will your map NOT be downloaded from your server.
// Defualt: 16
net_maxfilesize "50"


// Define your website for FastDownload.
// Extra: Are you looking for a free webhost to FastDownload?
// If so, goto this thread at http://forums.srcds.com/viewtopic/9366
// Or this is if the other one doesn't work: www.downloadurl.net
// Defualt: None.
sv_downloadurl " "


// Allow clients to upload their custom decals to the server.
// Default: 1
sv_allowupload 1


// Allow clients to downnload files.
// Default: 1
sv_allowdownload 1      


// Define your servers MAX Frame Per Second(FPS).
// To recieve 1000FPS on Windows, try to use "fps_max 0".
// Defualt: ?
fps_max "500"

// This controls your server framerate.
// Default: 0
host_framerate 0


// Amount of time in seconds a player can spray their decal.
// Default: 10
decalfrequency 60
      

// If this CVAR is 0, both Internet and LAN players will be able to join.
// If this CVAR is 1, ONLY LAN PLAYERS ON YOUR OWN NETWORK WILL BE ABLE TO JOIN NOMATTER IF YOU HAVE DONE PORTFORWARING!
// Default: 0
sv_lan 0  


// This will define your location in the world, if somebody as Europe ONLY in their filtes and you have USA - then wouldn't be able to find your server.
// Default: 3
// 0 - Us Eastcoast.
// 1 - US Westcoast.
// 2 - South America.
// 3 - Europe.
// 4 - Asia.
// 5 - Australia.
// 6 - Middle East.
// 7 - Africa.
// 255 - World
sv_region 0


// This could be your own email or another email who do business withing this server.
// Defualt: None.        
sv_contact admin@admin.admin


// Dynamic Pricing.
// As more people purchase a certain weapon, the price will rise and other weapons will become less expensive.
// Defualt: 1
mp_dynamicpricing 0

// Maximum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_maxrate 30000


// Minimum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_minrate 15000  


// Maximum updates per second as the server will allow.
// Default: 60
// Note: If you're using less than 100Tick, change this CVAR to a lower value.
// For 100TICK: sv_maxupdaterate 100
// For 66TICK: sv_maxupdaterate 66
// For 33TICK: sv_maxupdaterate 33
sv_maxupdaterate 100


// Minimum updates per second as the server will allow.
// Default: 10
// Note: If you're using less than 100Tick, change this CVAR to a lower value than "sv_maxupdaterate xx"
// For 100TICK: sv_minupdaterate 75
// For 66TICK: sv_minupdaterate 45
// For 33TICK: sv_minupdaterate 15
sv_minupdaterate 75


// This controls your cleints maximum cmdrate.
// Do the same with this one like: sv_maxupdaterate
// Default: 40
sv_maxcmdrate 100


// This controls your cleints minimum cmdrate.
// Do the same with this one like: sv_minupdaterate
// Default: 0
sv_mincmdrate 75


// Enables player lag compensation.
// Default: 1
sv_unlag 1


// Sets the maximum ammount of seconds that the netcode compensates for someone's ping.
// Default: 0.5
sv_maxunlag 1
Reply
#4
here is the stats from rcon

Code:
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.50  0.00  0.00       0     0  471.92       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.20  0.00  0.00       0     0  408.66       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.00  0.00  0.00       0     0  457.88       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.00  0.00  0.00       0     0  458.51       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.00  0.00  0.00       0     0  478.47       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.00  0.00  0.00       0     0  394.01       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.00  0.00  0.00       0     0  448.03       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.00  0.00  0.00       0     0  408.66       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.00  0.00  0.00       0     0  466.85       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.00  0.00  0.00       0     0  473.93       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
3.50  0.00  0.00       0     0  464.04       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
3.33  0.00  0.00       0     0  473.04       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
3.33  0.00  0.00       0     0  459.98       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
3.50  0.00  0.00       0     0  420.34       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
4.00  0.00  0.00       0     0  443.26       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
3.50  0.00  0.00       0     0  475.96       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
3.50  0.00  0.00       0     0  475.06       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
3.50  0.00  0.00       0     0  473.04       0
stats
CPU   In    Out   Uptime  Users   FPS    Players
3.50  0.00  0.00       0     0  471.70       0
Reply
#5
Are your rates set properly? cl_updaterate 100 cl_cmdrate 100
*Windows lack of output*
You: Hey, I want to run this program!
Windows: Ok.. It crashed... Now what? Give up?
You:...wtf...
*linux output helpful?*
You: ./My_program
Linux:...Failed!...oo kitties!
You:...wtf...
Reply
#6
Myllz Wrote:The only thing that i changed was host_framerate. Anything above 0 and the server ran in double time.
host_framerate must be kept on 0. you might want to change fps_max also to 0 to disable the limit. (btw: host_framerate does *not* control the frame rate, but makes the server assume always running with the given frame rate. it is generally a very bad idea to play with this!)

apart from that, if you are running with -tickrate 100 at command line and achieve frame rates higher than 100, your server should run with a rickrate of 100. but you also have to check both your servers and your own net settings. the appropriate settings are already given in the postings by afterhoursgaming and Myllz. (but I would not recommend setting sv_mincmdrate and sv_minupdaterate so high, this might rise the ping and even lead to loss/choke on players with not so good connections... those effects are much worse than a low cmd/updaterate!)
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


Forum Jump:


Users browsing this thread: 2 Guest(s)