[olug] SSD & linux

Obi-Wan obiwan at jedi.com
Mon Feb 25 19:48:38 UTC 2013


On a more comprehensive note, what's the point of all this?  Just to
minimize the number of writes to the SSD in order to prolong its life?
Is it really that big a deal?

I recently installed an SSD as my root disk on my desktop.  I didn't
make any SSD-specific changes in the process.  Is that such a bad thing?
The additional speed is sure nice, to the point where I'm considering
moving some of my heavily-accessed cache files from /home (a 3-spindle
stripe) to /tmp (the SSD).

> Looking to optimized Linux Mint14, AMD 1100t, 32G, Radeon 7870, OCZ Vertex 256, HDD's. I think I need to look at configuring the scheduler and something else... can't remember lol. Anyway am I backing myself in the corner with these configurations or missing something here? Appreciate your insights or thoughts.
> 
> 
> I turned off journaling, and set the FS to be checked at regular intervals.
> $ sudo mke2fs -t ext4 -O ^has_journal /dev/sda1
> $ sudo tune2fs -o journal_data_writeback /dev/sda1
> $ sudo tune2fs -m 5 /dev/sda1
> $ sudo tune2fs /dev/sda1 -i 7d
> $ sudo tune2fs /dev/sda1 -c 15
> $ sudo tune2fs -l /dev/sda1
> 
> Also set swappiness=5 since I got 32G ram and mounted /tmp and /var/logs into RAM so they get deleted on every reboot or shutdown.
> echo "vm/swappiness=5" >> /etc/sysctl.conf
> 
> Fstab
> UUID=522567a9-0f7d-475c-b495-661dc5569599 / ext4  data=writeback,noatime,discard 0 1
> tmpfs        /tmp        tmpfs   noatime,nodev,nosuid,noexec,mode=1777   0       0
> tmpfs        /var/log    tmpfs   defaults,noatime,mode=0755              0       0
> 
> Set FF to use memory for cache
> about:config
> Add a new string key named:
> browser.cache.disk.parent_directory
> set its value to:
> /tmp


-- 
Ben "Obi-Wan" Hollingsworth    obiwan at jedi.com    PrairieRimImages.com
   The stuff of earth competes for the allegiance I owe only to the
     Giver of all good things, so if I stand, let me stand on the
       promise that You will pull me through.  -- Rich Mullins



More information about the OLUG mailing list