11-15-2008, 02:29 AM
I'm just now getting into hosting a dedicated server and had a couple of questions surrounding ping / latency in game. I am hosting the L4D demo on a separate computer over 100mbps LAN and am connecting directly to the private IP address. I am receiving a ping of 75-85 on average while in game (status command) and others connecting via internet are averaging about 150. When I ping the computer directly from the same local computer the ICMP returns around 7-15ms latency on average. When users ping the server from the internet (I am forwarding ICMP to that machine as well), they are getting between 50-70, which I would consider normal.
What is causing this large increase in latency? I have tested this on multiple computers (1-dedicated server, 2-virtual server inside my host computer), and both have the same results. Both have MORE than enough resources. The VM alone is a gigabit connection internal to the host machine, which will not even go through the switch. The dedicated server will go through the switch but will bypass all router rules.
Is there a srcds setting or a L4D setting that I can change? I am running 300fps and 100 tick on the server. I am going to test running a TF2 server on it tonight as I am guessing L4D is designed to run smoother over substantially higher latency. Thoughts / ideas welcome.
What is causing this large increase in latency? I have tested this on multiple computers (1-dedicated server, 2-virtual server inside my host computer), and both have the same results. Both have MORE than enough resources. The VM alone is a gigabit connection internal to the host machine, which will not even go through the switch. The dedicated server will go through the switch but will bypass all router rules.
Is there a srcds setting or a L4D setting that I can change? I am running 300fps and 100 tick on the server. I am going to test running a TF2 server on it tonight as I am guessing L4D is designed to run smoother over substantially higher latency. Thoughts / ideas welcome.