"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "eaa4f03d7103c9af3556e3f9b61aa7bfc286d7f0"
Commit 3eb4098d authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: update farmem experiment to add node draining flag

parent 0553b51a
...@@ -42,7 +42,7 @@ class FarMemTest(node.AppConfig): ...@@ -42,7 +42,7 @@ class FarMemTest(node.AppConfig):
'mount -t sysfs sysfs /sys', 'mount -t sysfs sysfs /sys',
'free -m', 'free -m',
(f'insmod /tmp/guest/farmem.ko base_addr=0x{self.addr:x} ' (f'insmod /tmp/guest/farmem.ko base_addr=0x{self.addr:x} '
f'size=0x{self.size:x} nnid=1'), f'size=0x{self.size:x} nnid=1 drain_node=1'),
'free -m', 'free -m',
'numactl -H', 'numactl -H',
'sleep 2' 'sleep 2'
...@@ -58,6 +58,7 @@ for h in ['gk']: ...@@ -58,6 +58,7 @@ for h in ['gk']:
mem.addr = 0x2000000000 #0x2000000000000000 mem.addr = 0x2000000000 #0x2000000000000000
node_config = node.NodeConfig() node_config = node.NodeConfig()
node_config.mem = 512
node_config.nockp = True node_config.nockp = True
node_config.kcmd_append += 'numa=fake=2' node_config.kcmd_append += 'numa=fake=2'
node_config.app = FarMemTest(mem.addr, mem.size) node_config.app = FarMemTest(mem.addr, mem.size)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment