Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Sep 2010 15:41:26 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Artem Belevich" <fbsdlist@src.cx>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: zfs very poor performance compared to ufs due to lack of cache?
Message-ID:  <DE8FF7300F28438895E061F1EE0EF755@multiplay.co.uk>
References:  <5DB6E7C798E44D33A05673F4B773405E@multiplay.co.uk> <AANLkTi=6bta-Obrh2ejLCHENEbhV5stbMsvfek3Ki4ba@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Artem Belevich" <fbsdlist@src.cx>


>> For reference top shows:-
>> Mem: 42M Active, 3129M Inact, 565M Wired, 3188K Cache, 19M Buf, 203M Free
> 
> Here's your problem -- inactive list got all your memory and starved ZFS ARC.
> Easy workaround is to set vfs.zfs.arc_min to a value that would
> guarantee that ARC does not give up too much memory. Let's say - 2GB.
> Be warned that it would effectively make those 2GB unavailable to
> applications.
> 
> Long term, though, there were number of patches posted on
> freebsd-current and freebsd-hackers recently that do improve that
> particular issue with ZFS. This patch in particular may help you:
> http://lists.freebsd.org/pipermail/freebsd-hackers/2010-August/032731.html

Thanks for that Artem, is there an way to tell what caused this starvation?

With the machine running only nginx, which uses next to nothing, I cant
think of anything which would have used the memory.

Hmmm could this have been caused by nfs as the volume is shared over standard
nfs as well.

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.




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