hyperd icon indicating copy to clipboard operation
hyperd copied to clipboard

VM BOOT VERY SLOW(more than 2000ms)

Open hhkbble opened this issue 8 years ago • 2 comments

kernel version: 4.9.48 qemu version: 2.10.0 (with qboot bios) hyperd version: master

i did as document, but finally:

# hyperctl run -d --name centos7-test-1 --cpu=2 --memory=1024 --restart=always centos:7 sleep 86400
POD id is centos7-test-3
Time to run a POD is 2357 ms

I tried many times, but never below 2000ms

What went wrong?

hhkbble avatar Sep 20 '17 08:09 hhkbble

@haoyixin you can't enable qboot with default kernel/initrd because of the rom size restriction of qboot. The size of kernel/initrd is a trade off between footprint and functionality. However, if you enable the template/cache configuration in the configuration file, it could start in a few hundred milliseconds with the bigger kernel/initrd.

gnawux avatar Oct 08 '17 12:10 gnawux

I have the same problem,even worse

qianyuqiao avatar Feb 03 '18 10:02 qianyuqiao