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
29 practiced

At the kernel level, what commonly causes spikes in context-switch rates? Describe kernel parameters or user-space strategies to reduce context switching, including thread models, futex usage, lock contention, and potential side effects of scheduler changes.

MediumTechnical
35 practiced

Compare O_DIRECT (direct I/O) and fsync-related durability semantics. How do they interact with filesystem buffering and device write caches (battery-backed or volatile), and what are the performance and correctness trade-offs for database systems?

HardSystem Design
53 practiced

Design resource-isolation and QoS policies for a multi-tenant Kubernetes cluster to prevent noisy-neighbor memory and I/O issues. Include admission controls, default resource requests/limits, QoS classes, eviction thresholds, node-level cgroup settings, and any custom controllers or webhooks you'd implement.

HardTechnical
27 practiced

Explain CPU 'steal' time observed on VMs. What does it indicate about hypervisor scheduling behavior, how does it manifest to tenant workloads, and what steps can you take as an SRE to detect and mitigate steal across cloud hosts?

HardTechnical
28 practiced

Hard: On a NUMA system, a database exhibits poor performance after a kernel upgrade. Explain how NUMA misplacement can lead to this regression and provide a stepwise approach (commands and experiments) to detect and remediate NUMA-related memory allocation issues for the DB process.

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.