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 Tue Jan 26 2010 at 13:09:31 -0500, Thor Lancelot Simon wrote:
> On Tue, Jan 26, 2010 at 04:49:34PM +0200, Antti Kantee wrote:
> > On Tue, Jan 26, 2010 at 01:53:13PM +0000, Matthias Scheler wrote:
> > > On Tue, Jan 26, 2010 at 02:46:26PM +0200, Martti Kuparinen wrote:
> > > > How can I get better speed (800+ Mbps) within NetBSD?
> > > 2.) Please try to run "ttcp" with the option "-s 131072" to increase
> > >     the socket buffer size.
> > 
> > Wouldn't net.inet.tcp.recv/sendbuf_auto set to 1 solve that?  Is
> > there any reason it isn't the default?
> 
> It doesn't deal well with contention -- that is, if you have a large
> number of sockets open, and run the system out of buffer space via the
> autosizing, the performance effects can be unobvious and in some
> cases just plain wrong.  So it's not always a great idea for server
> systems, though it is a good default for clients.

Hmm, I made it the default before reading your mail.  Sounds still like
a more sensible default, i.e. server people are more likely to be in a
need to configure their machines anyway.


Home | Main Index | Thread Index | Old Index