SCIENTIFIC-LINUX-USERS Archives

August 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Orion Poplawski <[log in to unmask]>
Reply To:
Orion Poplawski <[log in to unmask]>
Date:
Thu, 18 Aug 2011 09:52:11 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
On 08/17/2011 11:58 AM, Orion Poplawski wrote:
> I think I've managed to fix my kvm issues by putting libvirtd into the libvirt
> cgroup:
>
> /etc/sysconfig/libvirtd:\
> ...
> # cgroups
> CGROUP_DAEMON="cpu:/libvirt memory:/libvirt blkio:/libvirt"
>
> I think the host was just getting swamped by all of the guest activity.
> Putting all the VMs is a single cgroup seems to keep things in line.
>

That was wrong.  This should do it:

/etc/cgconfig.conf:

group virt {
        cpu {
        }
        memory {
        }
        blkio {
        }
}

/etc/sysconfig/libvirtd:

# cgroups
CGROUP_DAEMON="cpu:/virt memory:/virt blkio:/virt"


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [log in to unmask]
Boulder, CO 80301              http://www.cora.nwra.com

ATOM RSS1 RSS2