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

Game booting process doesn't use all threads available when RPCS3 Scheduler is selected on Thread Scheduler settings (Linux specific) #15578

Open
kpqi5858 opened this issue May 10, 2024 · 0 comments

Comments

@kpqi5858
Copy link

Quick summary

This is Linux specific issue.

When RPCS3 Scheduler or RPCS3 Alternative Scheduler is selected on Thread Scheduler settings, the game booting process (Compiling PPU modules, Building SPU cache, etc) doesn't use all threads available, making it considerably slower.

Details

On pthread_create(3) man page, it specifically mentions that child threads inherit the affinity mask of the calling thread. This causes the undesired behavior.

Linux-specific details
The new thread inherits copies of the calling thread's capability sets (see capabilities(7)) and CPU affinity mask (see sched_setaffinity(2)).

Attach a log file

N/A

Attach capture files for visual issues

No response

System configuration

No response

Other details

kd-11 said some words about this on discord

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

No branches or pull requests

2 participants