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

Multi-threaded DGEMM becomes less efficient on many-core CPUs #4644

Open
yamazakimitsufumi opened this issue Apr 15, 2024 · 1 comment
Open

Comments

@yamazakimitsufumi
Copy link
Contributor

OpenBLAS DGEMM achieves high efficiency, for example, over 90% of peak performance with 1 thread on Graviton3E, but the efficiency drops to about 73% when running DGEMM with 64 threads.
As is known, it is becoming difficult to keep high efficiency for multi-thread execution on recent many-core CPUs, even if high-performance kernels are implemented for single-thread execution.

I am considering to adjust the shape of the submatrix handled by each thread by modifying 2D thread distribution.
I would appreciate it if you could let me know if you have any suggestions.

graph

@brada4
Copy link
Contributor

brada4 commented Apr 15, 2024

8mb matrices are probably less than caches by magnitude.

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

No branches or pull requests

2 participants