]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
As far as I can tell systems that have less than 4GB are more often hurt
authorkmacy <kmacy@FreeBSD.org>
Wed, 10 Jun 2009 01:21:32 +0000 (01:21 +0000)
committerkmacy <kmacy@FreeBSD.org>
Wed, 10 Jun 2009 01:21:32 +0000 (01:21 +0000)
commit50dfd13368b16d34acedc6d54147e83745cc1da8
treeb3897d565ab36e24a6dfa4fa1417d37a6fbf86ad
parent899fa45691dcc32bd0e409c03e3784feeaa10125
As far as I can tell systems that have less than 4GB are more often hurt
by prefetched than helped.  On i386 systems and systems with less than 4GB,
prefetch is now disabled by default. I've added a prefetch enable tunable, to
enable prefetching for those systems. The prefetch disable tunable will continue
to unconditionally disable prefetching.
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_zfetch.c