Thread (1 message) 1 message, 1 author, 2021-05-09

Re: v2 cpu.max question

From: Odin Ugedal <hidden>
Date: 2021-05-09 13:32:02

Hi,


s√∏n. 9. mai 2021 kl. 15:20 skrev Patrick Reader [off-list ref]:
"the group may consume upto $MAX in each $PERIOD duration". But $MAX what? Microseconds? Clock cycles? Arbitrary CPU scheduling units with only a relative meaning? Elephants? At the moment I don't know what values are sensible to set here.
Those numbers are in microseconds.

If you look at the "conventions" sections of the cgroup v2 docs [0],
it states; "The default time unit is microseconds. If a different unit
is ever used, an explicit unit suffix must be present."

[0]: https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#conventions

Thanks,
Odin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help