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

[FEA] Use kvikIO for host_reads and host_writes #17228

Open
3 tasks
vuule opened this issue Oct 31, 2024 · 0 comments
Open
3 tasks

[FEA] Use kvikIO for host_reads and host_writes #17228

vuule opened this issue Oct 31, 2024 · 0 comments
Labels
cuIO cuIO issue feature request New feature or request improvement Improvement / enhancement to an existing function Performance Performance related issue

Comments

@vuule
Copy link
Contributor

vuule commented Oct 31, 2024

We currently only use kvikIO for the device_read and device_write calls, even though kvikIO implements parallel IO to/from host memory as well.

For reads:
By default, we perform memory mapping of the input file, and this is something that kvikIO does not support ATM. We should use kvikIO for host_reads when memory mapping is disabled, to benefit from multi-threaded reads.
We can also evaluate defaulting to kvikIO instead to memory mapping.

For writes:
We should default to kvikIO use, there are no internal optimizations that might be faster than kvikIO.

  • host_read
  • host_write
  • Evaluate memory mapping as the default.
@vuule vuule added cuIO cuIO issue feature request New feature or request improvement Improvement / enhancement to an existing function Performance Performance related issue labels Oct 31, 2024
@vuule vuule changed the title [FEA] When kvikIO is enabled, use it for host_reads as well [FEA] Use kvikIO for host_reads and host_writes Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuIO cuIO issue feature request New feature or request improvement Improvement / enhancement to an existing function Performance Performance related issue
Projects
Status: In Progress
Development

No branches or pull requests

1 participant