[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.1.10.0805261612500.19084@fbirervta.pbzchgretzou.qr>
Date: Mon, 26 May 2008 16:15:41 +0200 (CEST)
From: Jan Engelhardt <jengelh@...ozas.de>
To: Fausto Richetti Blanco <fausto.blanco@...il.com>
cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
jens.axboe@...cle.com
Subject: Re: Pipe buffers' limit of 16 * 4K
On Saturday 2008-05-24 02:19, Fausto Richetti Blanco wrote:
>
> I'm working with a 2.6.9 kernel (ok, I know it's quite old) and
>faced a problem with the 4K (one page) buffer limit for the pipes.
>I've found that in the 2.6.11 the pipes' buffers were changed to a
>circular list of pages which increased this limit to 16 * 4K. This
>limit is hardcoded here /usr/src/linux/include/linux/pipe_fs_i.h:6
>#define PIPE_BUFFERS (16)
>
> Is there a reason for this not to be an adjustable parameter
>(eg.: by an ulimit in the userspace) ?
Jens had patches to adjust the pipe buffer sizes dynamically via an
ioctl, perhaps these should really be pushed? I also had interest in
having these in the kernel for toying with minibuffer audio processing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists