Maxrate server setting 7 replies

Please wait...

Ignacio

Slap leather, varmint!!!

50 XP

7th October 2003

0 Uploads

1,364 Posts

0 Threads

#1 17 years ago

Maxrate question:

Running my Ignacio's Hacienda off my home DSL line, I have about 215k upload bandwidth. :-( I currently have my maxrate set to 3750, at the recommendation of Hewster, I think. The default is 5000, so I was assuming that I was setting this lower to accomodate my lower bandwidth. I wish I could afford a big honking pipe, but alas...

Somewhere I was reading that it was recommended to set this in the 8000 to 1000 range, the reason being that lower settings resulted in sluggish or choppy performance.

I was under the impression that there was some type of formula that I could use to determine the maximum number of players for the speed of my connection, and what to set the maxrate to. Or is there?

The end result would be that I correctly set a limit on the number of players allowed, and set it low enough to prevent overall performance deterioration of the server.

I haven't had that many concurrent players in the past, but as I try to drum up new players in anticipation of the 1.5 release, I don't want to overcrowd my server, especially since there does not appear to be anyone else in the world running one besides the Lone Wolf beta. I don't want to be inviting people to play, and then be disappointing them.

I would anticipate that more servers would show up when 1.5 comes out for GA.

Suggestions??

Ignacio




Hewster

WildWest Creator

50 XP

26th October 2002

0 Uploads

1,044 Posts

0 Threads

#2 17 years ago

ok.... Firstly WW uses less bandwidth than vanilla wolf, since there is less going on.. no air strikes, much less bullets being fired ect, and so you can't directly follow advise for vanilla wolf in this respect. I use the following formulas to work out max players / max-rate for any particular connection: For any connection, allow 2500bits per sec per player. So a 10 player server would need 10 x 2500 = 25,000 kbits/ sec upload (minimum) Since there are times when a player may need a little more than 2500, for MAX-RATE I differentiate a value of 130 per player... so : 25000 / max players = 2500 + (130 x max_players) = 3800.

For a 20 player server: server upload speed = 20 x 2500 = 50000 max-rate = 50000 / 20 + (130 * 20) = 5100

Things to remember... the above calculations are all to-do with probability.. what I mean is it's unlikely that all players will be in the same area at the same time, firing at exactly the same time, with lots of nades going off at the same time, while breaking all windows ...

We use the same type of probability calculations when wiring a house, if we used wires think enough to carry the maximum current that would be used if all sockets were being used to their maximum (13 amps in UK) we would need cable 10 times thinker than we do, the same is true with games networking.. it is possible that the maximum needed bandwidth might be 10 times the figures I've used above, but the probability is that we won't :)

In my own tests, on my 256 upload connection, we had no problems with 10 players at a maxrate of 3750, when we had 12 we got occasional lag.

So in answer to your question, you should with all probability be ok with a max_rate of 3750, and maximum players of 10 :)

Hewster




Jana(PL)

GF Pwns Me!

50 XP

29th November 2003

0 Uploads

50 Posts

0 Threads

#3 17 years ago

Don’t get me wrong Hewster and Ignacjo but I ABSOLUTLY don’t know what was U talking about! I’m not a programmer and my computer knowledge tells me only how to run on and off my computer! LOL.I have a question: is that what U have written there sth what I should need to know to make my computer faster at WW? As u know I work at VERY old machine (Pentium 3-450,almost 200 RAM,RIVA TNT 1) and if there is some important for better plying on WW I will try to find some professional person who will translate it into polish, but if it isn’t necessary I would like to save my time and money.

Thanks




Capt. Queeg

50 XP

13th June 2003

0 Uploads

3,077 Posts

0 Threads

#4 17 years ago

Jana, no this will not help you play WildWest. Ignacio is asking about a setting he uses when he allows us to play WildWest connecting to his WildWest server. Also, this does not translate correctly for me and I only speak English! And I quote:

For any connection, allow 2500bits per sec per player. So a 10 player server would need 10 x 2500 = 25,000 kbits/ sec upload (minimum)

First, is it 25000 bits or 25000kbits? 10x2500 bits=25,000bits but the rest of the section is in kbits. I think you mean leave 2500kbits per person...

Since there are times when a player may need a little more than 2500, for MAX-RATE I differentiate a value of 130 per player... so : 25000 / max players = 2500 + (130 x max_players) = 3800.

For a 20 player server: server upload speed = 20 x 2500 = 50000 max-rate = 50000 / 20 + (130 * 20) = 5100

Is your equation written right? Two things. The first part of the max rate equation (ServerUploadSpeed/Players) as you described will ALWAYS be equal to your 2500 estimate. So, since the first part is 2500. And 2500 is a per player value. And Max rate is a per player value. Why pile the fudge factor for all 20 people all in the max rate per player? I guess what you are doing is making the fudge facter bigger per player based upon the number of total players you want to allow on a server at once... If it works it works but it doesn't all seem logical to me...




Hewster

WildWest Creator

50 XP

26th October 2002

0 Uploads

1,044 Posts

0 Threads

#5 17 years ago

Aye, Gringo pointed out that I had used the wrong values, mixing my kb/s and KB/s :) However the calculation will result in the correct values for max_rate. The reason I "fudge" the value is because of the probability that the more players there are, the probability of any 1 player needing more info at any one time is higher, the figure of 130 is a guestimate that seems to work in my tests. As I said to Gringo, if you were to allow for the maximum possible data needed for all players, you would need a very fat pipe. Not all game info is sent to every player every server frame, and thus one needs to differentiate max_rate to allow for the this. ie, it won't cope with a worse case scenario, but will be sufficient for the overwhelmingly majority of the time. Hewster




Ignacio

Slap leather, varmint!!!

50 XP

7th October 2003

0 Uploads

1,364 Posts

0 Threads

#6 17 years ago

So, data rate and formulas notwithstanding, if one player lags, they all lag? And this would be the reason I may lag on my server even though I only have a ping of 1 since the machine is sitting at my feet? Or should I not lag since I am playing on my own server? Or, does my connection go out to the Internet to a server somewhere, and then back to my own house, hence potential lag?

Or, is the player whose circumstances are requiring more data updates more likely to lag than the player who is just standing there doing nothing?

I am not trying to make this thread drag on, I am just trying to understand how it all works.

I was looking at the following sites for more information:

http://www.planetwolfenstein.com/features/articles/pw_faq_et.shtml#serverbandwidth

or

http://www.planetquake.com/rocketland/haqsau/serversetup.shtml

Thanks

Ig




Jana(PL)

GF Pwns Me!

50 XP

29th November 2003

0 Uploads

50 Posts

0 Threads

#7 17 years ago

Capt. QueegJana, no this will not help you play WildWest. Ignacio is asking about a setting he uses when he allows us to play WildWest connecting to his WildWest server. Also, this does not translate correctly for me and I only speak English! And I quote: First, is it 25000 bits or 25000kbits? 10x2500 bits=25,000bits but the rest of the section is in kbits. I think you mean leave 2500kbits per person...

Is your equation written right? Two things. The first part of the max rate equation (ServerUploadSpeed/Players) as you described will ALWAYS be equal to your 2500 estimate. So, since the first part is 2500. And 2500 is a per player value. And Max rate is a per player value. Why pile the fudge factor for all 20 people all in the max rate per player? I guess what you are doing is making the fudge facter bigger per player based upon the number of total players you want to allow on a server at once... If it works it works but it doesn't all seem logical to me...

Thanks Queeg for answer for my question. My English isn’t enough good to understand technical problems so I don’t want to loose my cash for sth what probably I will not be needed.




Capt. Queeg

50 XP

13th June 2003

0 Uploads

3,077 Posts

0 Threads

#8 17 years ago

The posts that were not related to the Max-Rate setting, have been moved here: [color=blue]General chit chat in Polish from "Maxrate" thread[/color]