libera/#devuan-arm/ Tuesday, 2021-08-17

VallAnyway, I need some info on how well (if at all) KVM/QEMU is running on Devuan ARM64, specially on the Raspberry Pi4. Can anyone please help?20:36
VallI'm about to make a major (for me) hardware investment, and want to check whether what I want to do is viable/doable/stable20:37
VallThe general idea is that I need to buy a Rpi3 or Rpi4 with at least 1GB of RAM to run a semi-closed/proprietary OS, this one to be precise: https://github.com/victronenergy/venus/wiki/raspberrypi-install-venus-image20:41
VallIt comes in the form of a image to burn into a SD card and boot from it20:42
VallUnderneath it runs a linux kernel20:42
VallSo, my idea is to buy a RPi4 8GB instead of a RPi3 1GB, install Devuan, then create a KVM/QEMU virtual machine to boot the above image20:43
VallI would need to passthrough a couple of USB ports to that V< plus bridge its IP traffic, but everything else is self-contained20:44
VallThat way, I have all the rest of the Rpi4 to play with other VMs, all running under Devuan awesomeness :-)20:45
VallSo, is it viable/doable/stable/etc?20:45
Valls/to that V</to that VM20:46
ShorTiea pi is no super computer20:55
VallShorTie: sure20:56
VallBut the above is no super-application either ;-)20:56
VallI'm pretty sure an Rpi4 8G will have more than enough CPU/RAM/etc to run the above and a few other things I also use20:58
agneliyou have no chance to check with some friend?20:58
VallSo my question is mainly regarding how well (stable, etc) KVM/QEMU on Devuan ARM6420:58
Vallagneli: nope, unfortunately I'm a kind of pioneer here20:59
agnelino internet store around with a strong return policy? like 14 days? :D20:59
VallHehehehe I wish ;-)20:59
VallI'm in Chile, no such thing around here20:59
agneli:)21:00
VallBRB21:01
agneliI use KVM heavily but not on arm, gentoo as host and then quest is devuan chimaera to runs some m$ shit, I use it on daily basis, I moved from virtualbox and I am quite happy21:03
agnelii am running the host off msd card via usb2 dongle, guest is also stored on that card...21:04
agnelii'd say it is very lowspec21:04
agneliI am not sure if that helps a lot :)21:04
sadsnorkVall, what's the purpose of running it inside a virtual machine rather than on the Pi?21:04
agneliif arm implementation has same quality i'd say it is perfect21:05
stiltrIf it's already designed to run on a Pi, maybe an LXC/LXD solution would work with a bit less overhead.21:06
ShorTiei think in the long run he would be better with 2 pi's22:15
ShorTieinstead of a 8gigger22:15
Vallbaxk22:25
Vall*back22:25
Vallsadsnork: the advantages are the usual ones re: VMs vs physical machines: less hardware to buy/manage/fix, less electrical power, etc22:28
VallShorTie: why? is the ARM64 KVM/QEMU implementation that bad?22:30
Vallstiltr: the guest OS vendor explicitly advises against containers22:31
Vallagneli: I myself am a heavy VirtualBox user, but no experience with KVM/QEMU22:32
Vallagneli: why the usb2 dongle? why not straight in the sdcard slot?22:34
sadsnorkVall, if you're only running one VM per physical machine I can't see it being any more hardware efficient.  I guess it would be less efficient at a 1:1 ratio.22:37
sadsnorkI can imagine that if you have an unencrypted host and fully encrypted guests it might make remote management easier when rebooting.22:38
ShorTielike i said, a pi is no super computer22:46
Vallsadsnork: sure. But the idea is to run stuff on the host, plus other VMs22:51
VallNothing heavy. I suspect average load will be under 4.0, so well within the Pi4's CPU22:51
TenkawaVall: are you cooling your pi?22:53
Tenkawaa constant load of that high is going to generate a lot of heat on a pi 422:54
Tenkawaand these tend to run hot already22:54
VallTenkawa: yep, I cool it with heatsink + fan23:01
VallNo worries there23:01
stiltrLXD does have a "vm" option. I've not tried it though. I don't know what's different about it.23:19
Vallstiltr: thanks for the info, will investigate23:22
stiltrBest of luck! If I remember, I might give it a try tonight when I get home. I've got a pi4 there I could test.23:24

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!