svn commit: r193878 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Dmitry Morozovsky marck at
Wed Jun 10 06:16:04 UTC 2009


On Wed, 10 Jun 2009, Kip Macy wrote:

KM> Author: kmacy
KM> Date: Wed Jun 10 01:21:32 2009
KM> New Revision: 193878
KM> Log:
KM>   As far as I can tell systems that have less than 4GB are more often hurt
KM>   by prefetched than helped.  On i386 systems and systems with less than 4GB,
KM>   prefetch is now disabled by default. I've added a prefetch enable tunable, to
KM>   enable prefetching for those systems. The prefetch disable tunable will continue
KM>   to unconditionally disable prefetching.


KM> +extern int zfs_prefetch_disable;
KM> +extern int zfs_prefetch_enable;


Before the interface is not settled in stone, don't you think simple bool
zfs_prefetch tunable (defauled to what looks more reasonable to partucilar 
arch/memsize) is more clean and straightforward?

D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at ]
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at ***

More information about the svn-src-all mailing list