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.

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.

MediumTechnical
28 practiced

Medium: A service under systemd sometimes fails to bind to a TCP port on startup with 'Address already in use' only when restarted quickly. How would you change the unit file and application to reduce the likelihood of this race? Explain TIME_WAIT implications and a system-level mitigation.

EasyTechnical
37 practiced

What is the Linux page cache, and how does the kernel use it to speed up reads and writes? Explain buffered writes and write-back behavior, what fsync actually guarantees, and how you'd tell whether a workload is genuinely benefiting from the page cache versus just accumulating memory pressure that you should reclaim.

MediumTechnical
30 practiced

Write a Python function that parses /proc/meminfo and returns a JSON object with fields MemTotal, MemFree, Buffers, Cached, SwapTotal, SwapFree, calculated used memory (MemTotal - MemFree - Buffers - Cached) and percent used. Make sure your parser handles missing fields and arbitrary line ordering.

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.

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.