Re: Sub-optimal libc's read-ahead buffering behaviour

From: Andrey Chernov <ache_at_FreeBSD.ORG>
Date: Thu, 4 Aug 2005 13:37:11 +0400
On Thu, Aug 04, 2005 at 10:58:38AM +0200, Maxim Sobolev wrote:
> I think that any buffering should be disabled for reading from chardev
> no matter how "historic" our current behaviour is.

Perhaps so. But this thing is user-controlled. He can explicetely use
setvbuf to disable buffering. If he does not, he knows, that this 
particular chardev is buffer-friendly. Since he can't control in-buffer 
seeking on/off trigger, it always stays off for chardev.

-- 
http://ache.pp.ru/
Received on Thu Aug 04 2005 - 07:37:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC