zfs very poor performance compared to ufs due to lack of cache?

Andriy Gapon avg at freebsd.org
Wed Sep 15 16:01:00 UTC 2010


on 15/09/2010 18:04 Steven Hartland said the following:
> Hmm, so taking a different track on the issue is the a way to make sendfile use data
> directly from ARC instead of having to copy it first?

Or even try the opposite, if your version of ZFS permits it.
You can set primarycache=metadata on the filesystem where you have the data that
you serve via sendfile.  With that setting it shouldn't get cached in ARC, but it
should be still cached in VM cache, so you should get UFS-like behavior.

Will you test it? :)
-- 
Andriy Gapon


More information about the freebsd-fs mailing list