Re: [PATCH] A generic_file_sendpage()

Andreas Dilger
2004-06-25T20:06:01Z

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

On Jun 25, 2004 21:19 +0200, Jörn Engel wrote:
> On Wed, 9 June 2004 14:19:19 +0200, Alexander Nyberg wrote:
> > The sendfile() for all file systems remain unusable as it is right now,
> > only works for sending data to socket. But that should be as much
> > performance enhancing as this yes?
>
> A similar patch I've once written gave about 10% performance boost
> with warm caches. Your measurements are with could caches but still
> give a noticeable boost. Nice.

Yes, it would be nice to get this into the kernel, then eventually have
"cp" test if sendfile() works between two files. That would allow things
like remote file copy for network filesystems, COW, etc much easier.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://members.shaw.ca/adilger/ http://members.shaw.ca/golinux/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]