I’ve been running a UniFi app inside a TrueNAS box with an Intel Core i7-2600 CPU.
However, the last version of the app (2.1.3) will not deploy on this machine, with the log stating that “*** THE x86_64 CPU in THIS SYSTEM DOES NOT SUPPORT AVX EXTENSIONS ***”
I have confirmed that this CPU has AVX extensions; not only that, but opening a shell into other running apps in the same box and running
grep avx /proc/cpuinfo
shows that the flag is being passed to the Docker containers.
Is there a way to force a container to recognize that the CPU does indeed have AVX extensions?
In general there’s relatively little software that just uses AVX, not AVX2 since there’s very few CPUs that have just AVX without immediately using AVX2.
The x86_64-v2 baseline doesn’t include any AVX (just SSE 4.2) and v3 immediately jumps to AVX2
Thank you; that’s probably the issue - my CPU does not have AVX2 extensions.
I was waiting for an excuse to change the customer’s router from an old EdgeRouter to a Cloud Gateway and native UniFi support - that’s the easiest (though not cheapest) way.