MegaRAID Benchmark Tips January 27, 2010Benchmark 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 • Questions regarding configuration and benchmark results should be addressed to: – L SI Technical Support • support@lsi.com – ( For Product Evaluations) – C raig McCombs • craig.mccombs@lsi.com – J ames Evans • james.evans@lsi.com LSI Proprietary 2Elements that Effect Performance • System – M otherboard, Chip Set, BIOS, Processor, Memory • S ystem chip set and memory s peed can impact benchmark performance • R ecommend 8-wide (x8) PCIe Generation-2
slot for all 6 Gb/s SAS benchmarks – O perating System with latest Service Pack and Updates • RAID controller – Firmware, BIOS, driver version – D isk write cache policy setting –R A I D l e v e l – Stripe size – R ead and Write Caching policies • Drives – T otal number of drives • N umber of drives per channel – Enclosure model + firmware – D rive interface (SATA, SAS) and Speed (i.e. 1.5Gb/s, 3Gb/s, 6Gb/s) – M ake and model of drive – Firmware version – C lass of the drive (e.g., HDD disk drive, SSD solid state, etc.) • Benchmark Tool – Test profile ( Block Size, Sequential R ead or Write, Random Read or Write) LSI Proprietary 3
Tips Use the latest firmware for testing the RAID ...
Benchmark Review RequirementsProviding the following information will improve our ability to support product evaluationsSummaryoftestcasesyouwillbeperformingSystemdetailsandbenchmarkparameterslistedonslide3Questions regarding configuration and benchmark results should be addressed to:LSI Technical Supportsupport@lsi.com(For Product Evaluations)Craig McCombscraig.mccombs@lsi.comJames Evansjames.evans@lsi.comLSI Proprietary2
Elements that Effect PerformanceSystemMotherboard, Chip Set, BIOS, Processor, MemorySystem chip set and memory speed can impact benchmark performanceRecommend 8-wide (x8) PCIeGeneration-2 slot for all 6 Gb/s SAS benchmarksOperating System with latest Service Pack and UpdatesRAID controllerFirmware,BIOS,driverversionDiskwritecachepolicysettingRAID levelStripesizeRead and Write Caching policiesDrivesTotalnumberofdrivesNumber of drives per channel Enclosure model + firmwareDriveinterface(SATA,SAS)andSpeed(i.e.1.5Gb/s,3Gb/s,6Gb/s)Make and model of driveFirmware versionClassofthedrive(e.g.,HDDdiskdrive,SSDsolidstate,etc.)Benchmark ToolTestprofile(BlockSize,SequentialReadorWrite,RandomReadorWrite)LSI Proprietary3
spiTUse the latest firmware for testing the RAID controllerHowtoupdate(flash)RAIDoncontrollerFW?MegaRAID Storage Management (MSM)MegaRAID Command Line Interface (MegaCLI)Reboot systemDownload latest FW from MegaRAID DownloadsTo configure the RAID Adapter and create logical arrays use eitherCTRL-H utility during BIOS POSTUse MegaRAID Storage Management (MSM) running from OSUse the latest OS drivers (use Storportdriver when possible)Can be downloaded from MegaRAID DownloadsTo achieve maximum sustained RAID controller throughputFor maximum bandwidth (MB/s) use 64KB to 1MB sequential access patternsFor maximum operations (IO/s) use 0.5KB to 8KB random access pattersConnectenoughdrivestosaturatetheRAIDcontrollertoachievemaximumperformance. For example use 20 or more 15K SAS drives to achieve maximum bandwidth performanceUseallSASchannelsconnectedtodrivesordriveenclosuresWith multiple drive enclosures make sure drives evenly distributed across enclosuresDrivetechnologyandcachesizecansignificantlyimpactperformanceBenchmarkIOrequestqueuedepthwillimpactperformance.RecommendIOrequestqueue depth of 16 or greaterLSI Proprietary4
NOStandard Benchmark ToolIOmeteris a I/O performance analysis tool for servers and workstationsObtain latest IOmeterfrom Source ForgeIOmeterUsers Guide IOmeter.orgWindows 32-bit version (2006.07.27) satisfactory for 32-bit or 64-bit OSThroughput is measured in IO/sec and MB/secI/Os per second for random/transactional workloadsMegabytes per second for streaming/sequential workloads(See Appendix for IOmeterworkload configuration examples)TE:LSIcanprovideIOmeterLSI Proprietaryperformancetestscriptstogenerateresults5
Read PoliciesAdaptive Read AheadThis specifies that the controller uses read-ahead if the two most recent disk accesses occurred in sequential sectors. If all read requests are random, the algorithm reverts to No Read Ahead, however all requests are still evaluated for possible sequential operation.Recommended for all HDD configurationsAlways Read AheadThe controller reads ahead all the data until the end of the stripe from the diskNo Read Ahead Only the requested data is read and the controller does not read ahead any dataRecommended for all SDD configurationsLSI Proprietary8
Caching PoliciesDirect IOAll 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 setRecommended for all configurationsCached IOAll read and write data passes through controller cache memory on its way to or from host memory. Includes write data in Write-Through .edomThis legacy option is being eliminated in a future releaseLSI Proprietary9
Write PoliciesWrite-ThroughCachingstrategywheredataiswrittentodisksbeforeacompletionstatusisreturnedto the host operating system Consideredmoresecure,sinceapowerfailurewillbelesslikelytocauseundetecteddrive write data loss with no battery-backed cache presentRecommend Write-Through for RAID 0, 1 and 10 and all SSD configurationsProvides optimum performance for streaming/sequential benchmarksiSnitnocceadcahteaiwshimchovceadndiimrepcrtolyvefroovmerthalelpheorsftotromtahnecdeifsokrs,stitreaavmoiidnsgcwooprykilnogatdhseifdDaitraeicnttIeOrmmeodidaeriys.tesWrite-BackAcachingstrategywherewriteoperationsresultinacompletionstatusbeingsenttothe 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-Backismoreefficientifthetemporaland/orspatiallocalityoftherequestsissmaller than the controller cache size. Write-Backismoreefficientinenvironmentswithburstywriteactivity.Batterybackedcachecanbeusedtoprotectagainstdatalossasaresultofapowerfailure or system crash.Recommend Write-Back for RAID 0, 1, and 10 configurationsProvides optimum performance for transactional(random real world) benchmarksRecommend Write-Back for RAID 5 and 6 configurationsProvides best overall performanceImproves performance of RAID-5 and 6 data redundancy generationLSI Proprietary01
Cache VariablesRAID Controller CacheVarious cache sizes supported on RAID adaptersFaster cache speed improves sequential RAID 5/6 write performance:Example: DDR vsDDRIIExample: 533 MHz vs. 667 MHz vs. 800 MHzMemory bit width will affect RAID 5/6 Seq. write performance72-bit has up to an 18% advantage over 40-bitRecommend high speed and large size RAID cache memorySystem CachePerformance impacted by system chip set and memory speed for many IO workloads. However run IOmeterbenchmark on unformatted (raw) device. This bypasses system cache for accurate storage performance measurements.Drive CacheRecall performance impacted by drive cache size for many IO workloadsLSI Proprietary11