Skip to content
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

client and server: increase p_features size from 1024 to 8192. #5123

Merged
merged 2 commits into from
Mar 4, 2023

Conversation

davidpanderson
Copy link
Contributor

1024 wasn't enough for some CPUs.
This caused some hosts to not get sse3 app versions, for example.

Note: ideally we'd change this to std::string.
But that would have disrupted the code that populates it (hostinfo_unix.cpp, hostinfo_win.cpp).
Easier/safer to do it this way.

Fixes #5122

1024 wasn't enough for some CPUs.
This caused some hosts to not get sse3 app versions, for example.

Note: ideally we'd change this to std::string.
But that would have disrupted the code that populates it
(hostinfo_unix.cpp, hostinfo_win.cpp).
Easier/safer to do it this way.
@davidpanderson davidpanderson requested a review from AenBleidd March 2, 2023 22:31
@AenBleidd
Copy link
Member

Android and Webassembly are expected to fail, so could be ignored for now

@AenBleidd AenBleidd self-assigned this Mar 3, 2023
client/hostinfo_unix.cpp Show resolved Hide resolved
sched/plan_class_spec.cpp Show resolved Hide resolved
@AenBleidd AenBleidd merged commit 8494e83 into master Mar 4, 2023
@AenBleidd AenBleidd deleted the dpa_p_features2 branch August 15, 2023 09:23
@bema-aei
Copy link
Contributor

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):

char p_features[1024];

https://github.com/BOINC/boinc/blob/master/db/boinc_db_types.h#L369

@bema-aei
Copy link
Contributor

@davidpanderson @AenBleidd this probably isn't fixed yet.

bema-aei added a commit to bema-aei/boinc that referenced this pull request Oct 16, 2023
bema-aei added a commit to bema-aei/boinc that referenced this pull request Oct 16, 2023
AenBleidd added a commit that referenced this pull request Oct 16, 2023
complete #5123: client and server: increase p_features size from 1024 to 8192
@bema-aei
Copy link
Contributor

@AenBleidd @davidpanderson does this omission in boinc_db_types affect the server only, or the client as well?

@AenBleidd
Copy link
Member

@bema-aei, from what I see in the code, this is for the server only

@davidpanderson
Copy link
Contributor Author

Server only. Thanks for fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ryzen 7950x lacks feature sse2
3 participants