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

Using MMAP to optimize I/O access #36

Open
hariharan-devarajan opened this issue Jul 26, 2023 · 1 comment
Open

Using MMAP to optimize I/O access #36

hariharan-devarajan opened this issue Jul 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@hariharan-devarajan
Copy link
Collaborator

Here are some places where we could optimize data access using MMap.

  1. Producer writes
  2. Broker read_all
  3. consumer reading.

Additionally, we can switch the consumer file to a dyad-specific cache file on SSD so that external apps do not access it by mistake. This is because the consistency of that cache file is only known by DYAD.

@ilumsden ilumsden added the enhancement New feature or request label Sep 7, 2023
@ilumsden
Copy link
Collaborator

Now that we are using UCX buffers, we need to make sure of the following:

  • UCX-allocated buffers are page aligned
  • UCX-allocated buffers comply with requirements for POSIX mmap
  • UCX supports transferring data to/from specialized memory allocators (e.g., hipMalloc on El Cap)

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

No branches or pull requests

2 participants