[prev in list] [next in list] [prev in thread] [next in thread]
List: lxc-devel
Subject: [lxc-devel] Questions related to limit CPU priority
From: Oliver Schad <oliver.schad () automatic-server ! com>
Date: 2019-09-25 0:15:20
Message-ID: 20190925021520.36956548 () dickeberta
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Hi everybody,
I'm wondering, what the limit CPU priority should do: I see, that it
changes the container's cgroup "cpu.shares". However the base value of
cpu.shares is 1024, which is decreased by "10 - CPU priority"
So the minimum value of cgroup's CPU shares is 1014 with a LXC CPU
priority of "0". Because the weights for CPU time is relative to that
CPU share value, the CPU time of a container with the lowest priority
value 0 will only get 1% more CPU time in a concurrent load situation
compared to a default priority container - I guess most users wouldn't
expect that.
Do I overlook something?
I feature requests, which also include the above topic was opened by
Denis, https://github.com/lxc/lxd/issues/6231 - but because the issue
is more general, I would like to bring this specific topic here.
Best Regards
Oli
--
Automatic-Server AG •••••
Oliver Schad
Geschäftsführer
Turnerstrasse 2
9000 St. Gallen | Schweiz
www.automatic-server.com | oliver.schad@automatic-server.com
Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47
[Attachment #5 (application/pgp-signature)]
[Attachment #6 (text/plain)]
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic