background image

2

 

Executive summary 

Designed for both SMB/enterprise users and consumers, this white paper provides instructions for 
preparing an Advanced Format hard drive for a Microsoft® Windows® installation on an HP 
Business Notebook PC, Desktop PC, Workstation, or Retail Point-of-Sale (POS) system.  
Historically, hard disk drives (HDDs) have used 512-byte sectors; however, this sector size is now 
limiting HDD capacity. To address this limitation, the industry is moving to Advanced Format drives 
with 4096-byte (4-KB) sectors – eight times larger than current drive technology. With 4-KB sectors, 
less space is wasted on the physical media, making the drive easier to manufacture and able to 
support higher capacities.  
First-generation Advanced Format drives retain backwards-compatibility by using external SATA 
communications based on a 512-byte sector; however, these drives – also known as 512e

1

 drives – 

operate internally at 4 KB. Thus, any PC with a SATA interface can use an Advanced Format drive; 
however, depending on the operating system (OS) being installed, extra steps may be required to 
optimize performance. 
If you are using an Advanced Format driver with an OS that is not Advanced Format-aware, you 
should take steps to align logical sectors (OS) with physical sectors (disk media) in order to optimize 
I/O performance.   
This white paper presents a range of scenarios involving the use of Advanced Format drives and 
describes the actions you should take to optimize the performance of your HP Business Notebook PC, 
Desktop PC, Workstation, or Retail POS system. It also outlines HP tools that provide disk information 
and support partition alignment, and provides a “Frequently asked questions” section, as well as an 
appendix with technical background.   

Identifying an Advanced Format drive 

Options for identifying an Advanced Format drive include: 

 

Running the HP Unattended Advanced Format Hard Disk Information Tool (all HP systems) or the 
interactive HP Advanced Format Hard Drive Information Tool (HP Business Notebook PCs only) 
provides a range of information about a particular HDD, including vendor, model, capacity and 
whether or not it is an Advanced Format drive    

 

Reviewing the label on the HDD to determine if the Advanced Format logo (shown in Figure 1) is 
present 

For more information on disk information and partition alignment tools for HP systems, refer to 

Summary of HP Advanced Format tools

.  

 

 

                                                

1

 Where “e” indicates that these drives emulate conventional drives, maintaining backwards-compatibility with current computers by operating 

internally at 4 KB and externally at 512 bytes   

 

Содержание 6305

Страница 1: ...ndows Vista deployment 7 Creating a 1 MB aligned partition 7 Extending the partition during a Windows XP image deployment 9 Aligning drives in a RAID configuration 10 Using third party deployment tools 10 Enhancing performance with many small writes as with ImageX 10 Validating partition alignment 10 Using the Unattended Advanced Format Hard Disk Information Tool 11 Using DiskExt 11 Using WMIC 12 ...

Страница 2: ...ou should take steps to align logical sectors OS with physical sectors disk media in order to optimize I O performance This white paper presents a range of scenarios involving the use of Advanced Format drives and describes the actions you should take to optimize the performance of your HP Business Notebook PC Desktop PC Workstation or Retail POS system It also outlines HP tools that provide disk ...

Страница 3: ...aligned partition Microsoft Windows 7 and Windows Vista SP1 or later are Advanced Format aware thus no realignment is required Note This white paper does not provide guidelines for Windows 8 systems When creating or deploying an image for an OS that is not Advanced Format aware you can typically use tools like Microsoft DiskPart or Symantec Ghost For an image that has not been aligned during creat...

Страница 4: ...rmation on optimizing performance in various scenarios involving the use of an Advanced Format drive Scenario Windows 7 Windows Vista SP1 or later Windows Vista prior to SP1 Windows XP POSReady 2009 or WEPOS You are installing a preinstalled image you received directly from HP A A A A A You are installing your own image using WinPE C C C C B You are installing your own image you are not using WinP...

Страница 5: ...ormat drive is aligned Note If you are upgrading your PC to Windows Vista SP1 or later or Windows 7 no realignment is required since these OSs are Advanced Format aware B This scenario is not supported by HP C Installations using versions of WinPE as early as version 1 63 from Windows Server 2003 can be used to create aligned partitions Although not required for imaging the following environments ...

Страница 6: ...ned partition Extending the partition during a Windows XP image deployment Aligning drives in a RAID configuration Using third party deployment tool Enhancing performance with many small writes as with ImageX Encrypting drives For optimal performance with a software encrypted Advanced Format drive install the vendor s latest driver that is tuned for Advanced Format drives prior to encrypting the d...

Страница 7: ...eps have been followed its application should be blocked in Microsoft Deployment Toolkit MDT and Microsoft System Center Configuration Manager SCCM Important Do not use KB931760 on an HP system KB931760 is a registry patch for WinPE that was designed to address the following You cannot install Windows XP successfully after you use Windows Vista or Windows PE 2 0 to create partitions on a hard disk...

Страница 8: ...lityMode TRUE then oLogging CreateEntry Implementing Diskpart BIOS compatibility fix see KB 931760 and KB 931761 LogTypeInfo On Error Resume Next oShell RegWrite HKEY_LOCAL_MACHINE SYSTEM CURRENTCONTROLSET SERVICES VDS ALIGNMENT LessThan4GB 0 REG_DWORD oShell RegWrite HKEY_LOCAL_MACHINE SYSTEM CURRENTCONTROLSET SERVICES VDS ALIGNMENT Between4_8GB 0 REG_DWORD oShell RegWrite HKEY_LOCAL_MACHINE SYST...

Страница 9: ...modify the partition incorrectly you will receive a BSOD The best option for extending the partition is as follows 1 Remove the ExtendOemPartition line from SYSPREP INF and UNATTENDED TXT and ensure the partition size is not manipulated by template SIF files You must use Filesystem LeaveAlone and you must NOT use ExtendOemPartition 2 Allow disk cloning tools such as Ghost or DiskPart to align and ...

Страница 10: ... performance with many small writes as with ImageX While Windows 7 SP1 and WinPE 3 1 are already optimized Microsoft Knowledge Base article KB982018 addresses performance degradation associated with a Windows 7 or WinPE 3 0 system performing many small writes to an Advanced Format drive For example using the ImageX command line tool while booted to WinPE to apply a Windows image wim file to an Adv...

Страница 11: ...l Figure 3 Sample output from The Unattended Advanced Format Hard Disk Information Tool ______________________________________________________________________________ Partition Alignment Information from Win32_DiskPartition ______________________________________________________________________________ Name Disk 0 Partition 0 BlockSize 512 BootPartition True Size 232 883 GiB StartingOffset 1048576 ...

Страница 12: ... to WinPE 2 1 or later 2 Execute the DiskPart utility to display information about specific system partitions For example use the following script is to display information about Disk 0 Partition 1 as shown in Figure 4 diskpart select disk 0 select partition 1 detail partition Figure 4 Sample script output Partition 1 Type 07 Hidden No Active No Offset in Bytes 1048576 Volume Ltr Label Fs Type Siz...

Страница 13: ...partitions Partition Partition size Starting offset 0 208 666 624 B 1 048 576 B 208 666 624 4 096 50 944 1 048 576 4 096 256 1 732 388 392 960 B 209 715 200 B 732 388 392 960 4 096 178 805 760 209 715 200 4 096 51 200 2 17 449 353 216 B 732 388 392 960 B 17 449 353 216 4 096 4 260 096 732 388 392 960 4 096 178 805 760 3 107 864 064 B 750 047 461 376 B 107864064 4 096 26 334 750 047 461 376 4 096 1...

Страница 14: ...ces for and key features of HP Advanced Format AF tools Unattended AF Disk Information Tool AF Disk Information Tool Paragon Partition Alignment Tool Paragon Partition Alignment Tool for Workstations offline edition for CD Paragon Partition Alignment Tool for Linux SoftPaqs 1 Desktop POS sp56815 sp53063 Workstation sp56815 sp53063 sp55511 Notebook sp56528 sp57093 3 sp52890 sp53121 4 Superseded Sof...

Страница 15: ...S script that can detect the processor platform and run the appropriate executable AF CHECK EXE or AF CHECK64 EXE The release date for the updates has not been determined8 3 The AF Disk Information Tool offers two options You can use either a graphical user interface GUI driven disk information tool or an offline DOS tool that switches to a Linux kernel running a program that reports disk informat...

Страница 16: ...n for more information My operating system is Advanced Format aware however I do not have an Advanced Format drive Do I need to do anything No changes are required to run an operating system that is Advanced Format aware on a drive with 512 byte sectors What happens if I do not align my partitions Your Advanced Format drive will work however applications may fail because of the unexpected slow dow...

Страница 17: ...ative drives Older applications and games would not be able to run while there would be no performance advantage for a customer Thus HP elected to not pursue this approach at this time Where can I build an Advanced Format drive aware image As long as it is validated you can create a custom image on either a conventional drive or an Advanced Format drive Is there any value to aligning partitions on...

Страница 18: ...byte sector SATA communications first generation Advanced Format drives maintain backwards compatibility with current computers Thus these drives sometimes referred to as 512e drives or translated drives operate internally at 4 KB and externally at 512 bytes However this disparity in sector sizes can lead to performance issues Partition alignment Modern operating systems use file systems with 4 KB...

Страница 19: ...nding on the rotational speed of the drive this could add 16 22 milliseconds to a write Read performance is not impacted the drive reads the whole 4 KB of data into drive memory and only sends out the data sector s needed Why alignment helps Alignment issues with older operating systems are based on the starting point of partitions In Windows XP for example the partition boot sector is located at ...

Страница 20: ... c Windows6 1 KB982018 x86 MSU f c 4 Select Start All Programs Windows OPK or Windows AIK 5 Right click Deployment Tools Command Prompt and then select Run as administrator 6 At the prompt expand the Windows PE image by mounting boot wim to be updated into a location by entering the following imagex exe mountrw c winpe_x86 ISO sources boot wim 1 c winpe_x86 mount 7 Create a scratch directory mkdir...

Страница 21: ...hnet microsoft com en us sysinternals bb896648 aspx Getting Started Guide for Windows Deployment Services http technet microsoft com en us library cc771670 WS 10 aspx Partition alignment for SUSE Linux http www novell com support viewContent do exte rnalId 7007193 sliceId 1 Intel RST support for 4 KB sectors http www intel com support chipsets imsm s b CS 031502 htm Share with colleagues Copyright...

Отзывы: