Using Linux CGroups with Docker containers

Introduction to Control Groups Starting at the source of all information - The Linux kernel documentation for cgroups cgroups.txt. Control Groups provide a mechanism for aggregating/partitioning sets of tasks, and all their future children, into hierarchical groups with specialized behaviour. Definitions: A cgroup associates a set of tasks with a set of parameters for one or more subsystems. A subsystem is a module that makes use of the task grouping facilities provided by cgroups to treat groups of tasks in particular ways.

Read more →

KVM vCPU Scheduling

I was interested in understanding how cpu resource management in a Linux KVM based solution, such as oVirt worked and drawing some comparisons with other hypervisor technologies such as vSphere ESX. This isn’t meant to be an in-depth analysis of every feature of each hypervisor, i’m interested in KVM and the other references are just to help position things in my mind. Initially, i’m going to start with ESX to create a baseline against which I can compare KVM.

Read more →