Hi,
In message "Re: Why is I/O slow?"
on 02/06/21, Clifford Heath <cjh_nospam / managesoft.com> writes:
|> It's due to stdio buffering.
|
|But our tests on Linux with fread and glibc indicate that there is no
|extra buffering happening. stdio is *capable* of buffering, but in this
|case it isn't *actually* buffering (it's not possible to move A->B->C
|as fast as A->C, from my argument about bandwidth). stdio libraries that
|still do double copies must surely be rare now...?
"stdio" just doesn't provide the way to distinguish buffered and
unbuffered input. And glibc does not exist everywhere. So I have to
do the job by myself, if I want to tweak the buffer. And I want to.
matz.