[linux-audio-dev] pipe buffer sizes

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] pipe buffer sizes
From: est_AT_hyperreal.org
Date: ti syys   07 1999 - 18:52:24 EDT


David Slomin discourseth:
> On Mon, 6 Sep 1999 est_AT_hyperreal.org wrote:
>
> > Generally not. Pipes typically have a 4K buffer internally. However,
> > I don't see that that should cause a problem.
>
> I love pipes, particularly the named variety. However, I haven't figured
> out how to adjust the buffer size. Have you?

Modify PIPE_BUF in /usr/src/linux/include/linux/limits.h :)

Why would you want to? To maintain atomicity of aribitrary sized
writes on a fifo by multiple processes? I don't think that would be
too hard to hack into the kernel. You'd just need an extra channel to
wait on in pipe_write().

Eric


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:27:11 EST