Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2014 15:40:56 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: S + J for /tmp and /var and /?
Message-ID:  <20140915154056.50ead271@gumby.homeunix.com>
In-Reply-To: <20140913081905.1de2006c.ohartman@zedat.fu-berlin.de>
References:  <20140910090947.4941336b.ohartman@zedat.fu-berlin.de> <20140913033102.GA10967@neutralgood.org> <20140913081905.1de2006c.ohartman@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 13 Sep 2014 08:19:05 +0200
O. Hartmann wrote:

> The problem is that clients like xpdf open by default all PDFs
> in /tmp and not /var/tmp (which is still mapped to disk in all my
> configurations) and with lots PDFs open, the box starts swapping
> pretty quickly with only 4GB RAM and ZFS. Even with 8 GB RAM its a
> kind of problematic, when we deal with larger temporary files taken
> from simulations, opened by vi or other editors and stored
> temporarily in /tmp. 

I've been using tmpfs since I had 1.5 GB of RAM, and I never noticed a
slowdown with swapping due to tmpfs, except a little bit while the
page daemon did the writing. I've used it with more than 2xRAM swapped
out.  Maybe ZFS isn't leaving it enough memory. 





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