LSI MegaRAID Controller Benchmark Tips
LSI MegaRAID Controller Benchmark Tips
LSI MegaRAID Controller Benchmark Tips
Benchmark Tips
November 6, 2012
v9.0 Preliminary
Benchmark Review Requirements
• Providing the following information will improve our ability to support product
evaluations
– Summary of test cases you will be performing
– System details and benchmark parameters listed on slide 3
2
Elements that Affect Performance
• System
– Motherboard, Chip Set, BIOS, Processor, Memory
• System chip set and memory speed can impact benchmark performance
• Recommend 8-wide (x8) PCIe Generation-2 slot for all 6 Gb/s SAS benchmarks
– Operating System with latest Service Pack and Updates
• RAID controller
– Firmware, BIOS, driver version
– Disk write cache policy setting
– RAID level
– Stripe size
– Read and write caching policies
• Drives
– Total number of drives/Drives per channel
– Enclosure model + firmware
– Drive interface (SATA, SAS) and Speed (i.e. 1.5Gb/s, 3Gb/s, 6Gb/s)
– Make, model & firmware of drive
– Class of the drive (e.g., HDD disk drive, SSD solid state, etc.)
• Benchmark Tool
– Test profile (Request Size, Sequential Read or Write, Random Read or Write)
3
Tips
4
Standard Benchmark Tool
5
Recommended Settings For HDD Performance Testing
RAID Type I/O Benchmarking RAID Write Cache RAID Read Cache Stripe Size
6
Recommended Settings For SSD Performance Testing
RAID Type I/O Benchmarking RAID Write Cache RAID Read Cache Stripe Size
7
Read Policies
• No Read Ahead
– Only the requested data is read and the controller does not read
ahead any data
8
Write Cache Policies
• Write-Through
– Caching strategy where data is committed to disk before a completion status is
returned to the host operating system
– Considered more secure, since a power failure will be less likely to cause undetected
drive write data loss with no battery-backed cache present
– Data is moved directly from the host to the disks, avoiding copying the data
intermediary into cache which can improve overall performance for streaming
workloads if Direct IO mode is set.
• Write-Back
– A caching strategy where write operations result in a completion status being sent to
the host operating system as soon as data is in written to the RAID cache. Data is
written to the disk when it is forced out of controller cache memory.
– Write-Back is more efficient if the temporal and/or spatial locality of the requests is
smaller than the controller cache size.
– Write-Back is more efficient in environments with “bursty” write activity.
– Battery backed cache can be used to protect against data loss as a result of a power
failure or system crash.
9
Data Placement Policies
• Direct IO
– All read data is transferred directly to host memory bypassing RAID
controller cache. Any Read Ahead data is cached.
– All write data is transferred directly from host memory bypassing RAID
controller cache if Write-Through cache mode is set
– Recommended for all configurations
• Cached IO
– All read and write data passes through controller cache memory on its way
to or from the host (including write data in write-through mode.)
– Required ONLY for CacheCade v1.1 read-only caching, not
recommended for CacheCade v2.x and higher or any other
configurations
10
Advanced Software Testing
11
Performance Limits & Bottlenecks
INTERCONNECT
Theoretical Bandwidth Practical Bandwidth
PCI Express Lanes (Uni-Directional) (Uni-Directional)
Gen1 x4 1000 880
Gen1 x8 2000 1760
Gen 2 x4 2000 1600
Gen 2 x8 4000 3200
Practical Bandwidth
Theoretical Bandwidth
SAS PHYs (Uni-Directional)
(Uni-Directional)
SAS/SATA
Gen 1 x1 150 105/130
Gen 1 x4 600 420/520
Gen 1 x8 1200 840/1040
Gen 1 x1 300 240/285
Gen 1 x4 1200 990/1140
Gen 1 x8 2400 1975/2280
Gen 2 x1 600 520/570
Gen 2 x4 2400 1975/2280
Gen 2 x8 4800 3950/4560
8x
DDR2@667 CPU Complex SAS Core SAS
3 Gb/s
PCIe Gen-1 x8
2.0 GB/s Peak
BOTTLENECK!
2.4 GB/s Peak
CPU CPU
LSI Proprietary 13
SAS 6Gb/s: 2108 ROC Architecture (Liberator)
8x
DDR2@800 CPU Complex SAS Core SAS
6 Gb/s
PCIe Gen-2 x8
4.0 GB/s Peak
BOTTLENECK!
4.8 GB/s Peak
CPU CPU
LSI Proprietary 14
SAS 6Gb/s: 2208 ROC Architecture (Thunderbolt)
8x
Dual Core SAS
DDR3@1333 SAS Core
Complex 6 Gb/s
PCIe Gen-3 x8
8.0 GB/s Peak
4.8 GB/s Peak
CPU CPU
LSI Proprietary 15
Multipath
• Most of SAS drives have 2 SAS ports. Presence of more than one data path
between SAS drive and RAID adapter is called multipath.
• SATA drive enclosures either alternate connection between two channels or
utilize interposer devices providing multipath.
• Multipath can significantly increase performance for some applications (e.g.,
VTL/Backup and Media Streaming)
LSI Proprietary 16
Multipath Example
LSI Proprietary 17
Multipath Impact
• Sequential IO
– Significant performance gain on the sequential writes
– Dual path configuration outperformed single path on big block (64K
or bigger) sequential reads by 40%
• Random IO
– Dual path configuration outperforms single path one by 5% on small
block writes
– No difference is seen on random reads
• Summary
– Dual path implementation increases IO performance for VTL/Backup
and Media Streaming applications.
18
Appendix: IOmeter Workload Profile Examples
LSI Proprietary 19
1MB Sequential Read Profile
LSI Proprietary 20
1MB Sequential Write Profile
LSI Proprietary 21
4KB Random Read Profile
LSI Proprietary 22
4KB Random Write Profile
LSI Proprietary 23
8KB Online Transaction Processing (OLTP)
LSI Proprietary 24
Email Server Profile
LSI Proprietary 25
Workstation Profile
LSI Proprietary 26
Web Server Profile
LSI Proprietary 27
File Server Profile
LSI Proprietary 28
OS Drive
LSI Proprietary 29
OS Paging
LSI Proprietary 30
LSI Proprietary 31