/tmp: change default to mdmfs and/or tmpfs?

Julian Elischer julian at freebsd.org
Mon Jun 10 03:05:28 UTC 2013


On 6/9/13 9:16 PM, Dmitry Morozovsky wrote:
> On Sun, 9 Jun 2013, Jeremy Chadwick wrote:
>
>>> what do you think about stop using precious disk or even SSD resources for
>>> /tmp?
>>>
>>> For last several (well, maybe over 10?) years I constantly use md (swap-backed)
>>> for /tmp, usually 128M in size, which is enough for most of our server needs.
>>> Some require more, but none more than 512M.  Regarding the options, we use
>>> tmpmfs_flags="-S -n -o async -b 4096 -f 512"
>> [...]

I sometimes use virtual filesystems but there are cases when I am 
looking to store HUGE amounts of trace data in /tmp and end up cursing 
and remounting a real disk partition.



More information about the freebsd-fs mailing list