Total servers: 3
Saturday Nights (Graveyard [RIP]) by MiLeC Today at 01:10:07 am
Old community member outreach (LieroX2 General Discussion) by non Today at 01:05:32 am
Thread for anything (Chat/Spam topic) (The World Outside) by Sebbe May 18, 2013, 05:28:04 pm
Dedicated server questions (Support & discussion) by Kurko May 17, 2013, 12:11:22 pm
Straight - [Str8] ([Str8]) by b-cátt May 16, 2013, 12:18:34 am
Cruel Mod by iRod
Cruel v0.96 – 50lt
IP: 69.255.183.244
Game Mode: Death Match
Lives: 5
Max Kills: 0
Version: OpenLieroX 0.58 rc3
Players:
iRod(0 lives, 0 kills)
[CPU]I'm Not A Human(4 lives, 0 kills)
[CPU]I'm Not A Human(5 lives, 0 kills)
Kurko's testlab
Liero v1.0 – 100lt
IP: 91.156.42.210
Game Mode: Death Match
Lives: 5
Max Kills: 20
Version: OpenLieroX 0.58 rc3
Players:
classic 24/7
Liero v1.0 – 100lt
IP: 37.205.11.54
Game Mode: Death Match
Lives: 7
Max Kills: 15
Version: OpenLieroX 0.58 rc3
Players:
Pages: [1]   Go Down

Author Topic: Reducing ping  (Read 730 times)

kokbira

  • Gi Joe Brown Brazillian Rope-Flying Ant
  • LXA Part Time Adapt
  • *****
  • Schwartz: +20/-6
  • Offline Offline
  • Posts: 481
  • 1898 credits
  • View Inventory
  • Send Money To kokbira
  • ex-player (ex-Flip and ex-s00t clan member)
    • WWW
Reducing ping
« on: July 25, 2011, 03:32:12 pm »
Well, I'm not sure if that for-dummies-solution functions for every case, but I tested in my computer and so my ping to ISP changed from about 120 ms to about 10 ms according to www.speedtest.net

Quote
Reduce game network latency in Windows 7 or Vista
http://lifeandcode.net/2009/05/reduce-game-network-latency-in-windows-7-or-vista/
       
After installing Windows 7 I noticed a slight increase in network latency in several online games. It wasn’t a big deal – I’m talking 200-300ms, but this is on a connection that was reliably < 100ms in the past. Beyond the obvious settings in Windows or on your router, here’s a list of tweaks that may help quite a bit. It involves disabling Nagle’s algorithm, also commonly known as TCP no delay, which is basically an optimization of network traffic that tries to reduce overall packet volume but can cause extra latency in the connection. This should work on Windows 7 or Vista, though the same principle can probably applied to other operating systems as well.

   1. From a command prompt (usually in All Programs -> Accessories -> Command Prompt) run “regedit”
   2. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces
   3. Browse the items under interfaces until you find one that has an IPAddress entry matching the network interface you want to affect (typically LAN IP addresses start with 192.168 or 10.0); note that if your IP address is automatically assigned by a DHCP server you may need to look for a matching DhcpIPAddress instead of IPAddress
   4. Right-click on the interface and select New > DWORD (32-bit) Value, name it “TcpAckFrequency”
   5. Right-click the new TcpAckFrequency value and select Modify, enter “1″ (Hexadecimal radio button should be selected)
   6. Right-click on the interface and select New > DWORD (32-bit) Value, name it “TCPNoDelay” (note that TCP is all uppercase this time – that’s intentional)
   7. Right-click the new TCPNoDelay value and select Modify, enter “1″ (Hexadecimal radio button should be selected)
   8. Verify that both TcpAckFrequency and TCPNoDelay now show up in the adapter’s property list with types REG_DWORD and values 0×00000001
   9. Exit regedit and reboot (reboot is necessary for the changes to take effect!)
  10. Play a game and enjoy your new low ping


This decreased my ping in most games from 200-300ms to 50-60ms, which matches the latency I would see via a tracert to the game’s server.

Do you know about:
- side-effects of that solution?
- a better solution?
- some additional tricks to reduce ping on OLX?

My "path" to Internet: ISP - modem - wireless router - my notebook via wireless
« Last Edit: July 25, 2011, 03:34:35 pm by kokbira »
My wife's blog (http://garotaromantica11.blogspot.com)
Play OpenLieroX (http://openlierox.net)
Use portable apps with LiberKey (http://liberkey.com)
Ask super users (http://superuser.com)
Ask programmers (http://stackoverflow.com)

albert

Re: Reducing ping
« Reply #1 on: July 25, 2011, 05:11:46 pm »
Note that this is all about TCP. And it has other drawbacks in modifying these (performance in some applications, probably Torrent and similar, might get terrible).

Most games use UDP. This is not affected by this. UDP also doesn't 'Ack' like TCP does (it doesn't 'Ack' at all; UDP is quite primitive, that's why games prefer it).

DarkCharlie

Re: Reducing ping
« Reply #2 on: July 25, 2011, 05:21:48 pm »
Side-effects: your upload bandwidth will be bloated. Games do not use TCP so this setting won't affect them in any way. I recommend reverting back to the original settings as it is better for general Internet browsing.

kokbira

  • Gi Joe Brown Brazillian Rope-Flying Ant
  • LXA Part Time Adapt
  • *****
  • Schwartz: +20/-6
  • Offline Offline
  • Posts: 481
  • 1898 credits
  • View Inventory
  • Send Money To kokbira
  • ex-player (ex-Flip and ex-s00t clan member)
    • WWW
Re: Reducing ping
« Reply #3 on: July 25, 2011, 06:08:32 pm »
Note that this is all about TCP. And it has other drawbacks in modifying  these (performance in some applications, probably Torrent and similar,  might get terrible).
 
 Most games use UDP. This is not affected by this. UDP also doesn't 'Ack'  like TCP does (it doesn't 'Ack' at all; UDP is quite primitive, that's  why games prefer it).
 

Side-effects: your upload bandwidth will be bloated. Games do not use  TCP so this setting won't affect them in any way. I recommend reverting  back to the original settings as it is better for general Internet  browsing.
 

in fact I did not see changes in "OLX ping" and I think I'll revert that...

what do you think I have to do to reduce OLX ping, or can't I do anything else than changing ISP plan to a larger MBPS?
My wife's blog (http://garotaromantica11.blogspot.com)
Play OpenLieroX (http://openlierox.net)
Use portable apps with LiberKey (http://liberkey.com)
Ask super users (http://superuser.com)
Ask programmers (http://stackoverflow.com)

DarkCharlie

Re: Reducing ping
« Reply #4 on: July 25, 2011, 08:55:52 pm »
You cannot do anything about that besides changing ISP or ISP plan to something with lower aggregation (i.e. with fewer people sharing the same link). The bandwidth (MBPS) doesn't help ping either. The only thing that can be done to reduce lag and ping issues in OLX is to patch the OLX network engine :)

kokbira

  • Gi Joe Brown Brazillian Rope-Flying Ant
  • LXA Part Time Adapt
  • *****
  • Schwartz: +20/-6
  • Offline Offline
  • Posts: 481
  • 1898 credits
  • View Inventory
  • Send Money To kokbira
  • ex-player (ex-Flip and ex-s00t clan member)
    • WWW
Re: Reducing ping
« Reply #5 on: July 25, 2011, 09:09:30 pm »
:'(

then I have to conform with immortality:
- of enemies with lower ping than me (i.e. almost everyone)
- of me when playing a a-lot-of-people-little-level-and-0%-weapon-loading-time-games, like some Emp games in past week

and:
- becoming spectator for some seconds in game
- kicked from some servers with auto-kick-for-high-ping
« Last Edit: July 25, 2011, 09:15:24 pm by kokbira »
My wife's blog (http://garotaromantica11.blogspot.com)
Play OpenLieroX (http://openlierox.net)
Use portable apps with LiberKey (http://liberkey.com)
Ask super users (http://superuser.com)
Ask programmers (http://stackoverflow.com)

albert

Re: Reducing ping
« Reply #6 on: July 26, 2011, 11:35:42 am »
What exactly is your ping? And where are you from?

Even with an improved/perfect network engine in OLX, the ping will not get much better (although, with an improved network engine, it might matter less).

kokbira

  • Gi Joe Brown Brazillian Rope-Flying Ant
  • LXA Part Time Adapt
  • *****
  • Schwartz: +20/-6
  • Offline Offline
  • Posts: 481
  • 1898 credits
  • View Inventory
  • Send Money To kokbira
  • ex-player (ex-Flip and ex-s00t clan member)
    • WWW
Re: Reducing ping
« Reply #7 on: July 26, 2011, 03:39:08 pm »
it varies from 200 to 600, but sometimes i am auto-kicked (ping >2000 or >3000ms).

i'm from brazil - well i know i'm far to finland, germany...

i can play with 300ms ping, but sometimes i shot enemies and they do not die or i become spectator during game for some time, mainly when there are more than 3 other players in room
My wife's blog (http://garotaromantica11.blogspot.com)
Play OpenLieroX (http://openlierox.net)
Use portable apps with LiberKey (http://liberkey.com)
Ask super users (http://superuser.com)
Ask programmers (http://stackoverflow.com)
Pages: [1]   Go Up