400 likes | 547 Views
TR 1-470 Performance Analysis for Dummies. Lars Ejskjaer Greg Ferguson. Understanding Performance Analysis Can Help You Sell Gain better understanding of your customers environment Grow awareness to possible system bottleneck areas
E N D
TR 1-470Performance Analysis for Dummies Lars Ejskjaer Greg Ferguson
Understanding Performance Analysis Can Help You Sell Gainbetterunderstanding of yourcustomersenvironment Growawareness to possible system bottleneckareas Understand changesthatcanenhanceyourcustomers overall satisfaction GettingStarted… Simple Analysis (1, 2, 3) Valuable Tools and Resources Agenda
The Customer Problem ”My storage is slow…”
Guide the customer to best practices Recommend solutions Administrative Product Provide advice in the context of their environment Your Goal
Understanding of how the customer’s environment was set up Ability to identify missed best practices Administrative Performance Ability to identify common performance issues What You Will Need To Know
Easily Collect Performance Data - Perfstathttps://communities.netapp.com/docs/DOC-16209 Pro Tip: Perform multiple smaller iterations versus one larger iteration for better visibility
Loading Data into LatX for Analysis https://latx.netapp.com/
Find and View the Perfstat NetApp Confidential – Limited Use
FindingSpecificData Pro Tip Use PRESTATS iteration 1 for configuration information Use POSTSTATS for performance measurements
Analysis Strategy • Understand Configuration • Aggregates • Volumes • Look for configuration errors • Analyze Performance • System • Disk • Flash • Make Recommendations
The Simple Analysis Part 1 Disk Configuration
Disk Types on the Controller Prestats- sysconfig -r Pro Tip Common disk types today: SAS, BSAS, MSATA
RAID Groups Poststats – statit Pro Tip Avoid unbalanced raid-groups in aggregates!
32-bit vs 64-bit Aggregates Prestats – aggr status -v Pro Tip • New features workbest (require) with 64-bits aggregates • Using one aggregate type makes the customer operations easier
Aggregate Utilization Poststats - df –A -h Pro Tip • An aggregate which is 80% full, shouldbemonitored • Aggregates over +90% fullcouldimpact performance
Aggregate Snapshot Copies Prestats - df –A –h, snap status -A & aggr status –v Pro Tip OnlySyncMirror and MetroClusteruseaggregate snapshots If not in use: • Remove schedule • Release space reservation NetApp Confidential – Limited Use
The Simple Analysis Part 2 Volumes
Volume Space Utilization Poststats - df & lun stat –v all (or vol status –v) Pro Tip Databases like Oracle initialize their data files or data couldbestatic so it couldbe fine that the volume is almostfull
Deduplication Poststats- stats perfstat_sis Pro Tip Savings less than 6-8% are just using resourceswithout a real effect, unless data is static, turn it off and save resources!
Deduplication Runtimes Poststats - sis status -l Pro Tip Deduplication is a low priority process but it still occupies system resources Work to understand run times to smooth system scheduling for better performance
Misalignment Poststats - nfsstat –d & lun stat –v all Pro Tip Understand what is in these files/LUNs Logfiles are often ”misaligned” Verifythat virtual machines are aligned
The Simple Analysis Part 3 System Performance
What Are Domains In Data ONTAP? • ONTAP breaks work into groups of processes called domains • ONTAP schedules work across CPU cores as IT sees best • This can be seen in Sysstat –M • Detailed analysis of this is an advanced topic
CPU Utilization Poststats - sysstatM.out Pro Tip: Average CPU utilization >70% depicts a verybusy controller CPU Utilization is a generally poorindicator of performance Look at AVG CPU – Single CPU (thread) utilization is very informative
Writing Data to Disk - CP Type & Time Poststats – sysstat_1sec.out Pro Tip Deferred Back-to-back CP’s are performance killers (type #) • Data can’tget to disk fast enough Investigate (ignoring the CPU utilization): • Mis-alignment • Disk over commited • Solutions: • Move load to anothercontroller/aggregate • Adddisks/Flash Cache
Aggregate Disk Utilization Poststats - statit Pro Tip Analyze performance impact based on drive utilization (by drive type) • SATA drives > 50% = busy • SAS drives > 60% = busy • Statitwill give cluesaboutwhere to move load to
Active Volumes Perfsys Report Pro Tip Mapvolumes to aggregates (aggr status –v) Identifyworkloads to move
FlashCache Perfsys Report Pro Tip Verifythat the system is benefiting from the use of FlashCache Use PCS and perfstat to verify a customersgains by use of FlashCache
Latency in the Environment Poststats - stats perfstat_cifs/_nfs/_fcp Pro Tip High latency = performance impact Latencyrequirementsvary by applicaton Analyze the workload and • Add Disk • Add FlashCache • Upgrade the Controllers
Review of Findings • We reviewed • High disk I/O’s • Busy volumes • Disk configuration issues • Average CPU utilization • Potential Flash Cache benefits • Mis-alignments
Recommendations • Resolve mis-alignments • Consider moving busy volumes • Add drives and reallocate to even out raid groups • Add Flash Cache • Upgrade Controllers • Add more Controllers within Clustered Data ONTAP
Now YOU Can Better Understand System Performance Don’t be afraid – performance is no longer such a mystery! Most importantly, monitor disk utilization! Have FUN!
Important Resources • The Community site • http://communities.netapp.com • ONTAP documentation (particularly ONTAP Command ref) • http://support.netapp.com • Latx – your analysis tool • http://latx.netapp.com
Complimentary Sessions • TR-1-123 Sizing, Designing, and Presenting a NetApp Solution • TR-2-717 Using NetApp Tech Tools to Create Winning Proposals and Tech Refreshes • TR-2-315 A Field Guide to Sizing - Part 1 • TR-3-317 A Field Guide to Sizing – Part 2
NEW! Take an Insight Survey! • Went to a different session? Need a translated survey? Visit the main survey page in the mobile app to take a daily survey – available in English, Chinese, Japanese and Korean. Click on the session number in your agenda. Click on the SurveysButton. Follow the prompts, complete the survey and submit! Complete this survey by 7PM and be entered to win one of the following prizes: 1 iPad Mini 16GB Wifi 1 Bose SoundLink Mini Bluetooth 2 Jawbone Up Wristbands (Activity Tracker) 4 NetApp Signature Dry Zone Caps
Facebook www.facebook.com/NetAppInsightAmericas www.facebook.com/NetAppInsightEMEA Twitter www.twitter.com/InsightAmericas www.twitter.com/InsightEMEA Tweet friends with #NTAPInsight