Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2016 19:08:14 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Best kind of hard drive for heavy use?
Message-ID:  <20160915190814.346f753d@gumby.homeunix.com>
In-Reply-To: <20160915172446.7b018b87@archlinux.localdomain>
References:  <42.56.05022.D3A48D75@dnvrco-oedge02> <20160914120349.76a015cd@gumby.homeunix.com> <20160914175449.185d12b0@archlinux.localdomain> <20160914221954.00fb1d56@gumby.homeunix.com> <20160915013848.5564c238@archlinux.localdomain> <CAOyJeZTzo4Kh9OaKQk6_-6qB8imHbGGMgT53DNK0%2BNgS-HR37g@mail.gmail.com> <20160915140856.24af27ca@gumby.homeunix.com> <20160915155254.768f6f70@archlinux.localdomain> <20160915161026.62dffff7@gumby.homeunix.com> <20160915172446.7b018b87@archlinux.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Sep 2016 17:24:46 +0200
Ralf Mardorf via freebsd-questions wrote:

> On Thu, 15 Sep 2016 16:10:26 +0100, RW via freebsd-questions wrote:
> >The important thing is that everything that can't (or shouldn't) be
> >discarded has to fit into swap+ram. Most desktops/workstations have
> >much more memory than they need, in which case you can safely
> >allocate swap plus most of the ram to tmpfs, if you want to.  
> 
> Ok, I didn't use FreeBSD since a while ago. On my Arch Linux, if the
> tmpfs is full, swap isn't used ...

I don't know why your particular system didn't swap, but that's not
true in general, e.g.:

https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt

"tmpfs puts everything into the kernel internal caches and grows and
shrinks to accommodate the files it contains and is able to swap
unneeded pages out to swap space."



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