|
Written by Tom Hirt
|
|
Saturday, 11 April 2009 17:34 |
|
Page 1 of 3
How to get better I/O performance with RAID
Would you like to know how to increase your servers I/O performance by up to 40%!? Well if so, then read on my friend! Disk alignment is one of Windows best kept secrets (or worse depending on how you see it.) If you’re running Windows Server 2000, 2003 or Windows XP with RAID, you are probably not getting the throughput you could if you had correctly aligned disks.
We’ve discussed this topic at length in our VMware Disk Alignment KB, but I felt it necessary to extend the discussion specifically for Windows. If you’re not familiar with the term disk alignment or sector alignment, in layman’s terms it goes like this. Windows like to write data to disk in 64k chucks. However Windows Server 2000, 2003 and Windows XP all incorrectly begin writing data at the 63rd sector. This means the first 1k of the chuck is written into one sector, and the remaining 63k in the next, and so on. The consequence of this behavior means that for every read and write, two sectors must be accessed from disk instead of one. This basically doubles your disk I/O.


You might be wondering if your victim to sector alignment issues? Unfortunately, for most, this answer is yes. Microsoft Windows Server 2000, Windows Server 2003 and Windows XP are all plagued with this problem. Any new volumes created on these operating systems (if not set correctly with diskpart - more on that in a minute) will be aligned incorrectly. Microsoft has addressed this issue in Windows Server 2008 and Window Vista, but upgrading an existing installation will not correct a disk that was originally formatted on one of the affected platforms.
- Note: Although a non-RAID disk can also be effected, this is usually only a problem for RAID and/or LUN volumes.
Linux and UNIX distributions can also suffer from disk alignment issues with RAID. There are far too many flavors and distributions to discuss, but I will tell you that most of the major distributions if not installed through some sort of expert mode (allowing you to specify the sector alignment) will by default format your drives starting on the 63rd sector.
|
|
Last Updated on Tuesday, 23 June 2009 15:23 |