Puppet Class: ganeti::kvm

Defined in:
modules/ganeti/manifests/kvm.pp

Overview

Class ganeti::kvm

Install KVM and setup Kernel Same-page Merging to save memory via memory deduplication

Parameters:

Actions:

Install KVM and configure Kernel Same-page Merging

Requires:

Sample Usage

include ganeti::kvm


15
16
17
18
19
20
21
22
23
24
25
26
# File 'modules/ganeti/manifests/kvm.pp', line 15

class ganeti::kvm {
    package { 'qemu-system-x86':
        ensure => present,
    }

    sysfs::parameters { 'ksm':
        values => {
            'kernel/mm/ksm/run'             => '0',
            'kernel/mm/ksm/sleep_millisecs' => '100',
        },
    }
}