|
| From: | Michal Privoznik |
| Subject: | Re: [Qemu-devel] is qemu-2.1 support 1G hugepage |
| Date: | Mon, 27 Oct 2014 04:34:09 +0100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 24.10.2014 10:22, Linhaifeng wrote:
Hi,
I run qemu2.1 with 1G hugepage and found that VM can't start (too slowly?) but
can start with 2M hugepage quickly.
kernel version:3.10.0-123.6.3.el7.x86_64
command:qemu-kvm -name vm1 -enable-kvm -smp 2 -m 2048 -object
memory-backend-file,id=mem,size=2048M,mem-path=/dev/hugepages,share=on -numa
node,memdev=mem \
-chardev socket,id=chr0,path=/path/socket -netdev
type=vhost-user,id=net0,chardev=chr0 -device
virtio-net-pci,netdev=net0,mac=00:00:00:00:00:01
-drive file=/mnt/sdb/imgs/vm1.img -vnc :0
What's the error message you're seeing? What's the filesystem mounted on /dev/hugepages? Moreover, 1GB hugepages can't be allocated at runtime currently, so do you allocate them on the host boot up process?
Michal
| [Prev in Thread] | Current Thread | [Next in Thread] |