Article's Nagle algorithm value different than that of the SG TCP Optimizer.

Get help and discuss anything related to tweaking your internet connection, as well as the different tools and registry patches on the site. TCP Optimizer settings and Analyzer results should be posted here.
Post Reply
Barcode
New Member
Posts: 2
Joined: Mon Jun 02, 2014 6:06 pm

Article's Nagle algorithm value different than that of the SG TCP Optimizer.

Post by Barcode »

As the title states, in the article TcpAckFrequency and TCPNodelay a value of 1 would disable nagling while in the TCP Optimizer app a value of 0 would disable nagling.
So which one is the right one?
Also for browsing if i want the images to load immediately rather than wait would disabling Nagle's algorithm help?
User avatar
akbarri
Posts: 935
Joined: Tue Dec 30, 2008 4:21 pm
Location: Caterpillar Inc

Post by akbarri »

Reference from MS
http://technet.microsoft.com/en-us/libr ... s.10).aspx

I recommend using "Leatrix Latency Fix" to tweak TcpAckFrequency and TCPNodelay.

# OS: Windows, Linux # Browser: Blink, Gecko, Presto, Webkit + Squid + Bind
User avatar
KEiGHT
Regular Member
Posts: 131
Joined: Thu Feb 27, 2014 2:39 am
Location: Romania

Post by KEiGHT »

TcpAckFrequency=1 (disable Nagling algorithm)
TcpDelAckTicks=0 (disable Nagling algorithm) works only when Nagling is enabled !
TCPNoDelay=1 (disable Nagling algorithm)

Here is where SG TCP Optimizer is wrong set ;

TcpDelAckTicks

Specifies the time interval that defines the end of a segment stream. When this interval elapses between the receipt of TCP segments, TCP considers the segment stream to be complete, and it sends an ACK message to acknowledge the segment. Otherwise, TCP acknowledges every other segment only. This interval is used in TCP's delayed acknowledgment strategy, in accordance with RFC 1122, Requirements for Internet hosts—communication layers.

TcpDelAckTicks default value is 2 in the registry of windows 7 , which in SG TCP Optimizer shows disabled: 0
If I set this one with SG TCP Optimizer, his value will be set as 0 but in SG TCP Optimizer after restart, show default n/a instead of Disabled: 0
The odd fact is , cuz if I set in registry to 2, in SG TCP Optimizer will appear correct value Disabled: 0

Why is that ?
Every man has his destiny.
User avatar
KEiGHT
Regular Member
Posts: 131
Joined: Thu Feb 27, 2014 2:39 am
Location: Romania

Post by KEiGHT »

;Gaming config:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\{GUID}]
"TcpAckFrequency"=dword:00000001
"TcpDelAckTicks"=dword:00000000
"TCPNoDelay"=dword:00000001

;Normal config:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\{GUID}]
"TcpAckFrequency"=dword:00000002
"TcpDelAckTicks"=dword:00000002
"TCPNoDelay"=dword:00000000
Every man has his destiny.
User avatar
akbarri
Posts: 935
Joined: Tue Dec 30, 2008 4:21 pm
Location: Caterpillar Inc

Post by akbarri »

I'm also confuse with that Registry Settings by SG TCPO.
That's why i'm referring MS Doc & using other software to dealing with "TcpAckFrequency & TCPNodelay".

But It's not the answer for ur question. Hope ur question will answered by SG TCPO Maker.

# OS: Windows, Linux # Browser: Blink, Gecko, Presto, Webkit + Squid + Bind
Barcode
New Member
Posts: 2
Joined: Mon Jun 02, 2014 6:06 pm

Post by Barcode »

Alright thanks guys for all your help, very much appreciated.
User avatar
KEiGHT
Regular Member
Posts: 131
Joined: Thu Feb 27, 2014 2:39 am
Location: Romania

Post by KEiGHT »

KEiGHT wrote:;Gaming config:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\{GUID}]
"TcpAckFrequency"=dword:00000001
"TcpDelAckTicks"=dword:00000000
"TCPNoDelay"=dword:00000001

;Normal config:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\{GUID}]
"TcpAckFrequency"=dword:00000002
"TcpDelAckTicks"=dword:00000002
"TCPNoDelay"=dword:00000000

It is recommended to use first tweak only when you're gaming otherwise you are advised to turn back your modified registry for better throughput !
Every man has his destiny.
User avatar
Philip
SG VIP
Posts: 11704
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

akbarri wrote:I'm also confuse with that Registry Settings by SG TCPO.
That's why i'm referring MS Doc & using other software to dealing with "TcpAckFrequency & TCPNodelay".

But It's not the answer for ur question. Hope ur question will answered by SG TCPO Maker.

That MS reference is for Windows 2003. In Windows 7, the correct location is different, i.e. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\{GUID}]
User avatar
Philip
SG VIP
Posts: 11704
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

KEiGHT wrote:
TcpDelAckTicks default value is 2 in the registry of windows 7 , which in SG TCP Optimizer shows disabled: 0
TcpDelAckTicks is not present by default in the Windows 7 Registry (which is interpreted as a value of 2 by Windows).

I'll look into why/if it is not reading the correct value.. Probably because it can currently only interpret the three most relevant values:
default: n/a (interpreted by Windows as 2, 200ms)
disabled: 0 (nagling disabled)
enabled: 1 (nagling enabled, 100ms)
Post Reply