Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Why is my gigabit ethernet so slow?

On Wed, Jan 27, 2010 at 12:31:36PM +0700, Robert Elz wrote:
>     Date:        Tue, 26 Jan 2010 23:59:19 -0500
>     From:        Thor Lancelot Simon <>
>     Message-ID:  <>
>   | Why the automatic socket buffer sizing code isn't bringing the socket
>   | buffer size and thus the window size up to 128K by itself over the course
>   | of a 10GB test is not obvious to me.
> Is that still used if the application explicitly sets a buffer size?
> And, if the -b option is not used, does ttcp just use whatever is the
> default socket buffer size, or does it have its own default (perhaps 32KB)
> that it explicitly sets?

I just checked -- it uses the default.  It only calls setsockopt if the
user supplies a size with -b on the command line.


Home | Main Index | Thread Index | Old Index