Jump to content

RFC896 Nagle Algorithm


cholla

Recommended Posts

I saw this in the NDT test & decided to look up some information on it since it shows enabled in the test results.The information on disabling it is for XP.I have ME so I can't try this to see if it can be disabled  or even if it should be.I not suggesting the tweak because I haven't been able to try it but if someone decides to post & let me know what your results were.

Well, it used to be possible to disable it for applications using the MSMQ (Microsoft Message Queue Server).  The magic registry key is documented here (look under

Link to comment
Share on other sites

TCP/Web100 Network Diagnostic Tool v5.2.0f

click START to begin

Checking for Middleboxes . . . . . . . . . . . . . . . . . .  Done

running 10s outbound test (client to server) . . . . . 450.80Kb/s

running 10s inbound test (server to client) . . . . . . 720.89kb/s

The slowest link in the end-to-end path is a 100 Mbps Full duplex Fast Ethernet subnet

WEB100 Kernel Variables:

Client: localhost/127.0.0.1

AckPktsIn: 321

AckPktsOut: 0

BytesRetrans: 0

CongestionSignals: 0

CountRTT: 321

CurrentCwnd: 26280

CurrentMSS: 1460

CurrentRTO: 480

CurrentRwinRcvd: 25696

CurrentRwinSent: 5840

CurrentSsthresh: 2147483647

DSACKDups: 0

DataBytesIn: 0

DataBytesOut: 918340

DataPktsIn: 0

DataPktsOut: 629

DupAcksIn: 0

ECNEnabled: 0

FastRetran: 0

MaxCwnd: 26280

MaxMSS: 1460

MaxRTO: 820

MaxRTT: 440

MaxRwinRcvd: 25696

MaxRwinSent: 5840

MaxSsthresh: 0

MinMSS: 1460

MinRTO: 470

MinRTT: 220

MinRwinRcvd: 25696

MinRwinSent: 5840

NagleEnabled: 1  <~ ouch, I'm Nagled

PktsIn: 321

PktsOut: 629

PktsRetrans: 0

Rcvbuf: 128000

SACKEnabled: 3

SACKsRcvd: 0

SmoothedRTT: 250

Sndbuf: 128000

SndLimTimeRwin: 8835007

SndLimTimeCwnd: 1397616

SndLimTimeSender: 11464

SndLimTransRwin: 1

SndLimTransCwnd: 1

SndLimTransSender: 1

SndLimBytesRwin: 852640

SndLimBytesCwnd: 65700

SndLimBytesSender: 0

SumRTT: 83950

Timeouts: 0

TimestampsEnabled: 0

WinScaleRcvd: 2147483647

WinScaleSent: 2147483647

DupAcksOut: 0

StartTime: 2147483647

CurrTime: 10262353

c2sData: 5

c2sAck: 2

s2cData: 6

s2cAck: 2

Checking for mismatch condition

(cwndtime > .3) [0.13>.3], (MaxSsthresh > 0) [0>0],

(PktsRetrans/sec > 2) [0>2], (estimate > 2) [42.59>2]

Checking for mismatch on uplink

(speed > 50 [0.71>50], (xmitspeed < 5) [0.45<5]

(rwintime > .9) [0.86>.9], (loss < .01) [1.0E<.01]

Checking for excessive errors condition

(loss/sec > .15) [1.0E>.15], (cwndtime > .6) [0.13>.6],

(loss < .01) [1.0E<.01], (MaxSsthresh > 0) [0>0]

Checking for 10 Mbps link

(speed < 9.5) [0.71<9.5], (speed > 3.0) [0.71>3.0]

(xmitspeed < 9.5) [0.45<9.5] (loss < .01) [1.0E<.01], (link > 0) [100>0]

Checking for Wireless link

(sendtime = 0) [0.00=0], (speed < 5) [0.71<5]

(Estimate > 50 [42.59>50], (Rwintime > 90) [0.86>.90]

(RwinTrans/CwndTrans = 1) [1/1=1], (link > 0) [100>0]

Checking for DSL/Cable Modem link

(speed < 2) [0.71<2], (SndLimTransSender = 0) [1=0]

(SendTime = 0) [0.0011190845997305567=0], (link > 0) [100>0]

Checking for half-duplex condition

(rwintime > .95) [0.86>.95], (RwinTrans/sec > 30) [0.10>30],

(SenderTrans/sec > 30) [0.10>30], OR (link <= 10) [100<=10]

Checking for congestion

(cwndtime > .02) [0.13>.02], (mismatch = 0) [0=0]

(MaxSsthresh > 0) [0>0]

bw = 42.59 based on packet size = 11Kbits, RTT = 261.52msec, and loss = 1.0E-6

The theoretical network limit is 42.59 Mbps

The transmit buffer (125.0 KByte) limits the application to 3.73 Mbps

Your receive buffer (25.0 KByte) limits the application to 0.74 Mbps

The network based flow control limits the application to 0.76 Mbps

Client Data reports link is 'FastE', Client Acks report link is 'T1'

Server Data reports link is 'OC-12', Server Acks report link is 'T1'

. . . how long do I have ~ Doc ~ you can tell me

Link to comment
Share on other sites

well, I did a registry search and found a 109 entries for MSMQ ~ mostly all default settings.

so it's gonna take some time to find that 'one' setting that diables it ~ lol

. . . to disable TCP nagling. It has valid values of "0" and "1", with a default of "0" (enable nagling). By default, message queuing enables nagling on the TCP sockets it uses. Enabling nagling here improves overall performance, but it might briefly delay transmission of smaller packets. You can add this entry to the registry with a value of "1" to disable nagling, as the following code illustrates, if the delay is undesirable or unacceptable.

I've got this neat registry editor with a great search tool.

~ Registrar Lite ~

http://www.resplendence.com

Runs on: WinXP/Win2000/NT/ME/9x  and it's free!

Registrar Lite for Windows XP/2000/NT/ME/9x is a freeware flexible registry editor. It allows cutting, pasting, copying, and moving of keys and values as if it were Windows Explorer. It has extensive search and replace capabilities, a bookmark editor that optionally colors bookmarked keys and adds key descriptions, flexible value editors that allow importing data from files.

Editors allowing you to set registry key permissions, auditing and ownership have been added.

Registrar offers a powerful tool to search the registry or a specified key for text occurrences, binary data or regular expressions. Matching items can optionally be replaced with other text, deleted, or exported to a registry file. offers the feature to quickly compare the contents of two registry keys to check whether their contents are the same.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...