Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2010 09:22:10 +1000
From:      Peter Jeremy <peterjeremy@acm.org>
To:        Martin Matuska <mm@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: [CFT] ZFS v15 patch (version 3)
Message-ID:  <20100709232210.GA1973@server.vk2pj.dyndns.org>
In-Reply-To: <4C364379.6020608@FreeBSD.org>
References:  <4C31C71C.2010606@FreeBSD.org> <20100708200446.GA33822@server.vk2pj.dyndns.org> <4C364379.6020608@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2010-Jul-08 23:30:33 +0200, Martin Matuska <mm@FreeBSD.org> wrote:
>> Looking at the patchset, the most critical issue (IMHO) that doesn't
>> appear to have been addressed is the interaction between ZFS ARC and
>> the VM cache used by UFS/NFS: arc_memory_throttle() is still making
>> decisions solely on the amount of "free" memory, without considering
>> "inactive" or "cache".  I am running a slight variant of a patch by
=2E..
>Regarding ARC, you might want to try the revision 209227 from head that
>is scheduled for MFC on 18.7.2010:
>http://people.freebsd.org/~mm/patches/zfs/head-12636.patch

That patch appears to address issues with unreasonable arc sizing but
doesn't alter the throttling algorithm: FreeBSD's "traditional" VM
management algorithm (used by everything except ZFS) minimises space
marked as "free" by preferentially keeping cached data in the "cache"
or "inactive" queues.  ZFS uses its own caching which solely uses the
"free" list to determine memory availability.  This means ZFS can't
apply any pressure to the FreeBSD VM system and runs in a virtually
permanent state of memory starvation.

In any case, I have applied that patch as it appears useful.

--=20
Peter Jeremy

--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEARECAAYFAkw3ryIACgkQ/opHv/APuIdsYQCfQ/VX6wnrJKrhUO0LA/NDvG7A
6qcAoLavhmrdqcEyXgNU57ytudv/0sGV
=o5Cf
-----END PGP SIGNATURE-----

--3MwIy2ne0vdjdPXF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100709232210.GA1973>