Server Rates on NFO?

Post Reply
Brand0n
New to forums
New to forums
Posts: 9
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Jan 11, 2014 5:14 am

Server Rates on NFO?

Post by Brand0n »

Would these be correct for a 60 slot server on NFO

Code: Select all

sv_minrate 100000
sv_maxrate 0
decalfrequency 10
sv_maxupdaterate 67
sv_minupdaterate 33
Our tickrate is at 33
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Server Rates on NFO?

Post by kraze »

Brand0n wrote:Would these be correct for a 60 slot server on NFO

Code: Select all

sv_minrate 100000
sv_maxrate 0
decalfrequency 10
sv_maxupdaterate 67
sv_minupdaterate 33
Our tickrate is at 33
Drop your sv_maxupdaterate to 34. Since the server is set at 33 putting that at 67 won't do anything. I don't believe it's going to hurt to have it at 67, but just for consistency.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Brand0n
New to forums
New to forums
Posts: 9
Joined: Sat Jan 11, 2014 5:14 am

Re: Server Rates on NFO?

Post by Brand0n »

Anything else you think should be changed because we're having random wep switches and it seems like it's something to do with rates as because I've already looked through all of our lua for SetActiveWeapon and LastInv.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Server Rates on NFO?

Post by kraze »

Brand0n wrote:Anything else you think should be changed because we're having random wep switches and it seems like it's something to do with rates as because I've already looked through all of our lua for SetActiveWeapon and LastInv.
I wouldn't expect lag to cause a players weapon to randomly switch. During these switches are you observing any high pings or any choke/loss in net_graph 4?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Server Rates on NFO?

Post by soja »

NFO by default sets net_splitpacket_maxrate high, which is where it should be. Can you confirm you haven't touched this setting in server.cfg?

High slot RP servers suffer from a big issue where the server continually tries to download sprays from clients, and this can cause huge lag spikes(freezing/skipping). You need to set:
sv_allowdownload 0
sv_allowupload 0

if you haven't already. This will not effect file downloads as long as they are on a fastdl server or the workshop. You will also want to delete everything from the garrysmod/download/user_custom folder. This is where client sprays are stored on the server.
Not a NFO employee
Brand0n
New to forums
New to forums
Posts: 9
Joined: Sat Jan 11, 2014 5:14 am

Re: Server Rates on NFO?

Post by Brand0n »

soja wrote:NFO by default sets net_splitpacket_maxrate high, which is where it should be. Can you confirm you haven't touched this setting in server.cfg?

High slot RP servers suffer from a big issue where the server continually tries to download sprays from clients, and this can cause huge lag spikes(freezing/skipping). You need to set:
sv_allowdownload 0
sv_allowupload 0

if you haven't already. This will not effect file downloads as long as they are on a fastdl server or the workshop. You will also want to delete everything from the garrysmod/download/user_custom folder. This is where client sprays are stored on the server.

I haven't touched net_splitpacket_maxrate but I'm relying somewhat on the fast dl and workshop, I can probably change this to only use the work shop.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Server Rates on NFO?

Post by soja »

You misunderstand, changing sv_allowupload and sv_allowdownload will not effect file downloads using fastdl or workshop. It should only effect sprays being uploaded to the client by the server. This prevents the server from continually checking for these files which causes lag spikes.

net_splitpacket_maxrate should be set to 100000 or more on large servers.
Not a NFO employee
Post Reply