• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange TCP-networking problems with Mac OS X 10.4 and Solaris 10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange TCP-networking problems with Mac OS X 10.4 and Solaris 10


  • Subject: Re: Strange TCP-networking problems with Mac OS X 10.4 and Solaris 10
  • From: "Justin C. Walker" <email@hidden>
  • Date: Thu, 12 Oct 2006 08:04:41 -0700


On Oct 12, 2006, at 07:36 , Peter Sichel wrote:

On 10/12/06, Heiko wrote:
[snip]
I noticed just now on 10.4.8 that the value for delayed Ack is "3" which
surprises me. Previously I only noticed it could be "on" (1) or
"off" (0). This may have some bearing on why Mac OS X is ACKing so lazily.

This is the comment from tcp_input.c (ppc darwin 8.0.7 source), where DELAY_ACK is defined:


* Indicate whether this ack should be delayed.
* We can delay the ack if:
*  - delayed acks are enabled (set to 1) and
*      - our last ack wasn't a 0-sized window.  We never want to delay
*        the ack that opens up a 0-sized window.
*  - delayed acks are enabled (set to 2, "more compatible") and
*      - our last ack wasn't a 0-sized window.
*      - if the peer hasn't sent us a TH_PUSH data packet (this
*        solves 3649245)
*      - the peer hasn't sent us a TH_PUSH data packet, if he did,
*        take this as a clue that we
*        need to ACK with no delay. This helps higher level protocols
*        who won't send
*        us more data even if the window is open because their last
*        "segment" hasn't been ACKed
*  - delayed acks are enabled (set to 3, "streaming detection") and
*      - if we receive more than 4 full packets per second on this
*        socket, we're streaming acts as "1".
*      - if we don't meet that criteria, acts like "2". Allowing faster
*        acking while browsing for example.

(slightly reformatted).

HTH,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
When LuteFisk is outlawed,
Only outlaws will have LuteFisk
--------



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Strange TCP-networking problems with Mac OS X 10.4 and Solaris 10 (From: Heiko <email@hidden>)
 >Re: Strange TCP-networking problems with Mac OS X 10.4 and Solaris 10 (From: "Peter Sichel" <email@hidden>)

  • Prev by Date: Re: Strange TCP-networking problems with Mac OS X 10.4 and Solaris 10
  • Next by Date: Re: Remote port forwarding with SSH (changes since 10.4.3?)
  • Previous by thread: Re: Strange TCP-networking problems with Mac OS X 10.4 and Solaris 10
  • Next by thread: How to find the primary network interface?
  • Index(es):
    • Date
    • Thread