-
Notifications
You must be signed in to change notification settings - Fork 377
Kata container startup time #1025
Comments
I see performance drop in Ubuntu too. What is the graph driver? Could you please run |
Hi @sahilsuneja1 @caoruidong - thanks for the report and question.
My best guess for NEMU is that maybe it is using a different type of BIOS or firmware boot. I don't know what the current status of that is, but I believe @rbradford has been looking into the options and their time and size impacts. |
@sahilsuneja1 try using kata-agent as init, see #768 (comment) |
qemu-lite will always be faster than anything else due to the fact it loads an uncompressed kernel binary. We're currently doing an investigation into improving boot time. You can see the details in this mailing list post: https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg03096.html In the medium term we're looking into switching Kata-NEMU from OVMF to Seabios. |
Thanks! |
Description of problem
Time to run a "hello world" container in kata comes out to be 2.2s when using default config (qemu-lite-system-x86_64), and 2.8s with Nemu. Are such absolute and relative times expected?
I do see some error logs in kata-collect-data.sh. Is that a contributor? How do I resolve this?
kata-runtime -v
kata-runtime kata-env | awk -v RS= '/[Hypervisor]/'
cd ~/rootfs/node:11.2.0
time kata-runtime run -b . 851428da-ffd3-11e8-9cf1-0aecc8e7ab67
Expected result
2.2s seems too high. Plus, nemu should be faster if I am not wrong.
kata-collect-data.sh
Meta details
Running
kata-collect-data.sh
version1.4.0 (commit 21f0059)
at2018-12-14.14:08:01.509881815-0500
.Runtime is
/usr/bin/kata-runtime
.kata-env
Output of "
/usr/bin/kata-runtime kata-env
":Runtime config files
Runtime default config files
Runtime config file contents
Config file
/etc/kata-containers/configuration.toml
not foundOutput of "
cat "/usr/share/defaults/kata-containers/configuration.toml"
":KSM throttler
version
Output of "
/usr/libexec/kata-ksm-throttler/kata-ksm-throttler --version
":systemd service
Image details
Initrd details
No initrd
Logfiles
Runtime logs
Recent runtime problems found in system journal:
Proxy logs
Recent proxy problems found in system journal:
Shim logs
No recent shim problems found in system journal.
Throttler logs
No recent throttler problems found in system journal.
Container manager details
Have
docker
Docker
Output of "
docker version
":Output of "
docker info
":Output of "
systemctl show docker
":No
kubectl
Packages
Have
dpkg
Output of "
dpkg -l|egrep "(cc-oci-runtimecc-runtimerunv|kata-proxy|kata-runtime|kata-shim|kata-ksm-throttler|kata-containers-image|linux-container|qemu-)"
":No
rpm
The text was updated successfully, but these errors were encountered: