Aligning sectors for an SSD?
I have an Acer tiny desktop using laptop components and I want to replace its small laptop hdd running Vista with a Kingston SSDNow V Series Boot Drive 30GB and install Ubuntu, since it will support TRIM. I am aware of the current issues on some new hard drives with 512 vs. 4k sector sizes and the necessity to align sectors for those drives. And I know I've seen some posts or discussion of aligning sectors for SSD's.
I'll be doing more searching for info on this, but my previous searches on the 4K sector alignment issue for the new WD hdd's on linux were confusing. Does anyone have definitive information on the necessity of aligning 4k sectors on current Linux kernels, or on whether aligning sectors is necessary for SSD's? |
Can't answer for SSDs, but in formatting my 1GB USB stick to receive recent (yesterday's and earlier) live versions of Fedora Rawhide, I see messages referring to non-optimal sector alignment. Haven't noticed any sector alignment-related problems.
|
Non-optimal sector alignment would lead to slower data transfer from the drive. That's what I want to avoid.
|
Not sure the ssd's have that issue. I know the newer green type larger hard drives have that problem. I'd think you may wish to look at nilfs file system to speed it up if you can install on it.
|
Quote:
If the SSD that you have chosen has (emulates) 4k sectors, and I can't see why such a small device would benefit from 4k sectors appreciably, worry about 4k sectors. If it doesn't, don't. Quote:
@RockDoctor Quote:
@jefro Quote:
|
Quote:
Quote:
Quote:
|
Ok, from here (March 2009)
Quote:
There is a thread here which goes into detail with Ubuntu releases, which I would presume is correct. OTOH, most of the 'think of an SSD like this' detail isn't strictly accurate, or at best, deceptively written, but it does refer back to more blog stuff from Ted, which is bound to be correct :) . |
Thanks for everyone's help. This has prodded me into doing my homework; here's the result.
First, in a rapidly changing situation like this, TRIM support and the 512 to 4k sector change, information from over a year ago, March 2009, should really be considered out of date and suspect. This link is to an IBM page with a beautifully written summary of the 4k sector issue. This page will show you just how much misalignment will slow down your drive. More information on aligning for 4k sectors. Aligning an SSD on linux. This emphasizes the critical info you need to align an SSD: the size of the erase blocks on your particular SSD. Mine, according to Kingston support (thanks for the prompt answer!) is 1Mb; for Intel it's either 128 or 512 and for some OCZ 512. But don't run with these figures. Research your exact brand and model, because SSD's are in a state of rapid flux. More info on aligning partitions on linux. An OCZ Forum thread on linux TRIM, currently at 19 pages. I hope this thread will be useful to others seeking info on these issues. While I was searching for these links, this post was coming up halfway up the top page on Google. |
I don't disagree with aligning on a mechanical hard drive. It has been well documented. From what I have read about ssd's they don't need it since they have a complex wear leveling scheme that in effect moves even the format around. If you could provide some top rated tests or other data on the ssd's needing it that would sway my opinion.
|
See the link on aligning an SSD on linux. I think the same basic premise would apply: if you're writing info into two sectors, blocks, whatever, instead of one because of misalignment, it will be slower. You have a good point, though. Test results would be definitive. I was able to find them for mechanical hdd's (second link above) but info on SSD's was much harder to find.
|
All times are GMT -5. The time now is 10:16 AM. |