From 2720e9a9969eb439916802ffac181b85c6da6035 Mon Sep 17 00:00:00 2001 From: Jongyul Kim Date: Wed, 24 Jan 2024 02:56:42 -0600 Subject: [PATCH] Add some instructions. --- memtis-userspace/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/memtis-userspace/README.md b/memtis-userspace/README.md index 433a7dde7..22d1b1383 100644 --- a/memtis-userspace/README.md +++ b/memtis-userspace/README.md @@ -146,12 +146,17 @@ sudo echo 16 > /proc/sys/kernel/numa_balancing_demoted_threshold sudo echo 1 > /proc/sys/kernel/numa_balancing ``` -## Run with real CXL memory (`cxl` branch) +## Run with real CXL memory (`cxl` and `cxl-run-bench` branch) -Set env variables before excuting scripts as below. +Set proper DRAM size in the script of each benchmark (e.g. `bench_cmds/liblinear.sh`). + +Set env variables before excuting scripts as below. (Run benchmarks as a root.) ```shell cd memtis-userspace +sudo su source set_env.sh +./run-fig5-6-10.sh ``` +You need to use the proper dataset size of each benchmark that fits to the size of CXL memory. For example, you can split a dataset file of `liblinear` and use one of them.