On Fri, 16 Nov 2012, Gary Aitken wrote:
On 11/16/12 12:10, Warren Block wrote:
Additional SSD suggestions: when creating partitions, leave out the swap
partition. If you have lots of memory, leave out the /tmp partition. Add
that extra space to the /usr partition.
Format the UFS filesystems with -Ut, for soft updates and TRIM support.
(Make sure your SSD supports TRIM, almost all do.) (I don't use soft
updates journaling.)
Use dd(1) to make a zero-filled file on /usr somewhere, say /usr/swap.
Make it the size you want swap to be, and do not make it a sparse file.
Tell the system to use the swapfile in /etc/rc.conf:
swapfile="/usr/swap"
Use tmpfs for /tmp in /etc/fstab:
tmpfs /tmp tmpfs rw,mode=01777 0 0
It's possible to limit the size, but not necessary. This /tmp will be
cleared on reboot.
Not necessary because it is constrained by the swap file size?
Yes, but also because /tmp usually doesn't need much space. On this
desktop system, du shows all of /tmp is only 52K.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"