Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2014 15:40:56 +0100
From:      RW <>
Subject:   Re: S + J for /tmp and /var and /?
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

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: <>