Hello,

For desktop use, and presumably rapidly changing non-desktop uses, I
find the ARC cache pretty annoying in its behavior. For example this
morning I had to hit my launch-terminal key perhaps 50 times (roughly)
before it would start completing without disk I/O. There are plenty of
other examples as well, such as /var/db/pkg not being pulled
aggressively into cache such that pkg_* operations (this is on
FreeBSD) are slower than they should (I have to run "pkg_info" some
number of times before *it* will complete without disk I/O too).

I would be perfectly happy with pure LRU caching behavior or an
approximation thereof, and would therefore like to essentially
completely turn off all MFU-like weighting.

I have not investigated in great depth so it's possible this
represents an implementation problem rather than the actual intended
policy of the ARC. If the former, can someone confirm/deny? If the
latter, is there some way to tweak it? I have not found one (other
than changing the code). Is there any particular reason why such knobs
are not exposed? Am I missing something?

-- 
/ Peter Schuller
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to