mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-27 21:09:05 +01:00
Add setup_zswap.sh and make setup_zram.sh its one-command revert (shared lib/swap_switch.sh: systemd-boot/GRUB cmdline, live switch or exit 3 "reboot to apply"). Add swap_bench.sh + python_pkg/swap_bench, a seeded memory-pressure benchmark. 3 runs x 2 setups in vmbox and on the host: zram has lower median PSI full in both (VM 5996 vs 10360 ms, host 7427 vs 8973 ms), so the host keeps booting with zram. Results in linux_configuration/fixes/DOCS-zswap-vs-zram.md. Bug-class-check: none — new feature and measurement, not a bug fix Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
1.5 KiB
Plaintext
14 lines
1.5 KiB
Plaintext
date env setup seed size_mib pages fill_crc touch_crc seconds ratio psi_some_ms psi_full_ms majflt disk_wb_pages zswpwb global_full_avg10 desktop_full_ms
|
|
2026-11-27T10:59:54Z vm zram 20261127 4608 1179648 531769134 2573270970 18.928 3.21 5996 5996 127223 0 0 34.56 na
|
|
2026-11-27T11:00:14Z vm zram 20261127 4608 1179648 531769134 2573270970 13.248 3.21 5782 5782 124816 0 0 39.31 na
|
|
2026-11-27T11:00:35Z vm zram 20261127 4608 1179648 531769134 2573270970 13.393 3.21 6118 6118 124559 0 0 43.00 na
|
|
2026-11-27T11:02:00Z vm zswap 20261127 4608 1179648 531769134 2573270970 28.698 3.15 10366 10360 147757 92 92 38.06 na
|
|
2026-11-27T11:02:29Z vm zswap 20261127 4608 1179648 531769134 2573270970 20.711 3.16 8833 8832 210005 128 128 40.12 na
|
|
2026-11-27T11:03:04Z vm zswap 20261127 4608 1179648 531769134 2573270970 27.756 3.18 12828 12826 127486 0 0 52.34 na
|
|
2026-11-27T11:16:58Z host zram 20261127 6144 1572864 2708526455 3876889511 24.548 2.83 5546 5546 177006 0 0 4.65 14
|
|
2026-11-27T11:17:33Z host zram 20261127 6144 1572864 2708526455 3876889511 30.586 2.82 8223 8223 168862 0 0 4.21 1
|
|
2026-11-27T11:18:05Z host zram 20261127 6144 1572864 2708526455 3876889511 29.029 3.18 7427 7427 172634 0 0 4.97 0
|
|
2026-11-27T11:20:54Z host zswap 20261127 6144 1572864 2708526455 3876889511 49.381 3.21 11684 11684 218408 617001 586700 3.06 6
|
|
2026-11-27T11:21:45Z host zswap 20261127 6144 1572864 2708526455 3876889511 45.383 3.21 8973 8973 208093 584944 453067 9.56 29
|
|
2026-11-27T11:22:25Z host zswap 20261127 6144 1572864 2708526455 3876889511 35.541 3.21 5490 5490 223518 835213 331649 7.50 13
|