Feature #5421

use memory and cpuset croups as base for resource calculation

Added by Anton Todorov over 3 years ago.

Status:PendingStart date:10/02/2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Drivers - Monitor
Target version:-
Resolution: Pull request:

Description

Hi,

The recent linux distributions use cgroup for memory and cpu separation when a cgroup is in use, like 'machine.slice' or similar (configurable?) use size in the cgroup and the count of CPUs in the relevant cgroups.

Currently we have a script to query and calculate the values for RESERVED_* variables per each host: https://github.com/OpenNebula/addon-storpool/blob/master/misc/reserved.sh

Best Regards,
Anton Todorov

Also available in: Atom PDF