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

Speed and memory optimization ideas #8

Closed
andrewmilson opened this issue Nov 14, 2022 · 0 comments
Closed

Speed and memory optimization ideas #8

andrewmilson opened this issue Nov 14, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed refactor Can be written more cleanly

Comments

@andrewmilson
Copy link
Owner

With some of these I'm concerned about readability. I'd prefer to sacrifice a little bit of performance loss for readability. Also I'd like more benchmarks (which are rather minimal as of writing this) to evaluate the effectiveness of these changes.

Some initial ideas for optimisation:

  • Change global allocator to http://jemalloc.net/
  • Use uninitialised memory
  • Cache FFT twiddle and scale buffers
  • Branchless GPU kernels (MulPow is a prime candidate)
  • Use async with GPU calls for CPU+GPU parallelism

Would be great to hear other ideas

@andrewmilson andrewmilson added enhancement New feature or request help wanted Extra attention is needed refactor Can be written more cleanly labels Nov 14, 2022
@andrewmilson andrewmilson closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed refactor Can be written more cleanly
Projects
None yet
Development

No branches or pull requests

1 participant