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 file IO for loading halo catalogs #8

Open
lgarrison opened this issue Feb 23, 2021 · 0 comments
Open

Multi-threaded file IO for loading halo catalogs #8

lgarrison opened this issue Feb 23, 2021 · 0 comments

Comments

@lgarrison
Copy link
Member

lgarrison commented Feb 23, 2021

On network file systems, we can probably get better IO performance in CompaSOHaloCatalog by reading multiple files in parallel. Hopefully the time-intensive parts of the IO release the GIL, so we could just spin up Python-level threads and use a queue to pass the loaded arrays back to the main thread.

Note that each IO thread will additionally spin off 1 to 4 Blosc threads to do the decompression.

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

1 participant