Date: Sun, 12 Sep 2010 20:06:03 +0300 From: Andriy Gapon <avg@freebsd.org> To: Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-fs@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org> Subject: Re: zfs very poor performance compared to ufs due to lack of cache? Message-ID: <4C8D087B.5040404@freebsd.org> In-Reply-To: <A6D7E134B24F42E395C30A375A6B50AF@multiplay.co.uk> References: <5DB6E7C798E44D33A05673F4B773405E@multiplay.co.uk><AANLkTikNhsj5myhQCoPaNytUbpHtox1vg9AZm1N-OcMO@mail.gmail.com><4C85E91E.1010602@icyb.net.ua> <4C873914.40404@freebsd.org><20100908084855.GF2465@deviant.kiev.zoral.com.ua> <4C874F00.3050605@freebsd.org> <A6D7E134B24F42E395C30A375A6B50AF@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
on 12/09/2010 19:51 Steven Hartland said the following: > ----- Original Message ----- From: "Andriy Gapon" <avg@freebsd.org> > >>>> --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c >>>> +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c >>>> @@ -500,6 +500,7 @@ again: >>>> sched_unpin(); >>>> } >>>> VM_OBJECT_LOCK(obj); >>>> + vm_page_set_validclean(m, off, bytes); >>> Only if error == 0, perhaps ? > > Ok tried this and still no joy, the value of the cache always falls to that of > the min > value and all memory used by sendfile still seems to get lost into inactive > memory :( Well, I do not see enough technical details in this report to see what's going on. As we know, there is also another issue (not sendfile specific) leading to ARC shrinking. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C8D087B.5040404>