System Resource & I/O Optimization Questions

Tuning how a system uses CPU, memory, disk, and network at the OS and I/O layer. Covers I/O throughput and blocking, buffering and batching, filesystem and kernel-level performance settings, and resource contention between processes. Includes OS-level performance tuning and diagnosing resource saturation on the host.

HardTechnical
28 practiced

Describe how to implement per-container block I/O rate limiting on Linux hosts to protect SSD/HDD IOPS using cgroups (blkio controller) or throttle mechanisms. Discuss fairness, burst behavior, latency impact, verification methods, and limitations of these approaches.

HardTechnical
36 practiced

Hard: A distributed service uses local disk for a write-ahead log. You observe that turning off write caching on the disk reduces data corruption risk but increases latency. Propose a multi-pronged approach (kernel, filesystem, hardware, and application-level) to minimize latency while preserving durability guarantees.

EasyTechnical
37 practiced

Define cgroups (control groups) at a high level and explain the difference between cgroups v1 and cgroups v2. As an SRE, why would you prefer cgroups v2 for new deployments?

MediumTechnical
26 practiced

Design a reproducible benchmark to compare disk throughput and latency across block sizes and queue depths using fio or similar tools. Specify exact test parameters (direct I/O flags, runtime, warmup, iodepth), metrics to capture, how to avoid page cache effects, and how to present results meaningfully.

HardTechnical
29 practiced

You observe intermittent spikes in load average on several hosts without corresponding high CPU or disk metrics. Propose a systematic debugging plan: list kernel-level phenomena that can explain this (blocked processes in D-state, NFS hangs, stuck IRQ handlers), which /proc fields and commands to inspect, and how to capture evidence of the root cause.

Unlock Full Question Bank

Get access to all System Resource & I/O Optimization interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.