Raised This Month: $51 Target: $400
 12% 

Css server Lag spikes [css]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Iltafragit
New Member
Join Date: Dec 2011
Old 12-04-2011 , 11:41   Css server Lag spikes [css]
Reply With Quote #1

Hello guys i have problem, i created server yesterday. 16 slot server normal public. My internet speed is 10 megas and upload 10 also. I dont know why my server got these lagspikes? wrong rates or something? I think with 10 megas upload u can easily host 16 slot server?
Iltafragit is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 12-04-2011 , 12:16   Re: Css server Lag spikes [css]
Reply With Quote #2

give us more specs. what's your CPU? how much ram have you got? and what's its speed?

you can use CPU-z to find out
__________________
nikooo777 is offline
Iltafragit
New Member
Join Date: Dec 2011
Old 12-04-2011 , 12:26   Re: Css server Lag spikes [css]
Reply With Quote #3

4kg ram i5 processor
Iltafragit is offline
Russianeer
SourceMod Donor
Join Date: Feb 2011
Old 12-04-2011 , 12:40   Re: Css server Lag spikes [css]
Reply With Quote #4

Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Geez, you have 4 kilograms of ram in your computer? That's some beefy computer. You would need some really tough motherboard to hold 4 kg of ram. So how much ram in gigabytes does 4 kilograms of it equal?

Last edited by Russianeer; 12-04-2011 at 12:40.
Russianeer is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-04-2011 , 23:29   Re: Css server Lag spikes [css]
Reply With Quote #5

*edit
Dedicated server ? Only host server not for play game ?

upload = 10 Mbps ~ 1.25 MB/s

1.25 MB/s / 16 players = 0,078125 MB/s

78125 B/s per player.

Try
Code:
sv_maxrate 50000 // or 70000
sv_minrate 30000
net_splitpacket_maxrate 30000 // If this help somehow?
sv_minupdaterate 33
sv_mincmdrate 33
sv_maxupdaterate 66
sv_maxcmdrate 66
sv_client_cmdrate_difference 10 // How much the difference between cmdrate and updaterate (tolerance)
For Cs:s, this is up to you.
Do you want force players interp and other settings.
Code:
"sv_competitive_minspec" = "0"
 game notify replicated
 - Enable to force certain client convars to minimum/maximum values to help prevent competitive advantages:
     r_drawdetailprops = 1
     r_staticprop_lod = minimum -1 maximum 3
     fps_max minimum 59 (0 works too)
     cl_detailfade minimum 400
     cl_detaildist minimum 1200
     cl_interp_ratio = minimum 1 maximum 2
     cl_interp = minimum 0 maximum 0.031
I have enabled because NOT ALL players understand console client cvars/settings. Will automatically set interp to players
__________________
Do not Private Message @me

Last edited by Bacardi; 12-04-2011 at 23:29.
Bacardi is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 12-06-2011 , 16:43   Re: Css server Lag spikes [css]
Reply With Quote #6

interesting thing that last one!

is there a command to enforce rates too by any chances?
__________________
nikooo777 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-07-2011 , 10:32   Re: Css server Lag spikes [css]
Reply With Quote #7

Quote:
Originally Posted by nikooo777 View Post
interesting thing that last one!

is there a command to enforce rates too by any chances?
..... have been ages ago. Not need plugins to force players rates !!
server cvars
__________________
Do not Private Message @me
Bacardi is offline
MFS
AlliedModders Donor
Join Date: Dec 2010
Old 01-12-2012 , 15:13   Re: Css server Lag spikes [css]
Reply With Quote #8

I have 8 cores, 2 GHz, 8 GB of memory. Debian 6.3
8 servers running css, TF2 -1 server.
All processes are evenly distributed across cores (taskset)
Connect one gigabit (datacenter).
Total 140 slots. Players are engaged in an average of 50% (70 slots).
What settings should be on the server?
And what settings the players?

Last edited by MFS; 01-12-2012 at 15:15.
MFS is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-15-2012 , 06:00   Re: Css server Lag spikes [css]
Reply With Quote #9

Quote:
Originally Posted by MFS View Post
I have 8 cores, 2 GHz, 8 GB of memory. Debian 6.3
8 servers running css, TF2 -1 server.
All processes are evenly distributed across cores (taskset)
Connect one gigabit (datacenter). (Speed test will tell better result, and hope this is upload speed)
Total 140 slots. Players are engaged in an average of 50% (70 slots).
What settings should be on the server?
And what settings the players?
let's look quick...

Gbps convert to GB/s
1 Gbps / 8 = 0.125 GB/s

Change gigabytes to bytes
125 000 000 B/s

Share by 140 slots
125 000 000 B/s / 140 = 892857,1428571429 B/s per slot (more than enough bandwidht)

So something like this, my answer.
sv_minrate 50000
sv_maxrate 100000
__________________
Do not Private Message @me
Bacardi is offline
Ahmadf5388
Junior Member
Join Date: Dec 2018
Old 04-24-2019 , 02:28   Re: Css server Lag spikes [css]
Reply With Quote #10

Quote:
Originally Posted by Bacardi View Post
let's look quick...

Gbps convert to GB/s
1 Gbps / 8 = 0.125 GB/s

Change gigabytes to bytes
125 000 000 B/s

Share by 140 slots
125 000 000 B/s / 140 = 892857,1428571429 B/s per slot (more than enough bandwidht)

So something like this, my answer.
sv_minrate 50000
sv_maxrate 100000

Hey man ! i have a 44 slot css v34 server on a vds wih i5 processor with 2GH And 8 GB Ram And +100 MB/s up and down internet speed but when players are more then 30 server gets lag what shuld i do ?
Ahmadf5388 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:16.


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