Date: Sun, 09 Jun 2013 14:18:20 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: freebsd-fs@freebsd.org Subject: Re: /tmp: change default to mdmfs and/or tmpfs? Message-ID: <op.wyeu4ulx8527sy@pinky> In-Reply-To: <alpine.BSF.2.00.1306091538490.48048@woozle.rinet.ru> References: <alpine.BSF.2.00.1306091538490.48048@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 09 Jun 2013 13:45:28 +0200, Dmitry Morozovsky <marck@rinet.ru> wrote: > 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! > > What keeps you from putting this in fstab and stop using the tmpmfs rc.conf variable? 'tmpfs /tmp tmpfs rw,size=536870912 0 0' I thought tmpmfs/varmfs infrastructure was more for diskless/full-NFS systems anyways. Ronald.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wyeu4ulx8527sy>