masonr / yet-another-bench-script

YABS - a simple bash script to estimate Linux server performance using fio, iperf3, & Geekbench
Do What The F*ck You Want To Public License
4.22k stars 430 forks source link

VM type detection may be wrong on vultr vps #85

Closed xmxs closed 7 months ago

xmxs commented 8 months ago

vultr Vultr vps is powerd by kvm, systemd-detect-virt return wrong VM type.

masonr commented 7 months ago

This issue seems more applicable to https://github.com/systemd/systemd/issues -- I see some other issues in there relating to bad virtualization detection.

I am not aware of any other widely available utility that is typically installed and won't require additional dependencies/installation, so I don't really have any good alternative to switch to. virt-what, while probably more reliable, is not included in distros by default.

Closing for now unless there's a better means of detecting VM type that I'm not aware of.