-
./traces/{2_pools, cs, cpp, gli, ps, sprite, multi1, multi2, multi3} are the trace files from LIRS. (
String format
) -
./traces/{w001, w002, ..., w106} : 106 week-long virtual disk traces collected by CloudPhysics’s caching analytics service in production VMware environments. (
Binary format
) -
./traces/{msr_proj, msr_src1, msr_src2, msr_web1} : 4 week-long enterprise server traces collected by Microsoft Research Cambridge. (
Binary format
) -
./traces/{Financial1, Financial2, websearch1, websearch2, websearch3} : 5 I/O traces from the UMass Trace Repository. (
String format
) -
./traces/{SCAN, Zigzag} : SCAN and Zigzag pattern respectively.
The binary-format trace is an array of unsigned int values (LBN:logical block number. For example, w101, you can use
bvi w106
to view the binary content).
sudo apt install libboost-all-dev
- --trace : which trace you want to run
- --trace_folder : folder store trace parameter, file name requires to keep the same as the trace file
- --readbinary : read file in binary mode
- --mem_size : cache size
- --method : using which replace algorithm(lirs2, lru, opt, lirs, arc)
- --batch : select false if there is a specific trace you want to run
- --trace_list : file that defines the trace list (--batch set to true)
mkdir build
cd build
cmake ..
make -j32
Running a single trace with string format
./replace --method=lirs2 --trace=Zigzag
Running a single trace with binary format
./replace --method=lirs2 --trace=w106 --readbinary=true
Running multiple traces with string format (must contain list.txt in the folder)
./replace --method=lirs2 --batch=true --trace_list="list.txt"
Running multiple methods including "lirs", "lirs2", "lru", "opt", "arc" (must contain list.txt in the folder)
./replace --method=all --batch=true --trace_list="list.txt"