My Latency Spike Fix

Hey all,

I figured I'd make a post about how I managed to fix latency spike issues. This may not fix every issue, but the game is now playable for me and I have not had many spikes since.

Step One

The first place I'd like to start is PORT FORWARDING. After doing many traceroutes to US.Login.PathofExile.com, I noticed packet loss at Patch101.PathofExile.com. That was the end of the route, so I was assuming the game was attempting to send packets via different ports. This lead me to open my outgoing ports to the game's specifications.

You can check if you're getting the same issues by using this traceroute program: http://winmtr.net/download-winmtr/. Use the URL US.Login.PathofExile.com or if you're EU, use EU.Login.PathofExile.com. If you notice packet loss anywhere else but the last hop, then you may want to consider talking to your ISP and signal strength, power, etc.

The ports are all TCP and listed below:
80
8095
12995
20481
and the range 32768 - 61000

Don't know how to port forward? Here are some guides for various routers on the market. http://portforward.com/english/routers/port_forwarding/

It really just involves heading over to your router's login page at 192.168.X.X, 10.0.X.X, etc (X.X is what your local connection is. Could be 0.1, 1.1, etc. I'd suggest opening up Command Prompt and typing in IPConfig. Your Default Gateway is the IP you'll type into your browser. Login to your router and follow your router's guide for port forwarding.

When you apply ports to be open, I'd also suggest giving your computer a STATIC IP on your network, so every time it connects, it has that IP, always. It'll ask you for a 'SERVER IP' when you port forward, this will be your computer.

Alternatively, you can also just do a DMZ on your computer, which opens every port.

Step Two

The next thing I did to further alleviate any packet loss and/or latency jumping, was to install Leatrix Latency Fix.

LLF changes various Registry entries to get rid of TCP packet sending delays and even to take 'shortcuts' to get to the server.

To download: http://www.wowinterface.com/downloads/info13581-LeatrixLatencyFix.html

To check out more details on how this works and why: http://www.leatrix.com/latencyfaq

ETC

For all you WiFi gamers out there, I'd really suggest changing your WiFi channels to those that are least used.

Usually, Channels 3, 4, 9, and 13 are least used.

You can get a more in-depth look at what WiFi channels are used in your area by this piece of software: http://www.nirsoft.net/utils/wifi_information_view.html

It'll show you what WiFi signals are using what channel. Very useful for finding the least cluttered channel.

Thanks and happy gaming!
Last edited by CruiseCTRL#2898 on Jul 12, 2015, 5:26:06 PM
Last bumped on Nov 26, 2016, 8:03:01 AM
you have some good information here for people in need. but i am almost certain no port forwarding is required for this game. isn't it a simple client to server connection? i use upnp so i have never checked but i see no reason for it to be otherwise.

port forwarding is to open listening ports for incoming connections.
opening port 80 which is webserver to play the game seems absurd.

the rest of the ports are likely ports used for outgoing connections. no routers block outgoing connections otherwise you wouldn't be able to do anything thus it is a moot point.

punching too many holes in a firewall for no reason is not a good thing.

dmz is not something that should be done other than for troubleshooting imo.

a compromise could be turning on upnp in the router. you would have full security and automatic port forwarding for those applications needing that.
Gonna try this stuff but this game was better with desynch so far in my opinion.

This went from running fine with occasional desync to running like crap. Hopefully this works but otherwise its waiting for a patch that fixes the game. A4 is unplayable in areas on a computer and internet connection that far exceed the reqs.
"
Gonna try this stuff but this game was better with desynch so far in my opinion.

This went from running fine with occasional desync to running like crap. Hopefully this works but otherwise its waiting for a patch that fixes the game. A4 is unplayable in areas on a computer and internet connection that far exceed the reqs.


So then go to the main menu and put it back on predictive if you'd prefer the desync? I agree something needs to be done because there are certainly issues on their end of things, but desync was not better than this.
"
So then go to the main menu and put it back on predictive if you'd prefer the desync? I agree something needs to be done because there are certainly issues on their end of things, but desync was not better than this.


the fact is that if you go back to desync, now u got lag and desync too costantly, i have 40 ms to any game i try and with speedtest.net i got 34 ping so surely is not working good, the game,if i get 130 150 in game with no reason -.- i want to give this guide a try tonight ^^
Last edited by ergecko123#3484 on Jul 14, 2015, 5:32:31 PM
Private networking is the only solution or the one im using atm

or if there is another solution pls post it
Using the Leatrix Latency Fix, I just went from a zig-zag that went from 50ms to 400ms each 0.5 second, to a ping of under 50ms with no spikes at all. I have no idea what it changed in my registries, but it solved my problem, which is more than enough for me, thank you.
I have read the faq, and it makes a lot of sense ...
My network policy sends confirmation of receipt every 10 packages.
Maybe that's what's disconnecting me.
I have emule, utorrent and several other programs, and that configuration greatly optimized the traffic.
But of course, p2p and games have opposite needs.

I'll give it a try to see if it works.
thanks for the info.
Port forwarding is not necessary for PoE, so you're opening ports for no reason. As far a Leatrix is concerned, you could simply add the 'TCPAckFrequency' registry value directly. Also, whilst you're there, you could modify TCPNoDelay too.

Personally, I think modifying these values may or may not have the desired effect, but the former will increase bandwidth slightly. End of the day, latency is governed by physics and the only real way to reduce it is to move physically closer to the desired target.

Report Forum Post

Report Account:

Report Type

Additional Info