Fish Tank Clan

Where the fishes swim.


Main Menu

· Home
· Search
· Forum




Remember me

[ ]

Search Fish Tank Clan

Fix CSS Lag: Choke Loss and Ping

CSS Lag: Choke Loss and Ping
on Tuesday 30 October 2007
by kremit author list print the content item {PDF=create pdf file of the content item^plugin:content.44}
comments: 26
hits: 377503
 9.1 - 25 votes -

Article Moved and updated June 2009.
Fix CSS Lag: Ping Loss and Choke

CSS Lag: Ping Loss and Choke

You can copy and paste this article anywhere, just leave a link to

Tips for less lag in Counter Strike Source

This guide is for users with Counter Strike Source, but will also work with Counter Strike 1.6. Lag, ping choke and loss on CSS are all related, and can be cured in most situations. The steps below will help you lower your lag in game, and explain in detail exactly what it does, and what the terms mean.

Lag - A term used to say that a persons connection is slow, lagging.
- This is a measure of the round trip time for a message to get from your computer to the server and back again, measured in milliseconds.
Latency - This measures the one way trip time from your computer, to the server. (if you think about it, latency at any time is LESS than your ping)
Rates - General term used for the speed settings of counter strike source

Ping is NOT Latency

Choke - Choke is server lag. Choke basically means that your computer is sending your players position, and what he does (shoot, nade, knife) to the server, and its not getting there. Counter Strike Source default is to send your players actions to the server 30 times a second. Choke is caused by two things:

  1. Your computer is sending too many packets to the server per second. If you try to send 100 commands to the server per second, and it can only accept 40, you are going to be getting 60 choke. This will make you SUCK, none of your shots will register, and only 40% of the things you try to make your player do will be done. (for solution, see below)
  2. The server is not able to read all of the information being sent to it. This can be caused by network lag at the server, or CPU lag at the server. The client cannot control this, but can accomodate for it (solution below)

Loss - Loss is lag from outside your computer and usually outside the server. This means that while your commands that are going to the server, they are following a path (sometimes can be 30 networks your commands go thru before they reach the server) and somewhere in that path, the packets dont make it to the next place. Those packets are 'lost' in the bowels of the net. Loss can also come from wireless connections, in which case you can change your wireless channel to fix.. Loss is for the most part out of your control, and could always be the most common situation, your connection just plain sucks.

net_graph 3 on CSS

To start, you will need to be able to access the console in Counter Strike Source. Press the ~ button, and drop the console. Enter the command "net_graph 3" and press enter (to remove this later, net_graph 0). Once you leave the console, you should see in the lower right of your screen some numbers that look like this:

ping choke loss lag css

Definitions of this menu:

  1. FPS- How many frames per second your graphics card is doing
  2. Ping- Round trip time from your computer to the server and back
  3. Data - How many TCP/IP packets youre sending (you dont need to know this)
  4. kilobits per second- how much actual data youre sending in and out (not needed)
  5. How many times per second your computer updates your players position on the server (out -- the bottom one)
    How many times per second the server sends your computer players positions (in -- the top one)
  6. Loss - explained above
  7. Choke - explained above

Steps to fix your lag in CSS

The following steps are meant for anyone that can read (even n00bs). These steps will solve your network lag, as long as it has to do with your Counter Strike Source settings. Use this guide for fixing all types of lag.

Note: Your ping may not be affected with these, but your lag will be cured.

You are going to be changing your rates, in an educated guess and check method, to achieve the best rates for your computer. You will need to know how to read net_graph 3, and you will need to have it enabled. You need to join a server, to tweak these settings properly.

To set your rates, enter the rate you want to set, then the number of times per second you want it set to.
Example: cl_cmdrate 30

cl_updaterate - How often your computer asks the server for players positions per second (default: 20)
cl_cmdrate - How many times per second your computer sends your position to server per second (default: 30)
rate - Maximum bytes per second you can receive
cl_interp - Changes the speed at which players positions are updated

Part 1 - Cmdrate and Updaterate

  1. Enter a server and change your rates. cl_cmdrate 80 and cl_updaterate 60

  2. Play the game for a few minutes. You will need to make sure that area 5 on the net_graph is not being limited by the server. If it stays at 33.3 or 66.6 all the time, it means you should tweak this on a different server that allows for higher rates (100 tick servers mean max of 100 updates and commands per second!)
  3. Once you find a server that is not limited, you want to make sure your rates are cmd 80, and update 60. Play on the server for a few rounds, and keep an eye on your CHOKE and LOSS.

  4. If you are experiencing choke, you will need to change your rates lower. The correct ratio for update to command means cl_updaterate should be 3/4 of cmdrate (75% is good)-- *This means CMDRATE is higher than UPDATERATE by a pinch*. So, lower your rates, keeping ROUGHLY the same ratio. If your choke is 30, lower your rates about 30 (but make sure you still use the ratio of 75%). This would mean cl_updaterate 35 and cl_cmdrate 50 (thats 70% ratio, close enough)

  5. Try the new settings, and adjust your rates as needed. You want to lower your rates until you get less than 2 choke in the middle of a round, and less than 10 at the beginning, and end of a round. (choke is higher at beginning and end of rounds while server does stats, and resets objects)

  6. Once you get to 0 choke, and 0 loss (loss may not change if it is a network problem) you have your proper rates.

Part 2 - The rate setting in CSS

The rate setting is used to set the MAX amount of data coming to you from the server in bytes per second. Rarely does your computer receive more than the max, and the more players on the server you are on, the more data you will recieve. On a 32 player server, you receive player positions, voice, chat, and nades weapons etc move. That will obviously use a lot of bandwidth to receive all that info.

In short, heres what you set your rate to, its not very important to tweak.

Connection Speed Set your rate to:
56k or slower 1800comcast
Slow DSL/Cable 20000
Fast DSL/Cable 25000

Part 3 - Interp setting in CSS

In Counter Strike Source, once your lag ping choke and loss are all fixed, you can improve your connection even more. The interp setting in CSS is used to tell your computer how fast to interpret the player and object positions sent to you by the server. The proper interp depends on your updaterate. Your cl_interp should be 1/updaterate. This means that if your updaterate is 50, your interp should be .02 - In the console type "cl_interp .02" or whatever yours should be. MAKE SURE YOU GET THE .02 and not just .2

There is also an interp setting that sets your interp automatically, adjusting dynamically. I do not use it, and cant give any advice, but the command is cl_interp 0.

CSS Rates Conclusion

These rates you now have apply best for the server you are on, but will be around the best rates for your computer on Counter Strike Source. Factors affecting your rates can change second to second and server to server, but now you know how to lower lag.


BuBBLe GooSe 21 Oct : 09:12
Comments: 10

Registered: 06 Mar : 14:24
Good Stuff Krem! Very informative. I got a quick question for ya though. What about the 'rate' setting? I think default is 10000, but some tweak guides recommend setting it at 25000(max) depending on your internet connection speed. I have mine set at 20000 (don't really know why) would this affect the values that I change updaterate and cmd to?
[ Fish Tank God ]

Wu-banga 21 Oct : 15:14
Comments: 11

Registered: 06 Dec : 01:37
awesome thanks ill try it later
[ Fish Tank Obsessed ]

kd. 22 Oct : 05:52
Comments: 27

My choke is still 50 on this one server, what should I use?

DarkNarf 28 Oct : 19:45
Comments: 2

Registered: 29 Nov : 01:47
One thing kremit did forget to mention is the fact that your cmdrate is directly affected by your current "average" fps.

For example. if your getting an average framrate of 60 fps, that means you would be able to update to the server 60times per second, and be in sync with the info the server is getting.

So if your only getting 30-40fps you should set your cmdrate to match it. That way your not getting choke from your graphics card not being able to display the info your getting from the server.

Just my two cents.
[ Senior Poster ]

Sin 14 Nov : 16:27
Comments: 3

Registered: 19 Jul : 03:07

A great explanation of Hitboxes and how it all works if this doesn't satisfy your questions.

Great guide krem.
[ l337 Sp4mm3r ]

GODMADEGUN 15 Nov : 10:30
Comments: 2

Registered: 19 Jul : 20:13
kremits guide helped my choke spikes on FTC (thank you sweet kremit) but sins link explanation made me fulyl understand how this all works and why steam is teh suck
[ Fortune 500 Poster ]

Knightrider 16 Nov : 20:31
Comments: 31

Ill be sure to use it next time I go into the server. Your last one helped me like crazy, and Im sure this will help even more. Im gonna have to write this stuff down because Ill forget easily, but good shit Krem.

kremit 17 Nov : 11:11
Comments: 41

This guide was UPDATED:

It now includes rate and interpolate setting.

Have fun boys, I got 0 lag!

gLiTch 10 Jan : 16:31
Comments: 50

i wonder if this is the reason why i get flashed through walls, because my player position didnt get behind the wall in time when the flash went off, even though on my screen i was behind the wall in time. Not to mention dying in a dorrway even after i was waaay past it. hmm. And i still manage to do good. I wonder if this will make me as good as kever =)

GodFairingAthie 28 Jul : 18:19
Comments: 5

Registered: 03 Apr : 23:59
this is hot
[ Fortune 500 Poster ]

Cookie Monster 21 Sep : 23:24
Comments: 40

Registered: 03 Jul : 15:16
hmmm its okkkies i guess
[ Die Hard Fish Tanker ]

mesut 16 Dec : 00:09
Comments: 1

Registered: 16 Dec : 00:01
all good for me but i got a weird problem, i have normal ping of 30 and then when i play every 20-30 sec my ping increases to 140 and then its downgrading to 30 and i know why im not downloading anything i got connection of 20 mbits and im using wireless on laptop, this happens 3 weeks now i resetted my modem i didnt had this problem 3 weeks ago... anyone can help me plz?
specs of my laptop:

Operating System: Windows Vistaâ„¢ Home Premium (6.0, Build 6000) (6000.vista_gdr.071009-1548)
Language: Dutch (Regional Setting: Dutch)
System Manufacturer: ASUSTeK Computer Inc.
System Model: F3Sv
BIOS: Default System BIOS
Processor: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (2 CPUs), ~2.0GHz
Memory: 2046MB RAM
Page File: 1338MB used, 2972MB available
Windows Dir: C:\Windows
DirectX Version: DirectX 10
Card name: NVIDIA GeForce 8600M GS
Manufacturer: NVIDIA
Chip type: GeForce 8600M GS
DAC type: Integrated RAMDAC
Display Memory: 1008 MB
Dedicated Memory: 241 MB
Shared Memory: 767 MB
Current Mode: 1440 x 900 (32 bit) (60Hz)
[ n00b ]

Evilpig 04 Jan : 17:10
Comments: 5

Registered: 04 Jan : 05:27
It could be the wireless.
[ Die Hard Fish Tanker ]

deathcult 18 Jan : 11:57
Comments: 1

Registered: 18 Jan : 11:51
Having the very same problem as mesut, any clues on that guys?
[ n00b ]

astephenson2005 15 Mar : 12:00
Comments: 1

Registered: 15 Mar : 11:54
mesut & deathcult, this is something that windows does. In windows xp it can be solved by going into control panel> Administrative Tools > Services. You then need to stop a service called wireless zero configuration. This is what causes the random lag spikes with wireless. It needs to be turned off every time you start your pc so make a shortcut on your desktop

[ n00b ]

Omni 20 Apr : 23:54
Comments: 32


nice1oksome1helpplz 06 May : 21:32
Comments: 1

Registered: 06 May : 21:27
Good 1 but I have to fix my latency not chokes or loss i have none. Plz help me.
[ n00b ]

e3xit 21 May : 23:28
Comments: 2

Registered: 21 May : 23:15
The wireless as stated is due to Wireless Zero Configuration AKA "WZC". An easy way to combat this is with a free program called (pay attention to the spelling) "Wireless fiXP". this prog automatically disables WZC after a network connection is established. I wrote a thread on this and on tweaking your Operating System's network settings that go a step further than just your CS settings. Windows XP for example, shipped with settings best suited for 56K modems... hardly adequate for today's broadband connections. anyhoo.. if you want to check out my thread it's here
[ n00b ]

e3xit 21 May : 23:32
Comments: 2

Registered: 21 May : 23:15
hmm that didn't work so well I'll just type it...
sorry bout that... hope it works this time... :-/
[ n00b ]

Kcow 14 Jun : 13:23
Comments: 119

Registered: 10 Apr : 16:44
Jesus guide
[ Head Fish ]

jannesn 10 Jul : 17:53
Comments: 2

Registered: 10 Jul : 17:40

since i have windows vista my css blocks sometimes
what can i do?

[ n00b ]

jannesn 11 Jul : 09:57
Comments: 2

Registered: 10 Jul : 17:40
lots of lagg then when its blocks its strange
but your rates have to be 100 100 25000 on certain server so you can change it?
[ n00b ]

Cpt.Sharpie 08 Sep : 05:06
Comments: 1

Registered: 08 Sep : 04:58
for the past 4-5 days i've been having a constant 3 loss and 30 choke..I can't fix it no matter what i do..any suggestions? :'(
[ n00b ]

lbb214 04 Sep : 21:21
Comments: 1

Registered: 04 Sep : 21:11
When you say to enter the server and type cl_cmdrate80 for example where do u do that?
I guess my question is where do i adjust my rates at?

Thank U!!
[ n00b ]

kd. 08 Mar : 22:03
Comments: 27


You must be logged in to make comments on this site - please log in, or if you are not registered click here to signup


11 Sep : 23:38

i have no memory of typing that or what it means wtf

01 Sep : 05:52

when my life says "leave the light on" it means leave the light on.

21 Aug : 20:54


16 Jul : 03:54

whos gonna join my WoW cl(an)assic

15 Apr : 04:37

pubg is for meth heads

15 Apr : 04:36


14 Apr : 17:34

How come no one plays PUBG... glitch where you at

01 Feb : 08:22

Whoa y'all still exist! :O

21 Jan : 19:24

Having admin on this website is like in Lion King when Mustafa is like, "All the land you can see before you is yours"

19 Jan : 07:57

I always wanted admin and not I laugh at who is admin

Render time: 0.0896 sec, 0.0300 of that for queries.