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

Accelerate iterative data writing through GPU power #507

Open
GoktugAlkan opened this issue May 19, 2023 · 2 comments
Open

Accelerate iterative data writing through GPU power #507

GoktugAlkan opened this issue May 19, 2023 · 2 comments

Comments

@GoktugAlkan
Copy link

Hello,

I am converting a large matrix with dimensions 261x252000000 to an NWB file. I am using the iterative data writing method. However, it takes a lot of time to finish the conversion. The computer where the large matrix is located and where we want to store the NWB file has a GPU.

Hence, I am wondering if GPU power can be used to accelerate this procedure. If this is not possible, could you suggest another approach to enhance the speed of the conversion?

Many thanks for considering my request!

@oruebel
Copy link
Contributor

oruebel commented May 19, 2023

The limiting factor on performance for conversion is not compute power (i.e., CPU or GPU resources) but the I/O bandwidth. Generally speaking, in the iterative write I would try and increase the amount of data that is being written at-a-time, e.g., instead of writing 10MB per iteration try to write 1GB per iteration.

@GoktugAlkan
Copy link
Author

GoktugAlkan commented May 22, 2023

Thanks @oruebel. Are there updates concerning writing data in parallel threads? I am referring to this discussion.

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