Partition Alignment of Intel SSDs for Achieving Maximum Performance and Endurance Technical Brief February 2014

Similar documents
Intel Data Migration Software

Intel HTML5 Development Environment. Tutorial Test & Submit a Microsoft Windows Phone 8* App (BETA)

Intel HTML5 Development Environment Article Using the App Dev Center

iscsi Quick-Connect Guide for Red Hat Linux

Intel HTML5 Development Environment. Tutorial Building an Apple ios* Application Binary

Specification Update. January 2014

This guide explains how to install an Intel Solid-State Drive (Intel SSD) in a SATA-based desktop or notebook computer.

Intel Technical Advisory

Intel SSD 520 Series Specification Update

Customizing Boot Media for Linux* Direct Boot

Intel Data Migration Software

Resetting USB drive using Windows Diskpart command

System Image Recovery* Training Foils

Intel Matrix Storage Console

Intel Core TM i3 Processor Series Embedded Application Power Guideline Addendum

Intel HTML5 Development Environment. Article - Native Application Facebook* Integration

Intel Media SDK Library Distribution and Dispatching Process

User Experience Reference Design

Intel vpro Technology. How To Purchase and Install Go Daddy* Certificates for Intel AMT Remote Setup and Configuration

The Case for Rack Scale Architecture

How to Configure Intel Ethernet Converged Network Adapter-Enabled Virtual Functions on VMware* ESXi* 5.1

Intel RAID Volume Recovery Procedures

with PKI Use Case Guide

Intel Core i5 processor 520E CPU Embedded Application Power Guideline Addendum January 2011

Intel vpro Technology. How To Purchase and Install Symantec* Certificates for Intel AMT Remote Setup and Configuration

Creating Overlay Networks Using Intel Ethernet Converged Network Adapters

System Event Log (SEL) Viewer User Guide

Intel Internet of Things (IoT) Developer Kit

Intel Ethernet and Configuring Single Root I/O Virtualization (SR-IOV) on Microsoft* Windows* Server 2012 Hyper-V. Technical Brief v1.

Software Solutions for Multi-Display Setups

Intel Retail Client Manager

Intel Server Raid Controller. RAID Configuration Utility (RCU)

Intel Small Business Advantage (Intel SBA) Release Notes for OEMs

Revision History. Revision Revision History Date

Intel Solid-State Drive Pro 2500 Series Opal* Compatibility Guide

Intel Server System S7000FC4UR

Intel Extreme Memory Profile (Intel XMP) DDR3 Technology

Acronis Disk Director 11 Advanced Server. Quick Start Guide

Intel Retail Client Manager Audience Analytics

2013 Intel Corporation

Intel Compute Stick STCK1A32WFC User Guide. Intel Compute Stick STCK1A32WFC

COSBench: A benchmark Tool for Cloud Object Storage Services. Jiangang.Duan@intel.com

Intel System Event Log (SEL) Viewer Utility

User Guide Software Version 2.1.0

Intel Matrix Storage Manager 8.x

Intel Entry Storage System SS4000-E

Intel RAID Software v6.x (and newer) Upgrade/Installation Procedures

Installing Microsoft Windows

Intel Service Assurance Administrator. Product Overview

Recovery BIOS Update Instructions for Intel Desktop Boards

Intel System Event Log (SEL) Viewer Utility

Intel Storage System SSR212CC Enclosure Management Software Installation Guide For Red Hat* Enterprise Linux

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

Intel Desktop Board DP55WB

Intel System Event Log (SEL) Viewer Utility

Intel Retail Client Manager

Intel Desktop Board D945GCPE Specification Update

Intel Desktop Board D945GCPE

Version Rev. 1.0

Intel Solid-State Drive Data Center Tool User Guide Version 1.1

SSD Guru. Installation and User Guide. Software Version 1.4

Intel Rapid Storage Technology

Intel RAID RS25 Series Performance

Intel Desktop Board DG41BI

Intel Data Direct I/O Technology (Intel DDIO): A Primer >

Benefits of Intel Matrix Storage Technology

Configuring RAID for Optimal Performance

USB 3.0* Radio Frequency Interference Impact on 2.4 GHz Wireless Devices

Installing a Second Operating System

Intel Desktop Board DG41TY

Intel Desktop Board DG31PR

How to Configure Intel X520 Ethernet Server Adapter Based Virtual Functions on Citrix* XenServer 6.0*

Intel Server Board Platform Confidence Test Installation and Operating Instructions

Intel System Event Log (SEL) Viewer Utility. User Guide SELViewer Version 10.0 /11.0 December 2012 Document number: G

Intel Q35/Q33, G35/G33/G31, P35/P31 Express Chipset Memory Technology and Configuration Guide

Intel Desktop Board DG43RK

Intel Identity Protection Technology (IPT)

Intel X38 Express Chipset Memory Technology and Configuration Guide

Intel 810 and 815 Chipset Family Dynamic Video Memory Technology

Intel Solid-State Drives Increase Productivity of Product Design and Simulation

Intel Management Engine BIOS Extension (Intel MEBX) User s Guide

Intel Desktop Board DG41WV

Intel Remote Configuration Certificate Utility Frequently Asked Questions

Instrument Software Update Instructions. Keysight X-Series Signal Analyzers (PXA/MXA/EXA/CXA) Upgrading an older version to A.12.

Intel Cloud Builder Guide: Cloud Design and Deployment on Intel Platforms

Intel Virtualization Technology FlexMigration Application Note

Power Benefits Using Intel Quick Sync Video H.264 Codec With Sorenson Squeeze

Intel 965 Express Chipset Family Memory Technology and Configuration Guide

Intel Desktop Board DG965RY

Intel Desktop Board D945GCL

Intel Desktop Board DP43BF

MCA Enhancements in Future Intel Xeon Processors June 2013

Intel Unite. User Guide

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

Intel Solid-State Drive 320 Series

Cloud based Holdfast Electronic Sports Game Platform

Transcription:

Partition Alignment of Intel SSDs for Achieving Maximum Performance and Endurance Technical Brief February 2014 Order Number: 330105-001US

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. A "Mission Critical Application" is any application in which failure of the Intel Product could result, directly or indirectly, in personal injury or death. SHOULD YOU PURCHASE OR USE INTEL'S PRODUCTS FOR ANY SUCH MISSION CRITICAL APPLICATION, YOU SHALL INDEMNIFY AND HOLD INTEL AND ITS SUBSIDIARIES, SUBCONTRACTORS AND AFFILIATES, AND THE DIRECTORS, OFFICERS, AND EMPLOYEES OF EACH, HARMLESS AGAINST ALL CLAIMS COSTS, DAMAGES, AND EXPENSES AND REASONABLE ATTORNEYS' FEES ARISING OUT OF, DIRECTLY OR INDIRECTLY, ANY CLAIM OF PRODUCT LIABILITY, PERSONAL INJURY, OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL APPLICATION, WHETHER OR NOT INTEL OR ITS SUBCONTRACTOR WAS NEGLIGENT IN THE DESIGN, MANUFACTURE, OR WARNING OF THE INTEL PRODUCT OR ANY OF ITS PARTS. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information. The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or go to: http://www.intel.com/design/literature.htm Low Halogen applies only to brominated and chlorinated flame retardants (BFRs/CFRs) and PVC in the final product. Intel components as well as purchased components on the finished assembly meet JS-709 requirements, and the PCB/substrate meet IEC 61249-2-21 requirements. The replacement of halogenated flame retardants and/or PVC may not be better for the environment. Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and other countries. *Other names and brands may be claimed as the property of others. Copyright 2014 Intel Corporation. All rights reserved. Partition Alignment Technical Brief February 2014 2 330105-001

Contents 1 Introduction... 5 1.1 About This Guide... 5 1.2 Anatomy of a Drive... 5 2 Why Alignment is Important... 6 2.1 Partition Offset... 6 2.2 File System... 6 3 Proper File System Alignment... 8 3.1 Checking Alignment... 8 3.2 Alignment for Windows... 8 3.3 Alignment for Linux*... 9 3.4 Re-align Partitions Without Losing Data... 9 Figures Figure 2-1: Misaligned Partition... 6 Figure 2-2: Properly Aligned Partition at 1MB... 6 Figure 2-3: Aligned Partition versus Misaligned Partition... 7 February 2014 Partition Alignment Technical Brief 330105-001 3

Revision History Document Number Revision Number Description Revision Date 330105 001 Initial release. February 2014 Partition Alignment Technical Brief February 2014 4 330105-001

1 Introduction 1.1 About This Guide This guide provides a technical overview of partition alignment on an individual Intel Solid-State Drive (SSD). The audience is any user of Intel SSDs, specifically Enterprise level System Administrators and Engineers. There is a great deal of information on the internet regarding partition alignment on SSDs. This brief will attempt to address some of that information and explain the importance of alignment on Intel SSDs in order to achieve maximum performance and longest life from a drive. Misalignment can negatively impact the performance of Intel s Consistently Amazing Data Center Family of SSDs. This brief will describe the procedures for checking the alignment of partitions under the Windows Operating System (OS) and the Linux* family of OS s. It will also explain the procedure to re-align a partition using standard tools. By following these steps, an SSD can attain the speed, endurance, and consistency of performance it was designed to produce. 1.2 Anatomy of a Drive In traditional Hard Disk Drives (HDDs), a 512 Byte physical sector size has been the standard. Operating systems understand this sector layout and align their partitions with these sectors. However, most new HDDs use a 4096 Byte physical sector size, which is translated by the firmware to mimic a 512 Byte sector size to the Operating System (OS). Intel SSDs also have physical structures, similar to sectors, called pages. Intel SSDs have different page sizes depending on the model, but the current Intel Datacenter SSDs have 8 KB and 16KB pages. These pages are then organized into blocks. On top of these structures is an abstraction layer that makes the SSD appear to the OS as a traditional HDD. But, it is the internal structure that makes alignment so important. February 2014 Partition Alignment Technical Brief 330105-001 5

2 Why Alignment is Important 2.1 Partition Offset Windows* up to and including Server 2003* uses a first partition offset of 63 sectors to comply with the 63 hidden sectors reported by disk hardware. Assuming 512 Byte sectors gives an offset equal to 31.5KB. This works fine on traditional 512B sector HDDs, but does not work well for Intel SSDs due to misalignment. It is possible to manually align the partition offset to 64 sectors, or 32 KB. This configuration is better than the misalignment caused by 63 sectors, but is not recommended for Windows* servers. Windows* Server 2008 and newer use an offset of 1024KB (1 MB), which is the recommended offset for Intel SSDs. Partitioning tools in Linux, such as GPARTED, also use an offset of 1 MB in newer versions. 2.2 File System The default file system for Windows* Server 2003, NTFS, uses 4 KB clusters by default. Traditionally, these 4KB clusters take up 8 512 Byte sectors. With Intel SSDs, 1 - NTFS cluster takes up less than one NAND page when alignment is correct. When the alignment is not correct, some of the 4 KB clusters will write across 2 NAND pages. This is illustrated in Figure 1 using 4 KB pages for clarity: With an offset of 63 sectors, the first 31.5 KB of drive space is left blank. Then Windows* begins to write clusters, but the physical page of the SSD ends at 32 KB. Therefore, the cluster is split across 2 pages: 512 Bytes written on the first, 3.5 KB written on the next. This has a cumulative effect as each subsequent page boundary that is written will have a cluster split across it. Figure 2 1 shows a misaligned partition, figure 2 2 shows a partition properly aligned at 1MB. Figure 2-1: Misaligned Partition Figure 2-2: Properly Aligned Partition at 1MB Partition Alignment Technical Brief February 2014 6 330105-001

The most noticeable problem caused by misalignment is poor performance. Because the drive has to write two pages (two separate writes) for any OS cluster write that crosses a page boundary, additional latency is introduced causing slower write speeds. Figure 2 3 shows a comparison of the performance of an aligned partition compared to the performance of a misaligned partition. Figure 2-3: Performance Comparison, Aligned Partition versus Misaligned Partition February 2014 Partition Alignment Technical Brief 330105-001 7

3 Proper File System Alignment There are a few different ways to check your partition alignment, depending on the OS being used. Two common examples are presented here. 3.1 Checking Alignment Windows* OS using msinfo32.exe: Hit the START button and type msinfo32.exe Navigate to Components > Storage > Disks Identify and select the appropriate drive Locate Partition Starting Offset Divide the offset number by 4096 If the result is a whole number (no decimal), the partition is correctly aligned Repeat for each partition Linux* OS: Run parted Enter unit s Enter print all Each disk will be listed with its partitions, showing start points and end points in sectors The heading for each drive should show Sector size (logical/physical): 512B/512B Multiply the Start number by the Units number i.e. 63 * 512 = 32256 Divide the result by 4096: such as 32256 / 4096 = 7.875 If the result is NOT a whole number (as shown above), the partition is NOT aligned on a 4KB boundary Repeat this process for each partition listed 3.2 Alignment for Windows If a partition is misaligned in Windows* Server 2003 or older, there are some considerations to understand before attempting to repair it. If the drive containing the misaligned partition is running the Windows* OS (even if Windows* is not on the misaligned partition), moving the partition from within Windows* is not an option. In this type case, the OS must be de-installed, the partitions aligned, then the OS must be reinstalled. Windows* Server 2008 and newer can move partitions within Computer Management > Storage > Disk Management, but it is not possible to change the partition offset in this tool when data needs to be preserved. DISKPART has the same limitations. So, again it is recommended to reinstall Windows*. Partition Alignment Technical Brief February 2014 8 330105-001

Note: Windows* 2008 and newer would not normally be misaligned, unless the system was a standing upgrade from an earlier version or a clone. In this case, reinstallation is also the best practice. If reinstalling Windows* is not an option, there are two possibilities to fix the issue. Download the Acronis AlignTool Intel SSD Edition from www.intel.com/go/ssd (search for Acronis Aligntool ). The software and the instructions are available. This tool has been tested on Windows* XP and Windows* Server 2003, but cannot be used on any other OS. It is also possible to use the GPARTED procedure below. 3.3 Alignment for Linux* If a partition is misaligned in Linux*, and the partition is still empty, it is very easy to remove the partition and recreate it. The best tool for recreating a partition is GNU parted, because it will work with both MBR (msdos) disks and GPT disks. Run parted Select the correct disk, select /dev/sda Remove the current partition that is misaligned, rm NUMBER (such as rm 2) If the partition table type is correct, skip this step: Change the partition table type, mklabel Answer prompts: New disk label type? (msdos or GPT) The partition table is now rebuilt, enter print all to verify Create new partition, enter mkpart Answer the prompts: Partition name? []? (this is on GPT only) File system type? [ext2]? (Ext4, Ext3, btrfs, and so on) Start? 1MB (1MB is becoming a fairly common value for partition offset) End? 400GB (this will be the size of the partition you want) By using the MB and GB values for your start and end positions, you are able to align the partition where you want it 3.4 Re-align Partitions Without Losing Data If a partition is misaligned and has data that needs to be preserved, using the open source tool GPARTED is recommended. GPARTED can be downloaded from gparted.org. The live image is the best to use for this purpose. Procedure for GPARTED: Before proceeding BACK UP THE ENTIRE DRIVE all partitions should be backed up or cloned for DR purposes Boot from the GPARTED Live CD or USB stick In the gparted GUI, select your SSD in the upper right drop-down menu Click on the first partition Click on Resize/Move February 2014 Partition Alignment Technical Brief 330105-001 9

Change Free Space Proceeding to 2MB Uncheck Round to Cylinders, or select Align to: MiB Click on Resize/Move Click OK on the warning page Click Apply Click Apply in the warning window This process can take a great deal of time, depending on the amount of data When the move is complete, close out of GPARTED and reboot the system In a Windows* system, if the system fails to boot: Reboot the system using a Windows* install CD and select Repair Your Computer Windows* should detect the problem and repair the boot menu automatically Partition Alignment Technical Brief February 2014 10 330105-001