8.1-STABLE: zfs and sendfile: problem still exists
Andriy Gapon
avg at icyb.net.ua
Fri Oct 29 12:36:28 UTC 2010
on 29/10/2010 12:04 Artemiev Igor said the following:
> Yep, this problem exists. You may workaround it via bumping up
> net.inet.tcp.sendspace up to 128k. zfs sendfile is very ineffective. I have
> made a small investigation via DTrace, it reads MAXBSIZE chunks, but map in vm
> only one page (4K). I.e. if you have a file with size 512K, sendfile make
> calls freebsd_zfs_read 128 times.
What svn revision of FreeBSD source tree did you test?
--
Andriy Gapon
More information about the freebsd-stable
mailing list