max-grzanna / Eclipse-Kuksa-Automotive-Edge-Extension

Eclipse Kuksa Automotive Edge Extension
3 stars 0 forks source link

Evaluate Virtualization options for Eclipse Kanto #10

Closed bs-jokri closed 2 years ago

bs-jokri commented 2 years ago

Eclipse Kanto provides Debian packages [1], which run on a Debian-based (eg [5]) linux distribution. To run a linux distribution locally one can use a virtualization environment such as virtual box [2], KVM [3], Qemu [4]. Task is to select an appropriate virtualization option, which allows to run a Debian linux, which in turn can be host for Kanto.

[1] https://github.com/eclipse-kanto/kanto/releases/tag/v0.1.0-M1 [2] https://www.virtualbox.org/wiki/Downloads [3] https://www.linux-kvm.org/page/Main_Page [4] https://www.qemu.org [5] https://www.raspberrypi.com/software/

epic #2

Smock001 commented 2 years ago

After reviewing some empirical studies (cf. [1], [2]), user reviews (cf. [3], [4], [5]) and articles (e.g. [6], [7]), we decided to go with KVM as the virtualization option. Xen seems to be a bit unstable, not easy to use and under-performing in some cases. QEMU might be used in combination with KVM. VirtualBox and KVM show the most convincing results. While VirtualBox scores with an easy use and good performance stats, KVM is directly integrated into the Linux kernel, very mature, flexible and enterprise ready. The main reason why we decided on using KVM is the CPU resource consumption which seems to be a bit less with KVM. Giving that we are aiming at a lightweight solution, KVM might be the best fit.

[1] https://www.cnblogs.com/popsuper1982/p/3814574.html [2] https://www.researchgate.net/profile/Gregor-Von-Laszewski/publication/224257050_Analysis_of_Virtualization_Technologies_for_High_Performance_Computing_Environments/links/0912f502ba98670031000000/Analysis-of-Virtualization-Technologies-for-High-Performance-Computing-Environments.pdf?origin=publication_detail [3] https://www.peerspot.com/products/comparisons/kvm_vs_oracle-vm-virtualbox [4] https://www.peerspot.com/questions/what-is-the-biggest-difference-between-kvm-and-oracle-vm-virtualbox [5] https://forums.opensuse.org/showthread.php/504419-Xen-vs-KVM-vs-VirtualBox-vs-VMWare-Workstation [6] https://www.explorelinux.com/kvm-vs-virtualbox/ [7] https://www.ionos.de/digitalguide/server/konfiguration/virtualisierungssoftware-im-vergleich/