Seeking consensus on BZ 16734
Rich Felker
dalias@libc.org
Mon Feb 2 19:51:00 GMT 2015
On Mon, Feb 02, 2015 at 11:20:01AM +0100, Andreas Schwab wrote:
> Rich Felker <dalias@libc.org> writes:
>
> > The original idea seems to be some misguided idea that read/write
> > should perform better with a page-aligned buffer. I can't make any
> > sense of this believe except in the case of the O_DIRECT silliness
> > Linux supports; normally IO is going to be memcpy to/from fs cache
> > buffers and there's no reason to expect page alignment to make that
> > faster.
>
> Page aligned copies from the page cache should be faster.
I acknowledge that this is the claimed reason, but I call it cargo
cult nonsense. I have not seen any technical justification for this
claim.
Rich
More information about the Libc-alpha
mailing list