File tree 10 files changed +14758
-47
lines changed
10 files changed +14758
-47
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,7 @@ make -j;
13
13
14
14
15
15
## Run
16
- You can run the example trace
16
+ You can run the example trace
17
+ ``` bash
18
+ ./cacheCluster
19
+ ```
Original file line number Diff line number Diff line change @@ -18,20 +18,13 @@ if ("${ZSTD_LIBRARIES}" STREQUAL "")
18
18
endif ()
19
19
20
20
21
- # https://github.com/jbeder/yaml-cpp
22
- # wget https://github.com/jbeder/yaml-cpp/archive/refs/tags/0.8.0.tar.gz
23
- # tar -xzf 0.8.0.tar.gz; mkdir yaml-cpp-0.8.0/_build; cd yaml-cpp-0.8.0/_build;
24
- # cmake -DBUILD_SHARED_LIBS=ON ..;
25
- # make -j; sudo make install
26
- find_package (YAML-CPP REQUIRED)
27
- # set(YAML_CPP_INCLUDE_DIR /usr/local/include/)
28
- # set(YAML_CPP_LIBRARIES /usr/local/lib/)
29
- include_directories (${YAML_CPP_INCLUDE_DIR} )
30
- message (STATUS ${YAML_CPP_INCLUDE_DIR} ";" ${YAML_CPP_LIBRARIES} )
31
-
32
21
33
22
file (GLOB ALL_SRC ${PROJECT_SOURCE_DIR} /*.cpp)
34
23
message (STATUS "all sources " ${ALL_SRC} )
35
24
add_executable (layeredCache ${ALL_SRC} )
36
- target_link_libraries (layeredCache yaml-cpp libCacheSim dl m ${GLib_LIBRARY} ${ZSTD_LIBRARIES} pthread)
25
+ target_link_libraries (layeredCache
26
+ -Wl,--whole-archive
27
+ libCacheSim
28
+ -Wl,--no -whole-archive
29
+ dl m ${GLib_LIBRARY} ${ZSTD_LIBRARIES} pthread)
37
30
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ It outputs the L2 miss ratio curve.
5
5
6
6
## Dependency
7
7
* libCacheSim: you must install libCacheSim first
8
- * libyaml: ` sudo apt install -yq libyaml-dev libyaml-cpp-dev `
9
8
10
9
11
10
## Build
@@ -19,5 +18,5 @@ make -j;
19
18
20
19
21
20
## Run
22
- ./layeredCache config.yaml
21
+ ./layeredCache ../ config.yaml
23
22
Original file line number Diff line number Diff line change 1
1
L1 :
2
- size : 8GB
2
+ size : 1MB
3
3
path :
4
- - /home/to/l1/trace
5
- - /home/to/l1/trace2
6
- - /home/to/l1/trace3
7
- - /home/to/l1/trace4
8
- - /home/to/l1/trace5
4
+ - ../../../data/cloudPhysicsIO.oracleGeneral.bin
9
5
10
6
L2 :
11
7
size :
12
- - 2GB
13
- - 4GB
14
- - 8GB
15
- - 16GB
16
- - 32GB
17
- - 64GB
18
- - 128GB
19
- - 256GB
20
- - 512GB
21
- - 1024GB
8
+ - 1MB
9
+ - 3MB
10
+ - 7MB
11
+ - 15MB
12
+ - 31MB
13
+ - 63MB
22
14
23
15
output : result
You can’t perform that action at this time.
0 commit comments