Slashdot Mirror


Linux Not Quite Ready For New 4K-Sector Drives

Theovon writes "We've seen a few stories recently about the new Western Digital Green drives. According to WD, their new 4096-byte sector drives are problematic for Windows XP users but not Linux or most other OSes. Linux users should not be complacent about this, because not all the Linux tools like fdisk have caught up. The result is a reduction in write throughput by a factor of 3.3 across the board (a 230% overhead) when 4096-byte clusters are misaligned to 4096-byte physical sectors by one or more 512-byte logical sectors. The author does some benchmarks to demonstrate this. Also, from the comments on the article, it appears that even parted is not ready, since by default it aligns to 'cylinder' boundaries, which are not physical cylinder boundaries and are multiples of 63."

6 of 258 comments (clear)

  1. It's still Windows' fault by Anonymous Coward · · Score: -1, Troll

    Of course fdisk/parted only follow the convention to align to "cylinder" boundaries because Windows and some of its tools will do weird things if a partition is not aligned like that. Linux doesn't have any problems with arbitrary partition offsets and lengths.

  2. if vista/win7 really do support this correctly... by buddyglass · · Score: -1, Troll

    ...then I find this to be somewhat of an indictment against the open source model when applied to OS development. The default seems to be to fix fires as they arise. If there are no drives with 4k sectors then we don't need to support drives with 4k sectors. Once drives with 4k sectors arrive its up the individual maintainers of each affected tool (fdisk, et. al.) to update their code. Contrast this with a dictatorial model used by Microsoft, where they said, basically, "We know these are going to arrive sometime in the next couple years and we want to be ready when they do. So all you subsystem maintainers whose code is affected by it better build in support now, ahead of time."

    Of course, if the Win7 support is crappy or only partially works, then its no indictment at all. Not having used one of these new drives in conjunction with a recent version of Windows, I can't really say one way or the other.

  3. Re:Open Source to the rescue by buddyglass · · Score: 0, Troll

    That's the beauty of Open Source.

    I guess the beauty of Closed Source, then, is that the OS supports it out of the box, without some user having to notice the problem, benchmark the performance hit, figure out (more or less) why its happening, make a big blog post, then wait for a qualified dev to fix the problem and for the major distros to pick up the fix?

  4. Linux isn't good enough to wipe my ass. by Anonymous Coward · · Score: -1, Troll

    Linux is one of the most over rated lumps of shit out there today.

  5. Re:Open Source to the rescue by marcansoft · · Score: 0, Troll

    The beauty isn't Closed Source, it's Market Monopoly. You know, the one guaranteeing that device manufacturers make up for your failures by deviating from standards in order to make sure that their devices work out of the box with your broken OS.

  6. Re:Set 32 sectors per track by webnut77 · · Score: 0, Troll

    Mod this feller up!

    If you depend on a GUI you aren't an admin.