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

spu: Restore workers priority after initialization #9646

Merged
merged 1 commit into from Jan 24, 2021

Conversation

AniLeo
Copy link
Member

@AniLeo AniLeo commented Jan 24, 2021

Priority is being lowered on initialization but not restored to 0 after initial cache is built.

@Nekotekina
Copy link
Member

That's right, need a RAII wrapper that restores priority in the destructor.

@AniLeo AniLeo changed the title [WIP] spu: Worker priority adjustments spu: Restore workers priority after initialization Jan 24, 2021
@Nekotekina Nekotekina merged commit 7c62574 into RPCS3:master Jan 24, 2021
@AniLeo
Copy link
Member Author

AniLeo commented Jan 25, 2021

Confirmed it fixes a performance regression, more notable on CPUs with less threads

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.

None yet

2 participants