Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

VM BOOT VERY SLOW(more than 2000ms) #662

Open
haoyixin opened this issue Sep 20, 2017 · 2 comments
Open

VM BOOT VERY SLOW(more than 2000ms) #662

haoyixin opened this issue Sep 20, 2017 · 2 comments

Comments

@haoyixin
Copy link

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?

@haoyixin haoyixin changed the title BOOT VERY SLOW POD BOOT VERY SLOW Sep 21, 2017
@haoyixin haoyixin changed the title POD BOOT VERY SLOW VM BOOT VERY SLOW(more than 2000ms) Sep 29, 2017
@gnawux
Copy link
Member

gnawux commented Oct 8, 2017

@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.

@qianyuqiao
Copy link

I have the same problem,even worse

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants