Welcome Anonymous
March 11, 2010, 7:06 am
cs-gamers.net
Modules
Coppermine Stats
coppermine
 Albums: 2
 Pictures: 2
  · Views: 9
  · Votes: 0
  · Comments: 0
Forums > > Our Community > > Tech Discussion > > CHOKE - WHAT IS IT? WHY DOES IT HAPPEN? HOW CAN I PREVENT IT
CHOKE - WHAT IS IT? WHY DOES IT HAPPEN? HOW CAN I PREVENT IT
Can't find out how to do something for yourself? Need help installing or fixing your CS? Ask one of our members for help.
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Tech Discussion

View previous topic :: View next topic  
Author Message
DiGiTaL|Agent~Smith
Site Admin
Site Admin


Joined: Jan 27, 2005
Posts: 99

PostPosted: Wed Oct 24, 2007 12:43 pm    Post subject: CHOKE - WHAT IS IT? WHY DOES IT HAPPEN? HOW CAN I PREVENT IT Reply with quote

[b]CHOKE - WHAT IS IT? WHY DOES IT HAPPEN? HOW CAN I PREVENT IT?

A small number of players have mentioned they see some choke when playing on our servers so I think an explanation of choke is needed. Please take the time to read and understand the information below. The information below was created mostly from my own findings and experience as both a player and server administrator. It does however contain authoritive information by other leading professionals.


WHAT IS CHOKE?

For a definitive explanation of choke I have selected a quote from from Yahn Bernier, Valve Software Engineer. It's not a fix, but an explanation of what happens when you get choke. To see if you're choking, in console type net_graph 3. This will display several stats including your choke. To turn off the net graph use net_graph 0 in console.

"choke occurs when the server, factoring in your rate setting, determines that it can't send you an update yet because doing so would start to flood your connection. The server checks back every frame until you are ready to receive an update and sends the next update as soon as possible.

The time when you get the next packet is computed right after the previous packet is sent:

Next packet time = current time + (bytes in packet + UDP header overhead) / rate setting (bytes per second).

In addition, the server won't even check the packet choke timer unless you have waited at least 1 / cl_updaterate seconds since the last update ( i.e., if you are getting 20 updates a second, packets will be spaced at least 50 ms apart and also subject to the packet choke timer ).

On a slow connection (modem), in a busy game, you'll probably see a lot of choked packets. Note that once the choke as held back a packet, you don't wait until the next 50 msec multiple, for the above example, but instead get the next update as soon as the choke timer has cleared."


WHAT CAN I DO TO PREVENT CHOKE?

The best compromise for in game responsiveness is using settings which push you very close to choking in the worst case scenario. This means you are receiving as many updates per second as possible without choking. It is possible to tweak these settings to provide best results for every client pc and server combination.

The way I tune starts with setting a good rate for my connection with very little bandwidth spare. For me on 64K ISDN I use 8000. Broadband users should use between 15000-25000 (the latter being the servers maxrate). Modemers 3000-4500 depending on connection speed. Then set your cl_updaterate to a high figure, I use 101 to start at.

Whilst playing watch the choke on net_graph 3 when several players are on screen and firing, this is the highest possible choke scenario. More action = more choke so be prepared to die whilst watching the choke level Smile Gradually lower your cl_updaterate until choke shows 0 but sometimes flicks to 1.

Keep an eye on your choke whilst playing different maps but especially with high numbers of players. Adjust you cl_updaterate lower 1 at a time until your worst case scenerio in a fire fight is 1 choke. You now have optimal rates for that particular server. If you want you can lower a little further to reduce choke to 0 but I prefer to sacrifice the 1 choke in massive fire fights for knowing I'm optimal in all other scenarios but the worst.

Finally, even with my settings tuned I do still see 5-10 choke when spawning on most large maps with 12+ players. Considering all players are alive and purchasing weapons, a lot of information is being sent at this point. This choke rapidly drops to 0 within a few seconds of leaving spawn though. This is normal for configs tweaked using my above system.


CLAN PORT ADMIN NOTES

Server / clan port admins can solve choke problems by adjusting the sv_minupdaterate and sv_maxupdaterate in their server.cfg. Lowering these settings can eliminate choke at the sacrifice of 100% accurate gameplay. Using settings of sv_minupdaterate 0 and sv_maxupdaterate 60 are the default and used by most clan port providers. However even 60 on our servers may cause choke due to the high fps they run at. We have not seen any adverse affects of using standard (or even lower) settings and setting 30-35 will eliminate choke at the sacrifice of game accuracy and responsiveness. At the end of the day we do not force clans to use our settings and they are free to try any they like.

If any clans would like advice on their particular clan port configuration or need settings tweaking to suit their particular player base, please feel free to email and I'll be more than happy to assist.

The Gaming publics and match servers will remain configured using these high settings unless the majority of players request otherwise.
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Tech Discussion
Page 1 of 1
All times are GMT - 7 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Payapl
Forums Last Scroll
Last 10 Forum Messages

is Digital|agents going to be come a clan on the new avp?
Last post by DiGiTaL|Agent~Neo in Tech Discussion on Feb 13, 2010 at 00:49:18

Voices Management on server, Here are the commands!
Last post by DiGiTaL|Agent~Smith in Q and A on Oct 22, 2009 at 17:18:47

How Much
Last post by DiGiTaL|Agent~Smith in Recruitment Discussion on Oct 31, 2008 at 00:52:34

Please Ban When Convenient, Smith
Last post by DiGiTaL|Agent~Smith in Server Bans on Oct 01, 2008 at 07:48:50

Application: Negative
Last post by DiGiTaL|Agent~Smith in Recruitment Discussion on Sep 01, 2008 at 08:37:48

hey prime long time no see or hear :)
Last post by (NWA)EARTH in Non-Gaming Discussion on Aug 20, 2008 at 19:04:31

CS MapPack 483 Maps Download!
Last post by DiGiTaL|Agent~Smith in CS MapPack 483 Maps on May 08, 2008 at 13:36:41

No longer
Last post by DiGiTaL|Agent~Smith in Server Bans on Apr 19, 2008 at 00:55:46

[myg0t] s00p! STEAM_0:0:3024899 BANNED!!!!!
Last post by NIKKELS in Server Bans on Apr 16, 2008 at 14:14:31

CHOKE - WHAT IS IT? WHY DOES IT HAPPEN? HOW CAN I PREVENT IT
Last post by DiGiTaL|Agent~Smith in Tech Discussion on Oct 24, 2007 at 19:43:10

Forums
Total Hits
We have received
234523
page views since
Febuary 2001
Website : www.cs-gamers.net
Hell to all hackers and cheaters!!!!!!! Have fun Admins this is your place.
Interactive software released under GNU GPL, Code Credits, Privacy Policy
Interactive software
released under
GNU GPL
Code Credits
Privacy Policy