Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2010 23:11:37 +0200
From:      Marco van Tol <marco@tols.org>
To:        freebsd-fs@freebsd.org
Subject:   Re: zfs arc - just take it all and be good to me
Message-ID:  <20100824211136.GA18104@tolstoy.tols.org>
In-Reply-To: <20100824200527.GC11990@server.vk2pj.dyndns.org>
References:  <20100810214418.GA28288@tolstoy.tols.org> <20100811014919.GA52992@icarus.home.lan> <20100811192537.GA44635@tolstoy.tols.org> <AANLkTin-YvEzoN-ThwwDAqn2mWFMD4-7BnP8N95EqTk0@mail.gmail.com> <20100811214302.GB44635@tolstoy.tols.org> <20100812205625.GA79515@server.vk2pj.dyndns.org> <20100824150035.GB99477@roberto-al.eurocontrol.fr> <20100824200527.GC11990@server.vk2pj.dyndns.org>

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

[-- Attachment #1 --]
On Wed, Aug 25, 2010 at 06:05:27AM +1000, Peter Jeremy wrote:
> On 2010-Aug-24 17:00:36 +0200, Ollivier Robert <roberto@keltia.freenix.fr> wrote:
> >According to Peter Jeremy:
> >> I suspect Artem is referring to his patch at http://pastebin.com/ZCkzkWcs
> >> which I have tweaked somewhat (see the last patch in 
> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=146410 ).
> >
> >Thanks, cou you please send it in a non-QP-encoded form please?
> 
> See attached.
> 
> >> Whilst these patches _are_ hacks, they seem to do a good job of
> >> making ZFS and UFS play together.
> >
> >Is the patch only useful in these mixed situations or could it be also interestng for those of use running full-zfs (cf. http://www.keltia.net/howtos/zfsboot)?
> 
> I think it will be useful.  As well as the trivial fix to count
> "cache" as "free" space (which is now in -stable), the intent of the
> patch is to improve the ability of ZFS to apply pressure to the VM
> subsystem.  In theory, this should improve overall system performance
> even in a ZFS-only environment where there is memory pressure due to
> large, long-running processes

Would the inactive pages of the long running processes be swapped out in
favour of the arc?  That would be great I think as long as that is made
clear at an obvious place so people don't get worried about swap usage
on a system that "shouldn't need to swap out anything".

/usr/src/UPDATING springs to mind, together with quick hints on how to
see that the swapped out pages are harmless. :)

Marco van Tol

P.S. Forgive me if what I say is bs, within what I know it makes sense.
:)

-- 
A male gynecologist is like an auto mechanic who never owned a car.
- Carrie Snow

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkx0NYcACgkQbdVEUcCKvoLYHACgvutHMn7h5i/Z0w4yRTlvPA6a
Gj0An2f/1OkN8d9adcxHN95rB5b50tUR
=NyDj
-----END PGP SIGNATURE-----

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