On Wed, 10 Jun 2009, Kip Macy wrote:

KM> +   if ((((uint64_t)physmem * PAGESIZE) < (1ULL << 32)) &&
KM> +       (zfs_prefetch_enable != 1) && (zfs_prefetch_disable != 1)) {
KM> +           printf("ZFS NOTICE: system has less than 4GB and prefetch 
enable is not set"
KM> +               "... disabling.\n");
KM> +           zfs_prefetch_disable=1;
KM> +   }

Also: this will disable prefetch on a system with exact 4G of memory *and* 
some subsystem which allocates memory from system (e.g., integrated video)

Don't you think the threshold like 3G would be more appropriate?


-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 ma...@freebsd.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru ***
------------------------------------------------------------------------
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to