Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Killing Floor Forums > Technical Support > Dedicated Server Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-17-2012, 01:46 PM
Dinamix Dinamix is online now
Senior Member
 
Join Date: Mar 2012
Posts: 142
Default Help to understand rates in killing floor

Hello all , I am now using these rates ,but is it possible to optimzie more?what does MaxInternetClientRate and MaxClientRate?If i will increase more MaxInternetClientRate will be more lag or it will let use more data?

MaxInternetClientRate=10000
MaxClientRate=20000
NetServerMaxTickRate=41
Reply With Quote
  #2  
Old 08-17-2012, 04:56 PM
_KaszpiR_'s Avatar
_KaszpiR_ _KaszpiR_ is offline
Senior Member
 
Join Date: Sep 2006
Location: Poland, Warsaw
Posts: 175
Default

Actually, it doesn't change much.
Client hardly sends up to 8000 so 10000 is a safe value.
You could change download to 32000 but I doubt you gonna feel the difference.

Don't touch Tickrate or your server goes insane.
__________________

Last edited by _KaszpiR_; 08-17-2012 at 04:57 PM.
Reply With Quote
  #3  
Old 08-19-2012, 04:18 AM
EpharGy EpharGy is offline
Senior Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,350
Default

Quote:
Originally Posted by _KaszpiR_ View Post
Actually, it doesn't change much.
Client hardly sends up to 8000 so 10000 is a safe value.
You could change download to 32000 but I doubt you gonna feel the difference.

Don't touch Tickrate or your server goes insane.
If you do change higher than 20000, then do netspeed 20000 on the client, your FPS cap online jumps to 120 and not 90.

might only need to do netspeed 2000 and not any server side modifications, not sure i dont play outside my own servers to test.
Reply With Quote
  #4  
Old 08-19-2012, 11:37 AM
King Sumo's Avatar
King Sumo King Sumo is offline
Senior Member
 
Join Date: Jan 2011
Location: Brazil
Posts: 301
Default

The default client netspeed is 10000 right?

What I have noticed here is that if we have 1 player and about 30 monsters and everyone walking in the map then the server upload is a little less than ~10000 bytes/s. The upload drops significantly if they stop walking. If we have 32 monsters the upload reaches the maximum value (if MaxClientRate=10000), but this for 1 player. If we have 6 players we reach the 10000 bytes/s when we have about 26 monsters walking.
__________________
Bonus Stage/Boss Time Mutator
Pickup class for the Holy Hand Grenade
Door messages Mutator
My KF Public Server: Sexta Bruta Hardcore Server
Reply With Quote
  #5  
Old 08-19-2012, 05:35 PM
Dinamix Dinamix is online now
Senior Member
 
Join Date: Mar 2012
Posts: 142
Default

Quote:
Originally Posted by King Sumo View Post
The default client netspeed is 10000 right?

What I have noticed here is that if we have 1 player and about 30 monsters and everyone walking in the map then the server upload is a little less than ~10000 bytes/s. The upload drops significantly if they stop walking. If we have 32 monsters the upload reaches the maximum value (if MaxClientRate=10000), but this for 1 player. If we have 6 players we reach the 10000 bytes/s when we have about 26 monsters walking.
I have 20 server players and it lag on higer wawes from 6-7 when it's full.So i should also increase net to 20000 ?
Reply With Quote
  #6  
Old 08-23-2012, 09:55 PM
King Sumo's Avatar
King Sumo King Sumo is offline
Senior Member
 
Join Date: Jan 2011
Location: Brazil
Posts: 301
Default

I don't know... They are a plenty of 20+ servers running without lag. Perhaps some admin can share the server configuration.
Have you tried set the tickrate to 41?
__________________
Bonus Stage/Boss Time Mutator
Pickup class for the Holy Hand Grenade
Door messages Mutator
My KF Public Server: Sexta Bruta Hardcore Server

Last edited by King Sumo; 08-24-2012 at 12:16 AM.
Reply With Quote
  #7  
Old 08-24-2012, 07:41 AM
Dinamix Dinamix is online now
Senior Member
 
Join Date: Mar 2012
Posts: 142
Default

Quote:
Originally Posted by King Sumo View Post
I don't know... They are a plenty of 20+ servers running without lag. Perhaps some admin can share the server configuration.
Have you tried set the tickrate to 41?
Yes and it helps to lower players ping, today i will try to make higher tickrate ,may it help.
Reply With Quote
  #8  
Old 08-26-2012, 02:22 PM
Proxyhat Proxyhat is offline
Member
 
Join Date: Aug 2012
Posts: 84
Default

Quote:
Originally Posted by Dinamix View Post
Hello all , I am now using these rates ,but is it possible to optimzie more?what does MaxInternetClientRate and MaxClientRate?If i will increase more MaxInternetClientRate will be more lag or it will let use more data?

MaxInternetClientRate=10000
MaxClientRate=20000
NetServerMaxTickRate=41
Any particular reason that you set the tickrate to 41, and not, say, 40? Seems strange to me.

Last edited by Proxyhat; 08-26-2012 at 02:25 PM.
Reply With Quote
  #9  
Old 08-26-2012, 02:41 PM
M4R10zM0113R M4R10zM0113R is offline
Senior Member
 
Join Date: Jan 2011
Posts: 108
Default

Quote:
Originally Posted by Proxyhat View Post
Any particular reason that you set the tickrate to 41, and not, say, 40? Seems strange to me.
I think That tickrate means some sort of like... CSS's FPS in a dedicated server.


Quote:
Originally Posted by EpharGy View Post
If you do change higher than 20000, then do netspeed 20000 on the client, your FPS cap online jumps to 120 and not 90.

might only need to do netspeed 2000 and not any server side modifications, not sure i dont play outside my own servers to test.
Netspeed 2000? they use 2000 when server is idle with one player

Quote:
Originally Posted by Dinamix View Post
Yes and it helps to lower players ping, today i will try to make higher tickrate ,may it help.
Takes up more RAM, and less lag if the players are nearer.
Overall lag reduced with higher tickrates if your netspeed can afford it.

Last edited by M4R10zM0113R; 08-26-2012 at 02:44 PM.
Reply With Quote
  #10  
Old 08-27-2012, 06:18 AM
EpharGy EpharGy is offline
Senior Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,350
Default

Quote:
Originally Posted by M4R10zM0113R View Post
I think That tickrate means some sort of like... CSS's FPS in a dedicated server.




Netspeed 2000? they use 2000 when server is idle with one player



Takes up more RAM, and less lag if the players are nearer.
Overall lag reduced with higher tickrates if your netspeed can afford it.
Ooops meant 20000 as per the other two places i said 20000
Reply With Quote
  #11  
Old 08-27-2012, 10:10 AM
Dinamix Dinamix is online now
Senior Member
 
Join Date: Mar 2012
Posts: 142
Default

Now is internetrate 10K ,clientrate 22k and tickrate 60 it helps only minor. Lag occures when many players are shooting at the same time with fast weapons fire rate (smg and other) .I will try today to make internetrate 20k and clientrate 20k and back to 40 or default (30) tickrate.
Sorry for grammar mistakes i am writing from my phone.
Reply With Quote
  #12  
Old 08-27-2012, 02:27 PM
deckardblade deckardblade is offline
Senior Member
 
Join Date: Jan 2011
Location: Chicago, US
Posts: 150
Default

What are your server/connection specs?
Reply With Quote
  #13  
Old 08-27-2012, 04:27 PM
Dinamix Dinamix is online now
Senior Member
 
Join Date: Mar 2012
Posts: 142
Default

Quote:
Originally Posted by deckardblade View Post
What are your server/connection specs?
I am using dedicated server with:
1gb (kingstond ddr3) ram
Intel Xeon E3 3Ghz
100Mbps connection
15000rpm speed 20gb hdd.

The maximum usage overral was about 80-82 % and kf server was max about 50-60%. Ram usage was 35% once about 40 %.
Also it didn't changed much when made those setting (above post) i will try increase tickrate since it's default now.
Reply With Quote
  #14  
Old 08-27-2012, 11:00 PM
deckardblade deckardblade is offline
Senior Member
 
Join Date: Jan 2011
Location: Chicago, US
Posts: 150
Default

If it only starts lagging on wave 6-7 it's probably memory related based on your other specs. What's the memory usage when people start lagging?
Reply With Quote
  #15  
Old 08-28-2012, 03:51 AM
Dinamix Dinamix is online now
Senior Member
 
Join Date: Mar 2012
Posts: 142
Default

Ok i found that portal turret increase large lag and if playres are also shooting starting get lag (zombies doesn't lag much altghou) only firing example: using smg as normal updates how many ammo you got in lag you shoot about 30 shots ,but it shows that you only fired 5 bullets.On lag ram usage increase up to about 400mb.
Reply With Quote
  #16  
Old 08-28-2012, 11:54 PM
M4R10zM0113R M4R10zM0113R is offline
Senior Member
 
Join Date: Jan 2011
Posts: 108
Default

Quote:
Originally Posted by Dinamix View Post
Hello all , I am now using these rates ,but is it possible to optimzie more?what does MaxInternetClientRate and MaxClientRate?If i will increase more MaxInternetClientRate will be more lag or it will let use more data?

MaxInternetClientRate=10000
MaxClientRate=20000
NetServerMaxTickRate=41
According to this unrealadmin wiki:
(found in: http://wiki.unrealadmin.org/Netspeed_Tutorial_%28UT%29 )
"What effect does it have in UT? Many ppl have seriously interesting views on this that easily can be put in parallel with the quotes from certain presidents in USA.
First of all. Higher tickrate does not improve ping. Very common misconception. What it actually does, is to reduce the time between each time the server handles incoming data, and sends out new data. So let me explain it in more complex terms.
By first explaining what tickrate actually is, I hope to have made you so confused you will believe the rest of the things I write in this document.
Tickrate is actually 'very very complex! It is the "Frames Per Second" the server is running at. Yes, it is so complex. A tickrate of 20 means that the server is doing 20 frames of action per second. To make it even more complex, lets just say, that it processes data 20 times a second. (Player movement, player firing, player deaths, player *****ing, player lagging, and the other more unimportant things 20 times a second). So. 1 Tick = 1 Frame. The server tickrate is the "framerate" at which the server is running on.
Ok, now that you are confused by the tickrate term, lets see how far it is between each tick update. since it says pr second, we will use 1 second, which is 1000 milliseconds. it's Per. so we gotta divide somewhere, let's try the following. 1000ms/20 = 50ms. OK! it might seem like there is 50 milliseconds between each tick. Let's try it the other way. 50ms * 20 = 1000ms. Oh yes, we reversed the equation and got what we started with. That means. A tickrate of 20, gives 50ms between each update on server."

I also found this funny, even though it explains more about the tickrate, compared to netspeed:
"Netspeed

What is netspeed good for? What does it do? Is Bin Laden dead? Unfortunately, I can only answer the 2 first questions. Well, seriously, the 2 first questions is actually 1 question... Err, anyway.
The netspeed decides how much data you want to send to the server each second. A netspeed of 5000 will try to send 5000 bytes of data each second. And yes, for the smart ones out there that already guessed it, netspeed of 13690 will send 13690 bytes pr second. Also, it tells the server how much data you want to receive each second. The servers seem to not allow going under 2000, clients have a minimum of 500.
Some interesting aspect with the netspeed, is that it limits your framerate. Your maximum expected framerate online with netspeed 5000 is 5000/64 = 78fps. You should not get more, you will often get less. So why /64 you ask? Well, it's kinda simple. Each time your computer does an update, it sends about 64 bytes of data. So the great doods at epic thought, let's do netspeed/64 and limit framerate that way, so the client does not exceed netspeed bytes sent pr second.
For those of you thinking:

OMG, I gotta set netspeed to 20000 immediately

let me just inform you that your hardware probably can't hold an even 20000/64 = 312fps average during an entire match anyway. Another bottleneck here, is your internet connection. If you got a state-of-the-art 9600 modem, it can only send and receive 9600/8 = 1200 bytes/second anyway, and what happens if you exceed that limit, is that data must wait before it can be transmitted to/from you. This causes the wellknown "ping spike". So use netspeed to make sure your connection does not get overloaded and "spiked". If the spikes last too long, you might even get packetloss, since the packets get pissed off waiting in queues and kill themselves.
I found a nice trick myself. I put my netspeed to refreshrate*64 (and then + some for a nicer rounder number). I got 85hz refresh, *64 = 5440, so I set netspeed to 5500. This gives a nice flickerfree experience when I play online. To be bloody honest, I had been experimenting with netspeeds for a while until I found 5500 to be most pleasant. I didn't know about this *64 thing at the time. Weird coincidence or facts, you try yourself.
Now I've said all about netspeed and effects on client to server. Let's take it the other way. What happens if the server wants to tell me too much. It can only tell me 5500 bytes pr second. The solution is quite simple. The server stops telling you stuff it feels is nonimportant. This has been carefully hac... errr balanced by the brainmonsters at Epic to give a great online gaming experience. Most important stuff like other players & bots have priority to be sent first. Then comes less important things, like projectiles & effects. So if the server has too much to tell you, it will put it off until it sees you have enough bandwidth to receive it. Thus, you get the infamous "rockets out of thin air"-syndrome. If it has to wait sending stuff too long, you might not ever receive it. The result of this is you going dead from invisible stuff, this is often referred to as "WTF??!" by the players affected."

Last edited by M4R10zM0113R; 08-29-2012 at 12:00 AM.
Reply With Quote
  #17  
Old 08-29-2012, 04:06 AM
Dinamix Dinamix is online now
Senior Member
 
Join Date: Mar 2012
Posts: 142
Default

Quote:
Originally Posted by M4R10zM0113R View Post
According to this unrealadmin wiki:
(found in: http://wiki.unrealadmin.org/Netspeed_Tutorial_%28UT%29 )
"What effect does it have in UT? Many ppl have seriously interesting views on this that easily can be put in parallel with the quotes from certain presidents in USA.
First of all. Higher tickrate does not improve ping. Very common misconception. What it actually does, is to reduce the time between each time the server handles incoming data, and sends out new data. So let me explain it in more complex terms.
By first explaining what tickrate actually is, I hope to have made you so confused you will believe the rest of the things I write in this document.
Tickrate is actually 'very very complex! It is the "Frames Per Second" the server is running at. Yes, it is so complex. A tickrate of 20 means that the server is doing 20 frames of action per second. To make it even more complex, lets just say, that it processes data 20 times a second. (Player movement, player firing, player deaths, player *****ing, player lagging, and the other more unimportant things 20 times a second). So. 1 Tick = 1 Frame. The server tickrate is the "framerate" at which the server is running on.
Ok, now that you are confused by the tickrate term, lets see how far it is between each tick update. since it says pr second, we will use 1 second, which is 1000 milliseconds. it's Per. so we gotta divide somewhere, let's try the following. 1000ms/20 = 50ms. OK! it might seem like there is 50 milliseconds between each tick. Let's try it the other way. 50ms * 20 = 1000ms. Oh yes, we reversed the equation and got what we started with. That means. A tickrate of 20, gives 50ms between each update on server."

I also found this funny, even though it explains more about the tickrate, compared to netspeed:
"Netspeed

What is netspeed good for? What does it do? Is Bin Laden dead? Unfortunately, I can only answer the 2 first questions. Well, seriously, the 2 first questions is actually 1 question... Err, anyway.
The netspeed decides how much data you want to send to the server each second. A netspeed of 5000 will try to send 5000 bytes of data each second. And yes, for the smart ones out there that already guessed it, netspeed of 13690 will send 13690 bytes pr second. Also, it tells the server how much data you want to receive each second. The servers seem to not allow going under 2000, clients have a minimum of 500.
Some interesting aspect with the netspeed, is that it limits your framerate. Your maximum expected framerate online with netspeed 5000 is 5000/64 = 78fps. You should not get more, you will often get less. So why /64 you ask? Well, it's kinda simple. Each time your computer does an update, it sends about 64 bytes of data. So the great doods at epic thought, let's do netspeed/64 and limit framerate that way, so the client does not exceed netspeed bytes sent pr second.
For those of you thinking:

OMG, I gotta set netspeed to 20000 immediately

let me just inform you that your hardware probably can't hold an even 20000/64 = 312fps average during an entire match anyway. Another bottleneck here, is your internet connection. If you got a state-of-the-art 9600 modem, it can only send and receive 9600/8 = 1200 bytes/second anyway, and what happens if you exceed that limit, is that data must wait before it can be transmitted to/from you. This causes the wellknown "ping spike". So use netspeed to make sure your connection does not get overloaded and "spiked". If the spikes last too long, you might even get packetloss, since the packets get pissed off waiting in queues and kill themselves.
I found a nice trick myself. I put my netspeed to refreshrate*64 (and then + some for a nicer rounder number). I got 85hz refresh, *64 = 5440, so I set netspeed to 5500. This gives a nice flickerfree experience when I play online. To be bloody honest, I had been experimenting with netspeeds for a while until I found 5500 to be most pleasant. I didn't know about this *64 thing at the time. Weird coincidence or facts, you try yourself.
Now I've said all about netspeed and effects on client to server. Let's take it the other way. What happens if the server wants to tell me too much. It can only tell me 5500 bytes pr second. The solution is quite simple. The server stops telling you stuff it feels is nonimportant. This has been carefully hac... errr balanced by the brainmonsters at Epic to give a great online gaming experience. Most important stuff like other players & bots have priority to be sent first. Then comes less important things, like projectiles & effects. So if the server has too much to tell you, it will put it off until it sees you have enough bandwidth to receive it. Thus, you get the infamous "rockets out of thin air"-syndrome. If it has to wait sending stuff too long, you might not ever receive it. The result of this is you going dead from invisible stuff, this is often referred to as "WTF??!" by the players affected."
Hi ,thanks for it ,i knew what is tickrate ,but didin't knew what is netspeed .So i should as you writed make 5500 ,becauce using 10000 or 20000 is the same problem having.
Reply With Quote
  #18  
Old 08-29-2012, 07:23 AM
EpharGy EpharGy is offline
Senior Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,350
Default

Not sure if alot of that works still.

IE, tried netspeed 500 and it did not cap my fps below the default 90
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:57 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC