/tmp: change default to mdmfs and/or tmpfs?
Loïc BLOT
loic.blot at unix-experience.fr
Sun Jun 9 12:00:36 UTC 2013
Hello Dmitry,
I agree with you. /tmp is a temporary filesystem. On machines (both
servers and clients), i think /tmp must be like Linux, cleared at reboot
because it's a temporary FS.
The Linux point i don't agree is size of /tmp (on Linux: ram-memory/2).
This formula is quite good for system with lower than 2Gb of RAM but i
think 2Go is sufficient to system with more RAM (we could control this a
install of in the fstab after ?).
--
Best regards,
Loïc BLOT,
UNIX systems, security and network expert
http://www.unix-experience.fr
Le dimanche 09 juin 2013 à 15:45 +0400, Dmitry Morozovsky a écrit :
> Dear colleagues,
>
> 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"
>
> Given more and more fixes/improvements committed to tmpfs, switching /tmp to it
> would be even better idea.
>
> You thoughts? Thank you!
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20130609/416c6666/attachment.sig>
More information about the freebsd-fs
mailing list