Performance Analysis

Performance Analysis

High-level overview of measuring and tuning system performance: open and closed loop testing, queueing theory, Little’s Law, thread pools, sliding windows.

Device Driver and Block I/O in xv6

Device Driver and Block I/O in xv6

Covers file system layers: device driver communication with disk controller, buffer cache management, block read/write operations, and logging for crash consistency.

Locking in xv6

Locking in xv6

Explains spinlock implementation using xchg instruction, interrupt disabling, ptable.lock across context switching, and critical section protection.