flux-framework / dyad

DYAD: DYnamic and Asynchronous Data Streamliner
GNU Lesser General Public License v3.0
7 stars 5 forks source link

Using MMAP to optimize I/O access #36

Open hariharan-devarajan opened 1 year ago

hariharan-devarajan commented 1 year ago

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 commented 2 months ago

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