-
Notifications
You must be signed in to change notification settings - Fork 68
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
RenderStatePackager is not using multiple threads on MacOS #88
Comments
@speedym What is stage of execution? Shader compilation or archive serialization? |
@MikhailGorobets I have sent a repro case via email as it is under NDA. I think only one instance of the metal tool is called at any given moment. |
I have just retested with the latest RenderStatePackager and I can confirm that this issue has not been fixed. The idle% when using top command line tool is 90%, and the average CPU usage is around 10%. |
The packager starts the specified number of threads, and on MacOS it starts individual process to compile shaders in every thread. Our initial investigation showed that there is a bottleneck in GLSLang memory allocator. |
Apparently, this works OK on M1 MacBooks, so there might be some issue on Apple side. |
CPU usage of RenderStatePackager is around 10% with 90% of the CPU being idle when compiling multiple .json files on MacOS (--metal_ios).
The text was updated successfully, but these errors were encountered: