AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   [CS:S] Suggested Server Rates (https://forums.alliedmods.net/showthread.php?t=115393)

DruGzOG 01-12-2010 21:10

[CS:S] Suggested Server Rates
 
100 Tick Rate
500 FPS Max
Linux OS
20 Bots
50 Slots

What would you suggest for server rates?

Hipster 01-12-2010 21:51

Re: [CS:S] Suggested Server Rates
 
50 slots @ 100 tick? I've heard that using 100 tick with a lot of slots can get buggy (though I don't know if that's true or not, maybe someone else can confirm?).

Either way, these rate settings should be fine for any 100 tick CS:S server:
Code:

sv_minrate 13000
sv_maxrate 30000
sv_minupdaterate 66
sv_maxupdaterate 100
sv_mincmdrate 66
sv_maxcmdrate 100


DruGzOG 01-12-2010 21:59

Re: [CS:S] Suggested Server Rates
 
Will give a go at it, thanks. Will post feedbacks.

hectorz0r 01-12-2010 22:09

Re: [CS:S] Suggested Server Rates
 
...

DruGzOG 01-12-2010 22:20

Re: [CS:S] Suggested Server Rates
 
Could you post an up to date server.cfg if you happen to have one Hipster or anyone else that comes across this?

Lob (UK 01-13-2010 07:16

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by DruGzOG (Post 1053245)
100 Tick Rate
500 FPS Max
Linux OS
20 Bots
50 Slots

What would you suggest for server rates?

The Rates that "Hipster" gave you are spot on for a 100 Tick.

You should realise though that it is highly unlikely you will ever get a 50 Slot server running smooth at 100 Tick Rate whether you have bots or not.

I wouldnt recommend using any more than around 18 Slots on a 100 Tick.

100 Tick is mainly used for match scenario servers of around 18 Slots or less and is totally not necessary and a waste of resources on anything else.

You should lower the Tick Rate to 66 Tick which will give you a much better performance all round.

Here are some decent Rates for a 66 Tick Server

//Server Rates
sv_maxrate 30000
sv_minrate 13000
sv_maxupdaterate 67
sv_minupdaterate 33
sv_maxcmdrate 67
sv_mincmdrate 33

Dont forget, the Tick rate can only be changed via the srcds command-line start up parameter's i.e. -tickrate 66

- Lob (UK)

hectorz0r 01-13-2010 11:01

Re: [CS:S] Suggested Server Rates
 
...

Lob (UK 01-13-2010 11:53

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by hectorz0r (Post 1053709)
Even with tick 66 it still lag alot, another suggestion?

Reduce the Slots or reduce the Tick back to the valve default of 33 Tick.

I would suggest stay at 66 Tick and reduce the Slots until you find the ideal amount of slots for the best performance for your situation. But if you want to give 33 Tick ago, then try these Server rates.

//Server Rates
sv_maxrate 30000
sv_minrate 10000
sv_maxupdaterate 33
sv_minupdaterate 10
sv_maxcmdrate 33
sv_mincmdrate 10

33 Tick is the default so you do not need to set any tick rate in the command-line parameter's for default settings.

- Lob (UK)

hectorz0r 01-13-2010 12:39

Re: [CS:S] Suggested Server Rates
 
...

YamiKaitou 01-13-2010 13:05

Re: [CS:S] Suggested Server Rates
 
Lob (UK) is saying to reduce the total amount of slots, meaning from 50 to something lower.

Lob (UK 01-13-2010 13:07

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by hectorz0r (Post 1053795)
Correct me if I'm wrong but the slots shouldnt be the reason of the lag since the server had 1 player and 20 bots right? I've tried to remove all the bots, it still lags even with 1 player online without bots. Havent reduced the slots yet because as I said before, it's possible the issue being caused by the slots since there is only one player online? If so, tell me and I will reduce the slots, if not, any suggestion? Thanks for the help anyway.

What are the specs of the Machine the Server is running on?

Is the machine dedicated to just running the Servers or is it shared?

Check the resources usage whilst the server is running.

Running 50 Slots on 1 srcds requires a quite powerful machine.

- Lob (UK)

hectorz0r 01-13-2010 13:15

Re: [CS:S] Suggested Server Rates
 
...

Lob (UK 01-13-2010 13:31

Re: [CS:S] Suggested Server Rates
 
As already said, you need to reduce the amount of slots and test.

Reduce it to 32 Slots running at 66 Tick and test how it performs and see if it does make a difference.

Or reduce the Tick Rate to default 33 Tick and test.

This is an area that needs looking at first and only takes a few minutes to set up and test.

- Lob (UK)

hectorz0r 01-13-2010 13:48

Re: [CS:S] Suggested Server Rates
 
...

Lob (UK 01-13-2010 14:54

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by hectorz0r (Post 1053866)
I can't change the amount of slots using ftp, I must wait until he get on. I'm going to tell you the results in few hours. But anyway, doesnt it look like impossible to be the amount of slots because even if one player is online it lags, and seems to be impossible to be the cpu too because it were using 10% max, anyway yes I will try your suggestion, but well, looks strange. Thanks anyway.

Make sure the Tick Rate is being set to 66 in the command-line parameter's as it has to be done that way.

The fact that it is lagging as soon as 1 player joins is the reason why we are testing it this way by reducing the slots and running at 66 Tick to see if there is a difference in performance which could provide a valuable clue.

Can you paste you Server IP too so i can view the set up.

Cheers

- Lob (UK)

hectorz0r 01-13-2010 15:12

Re: [CS:S] Suggested Server Rates
 
...

Lob (UK 01-13-2010 18:00

Re: [CS:S] Suggested Server Rates
 
Had a look at your set up.

I noticed you have Es_tools installed but there doesnt seem to be any scripts installed that are actually using it unless the script authors have not written version numbers into them etc.

If no scripts are using it, then you may aswell remove it because it can also be quite buggy and the less addons the better.

You are also using Goremod which can cause some Lag. I would remove it for now to see if it helps.

- Lob (UK)

DruGzOG 01-13-2010 18:51

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by Lob (UK (Post 1054110)
Had a look at your set up.

I noticed you have Es_tools installed but there doesnt seem to be any scripts installed that are actually using it unless the script authors have not written version numbers into them etc.

If no scripts are using it, then you may aswell remove it because it can also be quite buggy and the less addons the better.

You are also using Goremod which can cause some Lag. I would remove it for now to see if it helps.

- Lob (UK)

Alright Heading to take the goremod suggestion and will test out the rates you've suggested as well as others.

hectorz0r 01-13-2010 19:05

Re: [CS:S] Suggested Server Rates
 
...

DruGzOG 01-13-2010 19:38

Re: [CS:S] Suggested Server Rates
 
The Lagg has been a bit better.

Quote:

./srcds_run -game cstrike -ip {ip} -port {port} -maxplayers {slots} -tickrate {cfg1} +fps_max {cfg2} +map {cfg3} +servercfgfile {cfg4} +tv_enable {cfg5} +tv_maxclients {cfg6} +tv_port {cfg7} -autoupdate
This is what Im currently running as the start command. Any suggestions or modifications you may suggest?

Lob (UK 01-13-2010 20:06

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by DruGzOG (Post 1054189)
The Lagg has been a bit better.

This is what Im currently running as the start command. Any suggestions or modifications you may suggest?

Quit a few parameters you have set there. :)

Do you ever actually use Source TV?

I would remove them all from the command-line. The only one that is actually doing anything anyway is +tv_enable and that can still be set in the server.cfg. Obviously the TV has to enabled before the map which it will do when the map changes anyway.

Set them in your server.cfg i.e tv_enable 1, tv_maxclients, tv_port etc...

You opt out of Source TV by using the command-line parameter -nohltv which disables Source TV and closes its port (usually 27020). There is no need to actually set it in the command-line.

What is the reason for all the references to various CFG's in your command-line such as -tickrate {cfg1} and +map {cfg3}? Why not -tickrate 66, +map de_dust etc?

- Lob (UK)

DruGzOG 01-13-2010 20:09

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by Lob (UK (Post 1054206)
Quit a few parameters you have set there. :)

Do you ever actually use Source TV?

I would remove them all from the command-line. The only one that is actually doing anything anyway is +tv_enable and that can still be set in the server.cfg. Obviously the TV has to enabled before the map which it will do when the map changes anyway.

Set them in your server.cfg i.e tv_enable 1, tv_maxclients, tv_port etc...

What is the reason for all the references to various CFG's in your command-line such as -tickrate {cfg1} and +map {cfg3}? Why not -tickrate 66, +map de_dust etc?

- Lob (UK)

Well Im quite not used to it hence why I posted it. Could you modify it and post it here? I have no use of the tv so I guess I can remove that

Lob (UK 01-13-2010 20:24

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by DruGzOG (Post 1054210)
Well Im quite not used to it hence why I posted it. Could you modify it and post it here? I have no use of the tv so I guess I can remove that

Ok assuming that you are not trying to exec a specific server.cfg and are using the server.cfg that you have put in cstrike/cfg, srcds will automatically execute it so that can be removed aswell.

Try this one and replace the IP, Port and map as required.

Code:

./srcds_run -game cstrike -ip xx.xxx.xxx.xxx -port 27015 +map de_dust +maxplayers 32 -autoupdate -tickrate 66 +fps_max 500
Set tv_enable 0 in your server.cfg so it is disabled which will also save resources.

- Lob (UK)

nightrider 01-13-2010 20:25

Re: [CS:S] Suggested Server Rates
 
Well we have some 66tic Counter-Strike Source servers dedicated dust2
34 + 2 reserved = 36 slot

Our command line looks something like this.
Code:

-game cstrike -tickrate 66 +fps_max 600 -console +ip 0.0.0.0 -port 27015 +maxplayers 36 +exec server.cfg +map de_dust2 -preload
Code:

//Code: 66 tickrate server

// bandwidth rates/settings
sv_minrate 13000
sv_maxrate 30000
sv_minupdaterate 33
sv_maxupdaterate 67
sv_mincmdrate 33
sv_maxcmdrate 67
sv_client_cmdrate_difference 1
sv_client_predict 1
sv_client_interpolate 1
sv_client_min_interp_ratio -1
sv_client_max_interp_ratio -1


DruGzOG 01-13-2010 21:03

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by nightrider (Post 1054239)
Well we have some 66tic Counter-Strike Source servers dedicated dust2
34 + 2 reserved = 36 slot

Our command line looks something like this.
Code:

-game cstrike -tickrate 66 +fps_max 600 -console +ip 0.0.0.0 -port 27015 +maxplayers 36 +exec server.cfg +map de_dust2 -preload
Code:

//Code: 66 tickrate server

// bandwidth rates/settings
sv_minrate 13000
sv_maxrate 30000
sv_minupdaterate 33
sv_maxupdaterate 67
sv_mincmdrate 33
sv_maxcmdrate 67
sv_client_cmdrate_difference 1
sv_client_predict 1
sv_client_interpolate 1
sv_client_min_interp_ratio -1
sv_client_max_interp_ratio -1


If you wouldn't mind, could you post your server.cfg?

nightrider 01-13-2010 21:14

Re: [CS:S] Suggested Server Rates
 
Well I won't post my server config.
But that information should get you in the right direction.

I have trouble keeping 36 slots from lagging
as 32 is really the limit

You can read up on a post here at srcds.com

DruGzOG 01-13-2010 21:15

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by nightrider (Post 1054342)
Well I won't post my server config.
But that information should get you in the right direction.

I have trouble keeping 36 slots from lagging
as 32 is really the limit

You can read up on a post here at srcds.com

I mean I want to get as high as possible to 50 or even 64 at a chance.

nightrider 01-13-2010 21:22

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by DruGzOG (Post 1054344)
I mean I want to get as high as possible to 50 or even 64 at a chance.

Not a chance with 50 or 64 slot without dropping down to 33tic
and even that will be hard.

Code: 100 tickrate server

bandwidth rates/settings
sv_minrate 13000
sv_maxrate 30000
sv_minupdaterate 67
sv_maxupdaterate 101
sv_mincmdrate 67
sv_maxcmdrate 101

Code: 66 tickrate server

bandwidth rates/settings
sv_minrate 13000
sv_maxrate 30000
sv_minupdaterate 33
sv_maxupdaterate 67
sv_mincmdrate 33
sv_maxcmdrate 67

Code: 33 tickrate server

bandwidth rates/settings
sv_minrate 13000
sv_maxrate 25000
sv_minupdaterate 22
sv_maxupdaterate 34
sv_mincmdrate 22
sv_maxcmdrate 34

Lob (UK 01-13-2010 21:25

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by DruGzOG (Post 1054344)
I mean I want to get as high as possible to 50 or even 64 at a chance.

You lagged like hell with 50 slots at 100 Tick.

Your Lag is reduced when running 32 Slots at 66 Tick Rate.

This speaks for itself and answers your question and it is highly unlikely that you will be able to get the Slots you are looking for on your machine even at 33 Tick.

The 66 Tick Server Rates have been give by a few of us and they are all similar and they are the main thing you need to set right in your server.cfg.

You need to work with you have got and you may be able to tweak further.

You can create yourself a nice server.cfg from this site here.

http://www.cstrike-planet.com/cfgmaker?cfg=srcds

- Lob (UK)

nightrider 01-13-2010 21:28

Re: [CS:S] Suggested Server Rates
 
True that is a great config maker.
Your bandwidth will also add to the calculations.

Try this out even with the CPU number limited to a single core.
http://www.reece-eu.net/drekrates.php

Lob (UK 01-13-2010 21:37

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by nightrider (Post 1054357)
True that is a great config maker.
Your bandwidth will also add to the calculations.

Try this out even with the CPU number limited to a single core.
http://www.reece-eu.net/drekrates.php

Yep, a very handy and well made config maker that. No doubt we have both had a play with that over the years. :)

Great site for the bandwidth calcs too by the way. :wink:

DruGzOG 01-13-2010 21:38

Re: [CS:S] Suggested Server Rates
 
Alright these are the specs of the box as far as I know at the moment:

Fujitsu PRIMERGY RX200 with Intel D5000 Chipset
1x Intel Xeon E5405 1x Quadcore
4 GB DDR2-RAM ECC
2x 250 GB SATA II HDDS 7.2k rpm
RAID 1

PERFECTSERVER L - Xeon
________________________________

We solved the issue concerning lagg and fixed up the server, but the players that connect get up to a 50~ choke. Would this affect the gameplay? This is a customized Zombie Hell

Lob (UK 01-13-2010 21:57

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by DruGzOG (Post 1054364)
Alright these are the specs of the box as far as I know at the moment:

Fujitsu PRIMERGY RX200 with Intel D5000 Chipset
1x Intel Xeon E5405 1x Quadcore
4 GB DDR2-RAM ECC
2x 250 GB SATA II HDDS 7.2k rpm
RAID 1

PERFECTSERVER L - Xeon

You dont mention your bandwidth which is very important.

However, the reason you are struggling with your slots is because your CPU is 2 GHz per Core.

Srcds only runs on a single Core so you need to base your Slots on 2 Gig per Core, in other words So many Slots per core which is why you are struggling to get a high amount of Slots.

- Lob (UK)

DruGzOG 01-13-2010 21:59

Re: [CS:S] Suggested Server Rates
 
Sorry but I don't think you saw the edit part :)


Quote:

We solved the issue concerning lagg and fixed up the server, but the players that connect get up to a 50~ choke. Would this affect the gameplay? This is a customized Zombie Hell

Lob (UK 01-13-2010 22:16

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by DruGzOG (Post 1054376)
Sorry but I don't think you saw the edit part :)

Quote:

We solved the issue concerning lagg and fixed up the server, but the players that connect get up to a 50~ choke. Would this affect the gameplay? This is a customized Zombie Hell
Well looking at your Server, i see you have put it back up to 50 slots again despite the advice that has been given.

You are getting 50 Choke with only 2 players connected.

This will change dramatically when more players join, especially on a Zombie Server.

Here is a copy and paste of what Choke is and what causes it. http://www.fishtankclan.com/e107_plu...php?content.44

Quote:


Choke - Choke is server lag. Choke basically means that your computer is sending your players position, and what he does (shoot, nade, knife) to the server, and its not getting there. Counter Strike Source default is to send your players actions to the server 30 times a second. Choke is caused by two things:
  1. Your computer is sending too many packets to the server per second. If you try to send 100 commands to the server per second, and it can only accept 40, you are going to be getting 60 choke. This will make you SUCK, none of your shots will register, and only 40% of the things you try to make your player do will be done. (for solution, see below)
  2. The server is not able to read all of the information being sent to it. This can be caused by network lag at the server, or CPU lag at the server. The client cannot control this, but can accomodate for it (solution below)

It is likely to be due to section 2 above based on your CPU.

- Lob (UK)

hectorz0r 01-14-2010 12:36

Re: [CS:S] Suggested Server Rates
 
...

Lob (UK 01-14-2010 12:49

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by hectorz0r (Post 1054820)
I HEARD that choke isnt important as long as you keep getting the max cl_cmdrate and cl_updaterate that server let you use, true/false? When people fire, etc. in his server it doesnt lag but the choke goes to 40/50, but as I said it doesnt lag at all, from the 33 cl_cmdrate and cl_updaterate I'm getting around 28/33.

A client can only ever get the Rates the Server has Set as in the Max/Min rates or in between. If you are above the max, then you are temporarily forced to the Server Max whilst connected or if you are below the minimum, you are temporarily forced to the Server Minimum whilst connected. This is all handled by the Server and no changes are made to Clients actual config files which is why rate checkers often confuse people as they only show the clients config settings and not what they are actually getting whilst connected to the Server.

You are missing the obvious point though.

Read through the posts properly.

You will struggle running a 50 Slot Zombie Server on a 2 Gig CPU.

You could probably run 4no srcds at 66 Tick with lower Slots comfortably aslong as you have enough bandwidth. The CPU being Quad Core is irrelevant when it comes to how many slots you can run because you have to work it out against just 1 of the Cores.

The choke you are referring to is when only 2 players and 20 Bots were connected.

You will know more when you have 30 players on and 20 Bots.

It will more than likely become unplayable after about 10 to 15 players join.

All you can do is see what happens and if this is the case, then lowering your Slot Total is your only choice.

- Lob (UK)

hectorz0r 01-14-2010 12:54

Re: [CS:S] Suggested Server Rates
 
...

Lob (UK 01-14-2010 13:05

Re: [CS:S] Suggested Server Rates
 
Quote:

Originally Posted by hectorz0r (Post 1054842)
Isnt there a way to use more than one core? If not, with this choke issue can we try a 40 slot with 33 tick (20 bots) or should it be 32 only?

There is no way of using more than one Core at the moment. Srcds does not support multithreading. Affinities can be changed to assign the srcds to a certain core but again, there is no getting way from the 1 core.

If you are fine with trying 33 Tick, then you may be able to get away with extra slots. Give it a try. Set the Server to 40 Slots at 33 Tick and test it. You will need to see what it is like when there are lots of humans on though, not just 2 players.

You may find you can even get 50 slots at 33 Tick. It will be trial and error and adjust as you go.

All you can do is try mate.

High Slot Server's usually run better at lower Tick Rates.

- Lob (UK)

hectorz0r 01-14-2010 22:24

Re: [CS:S] Suggested Server Rates
 
...


All times are GMT -4. The time now is 00:38.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.