Skip to content
Dialga-ICPP25Public

About

ICPP 2025, "Accelerating Erasure Coding on Persistent Memory via Adaptive Prefetcher Scheduling"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dialga

Dialga is the persistent-memory erasure-code encode implementation for the Dialga paper. This repository keeps only the source code, build entry points, and documentation required by the adaptive prefetch scheduler. Experiment outputs, plotting artifacts, and prebuilt binaries are not committed.

Scope

  • src/test_ec.cpp: main benchmark entry point covering fixed/adaptive encode paths.
  • include/ec.hh: ISA-L based RS encode wrapper and the paper's prefetch paths.
  • include/prefetch_scheduler.hh: startup adaptive prefetch policy selector.
  • include/prefetch_manager.hh: hardware prefetcher state save, switch, and restore helpers.
  • include/pm.hh, include/utils.hh: DAX mapping, persistent writeback, NUMA, and benchmark helpers.
  • isa-l-pm: the ISA-L derived implementation used by the paper, included as vendored source.

The vendored isa-l-pm tree is based on Intel ISA-L 2.30 (2df39cf) with the encode and prefetch extensions used by this artifact. Unused post-2.30 update, decode, LRC, and AIO experiment paths are intentionally excluded.

Dependencies

Run on a Linux machine with Intel AVX512, NUMA, and PMem/DAX devices.

  • g++-11
  • libpmem / libpmem2
  • libnuma
  • pthread
  • autoconf, automake, libtool, and nasm for building the vendored isa-l-pm
  • numactl, required only when running experiments

Build

make -j

The top-level build configures and builds isa-l-pm automatically, then links test_ec against the vendored static library instead of a system libisal.

Clean local artifacts:

make clean
make -C isa-l-pm clean

Run

Main path example:

sudo numactl --cpubind=1 --membind=1 ./test_ec 1024 1 /dev/dax2.0 1 8 4 --adaptive

Fixed prefetch policy example:

sudo numactl --cpubind=1 --membind=1 ./test_ec 1024 1 /dev/dax2.0 1 8 4 8 --fixed

Optional PMU and hardware prefetcher search:

sudo numactl --cpubind=1 --membind=1 ./test_ec 1024 1 /dev/dax2.0 1 8 4 --adaptive --sample-pmu
sudo numactl --cpubind=1 --membind=1 ./test_ec 1024 1 /dev/dax2.0 1 8 4 --adaptive --search-hw-prefetch

--search-hw-prefetch accesses MSRs and restores the original state before exit. Confirm that the target machine permits this operation.

Output

The benchmark prints inside_result result lines to stdout. The repository no longer stores historical bench_result/, notebook, plot, or perf logs. Write reproduction outputs to a local temporary directory or external artifact storage.

About

ICPP 2025, "Accelerating Erasure Coding on Persistent Memory via Adaptive Prefetcher Scheduling"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages