Hello all!
I just bought my first ssd It is an intel 330 and I've been searching for ways to get the most out of it (performance and long levity). I have come to a few things on which I'd like your opinions and advice.
1) Partition alignment. The most detailed guide I've read is that of the following link. Is there a better/easier way than the one described?
http://lifehacker.com/5837769/make-s...ve-performance
2) I've read that it would be good to put the swap partition on a hdd, which in my case will be my current hdd. Thing is, that I would also like the hdd to spin down when not in use. Is this possible when having the swap on the hdd? Some wrote that there is no need for a swap partition when you are not interested in hibernation, which really is of no interest to me.
3) Partitioning: 20GB root, 80GB home (both ext4 filesystem), rest unused in case I decide to try dual boot with some other distro or something. Should I be using the entire device or is it ok as it was with hdds?
4) Enable trim for each partition
5) Setting the swappiness to 0 to minimize the swap use.
6) Remove the journaling from the ext4 filesystem to prolong the disk's life.
7) Disabling the nepomuk desktop search thing as in my current system.
Feel free to suggest any additional things. I am mostly in hurry for 1-3 as they are in the pre-installation stage, others can be tweaked afterwards as far as I know. I was hoping to install tonight
Thanks in advance!
======================================
UPDATE:
Alright, after my research of the ssd info I looked for I came to some conclusions and made the following settings. All are according to the numbering of the questions I issued in the beginning.
1) Regarding partition alignment, created partitions by:
2) No swap. Still looking into the spin down thing, I think I read that hdparm in installed by default for 12.04 but no spindown occurs if the pc is on AC power. So I guess it works out of the box for laptops, not desktops. Haven't found a gui utility in muon software center, maybe I'll research more on it at a later time.
3) exactly as described, see (1)
4) Not enabled, will do it manually when I feel like it. Once every week or so, maybe less. Read somewhere that automatic trim makes deleting files slower.
5, 6, 7) no changes
Extras:
1) Set Bios mode to ACHI
2) No Writes for Read Timestamps: added noatime, nodiratime in etc/fstab
http://askubuntu.com/questions/1400/...he-os-for-ssds
3) scheduler = noop: I added added the following command in in /etc/rc.local. Same link as before.
Lots of thanks to everyone for their help and interest, I'll make further updates if anything interesting comes up. bb!
I just bought my first ssd It is an intel 330 and I've been searching for ways to get the most out of it (performance and long levity). I have come to a few things on which I'd like your opinions and advice.
1) Partition alignment. The most detailed guide I've read is that of the following link. Is there a better/easier way than the one described?
http://lifehacker.com/5837769/make-s...ve-performance
2) I've read that it would be good to put the swap partition on a hdd, which in my case will be my current hdd. Thing is, that I would also like the hdd to spin down when not in use. Is this possible when having the swap on the hdd? Some wrote that there is no need for a swap partition when you are not interested in hibernation, which really is of no interest to me.
3) Partitioning: 20GB root, 80GB home (both ext4 filesystem), rest unused in case I decide to try dual boot with some other distro or something. Should I be using the entire device or is it ok as it was with hdds?
4) Enable trim for each partition
5) Setting the swappiness to 0 to minimize the swap use.
6) Remove the journaling from the ext4 filesystem to prolong the disk's life.
7) Disabling the nepomuk desktop search thing as in my current system.
Feel free to suggest any additional things. I am mostly in hurry for 1-3 as they are in the pre-installation stage, others can be tweaked afterwards as far as I know. I was hoping to install tonight
Thanks in advance!
======================================
UPDATE:
Alright, after my research of the ssd info I looked for I came to some conclusions and made the following settings. All are according to the numbering of the questions I issued in the beginning.
1) Regarding partition alignment, created partitions by:
Code:
sudo parted /dev/sda unit MiB #(change the unit to MiB) mklabel msdos #(make new blank msdos table) mkpart primary 1 20481 mkpart primary 20481 102401 quit
3) exactly as described, see (1)
4) Not enabled, will do it manually when I feel like it. Once every week or so, maybe less. Read somewhere that automatic trim makes deleting files slower.
5, 6, 7) no changes
Extras:
1) Set Bios mode to ACHI
2) No Writes for Read Timestamps: added noatime, nodiratime in etc/fstab
http://askubuntu.com/questions/1400/...he-os-for-ssds
3) scheduler = noop: I added added the following command in in /etc/rc.local. Same link as before.
Code:
echo noop > /sys/block/sda/queue/scheduler
Comment