Skip to main content

16 docs tagged with "linux"

View all tags

Comparing RT and CFS Scheduling in Linux

This page compares RT (Real-Time) and CFS (Completely Fair Scheduler) scheduling classes in the Linux kernel, explaining their priorities, differences, and how they affect processes. It also covers kernel scheduling priorities, user space execution, and tools like rtkit that allow real-time scheduling for non-root users.

Creating and Exploring a Logical Disk

A hands-on lab for creating a logical disk using a loopback device, formatting it with ext4, and exploring the initial filesystem structures like lost+found, the superblock, and metadata overhead.

Kitty Terminal: Quick Setup Guide

A minimal, no-friction guide to setting up the kitty terminal on Ubuntu with sane defaults, SSH and tmux compatibility, and OS-level keybindings.

Linux Overview

An overview of Linux, including personal history and favorite resources, with mentions of affiliate links for products and courses.

Shadows on Disk: Ext4 Deletion and Recovery

Files deleted with `rm` don’t vanish instantly. Ext4 leaves behind traces — shadows on disk — that can sometimes be recovered with tools like debugfs. Let’s look behind the curtain.

To Disk and Back rm: A File's Tale

A narrative walkthrough of what happens when you write a file to disk (through the page cache, extents, and journaling) and deletion with `rm`. Think "Lord of the Rings," but for inodes.

Understanding Daemonization in Unix-like Systems

A deep dive into what makes a true daemon process on Unix-like systems. This article explains the proper steps to daemonize a process—forking, detaching, session creation—and debunks common misconceptions around using subshells or `source`.

Understanding Per-CPU Kernel Processes

Explore the role and operation of per-CPU processes, specifically kernel threads such as migration, idle-inject, ksoftirqd, and watchdog, in task migration, CPU load balancing, thermal management, and lockup detection.

Understanding the rtkit-daemon Service

The `rtkit-daemon` is a dbus-activated service that enables user processes to request temporary real-time scheduling without root access, ensuring applications like PulseAudio can function optimally without system-wide permission elevation.