Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/sihangliu/xfdetector
Browse files Browse the repository at this point in the history
  • Loading branch information
warsier committed Dec 5, 2019
2 parents d7cc13e + 6fedecb commit 2f43a0c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* [Redis](#redis)
* [Memcached](#memcached)
* [Testing Other Workloads](#testing-other-workloads)


## Introduction to XFDetector
Persistent memory (PM) technologies, such as Intel's Optane memory, deliver high performance, byte-addressability and persistence, allowing program to directly manipulate persistent data in memory without OS overhead.
An important requirement of these programs is that persistent data must remain consistent across a failure, which we refer to as the crash consistency guarantee.
Expand Down Expand Up @@ -70,7 +72,9 @@ $ export PATH=$PATH:$PIN_ROOT
$ export PMEM_MMAP_HINT=0x10000000000
$ make
```
The tests would be runnable when `make` is done.
The tests would be runnable when `make` is done.
`PMEM_MMAP_HINT` is a debugging functionality from PMDK that maps PM to a predefined virtual address.
Proper exeuction of XFDetector requires that `PMEM_MMAP_HINT`, `PIN_ROOT` and `PATH` are set up.

The followings are the detailed instructions to build XFDetector and workloads separately.
**If compile all at once, skip the rest steps in Installation.**
Expand All @@ -79,7 +83,6 @@ The followings are the detailed instructions to build XFDetector and workloads s
```
$ export PIN_ROOT=<XFDetector Root>/pin-3.10
$ export PATH=$PATH:$PIN_ROOT
$ export PMEM_MMAP_HINT=0x10000000000
$ cd <XFDetector Root>/xfdetector/
$ make
```
Expand Down Expand Up @@ -135,6 +138,13 @@ Tests for the following programs are available in XFDetector:

We provide patches for reproducing some of the synthetic bugs that we created and reported in the paper. The scripts for applying the patches and running the buggy programs are under `xfdetector/` folder.

Before running any program, please execute the following commands under the root directory of XFDetector:
```
$ export PIN_ROOT=<XFDetector Root>/pin-3.10
$ export PATH=$PATH:$PIN_ROOT
$ export PMEM_MMAP_HINT=0x10000000000
```

The detailed steps for testing and reproducing bugs on those programs are as follows.

### PMDK Examples
Expand Down

0 comments on commit 2f43a0c

Please sign in to comment.