From: YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= Subject: Re: [PATCH] Increase snd/rcv buffers in pppoe Date: Mon, 23 Feb 2004 20:38:43 +0900 (JST) Sender: netdev-bounce@oss.sgi.com Message-ID: <20040223.203843.04073965.yoshfuji@linux-ipv6.org> References: <20040223105359.GA91938@colin2.muc.de> <20040223.200101.39143636.yoshfuji@linux-ipv6.org> <20040223111659.GB10681@colin2.muc.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: davem@redhat.com, netdev@oss.sgi.com, mostrows@styx.uwaterloo.ca, yoshfuji@linux-ipv6.org Return-path: To: ak@muc.de In-Reply-To: <20040223111659.GB10681@colin2.muc.de> Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org In article <20040223111659.GB10681@colin2.muc.de> (at 23 Feb 2004 12:16:59 +0100,Mon, 23 Feb 2004 12:16:59 +0100), Andi Kleen says: > On Mon, Feb 23, 2004 at 08:01:01PM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote: > > In article <20040223105359.GA91938@colin2.muc.de> (at 23 Feb 2004 11:53:59 +0100,Mon, 23 Feb 2004 11:53:59 +0100), Andi Kleen says: > > > > > -#define SK_WMEM_MAX 65535 > > > -#define SK_RMEM_MAX 65535 > > > +#define SK_WMEM_MAX 131072 > > > +#define SK_RMEM_MAX 131072 > > > > 131071? > > Probably, but it doesn't make any difference; see how the skbuff socket > accounting works. Really there isn't really a need to make it power > of two (except for mystifying arbitary magic numbers for the users ;-) > 130000 or 200000 would do as well. But, others use (2^n - 1) and people will be confused if there are both 131071 and 131072. --yoshfuji