-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ryzen 7950x lacks feature sse2 #5122
Comments
Message |
The vanilla code has a 1024-char buffer for CPU features, and I think it's being exceeded here. |
thanks @davidpanderson for looking into it, I've tried your branch, but it didn't help:
|
It will work only when Einstein@home makes this change in their server code. |
In the current version of the code (master branch), p_features size of the host record is still fixed 1024. That doesn't look right (and probably won't help):
https://github.com/BOINC/boinc/blob/master/db/boinc_db_types.h#L369 |
@davidpanderson, I believe this is a valid point. Could you please fix that as well? Thank you in advance |
Describe the bug
Einstein@Home tasks are being rejected with an error
[version] CPU [' family 25 model 97 stepping 2 '] lacks feature ' sse2 '
28.02.2023 17:45:16 | | Processor features: 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 amd_lbr_v2 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 perfmon_v2 ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl avx512vbmi u
as you can see the list is truncated because the internal buffer isn't large enough, but I'm not sure it's the reason for the original error...
cat /proc/cpuinfo
I manually tested cpuid feature check and it also says sse2 IS supported.
Steps To Reproduce
add a project Einstein@Home and enable Multi-Directional Gravitational Wave search on O3 (CPU)
Expected behavior
it doesn't accept work due to a missing feature sse2 which is supported on this CPU (no VMs or hacks are involved). Other boinc projects work just fine.
System Information
OS: Linux desktop-b49ep3v.easy.local 6.2.0-1275.native #1 SMP Wed Feb 22 18:59:06 PST 2023 x86_64 GNU/Linux
Additional context
see related code
https://github.com/BOINC/boinc/blob/master/lib/hostinfo.h#L53
https://github.com/BOINC/boinc/blob/master/client/hostinfo_unix.cpp#L530
https://github.com/BOINC/boinc/blob/master/client/hostinfo_unix.cpp#L683
and the original report https://einsteinathome.org/cs/content/ryzen-7950x-lacks-feature-sse2
let me know if there's more info / logs or tests I can provide. Thanks!
The text was updated successfully, but these errors were encountered: