| By Peter Velikin | Article Rating: |
|
| January 21, 2013 01:30 PM EST | Reads: |
2,032 |
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 2,032
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
- Cloud Expo New York Speaker Profile: Dave Linthicum – Cloud Technology Partners
- Cloud Expo New York: Cloud Is Changing the Economics of Business
- Best CIO Practices Shared from SHI’s Customers
- Big Data Isn’t About the Database, It’s About the Application
- Cloud Expo New York: Rethink IT and Reinvent Business with IBM SmartCloud
- Cloud Expo New York: API Security, Does My Business Need an OAuth Server?
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- Cloud Expo New York: Developing the World’s First IaaS Marketplace
- Cloud Expo NY: Best Practices for Delivering Oracle Database as a Service
- BEA Updates WebLogic SOA Portal for Web 2.0 Era
- UNIT4 Business Software: Three Retail Accounting Tips to Help Retailers Leverage the Cloud and Back Office Systems
- Cloud People: A Who's Who of Cloud Computing
- Cloud Expo New York Speaker Profile: Dave Linthicum – Cloud Technology Partners
- Cloud Expo New York: Cloud Is Changing the Economics of Business
- Best CIO Practices Shared from SHI’s Customers
- Cloud Expo New York: Deploying Hybrid Cloud for Performance and Uptime
- Cloud Expo New York: Delivering Digital Marketing on the Cloud
- Big Data Isn’t About the Database, It’s About the Application
- Cloud Expo New York: Rethink IT and Reinvent Business with IBM SmartCloud
- Cloud Expo New York: API Security, Does My Business Need an OAuth Server?
- Cloudant to Exhibit at Cloud Expo & Big Data Expo New York
- Cloud Expo New York: Basics of SSD Technology and Its Use in Cloud
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- The i-Technology Right Stuff
- The Top 150 Players in Cloud Computing
- Who Are The All-Time Heroes of i-Technology?
- Where Are RIA Technologies Headed in 2008?
- Get the Message
- i-Technology Viewpoint: Is Web 2.0 the Global SOA?
- ESB Myth Busters: 10 Enterprise Service Bus Myths Debunked
- i-Technology Viewpoint: Thinking Outside the VC Box
- i-Technology Viewpoint: When to Leave Your First IT Job
- SOA Web Services Edge Conference Coverage on SYS-CON.TV
- SYS-CON.TV's "SOA Web Services" and "Enterprise Open Source" Programs To Air in December
- Five Reasons Why Web 2.0 Matters
























