Comment 14 for bug 1461012

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 1461012] Re: Hugepage and KSM not configured correctly under systemd

Quoting Dadio (<email address hidden>):
> I've investigated this issue in Willy:
>
> Hugepages are now mounted on /dev/hugepages and not in /run/hugepages

Hi,

Note that /etc/init.d/qemu-kvm calls /usr/share/qemu/init/qemu-kvm-init
which mounts hugepages under /run/hugepages.

The /dev/hugepages mounts appears to be done by systemd. We should
probably better coordinate, but filesystems really shouldn't be mounted
under /dev and we won't do this in a way that sacrifices compatibility
with other inits.

For now, setting KVM_HUGEPAGES=1 in /etc/default/qemu-kvm should
enable /run/hugepages on boot