Use Case 2: Concurrent CXL Access Contention on YCSB Benchmark
Use mbw
to access CXL memory as interference traffic to the running YCSB
application on the same CXL memory.
Steps:
- Run Redis on the CXL node:
sudo numactl --membind=4 redis-server
- Run YCSB-A workload:
sudo numactl --physcpubind=47 --membind=4 path/to/ycsb/bin/ycsb run redis -s -P path/to/ycsb/workloads/workloada -p "redis.host=127.0.0.1" -p "redis.port=6379"
- Run
mbw
to access CXL memory and introduce contention:
sudo numactl --physcpubind=32 --membind=4 mbw -t1 -n 2000 1024
- Use
online
mode to monitor traffic on host components, and store results in InfluxDB under the nameycsb-1mbw
:
python3.8 main.py monitor -app_exist ycsb -online esti -time 5 -savename ycsb-1mbw -path DRd,RFO,HWPF,DWr,LD,ST -pmu default