Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2003 17:30:32 -0500
From:      Andrew J Caines <A.J.Caines@halplant.com>
To:        freebsd-hackers@freebsd.org
Subject:   Default mfs/md fs on /tmp (Was: adding more ram
Message-ID:  <20031211223032.GB58324@hal9000.halplant.com>
In-Reply-To: <FF1A9F56-2C0B-11D8-9FA4-003065ABFD92@mac.com>
References:  <Pine.NEB.3.96L.1031210235954.76718E-100000@fledge.watson.org> <FF1A9F56-2C0B-11D8-9FA4-003065ABFD92@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Charles Swiger opined:
> By the time Solaris transitioned from 2.6 to 2.7 (aka Solaris 7), 
> having /tmp be memory-based was the default system configuration, and I 
> would like to see FreeBSD pursue the same course.

Seconded.

I've been using mfs for /tmp since way back (3.x? 2.x?) and on 5.x (which
is configured the same way, but implimented differently) in recent times
and have found it to be nothing but useful and stable, speeding up
numerous things while never obviously significantly impacting overall
performance.

One reason for this is that unlike the default all-users-may-swamp-the-vm
on Solaris, I limit the size of the mfs to a "small" (relative to RAM)
one. If implimented, please default to a sensible size, preferably a small
fraction of RAM down to a sane minimum (1 MB).

It also avoids the newbie /tmp-on-/ problem.


-Andrew-
-- 
 _______________________________________________________________________
| -Andrew J. Caines-   Unix Systems Engineer   A.J.Caines@halplant.com  |
| "They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |



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