Re: [PATCH] A generic_file_sendpage()

From: Andreas Dilger
Date: Fri Jun 25 2004 - 15:07:53 EST


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: pgp00000.pgp
Description: PGP signature