HDD Manufacturers Moving To 4096-Byte Sectors
Luminous Coward writes "As previously discussed on Slashdot, according to AnandTech and The Tech Report, hard disk drive manufacturers are now ready to bump the size of the disk sector from 512 to 4096 bytes, in order to minimize storage lost to ECC and sync. This may not be a smooth transition, because some OSes do not align partitions on 4K boundaries."
Why not just move it to 1000 byte sectors, then we could minimize the space lost to advertising.
(Note to accuracy nazis, this is meant to be funny)
According to the Anandtech article, only the pretty much end-of-life Windows XP is out of luck. Linux, OS X and modern Windows versions all work ...
Non news?
There are certain models of the Western Digital Caviar Green drives that are already shipping with a 4K sector size, such as this one: http://www.newegg.com/Product/Product.aspx?Item=N82E16822136490
I just checked my system. /dev/sda1 is /dev/sda + 32256 bytes, which is 63 512-byte sectors. /dev/sda2 is also on an odd-numbered sector alignment.
Fedora 11 fresh install, which is less than a year old.
I realize this is Slashdot, but both of the articles linked talk about the affected operating system. Hint: It shares an ending with a colloquial name for urine.
It doesn't sound like the 512 bytes per sector is tightly bound to hardware. More like a low-level reformat plus change of some #defines in the firmware to transform from one to another type. Which would mean there could be i.e. a jumper setting for sector size, allowing for backward compatibility.
Also, the fact an OS doesn't enforce partition alignment doesn't mean it won't respect a disk formatted to aligned partitions. Just provide a 3rd party partitioning tool that aligns the partitions right, and install the OS on pre-made partitions. If your business depends on WinXP so much, your IT dept should be capable of doing it.
45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
I realize this is Slashdot, but both of the articles linked talk about the affected operating system. Hint: It shares an ending with a colloquial name for urine.
Wii? PSP?
Why does the sector size presented by the interface have to reflect anything about the hardware?
If the OS clusters aren't aligned to physical sectors, the hard drive's controller has to read-modify-write all the time.
I heard some talks from the ZFS folks at Sun about how they were floating the idea to HD mfgr's of just disabling ECC on the drives. ZFS checksums every block, and in a RAID configuration, it would be able to transparently correct any checksum errors. I think this may have also been the motivation behind bringing triple-redundant RAID to ZFS.
The motivating idea was that this would reduce the overhead involved on ECC and gain extra space.
Thoughts?
i'm asking because i don't know, not to troll.
What is their purpose? Does the purpose still matter?
Utilizing the synergization of benchmark e-solutions to pre-workaround action items!
This may not be a smooth transition, because some OSes do not align partitions on 4K boundaries.
"One life ends; another begins"
"All great things are simple & expressed in a single word: freedom, justice, honor, duty, mercy, hope." --Churchill
Those are "logical" sectors, which can be different from the physical sector size. According to the Anandtech article the Western Digital hard drive model numbers that end with "EARS" use the larger, 4KB physical sector size, while presenting a 512 byte logical sector size to the operating system for compatibility reasons.
Please note, of course, that the logical sector size is a drive interface level concept distinct from the filesystem cluster or block size. Filesystem block sizes have generally been larger than the logical or physical sector size for quite some time.
Do you really believe your hard drive has 256 heads?
It had only six, at first, but we didn't know the thing about burning the stumps.
It took me longer than it should've to answer this riddle. Shortcut for the similarly caffeine deprived: andrewd18 means "P" as in Windows XP.
Seriously, I was like "Win...dows?" "U...nix?" "Micro...soft?" "OS...X"? "BS...D"?
Unless HDD makers were going to create firmware, and programmers made partition formats, which address each bit individually (which itself would require an enormous amount of space... much larger than the HDD in fact), you will always be unable to live without sectors. The subdivision idea is again relevant. Imagine if every part of the 20 acre plot had to be "addressable" down to the square inch.
It's called block suballocation: store a small file in its entirety in another file's slack space. And yes, it's a "killer" feature.
Solar... isssss
D:
Any change in sector size that doesn't affect the filesystem block size will not affect the number of KB required to store a file at all. Since virtually every filesystem already uses 4 KB block sizes by default a change to 4KB logical or physical sector sizes will not have an effect on storage requirements.
Most of the drive manufactures are releasing tools to align the drives to 4k clusters so they can be used under XP. WDC already has theirs out here: WDC Adv Format Plus instructions on all of their new 1TB and higher drives on how to set them up properly. You do have to jumper them, then format them specially but the drives work fine with 4k clusters. I put one in my work machine on Saturday, works flawlessly.
*I only used WDC because that's the brand I picked up recently. I do know other companies have similar tools and jumper settings on their newer drives as well.
Om, nomnomnom...
Are there tools to low-level format 512-byte drives into 4096-byte ones? I gather this would increse capacity by 13%.
NTFS has been 4K aligned for a long time now.
That doesn't do any good if the partition it is on starts with an LBA that is not a multiple of 8. Windows versions prior to Vista create the first partition starting at LBA 63, which is not 4KB aligned.
The people who will have performance problems will primarily be Windows XP users who purchase the newer style drives and do not realign the first partition accordingly. Some versions of "fdisk" on Linux have a similar deficiency, with an "cylinder" based user interface and odd size cylinders in the name of MSDOS compatibility. Not sure if that has been fixed yet.
I do believe those are carry overs from Magnetic Media. There is no need for it to be that way (I think).
My point, was more or less, that we'll need to RETHINK how we define things. SSD will become more of an extension of the Operating Space we call "RAM". Much like we now have RAM, L2, L3, and L4 cache (and even maybe RAID Cache) are now.
I think, and this is just my opinion at this point, that we'll start to name memory by nearness to the Core(s), and SSD will join that space.
I'm not sure we need block level devices any longer. It will require re-thinking much of how we view things no doubt, but I think it is inevitable at this point.
Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
Well, it's in Extended Support which for one thing means MS doesn't give a rats ass whether or not XP works with the more efficient AF HDDs, since that's not a security related patch.
Well, that's a fair assessment. Of course, that's a monopoly tactic — any business that dropped support for that widespread of a product in a legitimate competitive environment would find themselves with no customers for the newer product because customers would be trying to migrate out from under that vendor at all costs.
See the comment below. It takes 320 bytes for 8 512-byte ECCs, only 100 bytes for a single 4096-byte ECC.
Infuriate left and right
I believe that some of the early CDC machines (a company that is no longer around) had a 6-bit character. The Digital Equipment Company (DEC, alos a company that is no longer around) PDP-1, maybe the PDP-20, and some others also had a 6-bit character. The PDP's had 36-bit words, packing 6 characters into a word. And of course, the IBM machines (a company that is still around) used EBCDIC rather than ASCII (but did use an 8-bits per character). Some of the earlier (and even the 370's) IBM machines used BCD (binary coded decimal) for arithmetic (packing a number from 0 to 9 in 4 bits, with some sign and unassigned bits left over).
Also, back in the IBM JCL days, when allocating disk space for a file you could specify the number of cylinders (or tracks) that you wanted, the block size and the packing factor.
What a bunch of misinformed drivel. That article is missing a couple of things:
firstly) The issue affects all Windows versions based on a 5.x kernel. That means Windows 2000, XP, 2003 server and Windows Home Server.
1) These drives are NOT strictly-4k-sector. The platters may be organized in 4k sectors, but the drive only talks to the OS in terms of 512 byte-sectors. And since we're discussing old Windows versions: NTFS has defaulted to using 4k (logical) sectors since its introduction, so there is NO performance penalty when using NTFS on these drives. You shouldn't be using FAT32 anyway.
2) The issue can be worked around by creating partitions with a tool that understands 4k sectors, or by re-aligning the partitions after creation/installation. If you only use a drive in those systems (i.e. no repartitioning), the drive will work as it should. Even if you create partitions that are unaligned, the drive will still work - you will only lose some performance.
3) The one genuine problem raised in the linked article comes when you want to use these drives in closed-firmware devices. In this case you still have two options: either you use the WD-provided jumper setting, or you pre-create the partitions before you insert the drive.
I fail to see what the fuss is all about.
Making the drive handle things at the file level is the equivalent of turning it into a NAS device where the system software would generally be inaccessible, unmodifiable, and un-upgradeable, unfortunately. It would still be an interesting engineering challenge, of course.