This video improved my latency considerably

Forum for Diablo discussion

Re: This video improved my latency considerably

Unread postby Giblet1 » 29 May 12, 8:48 am

Marius wrote:There's a whole heap of **** you can do.

Not really, I usually get about 200-220ms at night when all the Americans are asleep, seems blizzards servers can't handle it during the day.
Image
Giblet1

User avatar
Game Admin
 
Offline
Posts: 1076
Joined: 29 Mar 10, 12:17 pm
Location: Behind You...

Re: This video improved my latency considerably

Unread postby Marius » 29 May 12, 8:49 am

Well that's probably why. In that last post I said there's not much improvement beyond that and in the first post identified this as more relevant to 300+ latency. :)
Image
Marius

User avatar
Needs more Cleric
 
Offline
Posts: 6198
Joined: 18 Aug 05, 12:12 am
Location: Getting off the Citadel in time

Re: This video improved my latency considerably

Unread postby Giblet1 » 29 May 12, 8:51 am

:( , I still wanted to see if it would do anything during the day/peek times. Bouncing around between 300-400 sucks :cry:
Image
Giblet1

User avatar
Game Admin
 
Offline
Posts: 1076
Joined: 29 Mar 10, 12:17 pm
Location: Behind You...

Re: This video improved my latency considerably

Unread postby lucassot » 29 May 12, 10:00 am

Giblet1 wrote::( , I still wanted to see if it would do anything during the day/peek times. Bouncing around between 300-400 sucks :cry:

Yeah same. It's decent when they are asleep heh.
Image
lucassot

User avatar
Story Teller
 
Offline
Posts: 1909
Joined: 2 Dec 04, 12:55 am
Location: Adelaide, SA

Re: This video improved my latency considerably

Unread postby GoToadGo » 29 May 12, 11:15 am

lucassot wrote:
Giblet1 wrote::( , I still wanted to see if it would do anything during the day/peek times. Bouncing around between 300-400 sucks :cry:

Yeah same. It's decent when they are asleep heh.

Even when they're asleep it isn't good enough. 180ms+ will get you killed a lot in the higher difficulties(hell act 2+) if you hit a rough champion pack. The amount of times I've been blown up or mortared due to THINKING I was safe is getting ridiculous and is making me want to stop playing altogether. I'm not even going to bother with Inferno as I know I'll just rage at it all the time. This game is really highlighting the fact that they need to establish an oceanic set of servers if they're going to continue with their online only mindset. 200ms is fine for WoW as the game play doesn't need that split second timing(well PVE doesn't anyway, I can't speak for PVP as I never did that while I played) but at times this game really needs that split second timing we just can't get when we have such high latency.
GoToadGo

User avatar
Jedi Upstart
 
Offline
Posts: 631
Joined: 5 Jul 07, 3:56 pm
Location: Wollongong, NSW

Re: This video improved my latency considerably

Unread postby lucassot » 29 May 12, 1:19 pm

GoToadGo wrote:
lucassot wrote:
Giblet1 wrote::( , I still wanted to see if it would do anything during the day/peek times. Bouncing around between 300-400 sucks :cry:

Yeah same. It's decent when they are asleep heh.

Even when they're asleep it isn't good enough. 180ms+ will get you killed a lot in the higher difficulties(hell act 2+) if you hit a rough champion pack. The amount of times I've been blown up or mortared due to THINKING I was safe is getting ridiculous and is making me want to stop playing altogether. I'm not even going to bother with Inferno as I know I'll just rage at it all the time. This game is really highlighting the fact that they need to establish an oceanic set of servers if they're going to continue with their online only mindset. 200ms is fine for WoW as the game play doesn't need that split second timing(well PVE doesn't anyway, I can't speak for PVP as I never did that while I played) but at times this game really needs that split second timing we just can't get when we have such high latency.

I know it's not good enough overall especially at higher levels but it is better than being at 300 - 400 all the time.
Image
lucassot

User avatar
Story Teller
 
Offline
Posts: 1909
Joined: 2 Dec 04, 12:55 am
Location: Adelaide, SA

Re: This video improved my latency considerably

Unread postby Wishbone » 29 May 12, 1:55 pm

Read this on the interwebz ....

"Setting the TcpAckFrequency may improve your apparent ping but will not improve your actual network speed. If anything, it may make it worse by increasing the number of actual packets being transmitted by your machine for the same amount of data.

When a computer connects to another computer using TCP it performs what is known as the TCP Three-way Handshake. what happens is this:

1. Client computer sends a SYN (synchronize) packet to the server computer
2. Server computer sends a SYN-ACK (SYN-acknowledged) packet to the client computer
3. Client computer sends a final ACK (ACK acknowledged packet to the server computer.

Thus begins the TCP connection.

All these SYN, SYN-ACK, and ACK packets carry no actual data. The Windows network stack, since Windows 2000 has, by default, only responded to every other TCP SYN packet unless additional data packets are not received within a specific period of time (per RFC-1122). This reduces the total number of non-data packets that must be sent. Changing the referenced registry value to 1 will cause Windows to respond to every SYN packet, thus doubling the TCP overhead for a connection. While this will likely improve the "ping" rating you get in online games (since it takes a SYN packet less time to be ACKed) it will not increase the actual speeds of data transfer but reduce it. "

Makes sense to my untrained eye.
Image
i7-860 @ 3.66 / Asus P7P55D-E Del / 8GB Corsair XMP-2000 / Asus GTX480 / Dell 2408WFP / Win7-64
Wishbone

User avatar
Padawan
 
Offline
Posts: 121
Joined: 30 Jun 03, 3:47 pm
Location: Brisbane

Re: This video improved my latency considerably

Unread postby yeapal » 29 May 12, 2:45 pm

Most people have bandwidth to spare these days. Latency however can never be spared.
yeapal

User avatar
Padawan
 
Offline
Posts: 125
Joined: 2 Sep 08, 5:29 pm
Location: Melbourne

Re: This video improved my latency considerably

Unread postby Wishbone » 29 May 12, 3:06 pm

yeapal wrote:Most people have bandwidth to spare these days. Latency however can never be spared.


That's the thing. Yes you'll lower your ping by lessening the TCP handshaking but your still using the same bandwidth so you'll actual throughput will not increase. A ping is only 32 bytes so it will move very fast. D3 game traffic will be allot more data transfer so performance will decrease massively over the same link.

Correct me if I'm wrong :oops:
Image
i7-860 @ 3.66 / Asus P7P55D-E Del / 8GB Corsair XMP-2000 / Asus GTX480 / Dell 2408WFP / Win7-64
Wishbone

User avatar
Padawan
 
Offline
Posts: 121
Joined: 30 Jun 03, 3:47 pm
Location: Brisbane

Re: This video improved my latency considerably

Unread postby SaNE » 29 May 12, 3:22 pm

Wishbone wrote:D3 game traffic will be allot more data transfer so performance will decrease massively over the same link.

Game traffic isn't large enough to be affected by the additional overheads caused by the modification.
Image
Steam - Battlelog - X-Fire - "If you're not hurting somebody's feelings, you're losing"
SaNE

User avatar
Jedi Upstart
 
Offline
Posts: 852
Joined: 20 May 12, 6:09 pm
Location: Perth, WA

Re: This video improved my latency considerably

Unread postby André Axe'm » 29 May 12, 5:18 pm

The handshake isn't the problem.
The problem is when the traffic is paused (Nagle's), because one side hasn't recieved the ACK from its previous packet (TCP Delayed Ack).
Image
André Axe'm

User avatar
NWN Development
 
Offline
Posts: 4284
Joined: 3 Feb 06, 9:39 am
Location: Unlimited Codeworks

Re: This video improved my latency considerably

Unread postby Marius » 29 May 12, 5:21 pm

That still really doesn't explain how I noticed an improvement from 300-400 latency in Australian prime time down to 220 again using this. :)

My performance has actually measurable improved. Perhaps it's not for everyone, but it's something to try.
Image
Marius

User avatar
Needs more Cleric
 
Offline
Posts: 6198
Joined: 18 Aug 05, 12:12 am
Location: Getting off the Citadel in time

Re: This video improved my latency considerably

Unread postby Village idiot » 29 May 12, 5:31 pm

All this technical mumbo jumbo... I wish i was smarter in relation to all this stuff.

Suffice to say, i tried it and seems to work and improve my ping at the moment.

Im guessing that if i choose to revert later its as simple as deleting the dword i created in this this vid? Or will i break and kill everything?

||i73820||G.SkillAres16GB||AsusGTX680||AsusXonarEssence STX||AsusRampage IV Formula||SanDiskExtreme SSD 240GB / WD 1TB||LianLi PC-X500||
Village idiot

User avatar
Padawan
 
Online
Posts: 421
Joined: 31 Jan 09, 3:54 pm
Location: NSW

Re: This video improved my latency considerably

Unread postby André Axe'm » 29 May 12, 5:41 pm

Apparently windows only send the Ack for every two packets or every 500ms.
Nagle's Algorithm tells the machine to hold all outgoing packets until it gets the Ack from its last sent packet.
So place these two thingamagigs on opposite sides of a client-server link and one stops sending data because it is waiting for an Ack, that won't be sent until another packet turns up. This other packet being the one on hold. So the two machines end up waiting for each other.

The video at the start of this thread only tells you how to get the Ack sent for every packet. (unless you found an MSMQ entry)
To disable Nagle's as well, add TCPNoDelay = 1, in the same place as the TcpAckFrequency = 1.

Yeah you can just delete the words if you added them.
If they already exist and you changed them, you should change them back to what they were.
Image
André Axe'm

User avatar
NWN Development
 
Offline
Posts: 4284
Joined: 3 Feb 06, 9:39 am
Location: Unlimited Codeworks

Re: This video improved my latency considerably

Unread postby XViper » 29 May 12, 5:58 pm

Wishbone wrote:
yeapal wrote:Most people have bandwidth to spare these days. Latency however can never be spared.


That's the thing. Yes you'll lower your ping by lessening the TCP handshaking but your still using the same bandwidth so you'll actual throughput will not increase. A ping is only 32 bytes so it will move very fast. D3 game traffic will be allot more data transfer so performance will decrease massively over the same link.


What Wishbone is trying to say is: (Queue analogy)

You can run from one end of the room to another in a certain amount of time. (ping)
Taking your shoes off might make you complete that run in a faster time. (suggested registry tweak)
However if you're carrying a 50kg backpack (game data), your shoes really aren't going to make much of a difference. Infact the support your shoes give when carrying the backpack may actually be beneficial for your feet/safety.

Did I make any sense, or did that just sound completely retarded?
Image
Image
XViper

User avatar
Forum Bot
 
Offline
Posts: 5224
Joined: 19 Jan 03, 4:27 am
Location: SA

PreviousNext

Return to Diablo

Who is online

Users browsing this forum: No registered users and 1 guest

x

#{title}

#{text}