Increase Application Performance With Solid State Disks
Increase Application Performance With Solid State Disks
Application performance can be dramatically increased using a solid state disk. This Texas Memory Systems paper introduces solid state disks and includes a comparison of methods for increased application performance.
Contents
Executive Summary...............................................................................1 Problem: Performance Constrained by I/O Bottlenecks..............................................................................................2 Understanding I/O Bottlenecks ..........................................................2
Hard Disk Drive Based Storage Devices Have High Data Access Times .....................................................................................3 High Access Times Result in I/O Wait Time..........................................3 Impact of the Performance Gap...............................................................4
Solution: Reduce I/O Bottlenecks with Solid State Disks ...................................................................................8 Understanding Solid State Disks .......................................................8 Benchmark Results................................................................................9
IOMeter test results .................................................................................10 SPC 1 Benchmark Results with the RamSan 400 Solid State Disk ........................................................................................12
Self-service Pricing
Page i
Section
1
Application performance can be finicky. One day an application is slowed by network latencies; another day it can be impacted by processor limits and, when everything else is going smoothly I/O bottlenecks pop up as more users make the application work harder. Solving performance problems and I/O bottlenecks can be a challenging task. While there are many approaches to reducing I/O bottlenecks few are cost effective. This white paper presents solid state disks as a cost effective way to improve application performance. Traditional hard disk based systems incur performance penalty because of the high access times of hard disk drives. Solid state disks resolve this problem with low access times and high bandwidth. Two landmark benchmarks are included to quantify this advantage: IOMeter benchmark results and Storage Performance Council SPC 1 IOPS results. These two benchmarks definitively demonstrate the ability of solid state disk to offer unparalleled performance at unbeatable price for performance and both can be re created by users. Companies who have implemented this technology make better use of their server infrastructure, support increasing concurrent user loads with low response times, and improve user satisfaction.
Executive Summary
Self-service Pricing
Page 1
Section
2
IT professionals spend billions of dollars annually attempting to correct application performance issues. The Holy Grail for most data center administrators is deriving the most performance for the least price. I/O bottlenecks are at the root of many performance issues. These bottlenecks are extremely frustrating because they are often difficult to diagnose, and solutions are expensive and rarely long term.
15 10
5 0 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004
Figure 1: Increasing Gap between Processor Speeds and Disk Access Times
Self-service Pricing
Page 2
So why have hard disk drive access times lagged behind processor improvements? A quick look at the mechanical characteristics of the disk drive (see Figure 2 below) exposes the problem.
Hard Disk Drive Based Storage Devices Have High Data Access Times
Storage devices tend to publish their performance using data access times. StorageReview.com defines access times as: Access Times = Command Overhead Time + Seek Time + Settle Time + Latency Of these factors, seek time and latency are the biggest variables in measuring hard drive performance. Seek time refers to the amount of time required for the read/write heads to move between tracks over the surfaces of the platters. Hard drive latency is the time spent waiting for the disk to spin to the proper location once the read/write head reaches the right place. The resulting access time is measured in milliseconds. For even the fastest of hard disk drives, average data access times exceed 5 milliseconds. Unfortunately, data access times increase as powerful servers build up larger queues on the disk drives. Figure 2: Hard Disk Drive and its Mechanical Components
Servers today could complete millions of operations during a hard disks 5 milliseconds of data access time. As the processor waits on data to return from the storage device, it does not go about other calculations; it just waits for the data. This is called I/O wait time. I/O wait time can be expressed as a percentage of available processor time. In other words, a system that has an I/O bottleneck will show high I/O wait percentages and, as a result, lower actual processor utilization percentages (user time and system time). In UNIX operating systems, I/O wait time is available through the SAR command. In Windows operating systems, I/O wait time has to be intuited by looking at processor utilization and physical disk queues.
Self-service Pricing
Page 3
Adding RAM
Adding RAM is generally most effective in environments with a very high percentage of reads from storage following writes of that data. Adding RAM helps because these reads are cached in the RAM, thus saving the processor from waiting on data from external hard disks. If read requests are random and do not quickly follow the writes, the RAM cache does not help much. Adding RAM
Self-service Pricing
Page 4
does not significantly affect performance of write intensive applications. For many servers, adding RAM is impossible because all of the expansion slots are already taken. The cost of solving an I/O bottleneck by adding RAM includes: RAM costs the cost of RAM varies across server brands. Adding small amounts of RAM is inexpensive. Adding large amounts of RAM can be expensive due to the higher costs for higher density memory chips. Processor costs in some large multi processor servers scaling memory can simultaneously requires adding processors. Server costs it is not unusual for a company looking to add RAM to have to buy new server equipment to support it. Licensing costs in some environments, adding RAM could mean moving to a different operating system.
Self-service Pricing
Page 5
Application tuning
Tuning makes SQL queries (that cause storage I/O) as efficient as possible in their use of external storage. Some companies use internal programmers and DBAs to tune application code; others supplement their staff with contractors. Often, special tools are purchased to help programmers find inefficient code. If an application is inefficiently written, application tuning can eliminate I/O bottlenecks. An unfortunate side effect of many tuning exercises is an actual decrease in user functionality as code that makes too many disk accesses is simply removed from the application. In addition, it is not unusual for an organization to tune for too long. In other words, companies often forget the cost of having programmers working on tuning projects. Here are some of the costs associated with application tuning: Staff costs programming resources are costly in terms of salary and overhead. Increase this cost if contractors are used. Opportunity costs programmers working on tuning could have been adding functionality to a system. Software licensing costs many tuning efforts require or use special software to aid their tuning efforts.
Self-service Pricing
Page 6
Summary of Approaches
Table: Matching I/O Solutions and Data Problems
Data Patterns Tend to be Small Block Small Block Small Block Small Block Big Block Big Block HDD Cached RAID Flash Cached Flash RAID DDR Solid State Disk
High writes, mostly random High reads, mostly random High writes, Sequential, Single Threaded High reads, reads quickly follow writes High writes, mostly sequential High reads, mostly sequential
Key: The table shows the usefulness of various storage technologies as solution for specified data patterns (with their typical block sizes). Green circles indicate this solution should be considered an option for this storage device and data pattern. Yellow circles indicate this solution might not do well with this data pattern but that results could vary based on the device tested. If there is no circle in the intersecting square, the device is not a good fit for the data pattern. This section has exposed the difficulty in selecting the proper approach to solve application performance problems caused by performance bottlenecks. The next section discusses solid state disks as a preferred choice for resolving I/O bottlenecks at a low cost for performance.
Self-service Pricing
Page 7
Section
3
With the performance gap between processors and hard drive based storage systems widening, solid state storage is entering the limelight. Because solid state systems rely on memory chips for data storage, they offer unprecedented access times, which narrow the gap between the processor speeds and storage speeds. Companies have used solid state storage systems to resolve I/O bottlenecks for over two decades. These systems have become increasingly sophisticated, higher performing, and lower cost, which sends a clear message there is no better tool for improving I/O performance.
Self-service Pricing
Page 8
High I/Os per second (IOPS Solid state disks offer extraordinarily high random I/O performance because of their low access times and high bandwidth. For more information, see the Texas Memory Systems SPC 1 IOPS results and IOMeter tests, below. Low price for performance Solid state disks provide the best possible price/performance of all storage devices. For more information, see the Texas Memory Systems SPC 1 IOPS results, below. High availability Solid state disks are inherently more reliable than hard disk drive based systems because there are no moving parts in the data path. Non volatile All enterprise solid state disk manufacturers offer non volatile solutions. The DDR solid state disks have internal batteries that maintain system power long enough to back up data in memory to internal hard disk drives. Cached Flash solutions like the RamSan 500 include battery backed up Flash that flushes to Flash memory in the event of external power failure. Solid state disks are an excellent solution for I/O bottlenecks, particularly those bottlenecks caused by the high access times of traditional disk based storage systems.
Benchmark Results
Solid state disks offer incredible performance and an unbeatable price:performance ratio. Two independent benchmarks demonstrate the value and performance of the RamSan Enterprise Solid State Disk: Results from IOMeter, a widely used freeware program used to benchmark storage performance; Results from Texas Memory Systems SPC 1 IOPS testing. The SPC 1 results, including the cost per SPC 1 IOPS, are audited and verified by the Storage Performance Council.
Self-service Pricing
Page 9
The IOMeter benchmark included tests with four dual core AMD Opteron servers (2.2Ghz) each with a dual ported QLA2462 controller:
Self-service Pricing
Page 10
Figure 4: Peak RamSan-400 Bandwidth Performance Using IOMeter Figure 5, below, shows peak random I/Os per second (IOPS). Note the Total I/Os per Second of 625,968.51 is greater than the Texas Memory Systems advertised level of 400,000 IOPS.
Self-service Pricing
Page 11
The results clearly display the value of solid state disk. Solid state disks excel at both small and large block random data transfers. In comparison, disk based storage systems only excel at large block sequential transfers only.
The Storage Performance Council SPC 1 results highlight that solid state disks are the best solution when you want the best performance and the best price:performance. When you look at cost per capacity only, solid state disks appear expensive. However, when you evaluate solutions to improve performance, solid state disks offer the best value of any storage product. In fact, the RamSan 400 produced better SPC 1 results than equipment priced nearly 10
The SPC derives price from the total cost of the implemented solution, including Fibre Channel infrastructure and relevant support contracts. For details, see the SPC full disclosure report.
1
Self-service Pricing
Page 12
times higher than the RamSan 400. For details on other Storage Performance Council results, please see StoragePerformance.org. Figure 6, below, compares the average response time vs. IOPS achieved during the SPC 1 test of many well known storage solutions. Texas Memory Systems RamSan 400 dramatically outperformed all solutions with its response time barely affected by the number of IOPS performed.
30 NETAPP FAS3040
25
20
15
10
0 0 50000 100000
IOPS
150000
200000
250000
Figure 6: SPC-1 Results Comparison of Average Response Time vs IOPS The SPC 1 analysis produced some additional interesting findings. First, the Texas Memory Systems test implementation is extremely simple. Where other storage products tested under SPC 1 have included expensive mainframe hosts and excessive host bus adapters and switched fabrics, the RamSan 400 configuration simply included sixteen commodity servers each with one host bus adapter connected to a redundant switched fabric. Secondly, even under the heaviest loads, the server observed latency for data accesses that was consistently under one millisecond. In fact, the worst case latency performance for the RamSan was better than the best case latency for any system tested under SPC 1 guidelines. For other storage devices, as load increased response times increased dramatically. For test details, including the graphs mentioned here, see the full disclosure report on StoragePerformance.org.
Self-service Pricing
Page 13
Section
Fewer Servers
The drive towards server consolidation means squeezing every drop of performance out of the remaining servers. When a RamSan can improve server efficiency, then that efficiency increase can lead to server consolidation without performance loss. This is especially true in server bloated environments, where adding additional servers or processing power solved the problem of I/O wait time. Consolidating servers and moving the hottest data to a RamSan Solid State Disk reduces TCO across the enterprise.
Self-service Pricing
Page 14
Higher Profits
Financial, telecom, and e commerce industries know the value of increased transactions per second. To those industries, every additional transaction that their hardware can carry out directly affects the bottom line. In such a situation, it is easy to see how the RamSan solid state disk quickly pays for itself. This logic, however, can be applied to virtually any mission critical application that requires a solid state disk to reach its potential. When you compare the cost of a RamSan to alternative solutions that can provide a 2x to 25x increase in application performance, the choice becomes easy.
Self-service Pricing
Page 15
Section
5
Diagnosing performance problems is easier when administrators can prioritize their potential causes better. Hard disk drive access times are a major cause of I/O bottlenecks. While hard disk drive capacities are increasing, access times are improving at a snails pace. So while you may find some performance gains by buying new servers or tuning application code, these solutions do not provide profound results. Solid state disks, non volatile systems that store data on RAM and Flash memory, are a cost effective solution to I/O bottlenecks. Before the Storage Performance Council published independent benchmarks, finding cost effective performance solutions caused data center managers to rely on marketing and gut instinct only. The Storage Performance Council and their benchmarks are an excellent source of unbiased information on storage performance and its costs. The Texas Memory Systems results show that a RamSan system was able to achieve a high SPC 1 IOPS result (still in the top 3 after four years) and the lowest cost per SPC 1 IOPS. If you need performance, these results clarify that solid state disks are the least expensive solution. Companies that have implemented solid state disk have seen numerous benefits to the bottom line by making better use of their existing servers, adding concurrent users, reducing response time delays, and improving customer satisfaction.
Conclusion
Texas Memory Systems, The World s Fastest Storage, and RamSan are trademarks or registered trademarks of Texas Memory Systems. All other trademarks belong to their respective owners. Texas Memory Systems, April 2008. Marketingsage Ref: 206 197
Self-service Pricing
Page 16
Self-service Pricing
Page 17