I’ve been trying to identify the source of the VM issues that I’ve been having, and I’m starting to believe it’s a hardware compatibility issue that I haven’t figured out how to address.
Recently built up a new system intended to be used as my daily driver:
Ryzen 9 5950x, 128G Ram, Nvidia Quadro M2000, freshly installed FC34
I did configure FC34 to use XFS instead of the default btrfs (primarily due to familiarity).
The first set of VM that I started to build out was a training VM that I have a static build process for. This training VM is to be used to provide tutorials for others, and has a well documented installation process (part of the training). This is a RHEL 7 VM, started on a RHEL 7.7 base, and upgraded to the latest version. The point of this is to say there should be no functional reason why this VM should not work/install correctly.
During the installation of the VM I for the first time ever saw a message along the lines of “This processor is not part of the Red Hat supported hardware list, please consult blah blah blah”. This of course was my first indication there was an issue. The system still worked reasonably well but seemed extremely slow. I increased the CPU/RAM on the VMs from 1CPU/4g to 2CPU/8G and finally to 4CPU/16G to try to resolve the issue.
I’ve been using virt-manager to configure/manage my VMs. I tried multiple CPU architectures for emulation purposes - qemu64, kvm64, host-passthrough, host-model. All options resulted in the same extreme sluggishness on any CPU intensive operation.
The configuration/deployment process for the application (Red Hat Certificate System) failed every time, no matter what architecture or CPU/RAM configuration I used.
I recently re-deployed the same configuration on an FC31 box using a 2CPU/4G ram setup - and the VMs and application deployed without any issues.
Assistance in isolating the configurations required to deploy RHEL 7 VMs with the given hardware configuration would be appreciated.
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 48 bits physical, 48 bits virtual
On-line CPU(s) list: 0-31
Thread(s) per core: 2
Core(s) per socket: 16
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 25
Model name: AMD Ryzen 9 5950X 16-Core Processor
Frequency boost: enabled
CPU MHz: 2200.000
CPU max MHz: 5083.3979
CPU min MHz: 2200.0000
L1d cache: 512 KiB
L1i cache: 512 KiB
L2 cache: 8 MiB
L3 cache: 64 MiB
NUMA node0 CPU(s): 0-31
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and secc
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitiza
Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP
always-on, RSB filling
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pa
t pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid e
xtd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_
1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_lega
cy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch os
vw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perf
ctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb st
ibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a
rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 x
saves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero i
rperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save
tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfth
reshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vae
s vpclmulqdq rdpid overflow_recov succor smca fsrm
RANGE SIZE STATE REMOVABLE BLOCK
0x0000000000000000-0x000000107fffffff 66G online yes 0-32
Memory block size: 2G
Total online memory: 66G
Total offline memory: 0B
total used free shared buff/cache available
Mem: 64206 2825 59173 195 2206 60533
Swap: 12287 0 12287
NAME TYPE SIZE USED PRIO
/dev/dm-1 partition 4G 0B -2
/dev/zram0 partition 8G 0B 100
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram0 lzo-rle 8G 4K 80B 12K 32 [SWAP]
[root@midgard ~]# virt-host-validate
QEMU: Checking for hardware virtualization : PASS
QEMU: Checking if device /dev/kvm exists : FAIL (Check that the 'kvm-intel' or 'kvm-amd' modules are loaded & the BIOS has enabled virtualization)
QEMU: Checking if device /dev/vhost-net exists : PASS
QEMU: Checking if device /dev/net/tun exists : PASS
QEMU: Checking for cgroup 'cpu' controller support : PASS
QEMU: Checking for cgroup 'cpuacct' controller support : PASS
QEMU: Checking for cgroup 'cpuset' controller support : PASS
QEMU: Checking for cgroup 'memory' controller support : PASS
QEMU: Checking for cgroup 'devices' controller support : PASS
QEMU: Checking for cgroup 'blkio' controller support : PASS
QEMU: Checking for device assignment IOMMU support : PASS
QEMU: Checking if IOMMU is enabled by kernel : PASS
QEMU: Checking for secure guest support : WARN (Unknown if this platform has Secure Guest support)
LXC: Checking for Linux >= 2.6.26 : PASS
LXC: Checking for namespace ipc : PASS
LXC: Checking for namespace mnt : PASS
LXC: Checking for namespace pid : PASS
LXC: Checking for namespace uts : PASS
LXC: Checking for namespace net : PASS
LXC: Checking for namespace user : PASS
LXC: Checking for cgroup 'cpu' controller support : PASS
LXC: Checking for cgroup 'cpuacct' controller support : PASS
LXC: Checking for cgroup 'cpuset' controller support : PASS
LXC: Checking for cgroup 'memory' controller support : PASS
LXC: Checking for cgroup 'devices' controller support : PASS
LXC: Checking for cgroup 'freezer' controller support : FAIL (Enable 'freezer' in kernel Kconfig file or mount/enable cgroup controller in your system)
LXC: Checking for cgroup 'blkio' controller support : PASS
LXC: Checking if device /sys/fs/fuse/connections exists : PASS
Try importing the disk image as a new VM in GNOME Boxes.
Then you can specify the OS type as RHEL when configuring the VM.
It should generate the config using an optimized template for the specified OS.
gnome-boxes configured it for host-passthrough according to the XML, and for some reason decided to give it 32 CPU.
I did however notice some issues with the rpmdb which may have been the result of previous configuration issues (e.g. svm not being enabled properly). I’m working on a fresh rebuild of my test setup to see if the results are different now that that has been rectified.
The source of the problem was ultimately SVM not being turned on. I find this rather peculiar as the symptom was sluggishness, freezing, and more poor performance as opposed to an outright denial like I’ve experienced with intel-VT.
The secondary symptom was a result of the first. Looking back at the logs I had a failed RPM update on my deployment that causes duplicate packages to be present on the system. This resulted in application dependencies to be missing, which only manifested themselves during deployment.