Optimizing Ping - Possible Causes of Lag?

Results 1 to 15 of 15
  1. #1
    Novice Zaboulon is offline
    MemberRank
    Oct 2013 Join Date
    2Posts

    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.


  2. #2
    0, 1, 1, 2, 3, 5, 8, 13, argonaut is offline
    MemberRank
    Sep 2011 Join Date
    AustraliaLocation
    602Posts

    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).

  3. #3
    Novice Zaboulon is offline
    MemberRank
    Oct 2013 Join Date
    2Posts

    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?

  4. #4
    uint is best int. Swoosh91 is offline
    MemberRank
    Feb 2010 Join Date
    BerlinLocation
    712Posts

    Re: Optimizing Ping - Possible Causes of Lag?

    By dedicated he means no VPS.

  5. #5
    RaGEZONER fgru is offline
    MemberRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    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 ...

  6. #6
    uint is best int. Swoosh91 is offline
    MemberRank
    Feb 2010 Join Date
    BerlinLocation
    712Posts

    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.

  7. #7
    RaGEZONER fgru is offline
    MemberRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts
    yes you can but if you have a problem possible server offline ... both of them ...

    fgru @ n4 @ tt4

  8. #8
    uint is best int. Swoosh91 is offline
    MemberRank
    Feb 2010 Join Date
    BerlinLocation
    712Posts

    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).

  9. #9
    SON OF MARFEL hrace009 is offline
    MemberRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    Re: Optimizing Ping - Possible Causes of Lag?

    Quote Originally Posted by Zaboulon View Post
    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.

  10. #10
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: Optimizing Ping - Possible Causes of Lag?

    ^ what he said ^ !!!!!!!!!!

  11. #11
    dev gunse is offline
    MemberRank
    Mar 2009 Join Date
    IndonesiaLocation
    476Posts

    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.
    Last edited by gunse; 21-10-13 at 03:06 AM. Reason: add more ...

  12. #12
    Apprentice Earthguard is offline
    MemberRank
    Sep 2013 Join Date
    9Posts

    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?

  13. #13
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    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)!

  14. #14
    dev gunse is offline
    MemberRank
    Mar 2009 Join Date
    IndonesiaLocation
    476Posts

    Re: Optimizing Ping - Possible Causes of Lag?

    Quote Originally Posted by Earthguard View Post
    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!

  15. #15
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: Optimizing Ping - Possible Causes of Lag?

    Quote Originally Posted by gunse View Post
    if you are playing in data center, you will be amazed how fiber optic speed slightly faster than your ssd sata 3!
    ^this^ ~> qft



Advertisement