Linux Kernel & /proc
Monolithic kernel design, loadable modules, /proc and /sys filesystems, and sysctl tunables.
Overview
Overview The Linux kernel is monolithic: all core subsystems (memory management, process scheduling, filesystems, networking, device drivers) run in kernel space at the same privilege level. In a microkernel, those subsystems run as separate processes instead. The monolithic design gives better performance at the cost of isolation, because a kernel bug can crash the entire system.
Key concepts
- Monolithic kernel
- Kernel modules (lsmod/modprobe)
- /proc filesystem
- sysctl
Interview questions
- What is the difference between lsmod, modprobe, and insmod? When would you use each?
- How would you tune the kernel to allow a server to handle more concurrent TCP connections?
Sign up free to read the full topic
More Linux topics
Start free on Cariara · Coding problems · System design studio