WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit aa1cb43

Browse files
authored
Update README to include MEMU information
Added MEMU section detailing its functionality and usage.
1 parent cb3b92a commit aa1cb43

File tree

1 file changed

+35
-2
lines changed

1 file changed

+35
-2
lines changed

README.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# CXL.mem Simulator
1+
# CXLMemSim and MEMU
2+
3+
# CXLMemSim
24
The CXL.mem simulator uses the target latency for simulating the CPU perspective taking ROB and different cacheline states into penalty from the application level.
35

46
## Prerequisite
@@ -39,4 +41,35 @@ SPDLOG_LEVEL=debug ./CXLMemSim -t ./microbench/ld -i 5 -c 0,2 -d 85 -c 100,100 -
3941
booktitle={The fifth Young Architect Workshop (YArch'23)},
4042
year={2023}
4143
}
42-
```
44+
```
45+
46+
# MEMU
47+
48+
Compute Express Link (CXL) 3.0 introduces powerful memory pooling and promises to transform datacenter architectures. However, the lack of available CXL 3.0 hardware and the complexity of multi-host configurations pose significant challenges to the community. This paper presents MEMU, a comprehensive emulation framework that enables full CXL 3.0 functionality, including multi-host memory sharing and pooling support. MEMU provides emulation of CXL 3.0 features—such as fabric management, dynamic memory allocation, and coherent memory sharing across multiple hosts—in advance of real hardware availability. An evaluation of MEMU shows that it achieves performance within about 3x of projected native CXL 3.0 speeds having complete compatibility with existing CXL software stacks. We demonstrate the utility of MEMU through a case study on Genomics Pipeline, observing up to a 15% improvement in application performance compared to traditional RDMA-based approaches. MEMU is open-source and publicly available, aiming to accelerate CXL 3.0 research and development.
49+
50+
```bash
51+
sudo ip link add br0 type bridge
52+
sudo ip link set br0 up
53+
sudo ip addr add 192.168.100.1/24 dev br0
54+
for i in 0; do
55+
sudo ip tuntap add tap$i mode tap
56+
sudo ip link set tap$i up
57+
sudo ip link set tap$i master br0
58+
done
59+
mkdir build
60+
cd build
61+
wget https://asplos.dev/about/qemu.img
62+
wget https://asplos.dev/about/bzImage
63+
cp qemu.img qemu1.img
64+
../qemu_integration/launch_qemu_cxl1.sh
65+
# in qemu
66+
vi /usr/local/bin/*.sh
67+
# change 192.168.100.10 to 11
68+
vi /etc/hostname
69+
# change node0 to node1
70+
exit
71+
# out of qemu
72+
../qemu_integration/launch_qemu_cxl.sh &
73+
../qemu_integration/launch_qemu_cxl1.sh &
74+
```
75+

0 commit comments

Comments
 (0)