You are not logged in.

#1 2012-04-28 21:00:45

peoro
Member
Registered: 2007-06-10
Posts: 67

Questions about installation on SSD

Hello,

I'm going to buy an SSD (a 120GB OCZ Vertex Plus) to replace the HDD of a laptop I'm going to buy...

Latelay I read a lot about this technology, but still have a lot of questions:

  1. Partitions
    On this forum people suggests to divide SSD in several partitions (one for /boot, one for /var, one for /home and so on). Why is that?
    I would think that dividing the system in a number of partitions should give less benefits to an SSD compared to an HDD due to the lower random access times. Am I wrong?
    Besides if one partition (say /var) is written more than other partitions (say /boot), the SSD blocks where the first partition is allocated will wear out sooner than the other blocks. Using a single 120GB partition for the whole system should level out the SSD cells wearing and this should be a good thing...

  2. Filesystems
    On my EeePC's disk and on occasional flash drives I used to install Arch on a NILFS2 filesystem. The SSD I'm going to buy supports TRIM, so I think that any filesystem supporting TRIM will be just as good. Am I right about it?
    On the Wiki the two filesystems suggested for SSDs are ext4 and btrfs. I never used btrfs and what I found on the internet didn't help me much in deciding which one to chose. I'd love to hear some impressions on this topic...

  3. Usage info
    Is there any tool to get some info about the disk I'm going to buy, and its status?
    Things like the page and block size, whether TRIM actually is enabled, how many cells are dead, the number of write cycles, the total amount of data read and written ...

  4. IO scheduler
    I'm planning to use noop as IO scheduler. Passing it as a kernel parameter looks like the best solution to me. What would happen then if I plug in an USB HDD? Will I need to change the IO scheduler fur such device?
    Anyway shouldn't it be udev to choose the scheduler for the plugged drives?

Offline

#2 2012-04-28 21:06:00

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Questions about installation on SSD

1) https://wiki.archlinux.org/index.php/SSD
2) ext4 and btrfs
3) iotop can do some of these
4) depends on how you do it.  see https://wiki.archlinux.org/index.php/Li … _Scheduler


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2012-04-30 07:07:11

peoro
Member
Registered: 2007-06-10
Posts: 67

Re: Questions about installation on SSD

graysky wrote:

1) https://wiki.archlinux.org/index.php/SSD
2) ext4 and btrfs
3) iotop can do some of these
4) depends on how you do it.  see https://wiki.archlinux.org/index.php/Li … _Scheduler

Was hoping in some more detailed answers...

I already read the wiki (and a lot of other websites), but it's not very elucidating...

Offline

#4 2012-06-11 02:13:31

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: Questions about installation on SSD

The ArchWiki article "Solid State Drives" recommends fdisk for the legacy method (MBR) to make alignments and create partitions on SSD's. However, on my system, 'man fdisk' does not show any of the parameters referenced in the article. I can find no '-o', '-n', '+xG' or 'w' parameter...?

Am I using a 'wrong' fdisk, or is it something other I don't get?

Offline

#5 2012-06-11 05:28:08

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Questions about installation on SSD

Peoro:

IMHO your analysis is probably on target wherein you state that 120Gb for one partition is the best assignment for flash devices.

My system has a 100mb boot partition and the rest is all one partition as root.  The units I use are cf cards which do not have as much size as yours but I expect a good long life because of the algorithms provided within the devices.  As I understand the system, the same cells are not addressed each time a file is written which means the cells get a rest every time the file is utilized.

Good luck with your SSD.  I have five pairs of CF devices bootable grub2 partitioned in Raid0.

This one is 59GB for the pair.  Root only...............


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB