You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See [Installation](/docs/installation) for full build details and [Locating build output](/docs/installation#locating-build-output) for more on finding artifacts.
See [build and installation](/docs/installation) for further details.
147
-
148
68
## Running the benchmark for SSD perf testing
149
69
150
70
Cachebench has three configs packaged for SSD validation. These are under `test_configs/ssd_perf/<service-domain>`. Currently, we have "graph_cache_leader", "kvcache_reg", and "kvcache_wc" which represent three distinct cache workloads from Facebook. Below, we show how the benchmarks can be run for two of these workloads. It is important to trim the ssds between the runs to ensure any interference is avoided.
151
71
152
72
153
-
1. Change to the path where you previously copied cachebench to.
2. If `/dev/md0` is not being used, edit workload files appropiately.
77
+
2. If `/dev/md0` is not being used, edit workload files appropriately.
158
78
Change all instances of `/dev/md0` to raw path of data SSD(s):
159
79
```sh
160
-
vi ./test_configs/ssd_perf/graph_cache_leader/config.json
161
-
vi ./test_configs/ssd_perf/kvcache_l2_wc/config.json
80
+
vi $INST_DIR/test_configs/ssd_perf/graph_cache_leader/config.json
81
+
vi $INST_DIR/test_configs/ssd_perf/kvcache_l2_wc/config.json
162
82
```
163
-
See [configuring storage path](Configuring_cachebench_parameters#storage-filedevicedirectory-path-info) for more details on how to configure the storage path.
83
+
See [configuring storage path](Configuring_cachebench_parameters#storage-filedevicedirectory-path-info) for more details on how to configure the storage path.
164
84
3. Before each benchmark run, fully trim the drive with fio:
0 commit comments