Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
3eb4098d
"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "eaa4f03d7103c9af3556e3f9b61aa7bfc286d7f0"
Commit
3eb4098d
authored
Sep 26, 2022
by
Antoine Kaufmann
Browse files
experiments: update farmem experiment to add node draining flag
parent
0553b51a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
experiments/pyexps/farmem.py
experiments/pyexps/farmem.py
+2
-1
No files found.
experiments/pyexps/farmem.py
View file @
3eb4098d
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment