Re: [PATCH,BETA] new pipe code

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Mar 01 2000 - 17:04:44 EST


> > Can you add a hook to tune the write buffer size per pipe? (with an fcntl
> > or the like)
> I'll think about it.
> Unfortunately, Linux guarantees that it can send 4096 bytes in one
> atomic operation, and such an fcntl could violate that.

The requirement for atomicity comes from the POSIX and Unix API. Nothing
in the API prohibits changing the size by calls not in the API. I think its
silly to add stuff like that however. Pipe is optimised for pure speed,
AF_UNIX sockets can do the variable buffering already

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:11 EST