Hi,
Albeit a bit strange I'm trying to use a Docker container (Deepstack) in a LXC container. For Deepstack it is required to have a CPU with AXV or AXV2 support. When I run a Debian VM, with CPU type 'host', the Deepstack container runs fine and accepts connections, but when running the container on an LXC container, Deepstack does not function because it seems it does not 'see' the AVX flag of the CPU.
Is there a way for a LXC to see the CPU flags explicitly? When I run
in the LXC container, it does show AXV and AVX2:
Albeit a bit strange I'm trying to use a Docker container (Deepstack) in a LXC container. For Deepstack it is required to have a CPU with AXV or AXV2 support. When I run a Debian VM, with CPU type 'host', the Deepstack container runs fine and accepts connections, but when running the container on an LXC container, Deepstack does not function because it seems it does not 'see' the AVX flag of the CPU.
Is there a way for a LXC to see the CPU flags explicitly? When I run
Code:
cat /proc/cpuinfo
Code:
vendor_id : AuthenticAMD
cpu family : 25
model : 80
model name : AMD Ryzen 5 5600G with Radeon Graphics
...
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm
...