$linuxjunkies
>
^^

Performance & Advanced

Kernel tuning, cgroups, profiling, virtualization, RAID and filesystems.

Performance & Advanced· 12 min read

How to Tune PostgreSQL for Performance

Tune PostgreSQL for production by configuring shared_buffers, work_mem, autovacuum, index hygiene, and pg_stat_statements query profiling — with per-distro commands.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 9 min read

How to Observe a Linux System with eBPF

Use bpftrace one-liners and BCC tools to trace syscalls, I/O latency, CPU flame graphs, and TCP sessions on a live Linux system with minimal overhead.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 9 min read

How to Benchmark Disk Performance with fio

Learn to benchmark Linux disk performance with fio: writing job files, testing latency and throughput, and interpreting IOPS and percentile output correctly.

IntermediateUbuntuDebianFedoraArch
Performance & Advanced· 10 min read

ZFS on Linux: The Basics

Set up OpenZFS on Linux: create pools with mirroring or RAID-Z, manage datasets with compression and quotas, and use snapshots for instant backups.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 9 min read

Understanding Linux Load Average

Load average measures scheduler demand—not CPU usage. Learn what the three numbers really mean, how to interpret them per CPU count, and how to separate CPU from I/O load.

IntermediateUbuntuDebianFedoraArch
Performance & Advanced· 9 min read

How to Tune Kernel Parameters with sysctl

Learn how to tune Linux kernel parameters at runtime and permanently using sysctl and /etc/sysctl.d, with practical network and VM tunables explained.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 11 min read

The Linux Framebuffer Console

Understand Linux framebuffer internals, the fbdev-to-DRM/KMS evolution, and how to set a crisp high-resolution console with the right kernel parameters.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 12 min read

Software RAID on Linux with mdadm

Build and manage Linux software RAID arrays with mdadm: choose the right RAID level, create and persist the array, monitor health, replace a failed disk, and handle boot safely.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 9 min read

How to Set Up KVM Virtualization

Set up KVM/QEMU virtualization on Linux with libvirt and virt-manager. Covers hardware checks, installation on Ubuntu, Fedora, and Arch, networking, and creating VMs.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 12 min read

How to Profile Linux Performance

Learn to profile Linux performance using the USE method, perf stat, perf record, flame graphs, and scheduler tracing to systematically find CPU, memory, and I/O bottlenecks.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 9 min read

LVM: The Logical Volume Manager Explained

Learn how LVM works — Physical Volumes, Volume Groups, Logical Volumes — then create, resize, and snapshot volumes with real commands on any major Linux distro.

IntermediateUbuntuDebianFedoraArch
Performance & Advanced· 12 min read

An Introduction to eBPF

Learn what eBPF is, how the kernel verifier keeps it safe, and how to use bpftrace to trace syscalls, disk I/O, and CPU scheduling with working examples.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 10 min read

An Introduction to cgroups

Learn how cgroups v2 work, how systemd maps services onto the cgroup tree, and how to set CPU, memory, and I/O limits for processes and services.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 10 min read

How to Compile the Linux Kernel

Step-by-step guide to downloading, configuring, compiling, and booting a custom Linux kernel from kernel.org on Debian, Fedora, and Arch Linux.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 9 min read

How to Build Software from Source on Linux

Build Linux software from source using configure, make, and make install — with dependency tips, CMake and Meson coverage, and clean-install strategies.

IntermediateUbuntuDebianFedoraArch
Performance & Advanced· 10 min read

Btrfs Basics and Snapshots

Learn Btrfs subvolumes, instant copy-on-write snapshots, and safe system rollback — with both manual btrfs commands and Snapper automation.

IntermediateUbuntuDebianFedoraArch
Performance & Advanced· 12 min read

Assembly Language on Linux: A Starter Guide

Write x86-64 assembly on Linux from scratch: install NASM and GAS, learn syscalls, assemble and link a working program, then inspect and debug it.

AdvancedUbuntuDebianFedoraArch
Performance & Advanced· 12 min read

AI and Artificial-Life Tools on Linux

Set up open-source AI/ML and artificial-life toolkits on Linux: PyTorch, JAX, DEAP, Avida, NetLogo, and RL environments with GPU driver guidance.

AdvancedUbuntuDebianFedoraArch