Ram & swap, Was: [H-GEN] Linux & NTFS
Robert Brockway
robert at timetraveller.org
Mon Dec 16 23:55:40 EST 2002
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
On Tue, 17 Dec 2002 ben.carlyle at invensys.com wrote:
> On the other hand, tempfs is pretty cool. The idea of tempfs is that you
Hi Ben. I'm glad you mentioned tmpfs, since I was going to but managed to
forget :) Using tmpfs is faster (temp files are kepin ram or swap), and
saves disk space (since now /tmp & swap are on the same area of disk).
One caveat for using tmpfs: /tmp & swap are now on the same area of disk.
If /tmp fills and takes swap with it you might have an unhappy system.
Solaris in particular seems to really dislike this. The solution is to
limit the size of /tmp so it isn't as large as swap. Under Linux set the
size= mount option on /tmp. Here is my /tmp line from /etc/fstab:
swap /tmp tmpfs defaults,size=1024m 0 0
Cheers,
-Rob
-- Robert Brockway B.Sc. email: robert at timetraveller.org ICQ: 104781119
Linux counter project ID #16440 (http://counter.li.org)
"The earth is but one country and mankind its citizens" -Baha'u'llah
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list