Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Oct 2014 20:50:33 -0400
From:      Daniel Staal <DStaal@usa.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Next Steps to Debug ZFS Hang?
Message-ID:  <000F985485834C2758CC492A@[192.168.1.50]>
In-Reply-To: <56695.76.192.184.214.1412896622.squirrel@cosmo.uchicago.edu>
References:  <1412732931033.813626ca@Nodemailer> <DAA5D9129F9D691C69C7A2EF@192.168.1.50> <CAM72HBZvpXSeVMjQvWGiKhqeosMzxDBr9zAFJ8h7QByfhd7%2BUQ@mail.gmail.com> <D06BCA779173763DDF3CD614@[192.168.1.50]> <56695.76.192.184.214.1412896622.squirrel@cosmo.uchicago.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
--As of October 9, 2014 6:17:02 PM -0500, Valeri Galtsev is alleged to have 
said:

>> Note that I'm still just going by 'standard checks', but why don't you
>> have
>> any swap?  I know you probably wouldn't use it with that much RAM around,
>> but FreeBSD still performs better with it - and it wouldn't surprise me
>> completely if that was causing your issue.
>
> I'm petrified. Is that so? I mean, as I understood you, 64 GB RAM machine
> running under FreeBSD (say, 9.3) still needs some amount of SWAP for
> better performance, right?

--As for the rest, it is mine.

Well, I suppose a better way to say it would be 'expects to have for normal 
operations'.  Basically any modern OS expects to have some swap - even with 
abundant RAM.  In theory you should be able to run without it, if you have 
the RAM, but it will be used (in small amounts) if it's available by normal 
housekeeping and operations.  The tuning(7) man page under 9.3 recommends 
at least 256M of swap in all cases.  (Though I note that recommendation is 
no longer in the man page under FreeBSD 10.)

For a relatively new feature (like ZFS) that intensely and aggressively 
uses RAM (like ZFS), it would not surprise me if not having swap would 
uncover bugs in the implementation.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------



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