From: Rick Jones <rick.jones2@hp•com>
To: Jack Zhang <jack.zhang2011@gmail•com>
Cc: netdev@vger•kernel.org
Subject: Re: can TCP socket send buffer be over used?
Date: Tue, 03 Aug 2010 17:30:44 -0700 [thread overview]
Message-ID: <4C58B4B4.6010904@hp.com> (raw)
In-Reply-To: <AANLkTi=Ma2yMVbgRnUUB6T1j=rHLb60oAXqCSbM35KgT@mail.gmail.com>
Jack Zhang wrote:
> I understand that when the buffer size is set to 128 KB, I actually
> got a buffer of 256 KB as the kernel doubles the buffer size. I also
> understand that half the doubled buffer size is used for meta data
> instead of the actual data to be transferred. So basically the
> effective buffer sizes for the two examples are just 128 KB and 512
> KB respectively.
It may not be strictly 1/2. One way to check would be to take a tcpdump trace
on the sending side, and either work-out manually the most the connection has
outstanding at a time, or run the binary trace through something like tcptrace.
rick jones
next prev parent reply other threads:[~2010-08-04 0:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 0:22 can TCP socket send buffer be over used? Jack Zhang
2010-08-04 0:30 ` Rick Jones [this message]
2010-08-04 0:48 ` Jack Zhang
2010-08-04 1:17 ` Rick Jones
2010-08-04 7:20 ` Bill Fink
2010-08-04 8:00 ` Jack Zhang
2010-08-04 9:07 ` Bill Fink
2010-08-04 7:33 ` Mikael Abrahamsson
2010-08-04 8:03 ` Jack Zhang
2010-08-04 8:21 ` Mikael Abrahamsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C58B4B4.6010904@hp.com \
--to=rick.jones2@hp$(echo .)com \
--cc=jack.zhang2011@gmail$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox