[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AE8ABD6.2010203@gmail.com>
Date: Wed, 28 Oct 2009 21:38:46 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ben Greear <greearb@...delatech.com>
CC: Patrick McHardy <kaber@...sh.net>,
Stephen Hemminger <shemminger@...tta.com>,
NetDev <netdev@...r.kernel.org>
Subject: Re: iproute uses too small of a receive buffer
Ben Greear a écrit :
> Second: Why bail on ENOBUFS at all? I don't see how it helps the user
> since they will probably just have to start it again, and will miss more
> messages than keeping going would have.
>
> And, even 1MB may not be enough for some scenarios. So, probably best to
> let users over-ride the initial setting on cmd-line. If not, then use
> a large value to start with.
>
In this case, just dont call setsockopt() at all in "ip" and let system use the
standard/default value (/proc/sys/net/core/rmem_default) that an admin can change
if he wants to handle one million devices :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists