Differences between revisions 2 and 3
Revision 2 as of 2009-10-04 21:53:16
Size: 442
Editor: SamatJain
Comment:
Revision 3 as of 2009-11-22 13:22:45
Size: 638
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:

== Remounting temporary files as tmpfs ==

To /etc/fstab:

{{{
none /tmp tmpfs defaults,noatime,mode=1777,size=1024M 0 0
none /var/tmp tmpfs defaults,noatime,mode=1777,size=512M 0 0
}}}

Solid-state disks have low-level block fragmentation problems (see Anandtech article), and these problems will persist even after formatting. Most disk's block mapping table can be reset by issuing an ATA secure erase command.

Reducing writes

Remounting temporary files as tmpfs

To /etc/fstab:

none /tmp tmpfs defaults,noatime,mode=1777,size=1024M 0 0
none /var/tmp tmpfs defaults,noatime,mode=1777,size=512M 0 0

SamatsWiki: SSD (last edited 2021-11-03 07:05:58 by SamatJain)