| # Set to 1 to enable KSM, 0 to disable KSM, and AUTO to use default settings. |
| # After changing this setting restart the qemu-kvm service. |
| KSM_ENABLED={{ params.get('ksm_enabled', 'AUTO') }} |
| SLEEP_MILLISECS={{ params.get('sleep_millisecs', 200) }} |
| |
| # To load the vhost_net module, which in some cases can speed up |
| # network performance, set VHOST_NET_ENABLED to 1. |
| #VHOST_NET_ENABLED=0 |
| {%- if params.vhost_net_enabled is defined %} |
| VHOST_NET_ENABLED={{ params.vhost_net_enabled }} |
| {%- endif %} |
| |
| # Set this to 1 if you want hugepages to be available to kvm under |
| # /run/hugepages/kvm |
| #KVM_HUGEPAGES=0 |
| {%- if params.kvm_hugepages is defined %} |
| KVM_HUGEPAGES={{ params.kvm_hugepages }} |
| {%- endif %} |