| By Peter Velikin | Article Rating: |
|
| January 21, 2013 01:30 PM EST | Reads: |
1,870 |
File System Alignment for SSDs
There are many techniques and methods that can be used to tune an IT system to improve overall system performance. SSD caching is widely being used as a low cost, easy to implement method to quickly increase performance with little or no impact on existing operations. One thing that needs to be considered when choosing SSD caching is how to configure a file system to maximize the performance increase SSD caching provides.
Operating Systems and Block Size
In the past few years, the sector size of HDDs has increased from 512 bytes to 4k bytes. Relatively new operating systems (e.g. Windows Server 2008 R2 to present) have evolved to work with this not-so-new sector size to take advantage of higher density drives. Problems, however, can occur for older operating systems that were not designed to work with the larger block size devices. This becomes a critical issue when SSDs are introduced into the mix. SSDs are all designed to operate with a 4k block size (block and sector are used interchangeably). As a result, IT managers buying SSDs to improve system performance may not be getting the most out of their new, relatively expensive investment. Proper alignment of the file system may help to get better performance in this case.
Some Points to Consider Regarding Block Size and Alignment
Here are some things you should consider when using SSDs and modern HDDs in your system:
- Block size – always use 4k block size
- Block alignment – needs to be set to 4k. If the blocks are not 4K aligned, there is additional disk I/O overhead because 2x blocks need to be fetched for every access.
- Partition alignment – Ensure that the starting partition is aligned to 4k. If your system was upgraded from pre-Windows 2008 R2 OS, make sure you re-align the partitions to 4k.
- Memory allocation (Linux only - no control on Windows) [I could not figure out what to write about this]
- VMware environments – align all guest data disks on 4k boundaries
- Hyper-V – align all guest data disks on 4k boundaries
Best Practices Results
Optimizing your system according to the above recommendations can improve performance up to 50%. Most modern OS file systems use these methods by default so there is no need to do anything. XFS and Windows versions earlier than Windows 2008R2 do not do this alignment automatically.
Velobit HyperCache caching software operates based on 4k blocks. If your existing system is not set up to work this way, Velobit will still work with the different block size making Velobit an ideal way to get performance improvement for older, legacy systems. However, the performance increase provided by Velobit will be limited due to additional overhead associated with managing non-4k block sizes.

Read the original blog entry...
Published January 21, 2013 Reads 1,870
Copyright © 2013 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Peter Velikin
Peter Velikin has 12 years of experience creating new markets and commercializing products in multiple high tech industries. Prior to VeloBit, he was VP Marketing at Zmags, a SaaS-based digital content platform for e-commerce and mobile devices, where he managed all aspects of marketing, product management, and business development. Prior to that, Peter was Director of Product and Market Strategy at PTC, responsible for PTC’s publishing, content management, and services solutions. Prior to PTC, Peter was at EMC Corporation, where he held roles in product management, business development, and engineering program management.
Peter has an MS in Electrical Engineering from Boston University and an MBA from Harvard Business School.
- Cloud People: A Who's Who of Cloud Computing
- Windows Azure IaaS Reaches General Availability
- Portable Experimenter’s Platform, Powered by Raspberry Pi
- Predixion Software Announces General Availability of the Latest Version of its Predictive Analytics Platform
- Cloud Expo New York: The Big Challenge of Big Data & Hadoop Integration
- Agile Solutions for Cloud, Big Data, Mobility Services
- MicroStrategy Announces General Availability of MicroStrategy 9.3.1
- Cloud Computing: Cutting Costs, Boosting Profits
- AMAX Launches StorMax(TM) CFS, powered by IBM(R) General Parallel File System(TM) (GPFS(TM))
- Big Data: Visualizing the Strategic Business Imperative
- Benefits of Cloud Computing
- MicroStrategy Announces General Availability of MicroStrategy 9.3.1
- Cloud People: A Who's Who of Cloud Computing
- Windows Azure IaaS Reaches General Availability
- Portable Experimenter’s Platform, Powered by Raspberry Pi
- Predixion Software Announces General Availability of the Latest Version of its Predictive Analytics Platform
- SUSE Receives Common Criteria Security Certifications
- Basho Announces Open Source Riak CS and General Availability of Riak CS Enterprise v1.3
- Cloud Expo New York: Big Time - Introducing Hadoop on Azure
- Cloud Expo New York: Real-Time Analytics Using an In-Memory Data Grid
- Cloud Expo New York: The Big Challenge of Big Data & Hadoop Integration
- Help Desk Solution Empowers Employees
- Red Hat Unveils Big Data and Open Hybrid Cloud Direction
- Agile Solutions for Cloud, Big Data, Mobility Services
- The Top 250 Players in the Cloud Computing Ecosystem
- Web Services Using ColdFusion and Apache CXF
- Cloud People: A Who's Who of Cloud Computing
- Red Hat Named "Platinum Sponsor" of Virtualization Conference & Expo
- Cloud Expo New York Call for Papers Now Open
- Eclipse "Pollinate" Project to Integrate with Apache Beehive
- An Introduction to Ant
- Cloud Expo 2011 East To Attract 10,000 Delegates and 200 Exhibitors
- Beehive Code Now Available in Apache
- Apache's Tomcat 5.5 is First Release Ever to Use Eclipse JDT Java Compiler
- 4th International Cloud Computing Conference & Expo Starts Today
- "Beehive" Now Officially an Open Source Project: Apache Beehive























