InfuzionGaming.com
February 10, 2012, 10:09:47 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Shout Box

[History] [Commands]

[February 03, 2012, 04:59:14 PM] Unpayed_overtime: what.

[February 04, 2012, 04:41:41 PM] TDUB: why is site under construction

[February 04, 2012, 09:15:58 PM] Unpayed_overtime: Just knew that megaupload is down... and anymonus supports Megaupload... yay?

[February 06, 2012, 09:32:28 PM] Lockem Shoto: yes we remember you kao

[February 09, 2012, 03:27:55 PM] Unpayed_overtime: The first time I see Fetish Retardant in a porno. Eew.

[February 09, 2012, 11:08:24 PM] Lockem Shoto: Come to think about it...

[February 09, 2012, 11:08:29 PM] Lockem Shoto: I'm pretty sure most of those servers have bots in them

[February 09, 2012, 11:08:36 PM] Lockem Shoto: I was just playing HL1 campaign and decided to go on to multiplayer

[February 09, 2012, 11:08:38 PM] Lockem Shoto: And tried talking to them

[February 09, 2012, 11:08:40 PM] Lockem Shoto: BUT NOPE

[February 09, 2012, 11:08:41 PM] Lockem Shoto: nothing

[February 09, 2012, 11:08:46 PM] Lockem Shoto: they just played and played

News:
Gameservers Offline, mostly playing League. Join Vent for chat/anything else!

 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: All about Rates  (Read 663 times)
kao
Staff-GameServer Administrator
VIP User
*****

Popularity: -16
Offline Offline

Posts: 1446


شو رأيك تجي تتعربشلي براس زبري ؟؟ *::"


View Profile Email
« on: April 05, 2009, 07:43:00 PM »

Rate

This is your download speed in bytes / second.
If you know your advertised speed in kbIps (like a 56k is actually 56kbIps), then all you have to do is divide your speed by 8 and multiply it by 1024.
Like this:


56 / 8 = 7 kbYtes/sec (1 byte = 8 bits)
7 * 1024 = 7168 bYtes/sec (1 kbyte = 1024 bytes)


Your rate would be:

rate 7168

You should know you will never download @7168, because thats the maximum theoretical limit. Instead, you should be realistic and take 90% of the theoretical limit to get the download speed you would get on most servers.

90% of 7168 = 7168 * 0.9 = 6451

rate 6451

That's about right, and should work best if you have a 56k dialup modem.

cl_rate

This is your upload speed in bYtes / second. It's how fast you send the things you do to a server. But your upload speed is usually not as fast as your download speed, so you need to make different calculations for "cl_rate" than for "rate".

Let imagine you have DSL, with 128k upload speed.
128k is an advertised speed, so it is in kbIts/sec.

128 / 8 = 16 kbYtes/sec
16 * 1024 = 16384 bYtes/sec

Again, you wont upload at that speed, instead your max upload speed will be about 90% of the advertised speed.

16384 * 0.9 = 14746 bYtes/sec

So your cl_rate will be:

cl_rate 14746


cl_updaterate

This is the amount of times you receive updates from the server per second.

In a heavy firefight the largest packets can be up to 180 bytes. (A packet is a bit of information that you receive).

If we divide our rate by the largest packet size, we'll get our cl_updaterate.


6451 / 180 = 36

cl_updaterate 36


We dont need to take 90% of the updaterate, because we've already done that in the rate calculation.

cl_cmdrate

This is like cl_updaterate only that it's the amount of times you send updates to the server. The largest packet size that you (the client) send to the server is something like 30 bytes.

So we should divide cl_rate by the largest packet size we send through:


14746 / 30 = ~491


Now, you can't send 491 updates per second to the server . It's almost impossible for the server to handle all those packets. What Half-Life has done, is limit cl_cmdrate to 100
So if you calculate cl_cmdrate and its bigger than 100, change it to 100


cl_cmdrate 100


That's more than fast enough for most ppl.

=============================================
=============================================

That was the first part, I think all I said there has been said before, and perhaps better than I explained it.

But now comes the bit everyone forgot to mention!

The server you connect to has maximum and minimum rates. What does that mean? It means that your specially calculated rates wont work properly and youll get choke and loss.

How should you fix this?

Well, currently you can only do this by looking up the max rates of the server, and recalculating rates after youve got the servers max rates.

Ill explain how:

1/ First connect to a server
2/ Open console with "~"
3/ Type: sv_maxrate
4/ Press enter
5/ You should see a message in console displaying sv_maxrate xxxx


Now that you've got the servers max rate, you know your own max rate aswell, the server limits your rate to his own max rate.

So now we have to adjust our own rates.

Lets say sv_maxrate was 10000

sv_maxrate 10000


Our rate should then also be 10000 (if your rate is less than sv_maxrate, you dont need to do any more calculations, you have the best rates for your connection). What we need to change is our cl_updaterate to avoid choke.

So we need to calculate cl_updaterate based on a rate of 10000

10000 / 180 = 56

cl_updaterate 56


That will be our new cl_updaterate.
After you've done that, you have calculated the best possible rates for the server you are on. All you have to do is type "cl_updaterate 56" in console.

If you still experience choke or loss, lower your cl_update and cl_cmdrate, not your rate/cl_rate.

Logged



An interesting survey has been conducted recently. The query was: "Please name your opinion on lack of food in the rest of the world."

The survey was a total failure, because.. in Africa, nobody knew what "food" means! .. in Europe, nobody knew what "lack" means! .. in Eastern Europe, nobody knew what "opinion" means! .. in South America, nobody knew what "please" means! .. and in the USA, nobody knew what "rest of the world" means!
lyfe
300+ Dedicated Member
****

Popularity: -80
Offline Offline

Posts: 348


View Profile Email
« Reply #1 on: April 05, 2009, 08:18:43 PM »

Smiley So much to read.
Logged
kao
Staff-GameServer Administrator
VIP User
*****

Popularity: -16
Offline Offline

Posts: 1446


شو رأيك تجي تتعربشلي براس زبري ؟؟ *::"


View Profile Email
« Reply #2 on: April 05, 2009, 08:19:35 PM »

Worth to read !
Logged



An interesting survey has been conducted recently. The query was: "Please name your opinion on lack of food in the rest of the world."

The survey was a total failure, because.. in Africa, nobody knew what "food" means! .. in Europe, nobody knew what "lack" means! .. in Eastern Europe, nobody knew what "opinion" means! .. in South America, nobody knew what "please" means! .. and in the USA, nobody knew what "rest of the world" means!
Peter^_^
Global Moderator
VIP User
*****

Popularity: 0
Offline Offline

Posts: 1915


View Profile
« Reply #3 on: April 06, 2009, 03:46:55 PM »

I keep my rates at cl_cmdrate 101 cl_updaterate 101 rate 25000 and cl_rate 25000 , any lower and ex_interp .01 is forced down
in a way that makes hitboxes fail sometimes and create false ones.
Logged

kao
Staff-GameServer Administrator
VIP User
*****

Popularity: -16
Offline Offline

Posts: 1446


شو رأيك تجي تتعربشلي براس زبري ؟؟ *::"


View Profile Email
« Reply #4 on: April 06, 2009, 09:48:51 PM »

It helped me to find the right rates , it helped me also in counter strike , i kinda have 0 chocks and loose
Logged



An interesting survey has been conducted recently. The query was: "Please name your opinion on lack of food in the rest of the world."

The survey was a total failure, because.. in Africa, nobody knew what "food" means! .. in Europe, nobody knew what "lack" means! .. in Eastern Europe, nobody knew what "opinion" means! .. in South America, nobody knew what "please" means! .. and in the USA, nobody knew what "rest of the world" means!
FLA5HKAAAAAA
Guest
« Reply #5 on: February 04, 2010, 12:13:40 AM »

net_graph
 When setting this to 3 or 1 you will see a figure display(3) or graph display(1) appear at the base of your screen. On the graph display, just below the numeric readout, green lines mean packets are being received okay, yellow that rate capping is causing your client to reject packets and red that the packet was lost. If you have steady flat green line then all is well. In the case of long rising/falling green hills lower your rate or decrease your cl_updaterate, for yellow increase your rate. If you have a lot of red then change ISP or server. If you have to play on the server or use the ISP then try adjusting cl_resend or cl_cmdbackup to compensate for the lost packets

LAN
cl_updaterate "40"
cl_cmdrate "100"
rate "25000"
 
 
 
ADSL / Cable / Wireless
cl_updaterate "40"
cl_cmdrate "60"
rate "25000"
 
 
 
ISDN Bonded
 cl_updaterate "40"
cl_cmdrate "60"
rate "(See Table Below)"
128000 BPS: rate "14000"
112000 BPS: rate "12250"
 
 
 
ISDN Single
cl_updaterate "20"
cl_cmdrate "60"
rate "(See Table Below)"
64000 BPS: rate "7000"
56000 BPS: rate "6200"
 
 
 
56K Modem
cl_updaterate "20"
cl_cmdrate "30"
rate "(See Table Below)"
50000 BPS: rate "5500"
48000 BPS: rate "5200"
46000 BPS: rate "5000"
44000 BPS: rate "4800"
42000 BPS: rate "4500"
40000 BPS: rate "4300"
38000 BPS: rate "4100"
36000 BPS: rate "4000"
 
 
 
v34 modem
cl_updaterate "20"
cl_cmdrate "30"
rate "(See Table Below)"
33600 BPS: rate "3500"
31200 BPS: rate "3300"
28000 BPS: rate "3000"
 
 
 
28.8 Modem cl_updaterate "20"
cl_cmdrate "25"
rate "(See Table Below)"
28000 BPS: rate "3000"
26400 BPS: rate "2800"
 
Logged
kao
Staff-GameServer Administrator
VIP User
*****

Popularity: -16
Offline Offline

Posts: 1446


شو رأيك تجي تتعربشلي براس زبري ؟؟ *::"


View Profile Email
« Reply #6 on: February 04, 2010, 07:15:39 PM »

ty flash , but 1 question , how to know if my modem is one of those ?
Logged



An interesting survey has been conducted recently. The query was: "Please name your opinion on lack of food in the rest of the world."

The survey was a total failure, because.. in Africa, nobody knew what "food" means! .. in Europe, nobody knew what "lack" means! .. in Eastern Europe, nobody knew what "opinion" means! .. in South America, nobody knew what "please" means! .. and in the USA, nobody knew what "rest of the world" means!
Peter^_^
Global Moderator
VIP User
*****

Popularity: 0
Offline Offline

Posts: 1915


View Profile
« Reply #7 on: February 05, 2010, 02:23:08 PM »


ADSL / Cable / Wireless
cl_updaterate "40"
cl_cmdrate "60"
rate "25000"

most likely what you're using.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!