Re: [RFC][PATCH v3 0/7] introduce automatic pool compaction
From: Sergey Senozhatsky
Date: Thu Jun 18 2015 - 08:18:58 EST
Minchan, FYI,
I re-done the test (untouched almost_empty waterline).
Kernel log
test started [ 788.064886]
test ended [ 4025.914190]
test (doing `cp' in parallel):
(a) for i in {1..X}; do cp -R ~/git .; sync; rm -fr git/; done
# compiled kernel, with object files. 2.2G
(b) for i in {1..X}; do cp -R ~/linux/ .; sync; rm -fr linux/; done
(c) for i in {1..X}; do cp -R ~/glibc/ .; sync; rm -fr glibc/; done
Minimal si_meminfo(&si)->si.freeram observed on the system was: 6390
cat /sys/block/zram0/stat
31253 0 250024 316 12281689 0 98253512 141263 0 141590 141763
cat /sys/block/zram0/mm_stat
3183374336 2105262569 2140762112 0 2821394432 1864 358173
The results are:
compaction nr:2335 (full:953 part:60956)
ratio: 0.01539 (~1.53% of classes were fully compacted)
More or less same numbers.
-ss
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/