Systems Performance Analysis & Tuning Questions
Finding and fixing performance problems at the OS and low level: profiling CPU, memory, I/O, and lock contention, reading utilization and saturation signals, and using tools like perf, strace, and tracepoints. Covers cache behavior, false sharing, syscall overhead, and the methodology of isolating a bottleneck before optimizing.
You need to aggregate and compare syscall counts per process before and after a suspect change. Suggest a low-overhead method to collect aggregated syscall counts on a running host using perf or eBPF, describe how to store the baseline and subsequent samples, and how to detect statistically significant increases for alerting.
Design an observability and alerting strategy to detect and diagnose kernel-level memory leaks across a fleet of 10,000 Linux hosts running varied workloads. Requirements: detect leaks within 24 hours for services using >1GB, minimize false positives, provide per-host and per-service aggregation, support fast triage of top offenders, and consider cost. Describe metrics, sampling frequency, telemetry collection agents, storage retention, dashboards, and alert thresholds.
Case study: Your org runs a fleet where occasional kernel OOM events have caused data corruption in a critical service. As SRE lead, propose a remediation roadmap that covers immediate protective measures, medium-term fixes, and long-term policy and telemetry changes. Include stakeholder communication, testing plans, timelines, and trade-offs of each remediation step.
Your SLO allows 1 hour of downtime per month. A memory leak consumed 50% of that budget in week one. Propose an automation-first mitigation plan to keep future incidents within SLO: include auto-restart thresholds, autoscaling, alerting rules that prioritize on-call attention, and a roadmap to eliminate the leak. Explain trade-offs between rapid automation and masking the root cause.
You see an intermittent application error 'resource temporarily unavailable' on several instances. Outline a structured approach to correlate application logs with system metrics (CPU, memory, IO), kernel messages, and network traces to find the root cause. Include how to aggregate logs, align timestamps, and pick time windows for rare events.
Unlock Full Question Bank
Get access to all 46 Systems Performance Analysis & Tuning interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.