Optimizing Ping - Possible Causes of Lag?
I am trying to optimize the ping on my server. I know that for example, 32 GB of ram with a high end CPU is needed to run the server properly. However, what else can I do to optimize the ping even more? I ask this because I find that ingame ping is always higher. For example, on the server selection screen, the ping will be 100. But in game, the ping will be 300.
Are there some tips and tricks to reducing the ping? Such as installing a certain daemon, or not running a certain daemon for example?
If anyone could please help, that would be great.
Re: Optimizing Ping - Possible Causes of Lag?
Dedicated server, static ip & get faster internet...oh and if you happen to reside in Australia then there is no hope, ever of everness to make the last idea possible, we are doomed..(shakes fist at liberals while sobbing).
Re: Optimizing Ping - Possible Causes of Lag?
By dedicated server, do you mean 100% dedicated? Like, only the PW Server on it, and nothing else? Or is it ok if I run Apache, mysql, tomcat, cpw and etc on it?
Re: Optimizing Ping - Possible Causes of Lag?
By dedicated he means no VPS.
Re: Optimizing Ping - Possible Causes of Lag?
never ... never do gameserver and webserver on same machine ... never !!!!!! thats very very very stupid ... its a and welcome to hackerz ... only for localtest ... but not for public ...
Re: Optimizing Ping - Possible Causes of Lag?
As long as you don't run webserver/pwserver as root, and under different (restricted, possibly even jailed) users, run fastCGI and other shit only on restricted account, you can run pw server and webserver on one physical machine with no problems.
Re: Optimizing Ping - Possible Causes of Lag?
In production, server shouldn't be offline at all. And what use is a server without website and vice versa?
Also, my complete rankings + panel need server to run on localhost, so for me personally that'd be the only way (Except write custom daemon which would enable inter-server communication via some custom auth + protocol).
Re: Optimizing Ping - Possible Causes of Lag?
Quote:
Originally Posted by
Zaboulon
I am trying to optimize the ping on my server. I know that for example, 32 GB of ram with a high end CPU is needed to run the server properly. However, what else can I do to optimize the ping even more? I ask this because I find that ingame ping is always higher. For example, on the server selection screen, the ping will be 100. But in game, the ping will be 300.
Are there some tips and tricks to reducing the ping? Such as installing a certain daemon, or not running a certain daemon for example?
If anyone could please help, that would be great.
You can't get Ping 5ms or bellow 50ms if you have bad internet connection, evenly you have SUPER POWER HIGH END SERVER / PC but run it on Bad Internet Connection or Small Bandwith.
You can get 1ms Ping using Pentium I 8mb RAM with 1gbps Dedicated Internet.
But you can't get 50ms Ping using XEON 1000000 CORE's with 1TB RAM but using 56kbps Internet.
The problem is not on Server or your PC. it was from your internet/Network connection.
Re: Optimizing Ping - Possible Causes of Lag?
^ what he said ^ !!!!!!!!!!
Re: Optimizing Ping - Possible Causes of Lag?
it might give you crystal clear explanation,
Ping performs no packet processing; it merely sends a response back when it receives a packet (i.e. performs a no-op), thus it is a first rough way of measuring latency. Ping cannot perform accurate measurements, principally because it uses the ICMP protocol that is used only for diagnostic or control purposes, and differs from real communication protocols such as TCP. Furthermore routers and ISP's might apply different traffic shaping policies to different protocols.
Total In-game Latency = In system processing latency + Network latency
so if you want the best condition ever:
1. Multiple server:
- 1 for authd, MySQL DB, and web service (iweb, etc.)
- 1 for uniquenamed, gamedbd, gacd, factiond,
- 4 for 50+ gamed
- 2 for linkd
- SSD disk array FC SAN
- each server uses Xeon, 64Gb RAM, 6Gbps BUS, CNA Qlogic.
2. Use FCoE switch for FC SAN and Network, recommended Extreme Networks
3. IP Transit QoS 1:1 1+1, assume 16kbps/player connection persistent.
That's it. I hope you can achieve < 30ms in-game latency.
Re: Optimizing Ping - Possible Causes of Lag?
I don't understand why having multiple servers will reduce the lag. Wouldn't it take longer for the servers to communicate between each other, especially when there are 8 different servers?
Also, idk if we're allowed to discuss here, but does anyone know of any good dedicated server hosts?
Re: Optimizing Ping - Possible Causes of Lag?
(Usually) LAN -> LAN are much faster connections than WAN -> LAN / LAN -> WAN -- so I don't think you'd ever have to worry about that as an actual legitimate concern. (You obviously would not want to run machines paired up to be a single game server on different LAN's over WAN)!
Re: Optimizing Ping - Possible Causes of Lag?
Quote:
Originally Posted by
Earthguard
I don't understand why having multiple servers will reduce the lag. Wouldn't it take longer for the servers to communicate between each other, especially when there are 8 different servers?
Also, idk if we're allowed to discuss here, but does anyone know of any good dedicated server hosts?
If you are playing in Data Center, You will be amazed how Fiber Optic speed slightly faster than your SSD SATA 3!
Re: Optimizing Ping - Possible Causes of Lag?
Quote:
Originally Posted by
gunse
if you are playing in data center, you will be amazed how fiber optic speed slightly faster than your ssd sata 3!
^this^ ~> qft