Lab: Diagnose Performance Issue with esxtop & Logs
Objectives
- Simulate performance issue, use esxtop to identify bottleneck, collect logs, analyze and recommend fix.
Prerequisites
VCF lab environment deployed and operational
Lab Environment
Standard VCF lab environment for vSphere Foundation 9.0 Support (Support Specialist)
Tasks
Task 1 Lab: Diagnose Performance Issue with esxtop & Logs
Simulate performance issue, use esxtop to identify bottleneck, collect logs, analyze and recommend fix.
SSH to ESXi host, run esxtop in CPU view
Note current utilization (baseline)
Initiate heavy I/O workload (stress-ng or fio on VM)
Return to esxtop, observe latency and queue depth increasing
Switch to disk view, identify bottleneck disk
Switch to memory view, check for ballooning/swapping
Generate vm-support bundle: vm-support -w /tmp/host.tgz
Extract and review vmkernel.log for errors during workload
Document findings: bottleneck cause, recommendation (add disk, upgrade NIC, etc.)
Validation Gate
Check: Using esxtop, identify: which VM has highest CPU ready time, whether any host memory pressure exists (ballooning/swapping), and current disk latency per datastore
Expected: CPU: %RDY <5% for all VMs (or identified high-RDY VMs for investigation). Memory: SWCUR=0 and MCTLSZ=0 (no pressure). Disk: GAVG <20ms per datastore (or identified high-latency datastores).
Common Errors
Final Validation
Lab completed successfully
✓ All steps completed → No errors observed
Cleanup / Restore
• Revert to snapshot if needed
Design Reflection (VCDX)
Performance troubleshooting methodology is tested in VCDX defense. Panelists may present a performance scenario and expect you to describe your diagnostic approach — esxtop is the first tool you should mention.
Requirements
- Use esxtop to diagnose CPU, memory, disk, and network performance
- Capture batch mode output for historical analysis
- Correlate multi-dimensional metrics for root cause analysis
Constraints
- esxtop shows real-time data only — use batch mode for intermittent issues
- Performance diagnosis requires ESXi SSH access
- esxtop output is complex — know key metrics per dimension
Assumptions
- Baseline performance metrics are known for comparison
- ESXi SSH access is available during troubleshooting
Risks
- Misdiagnosing symptom dimension as root cause (CPU symptom with storage root cause)
- Missing intermittent issues without batch mode capture