Cgroups
Processing times are not comparable since different amounts of events were processed. (100 evts in the first and last case and 10 for case 2 and 3)
2 GB RAM (no cgroup)
(1 core VM)
8 GB RAM (no cgroup)
(4 core VM, 1 process)
8 GB RAM (cgroup: memory limit 2GB, swapiness 60)
(4 core VM, 1 process)
8 GB RAM (cgroup: memory limit 2GB, swapiness 60), VM swapiness 100
(4 core VM, 1 process)
Comparison
Looking at 4 different scenarios: The first and last one come the closest to being similar.
The 8 GB memory case doesn't use swap at all.
The 8 GB memory with cgroup limit does a lot of caching that increases the overall memory, which is inhibited by setting the swappiness of the whole VM in the last case.
--
GerhardFerdinandRzehorz - 2016-04-04
Topic revision: r1 - 2016-04-04
- unknown