/sac4hm

sac4hm

Primary LanguageCGNU General Public License v3.0GPL-3.0

sac4hm

Prerequisite

Libs

You have to install the libzbc library before compile this code. Once you had install the libzbc, check if the libzbc*.so is in the /lib dir.

Traces

To execute this code normally, you need trace files as input requests, since the file size limitation in github, I put the needed trace files on Google Drive, you are demanded to download these files and manually put them into traces/ dir of this repository.

Compilation and installation

To compile the library and all example applications under the tools directory, execute the following commands.

git clone https://github.com/dcstrange/sac4hm.git && cd sac4hm
make

That will generatet the executable file test at the root dir.

Test

one line tests:

./test --algorithm CARS  --cache-size 16G 
./test --algorithm MOST  --cache-size 16G 
./test --algorithm CARS  --cache-size 16G --rmw-part 0
./test --algorithm CARS  --cache-size 16G --rmw-part 0 --workload-mode rw

Args

--cache-size Cache device size used.

--rmw-part If use RMW with Partitial feature, default 1

--algorithm Algorithm for deciding which the zone to evict, default CARS.

--workload-mode [r] read-only,[w] write-only,[rw] read-write, default [w].