Hi Alex,
thank you for reminder. My opinion is that we should abstract cgroups
(as I mentioned on github) and make it possible to run all cgroup tests
by different ways. Then we could use current default or force desired
method.
Regards,
Lukáš
Dne 15.7.2013 07:50, liyang napsal(a):
Hi, Alex:
I think I can separate libcgroup-tools relevant codes from utils_cgroup.py,
then put it into libcgroup.py in the future.If libcgroup-tools is dropped
in the future, libcgroup.py will raise a ImportError.
For now libcgroup-tools still takes effective to current linux OS(Actually
rhel7α3 still has this tool), I think it's necessary to use it(Not only
use it,
but test its commands, like test virsh command) to control/test cgroup
subsystems.
On 2013-7-15 12:08, Alex Jia wrote:
BTW, the libcgroup* relevant packages may be dropped by F19 or RHEL7.y,
so we shouldn't depend on cmdline tools(e.g. lscgroup, lssubsys, cgget)
are provided by libcgroup-tools on F19 or RHEL7.y.
In addition, systemd already has support for assigning specific resources
to system services using various configuration settings on F19 or
RHEL7.y.
and with new "systemctl set-cgroup-attr" command the user can change
parameters
of the cgroup at runtime, and this immediately takes effect. With
"systemctl get-cgroup-attr" current values can be read.
_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel