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)

vm2gb.png

8 GB RAM (no cgroup)

(4 core VM, 1 process)

no_limit.png

8 GB RAM (cgroup: memory limit 2GB, swapiness 60)

(4 core VM, 1 process)

swap_60.png

8 GB RAM (cgroup: memory limit 2GB, swapiness 60), VM swapiness 100

(4 core VM, 1 process)

swapmachine1.png

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

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2016-04-04 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback