From: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
To: "Rosen, Rami" <rami.rosen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Zefan Li <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>,
"cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org"
<tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Subject: Re: question about cgroupv2
Date: Tue, 21 Jun 2016 16:34:00 +0800 [thread overview]
Message-ID: <5768FBF8.2060100@cn.fujitsu.com> (raw)
In-Reply-To: <9B0331B6EBBD0E4684FBFAEDA55776F92CD6983C-cNwSTNrqBuVnIh7sxsoRyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
Hi Rosen,
On 06/21/2016 03:38 PM, Rosen, Rami wrote:
> Hi, Ma,
>
>> Ah, it seems work, but I'm not sure.
>
>>> Then, I executed:
>>> # mount -t cgroup2 none /mnt
>
> It should work. The thing is, according to my trials from the past, it could be that systemd triggers mounting of cgroup V1 controllers. When I made trials with cgroup v2, eventually I turned on to disros which do not run systemd (namely, it was Ubuntu. You can set Ubuntu not to use systemd, even in most recent Ubuntu systems, where systemd became the default).
>
> What happens if you mount cgroup v2 now, after booting with cgroup_no_v1=all:
> mount -t cgroup2 none /mnt
>
> And then try to unmount cgroup v1 controllers like memory ?
> Do you see anything under /mnt?
Yes, after booting with cgroup_no_v1, then execute
#mount -t cgroup2 none /mnt
#cat /mnt/cgroup.controllers
io memory
There are controllers io and memory.
But, cgroup2 is not mounted in the system by default?
>
> And BTW (really a shameless plug), if you want to make experiments with the new
> cgroup v2 API, may I refer you to this article:
> "Understanding the new control groups API", March 2016
> https://lwn.net/Articles/679786/
Thanks for your information.
>
> Regards,
> Rami Rosen
> Intel Corporation
>
>
--
Ma Shimiao
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
next prev parent reply other threads:[~2016-06-21 8:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-18 2:11 question about cgroupv2 Ma Shimiao
[not found] ` <5764ADC5.20205-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-06-20 18:19 ` Tejun Heo
[not found] ` <20160620181929.GN3262-qYNAdHglDFBN0TnZuCh8vA@public.gmane.org>
2016-06-21 3:10 ` Ma Shimiao
2016-06-21 5:41 ` Zefan Li
[not found] ` <5768D36D.3060606-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2016-06-21 6:04 ` Ma Shimiao
[not found] ` <5768D8F5.1060107-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-06-21 7:38 ` Rosen, Rami
[not found] ` <9B0331B6EBBD0E4684FBFAEDA55776F92CD6983C-cNwSTNrqBuVnIh7sxsoRyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-06-21 8:34 ` Ma Shimiao [this message]
[not found] ` <5768FBF8.2060100-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2016-06-22 0:44 ` Zefan Li
[not found] ` <5769DF64.1040406-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2016-06-22 7:13 ` Rosen, Rami
[not found] ` <9B0331B6EBBD0E4684FBFAEDA55776F92CD6A674-cNwSTNrqBuVnIh7sxsoRyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-06-22 15:36 ` tj-DgEjT+Ai2ygdnm+yROfE0A
2016-06-27 1:42 ` James Bottomley
[not found] ` <1466991769.2241.28.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2016-06-27 8:22 ` Ma Shimiao
2016-06-28 16:45 ` tj-DgEjT+Ai2ygdnm+yROfE0A
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5768FBF8.2060100@cn.fujitsu.com \
--to=mashimiao.fnst-bthxqxjhjhxqfuhtdcdx3a@public.gmane.org \
--cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=rami.rosen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.