Profiling Linux Code with perf and Flamegraphs
A hands-on guide to sampling CPU call stacks with perf and rendering them into flamegraphs that clearly expose the real hot functions in your code.
NetBay journal
26 practical Hardware & Performance articles from Netbay Engineering — written for operators running Linux and Windows VPS in India.
26 articles in this topic
A hands-on guide to sampling CPU call stacks with perf and rendering them into flamegraphs that clearly expose the real hot functions in your code.
How to benchmark CPU, RAM, disk, and network on a VPS so the numbers are actually meaningful, and the common traps that make those numbers lie.
Learn what load average and the Unix CPU steal column really mean on a shared VPS, and how to tell noisy neighbours from real, unavoidable demand.
How fstrim and the discard mount option keep a virtualized SSD from wearing out or reporting phantom usage, with the guest-side commands to verify.
A repeatable drill that walks a slow VPS from the uptime command and top down to a hot function, so you fix the real bottleneck instead of chasing a symptom.
Per-user and per-filesystem disk quotas on Linux, plus a capacity monitoring loop with thresholds and alerting so no volume ever fills silently.
Practical sysctl changes for high-traffic Linux servers, from socket buffers to queuing, that reduce latency without touching application code.
Grow a VPS volume group and an online ext4 or XFS logical volume with pvresize and lvextend -r, plus the caveats that make shrinking a different sport.
A practical method for sizing a VPS by measuring memory, CPU, and concurrent connections under real traffic, instead of guessing from the dashboard.
What RAID really protects on a single node, why hardware RAID is mostly a platform-level rental, and when mdadm software RAID is worth it on a VPS.
An overview of ext4, XFS, btrfs, and ZFS for VPS workloads: maturity, snapshots, checksums, and where each filesystem clearly wins or costs you.
Learn to read memory pressure on a VPS, distinguish reclaimable cache from real usage, and size your RAM well before the OOM killer ever acts.