
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2022-12-10 at 11:03 +0100, Stakanov wrote:
I tried to run the command for TW on Leap but obviously ...that did not work.
The command I did run was:
/lib64/ld-linux-x86-64.so.2 --help
Does not work on Leap.
One workaround would be to use life DVD with TW but .... if there is a command anybody is aware of in Leap, I am taker.
Apparently, no. Not one that does it correctly. Felix proposed "inxi -Cxx --vs" with version 3.3.21-00 or better: (<https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/WKGFV55P3X3TIKPUAKAVLE67XTBSZVJU/>) FM> # inxi -Cxx --vs FM> inxi 3.3.21-00 (2022-08-22) FM> CPU: FM> Info: dual core model: Intel Core i3-4150T bits: 64 type: MT MCP FM> arch: Haswell level: v3 ... · · · · · · · · · · · · · · ***** But that doesn't work now on the two machines I have now running, with version 3.3.23-00: Telcontar:~ # inxi -Cxx --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: 6-core model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen 2 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB Speed (MHz): avg: 2200 min/max: 2200/3800 boost: enabled cores: 1: 2200 2: 2200 3: 2200 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200 bogomips: 91203 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Telcontar:~ # cer@Isengard:~> inxi -Cxx --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: quad core model: Intel Pentium N3710 bits: 64 type: MCP arch: Airmont rev: 4 cache: L1: 224 KiB L2: 2 MiB Speed (MHz): avg: 2387 high: 2537 min/max: 480/2560 cores: 1: 2290 2: 2286 3: 2435 4: 2537 bogomips: 12800 Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx cer@Isengard:~> No indication of the level that I can see. Now Felix proposes "inxi -SC", but I do not see the CPU level in his example, nor when I run it here. And, Andrei Borzenkov said inxi does it wrong. <https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/VZAXMLRKSWSSBU4PD6TDIV4TINJMIZ3E/> There was the idea of an awk script, which Andrei also says it is wrong. So it seems that the only proper posibility is to run a TW live. The script is this: cer@Isengard:~> cat bin/cpulevel #!/usr/bin/awk -f BEGIN { while (!/flags/) if (getline < "/proc/cpuinfo" != 1) exit 1 if (/lm/&&/cmov/&&/cx8/&&/fpu/&&/fxsr/&&/mmx/&&/syscall/&&/sse2/) level = 1 if (level == 1 && /cx16/&&/lahf/&&/popcnt/&&/sse4_1/&&/sse4_2/&&/ssse3/) level = 2 if (level == 2 && /avx/&&/avx2/&&/bmi1/&&/bmi2/&&/f16c/&&/fma/&&/abm/&&/movbe/&&/xsave/) level = 3 if (level == 3 && /avx512f/&&/avx512bw/&&/avx512cd/&&/avx512dq/&&/avx512vl/) level = 4 if (level > 0) { print "CPU supports x86-64-v" level; exit level + 1 } exit 1 } cer@Isengard:~> Anyway: cer@Isengard:~> cpulevel CPU supports x86-64-v2 cer@Isengard:~> cer@Telcontar:~> cpulevel CPU supports x86-64-v3 cer@Telcontar:~> - -- Cheers, Carlos E. R. (from openSUSE 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCY5SHlhwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVA1sAoIi0ycRHrNYUSz6pC/z8 Tv536hDiAKCRRnd1l+X//kpVYHHKEIB2JO0GOg== =gUud -----END PGP SIGNATURE-----