Lists all of the journal entries for the day.

Sun, 5 Dec 2010

10:27 AM - More useful information on ATA 4k sectors

4K in Linux

 Anything before 2.6.33 doesn't support 4K very well.  Distros with tools dated after April, 2010 can handle alignment of 4K drives properly.

UFS & 4K

Performance issues exist with the defaults selected in FreeBSD.  Matt Dillon made some comments about what to do with UFS to get it to perform well. 

DES test program for FreeBSD

This program lets you test performance differences with different alignments (sectors) of the drives in FreeBSD and MidnightBSD.

GLabel patch for FreeBSD 9-CURRENT

This patch makes Glabel align properly when using a certain flag for 4k drives.

tags: ears midnightbsd wd freebsd sector advanced format

()

10:33 AM - 4K drives

I found additional links that I used to work with the new hard drive after Thanksgiving.   I should explain what the problem is with these new drives.  For a very long time, the standard sector size was 512.  It's been that way so long that computer bioses, operating systems, and software programs assume this to always be the case.  Due to legacy issues with DOS and tricks used to increase drive capacity over the years, many hacks have been implemented that further limit options.  In order to pass the 2TB barrier, drive vendors have decided to make the drives use 4K sectors internally and then expose 512 sectors to the OS.  The drive has a firmware that converts between the two.  WD calls these advanced format drives.  Since the OS is lied to, it's hard for it to properly align partitions on the drive.  What does alignment matter?  If a partition is created on a boundary, it lines up with how the drive reads and writes data (in blocks).  This makes it run fast.  If it has to write to two blocks because of an alignment problem, it slows the drive down significantly.  Windows XP can't handle these new drives without some hacks.  Windows Vista and 7 can if the drive is formatted by them.  (not an upgrade from XP)  

Linux until 2.6.33 can't fully handle these drives.  FreeBSD can't handle these drives without manually partitioning to set the alignment.  It's a pain.  

More on the problem:

4K Sectors & Glabel patch info

WD EARS howto on FreeBSD forums

WD KB article on their drives

Microsoft performance & drive partitioning for SQL server

tags: advanced midnightbsd wd freebsd microsoft ears format

()