Stop blaming the host for lag :) [message #65859] |
Tue, 10 February 2004 14:36 |
|
Crimson
Messages: 7429 Registered: February 2003 Location: Phoenix, AZ
Karma: 0
|
General (5 Stars) ADMINISTRATOR |
|
|
There are four factors of lag. If you don't know this already (most do know), press F8 or ~ and type "fps" and press enter. Your FPS, SFPS, KBPS, and PING will appear on the screen.
FPS: A product of your own system. A combination of processor, RAM, and Video card. When there are more players in the game, there are more people to keep track of and even if your modem is downloading enough information, your computer still has to process it, store it in RAM, and your video card has to draw the screen.
Most players will find 20FPS or higher playable for Renegade. If you have an nVidia card, you'll want to download nvRefresh Tool at http://www.nvrt.org/ to increase your refresh rate in-game to 85 which will also move your FPS's maximum to 85.
SFPS: This is strictly a product of the server. The Renegade FDS has a maximum FPS of 60 though you will sometimes see 61 and 62. When there are a lot of players and vehicles, this number can drop, depending on the power of the system running the game. If it's a dedicated server (like fastc0nn and n00bsvrs) the RAM and CPU are the only factors. The FDS generates text only so the video card isn't a factor.
KBPS: This is a huge indicator of lag. This can be caused by the server OR the player. It's an indicator of how much information you are receiving from the server. If you don't receive enough updates from the server, you and other players will lag. You will "ice-skate" and players will run into walls, then warp back into their right location.
Causes of KBPS lag:
- The server isn't configured to send enough bandwidth out - Edit server.ini to either auto-detect or a fixed amount high enough. My 24 player server uses about 2300 kbps on average.
- The server can't send enough data. Example, my cable modem at home is only allowed to send out 256 kbps. If I try to host 24 players at home, I won't be able to send out the 2300 that you need and you will warp.
- WOL sucks and your bandwidth capability was auto-detected too low. Solutions: On the screen where it says "Quick Match" / "Advanced Game Listings", "Chat", move your mouse to the left and pick "My Information". Set your connection to something matching what you have instead of auto-detect. Usually this will stop any problems you have and your KBPS will be sufficient.
--- Or, you can manually set your bandwidth budget in-game. Press F8 or ~ and type "sbbo <number>" where <number> is your bandwidth download capability. To find your best number, do this:
* Go to http://www.dslreports.com/stest
* Choose a location and follow the instructions to test your line speed.
* Your results will read something like this (yours will probably be a lot less because I'm at work when I ran this):
Your download speed : 5610362 bps, or 5610 kbps.
A 684.8 KB/sec transfer rate.
* The "bps" number is theoretically your maximum download rate. Remove the last digit and round it to a nice even number (I would use 550000 on my results). This is your optimum bandwidth setting. Press F8 or ~, type "sbbo 550000" and press Enter. If your KBPS was too low before, you might see the KBPS increase each second up to the amount the server can send you.
--- Just like a server, if you have a limit on your kbps (like 56k modem), you won't be able to pull down the necessary bandwidth for a lag-free game.
Now that you know this, you can now understand why 56k people don't lag a server. When you connect to the server, you tell it "hey, I can handle 150000 kbps so lay it on me" and the server says "ok dude". It puts together 150000 kb per second and sends it to you. The 56k guy comes on and he says "Go easy on me I can only get 54000 kbps" and the server says "ok dude". So the server puts together 54000 kb per second and sends it to him. The server doesn't have to wait for the 56k guy's updates before you are sent yours. He might warp on your screen as his updates come in late, but he won't make everyone lag, and he won't make you lag. You and the server deal with your lag independently of the other players.
PING: Ping is a pretty easy factor. Rarely is ping lag caused by you OR the server. It's usually some router between you and the server that's busy. Most players won't notice ping lag until it's about 350+. High ping is sometimes caused when your little brother is leeching on Kazaa and taking all your bandwidth, and could be caused by the server being too busy to respond to pings (which usually means the SFPS is extremely low as well). Determining the cause of ping lag is beyond the scope of this post, and usually there's nothing you can do except find another server to play on.
I hope this helps you understand lag and stop blaming it on the host when it's not warranted.
I'm the bawss.
|
|
|
|
|
|
|
|
Stop blaming the host for lag :) [message #65888] |
Tue, 10 February 2004 15:54 |
|
General Havoc
Messages: 1564 Registered: February 2003 Location: Birmingham, England, Unit...
Karma: 0
|
General (1 Star) |
|
|
And also for some unknown myth people think people on 56K cause the server to lag.
If I conect to a US server my ping is guaranteed to be higher than a euro server, nothing I can do about it.
Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer
Computer Science Bsc
Aston University in Birmingham, UK
|
|
|
|
Stop blaming the host for lag :) [message #65899] |
Tue, 10 February 2004 16:51 |
[HLOW]Tomten
Messages: 164 Registered: May 2003
Karma: 0
|
Recruit |
|
|
Quote: | He might warp on your screen as his updates come in late, but he won't make everyone lag, and he won't make you lag. You and the server deal with your lag independently of the other players.
|
Thats not 100% correct.
It happend to me more then once that I have bought an apc and then two other renegade players jump in and the apc goes fine, no lag at all but then this 4th guy jumps in and the apc starts to warp all over the screen and you cant drive it so you think wtf? and jumps out and all the lag is gone and then you jump in your apc again and its starts to warp all over the screen, but when this 4th guy jumps out, the apc returns to normal. Ive seen this happend on all 2+ seats tanks and I seen it happend to others. When I and the others ask this "lag" guy what connection he have they always say 56k modem.
|
|
|
|
|
Stop blaming the host for lag :) [message #65909] |
Tue, 10 February 2004 17:28 |
msgtpain
Messages: 663 Registered: March 2003 Location: Montana
Karma: 0
|
Colonel |
|
|
Majiin Vegeta |
its actually the bots and scripts they are running.. with all the players and all the logs the bots have a lot of logs to search thru for ladders recommendations.. if they are banned and for what reason...
becoming a strain on servers... even tho all these new things make the servers kewl.. the lag totally ruins it.. it is almost unplayable on most servers
|
Uh.... don't think so. Do you know how processor intensive the FDS actually is? It does Far more crunching than any server bots that are out there..
I just logged in to my server, it's been up for abut 56 hours.
System Idle Process 46:21:50
Server.dat 8:38:09
csrss.exe 0:17:46
explorer.exe 0:10:08
java.exe 0:04:01
In the 8.5 full hours of CPU time that the FDS has used, our admin bot has used 4 minutes.
They definately aren't competing for CPU time..
|
|
|
|
|
|
|
Stop blaming the host for lag :) [message #65923] |
Tue, 10 February 2004 19:03 |
|
gibberish
Messages: 366 Registered: May 2003
Karma: 0
|
Commander |
|
|
Crimson you missed one cause of lag:
Players with exceptionally high pings (> 1000).
When one of these players joins the game it is noticable.
When I kick them the lag goes away.
I would also recommend only playing on Dedicated servers for the following reasons:
1.> If the server is not dedicated and a low spec machine it can have trouble handing the game and the graphics.
2.> A lot of non-dedicated servers simply don't have the bandwidth for the number of players they try to support.
3.> Playing against the host sucks, as they have a massive advantage especially when it comes to sniping.
|
|
|
Stop blaming the host for lag :) [message #65936] |
Tue, 10 February 2004 21:25 |
hareman
Messages: 340 Registered: May 2003
Karma: 0
|
Recruit |
|
|
She did cover that one actually In any case only the new players complain of this. ANy one who plays games on a regular basis knows that lag is a problem with everyone sometimes.
With that said
MY CONNECTION SUX I HATE RR
THEY CAN DIE AND GO TO HELL
|
|
|
Stop blaming the host for lag :) [message #65948] |
Wed, 11 February 2004 01:19 |
|
Crimson
Messages: 7429 Registered: February 2003 Location: Phoenix, AZ
Karma: 0
|
General (5 Stars) ADMINISTRATOR |
|
|
If you think this document was strictly for saying "it's NEVER the host's fault" then you didn't read it all.
Yes, sometimes it IS the host's fault... this is to help you determine when that's the case. Because MOST of the time it's NOT the host's fault.
Really read the part about KBPS lag... I notice a LOT of people in my servers who aren't pulling enough KBPS and subsequently bitch about lag.
I'm the bawss.
|
|
|
|
|
|
Stop blaming the host for lag :) [message #65991] |
Wed, 11 February 2004 11:28 |
|
Blazer
Messages: 3322 Registered: February 2003 Location: Phoenix, AZ
Karma: 0
|
General (3 Stars) Administrator/General |
|
|
Majiin Vegeta | its actually the bots and scripts they are running.. with all the players and all the logs the bots have a lot of logs to search thru for ladders recommendations.. if they are banned and for what reason...
becoming a strain on servers... even tho all these new things make the servers kewl.. the lag totally ruins it.. it is almost unplayable on most servers
|
As msgtpain pointed out, the bots actually use very little CPU. Its pretty simple to parse a text file (the renegade log), and looking up join messages and whatnot is just pulling one record out of a database which is also very efficient.
Reminds me of a funny incident. When I first wrote brenbot, I used to have it running on a linux box, and it remotely admined the crimson79 sniper server (it wasn't running on the same PC as the FDS). Some asshole player spent at least 30 minutes telling everyone that the host sucked, and that it was because brenbot was using all the CPU. Everyone told him their FPS was fine and SFPS was fine for them too, but the guy just kept insisting that the bot was "using all the CPU and RAM". Even when I informed him that it wasnt running on the same machine, but sending commands remotely he still argued, then saying that it must be "using up the bandwidth", LOL even though it was only sending a few UDP packets over the LOCAL network to the server
Long story short:
1. You can't please all the people all of the time. Some people love the features of the various Bots, others use them as something to complain about.
2. Nobody knows more than the server owner just how much any other applications are impacting performance of the server. I'm sure any server admin monitors the CPU usage if/when they install anything, and would not run a Bot if the machine couldn't handle the miniscule resources they require.
|
|
|
Stop blaming the host for lag :) [message #66088] |
Wed, 11 February 2004 19:48 |
|
Crimson
Messages: 7429 Registered: February 2003 Location: Phoenix, AZ
Karma: 0
|
General (5 Stars) ADMINISTRATOR |
|
|
Alkaline | well, n00bstories sfps is on average 35, so it could be host sometimes. Usually when a lot of people start saying lag, then its the host.
|
You must be referring to n00bsvr01. I have 6 servers. n00bsvr01 is running on a 2.4 Celeron which is a piece of garbage, and I sent an inquiry today about the possibility of moving up to a Pentium.
n00bsvr02-06 run on a Dual Xeon box. Even with all the servers full, it doesn't even use half of the CPU, and therefore all the SFPS on those is near 60.
The 35 SFPS on n00bsvr01 is not a cause of lag. As I said, you won't notice SFPS lag until it gets below 15-20.
I'm the bawss.
|
|
|
Stop blaming the host for lag :) [message #66272] |
Thu, 12 February 2004 19:01 |
Alkaline
Messages: 1132 Registered: November 2003
Karma: 0
|
General (1 Star) Deleted |
|
|
actually low sfps causes lag. Because of low fps, you will see things warp more, you'll see an apc 1 second, and then another second you will see it leap to another point on the map. I notice cpu lag below 45 sfps. Around 50 or higher is what the server should be at all times with the absolute min being 45 sfps.
yes I was reffering to the celeron 2.4 server.
http://www.UNRules.com
|
|
|