From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q9K22-0005Yr-HL for garchives@archives.gentoo.org; Mon, 11 Apr 2011 16:32:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5627E1C029; Mon, 11 Apr 2011 16:30:39 +0000 (UTC) Received: from mail-px0-f179.google.com (mail-px0-f179.google.com [209.85.212.179]) by pigeon.gentoo.org (Postfix) with ESMTP id 168131C029 for ; Mon, 11 Apr 2011 16:30:38 +0000 (UTC) Received: by pxi2 with SMTP id 2so3077032pxi.10 for ; Mon, 11 Apr 2011 09:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=MViXJGkePpd0O7eqxUfFITPuaV/LTwUyoaJvqOKhMeo=; b=M6JVvbk2NIkw0Z1hWNWq67V0ju2MWfBCMOjF811EIQVZejz5FdDjI0A5grhAN52MY4 YK02fm8dGdCweuxLRsXzICCI1ahL0ggZP1pJV30E1bppQlSc0ZEHxYy9ZTmFhxjQSwcj xpSdopu6Q9qLbywW02JzAJWVn/Rz86+BcjG7o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fG6xTbH+NoXdhhNNLBdfwgeSk9GSy+KYn8xFriEjPr//6KZPpoYRcn+SGveqNsF4US +gFo3+hBh6cmLWOV+PRwS686oNcU4cinzK4jOxcMeWGoc4gnYzLv9Wx6SA6z4pj2eUMZ tj6fcPBkdZvx9lrRWP+kVdfyiC7nFxI/CdFGU= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.142.218.16 with SMTP id q16mr5381088wfg.5.1302539438276; Mon, 11 Apr 2011 09:30:38 -0700 (PDT) Received: by 10.142.237.3 with HTTP; Mon, 11 Apr 2011 09:30:38 -0700 (PDT) In-Reply-To: <20110411151346.GE3775@ca.inter.net> References: <20110411151346.GE3775@ca.inter.net> Date: Tue, 12 Apr 2011 00:30:38 +0800 Message-ID: Subject: Re: [gentoo-user] are cgroups automatic ? From: dong l To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=000e0cd30b9086410e04a0a71831 X-Archives-Salt: X-Archives-Hash: fdcb257f83d6b865c867d9f0a5f1d732 --000e0cd30b9086410e04a0a71831 Content-Type: text/plain; charset=ISO-8859-1 You can dmesg|grep cgroup to see it works.. Sounds like rquiss@Karata-Laptop ~ $ dmesg|grep cgroup Initializing cgroup subsys cpuset Initializing cgroup subsys cpu allocated 41943040 bytes of page_cgroup please try 'cgroup_disable=memory' option if you don't want memory cgroups Initializing cgroup subsys ns Initializing cgroup subsys cpuacct Initializing cgroup subsys memory Initializing cgroup subsys devices Initializing cgroup subsys freezer Initializing cgroup subsys blkio 2011/4/11 Philip Webb > I have enabled cgroups in kernel 2.6.38 , but am not sure how they work. > There's nothing in the docs in /usr/src/linux > & a search via 'make menuconfig' shows nothing suggestive. > Does the kernel automatically set them up once they're enabled > or does the user have to do something to define them ? -- anyone know ? > > -- > ========================,,============================================ > SUPPORT ___________//___, Philip Webb > ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto > TRANSIT `-O----------O---' purslowatchassdotutorontodotca > > > --000e0cd30b9086410e04a0a71831 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You can dmesg|grep cgroup to see it works..
Sounds like
= rquiss@Karata-Laptop ~ $ dmesg|grep cgroup
Initializing cgroup su= bsys cpuset
Initializing cgroup subsys cpu
allocated 41= 943040 bytes of page_cgroup
please try 'cgroup_disable=3Dmemory' option if you don't w= ant memory cgroups
Initializing cgroup subsys ns
Initia= lizing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsy= s freezer
Initializing cgroup subsys blkio

2011/4/11 Philip Webb <purslow@ca.inter.net>
I have enabled cgroups in kernel 2.6.38 , b= ut am not sure how they work.
There's nothing in the docs in =A0/usr/src/linux
& a search via 'make menuconfig' shows nothing suggestive.
Does the kernel automatically set them up once they're enabled
or does the user have to do something to define them ? -- anyone know ?

--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D,,= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
SUPPORT =A0 =A0 ___________//___, =A0 Philip Webb
ELECTRIC =A0 /] [] [] [] [] []| =A0 Cities Centre, University of Toronto TRANSIT =A0 =A0`-O----------O---' =A0 purslowatchassdotutorontodotca


--000e0cd30b9086410e04a0a71831--