THP & fork Memory Lab — Redis BGSAVE, copy-on-write and OOM under memory.max

local processing
Enter dataset size, density, THP mode, how fragmented memory is, writes during the snapshot and memory.max, and see resident memory, bloat, huge page fallbacks, compaction stalls, the new memory the writes cost on a kernel that splits or copies the whole 2 MiB page, and whether the cgroup is OOM-killed. Counts follow the kernel and are checked against a real kernel. Runs in your browser.