Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
i4
manycore
emper-io-eval
Commits
c95d306f
Commit
c95d306f
authored
May 23, 2022
by
Florian Fischer
Committed by
Florian Fischer
May 24, 2022
Browse files
use the 0us-100ms-0.5 flavors
parent
e0d85df2
Changes
2
Hide whitespace changes
Inline
Side-by-side
bench/emper.py
View file @
c95d306f
...
...
@@ -402,7 +402,7 @@ def generate_computation_flavors(flavors: Flavors,
return
comp_flavors
COMPUTATION_DESCRIPTIONS
=
[
'200us'
,
'0us-10ms-0.5'
]
COMPUTATION_DESCRIPTIONS
=
[
'200us'
,
'0us-10
0
ms-0.5'
]
FLAVORS
.
update
(
generate_computation_flavors
(
FLAVORS
,
COMPUTATION_DESCRIPTIONS
))
...
...
eval-muhq-ma.sh
View file @
c95d306f
...
...
@@ -49,7 +49,7 @@ eval_throughput() {
./eval.py
"
${
COMMON_ARGS_THROUGHPUT
[@]
}
"
-f
vanilla vanilla-200us
--
emper
# No sleep measurements
./eval.py
"
${
COMMON_ARGS_THROUGHPUT
[@]
}
"
-f
no-sleep no-sleep-0us-1
ms
--
emper
./eval.py
"
${
COMMON_ARGS_THROUGHPUT
[@]
}
"
-f
no-sleep no-sleep-0us-1
00ms-0.5
--
emper
# Measure parsimonious sem
./eval.py
"
${
COMMON_ARGS_THROUGHPUT
[@]
}
"
-f
parsimonious-sem
--
emper
...
...
@@ -79,18 +79,18 @@ eval_throughput() {
# Measurements showing completer, stealing notification benefits with computation
./eval.py
"
${
COMMON_ARGS_THROUGHPUT
[@]
}
"
-f
\
vanilla-0us-1
ms
io-stealing-0us-1
ms
\
pipe-0us-1
ms
pipe-no-comp-0us-1
ms
\
io-stealing-pipe-no-comp-0us-1
ms
\
waitfd-0us-1
ms
waitfd-no-comp-0us-1
ms
\
io-stealing-waitfd-no-comp-0us-1
ms
\
io-notification-waitfd-no-comp-0us-1
ms
\
vanilla-0us-1
00ms-0.5
io-stealing-0us-1
00ms-0.5
\
pipe-0us-1
00ms-0.5
pipe-no-comp-0us-1
00ms-0.5
\
io-stealing-pipe-no-comp-0us-1
00ms-0.5
\
waitfd-0us-1
00ms-0.5
waitfd-no-comp-0us-1
00ms-0.5
\
io-stealing-waitfd-no-comp-0us-1
00ms-0.5
\
io-notification-waitfd-no-comp-0us-1
00ms-0.5
\
--
emper
# Measurements waitfree notification variants benefits
./eval.py
"
${
COMMON_ARGS_THROUGHPUT
[@]
}
"
-f
\
io-notification-waitfree io-notification-waitfree-no-comp
\
io-notification-waitfree-0us-1
ms
io-notification-waitfree-no-comp-0us-1
ms
\
io-notification-waitfree-0us-1
00ms-0.5
io-notification-waitfree-no-comp-0us-1
00ms-0.5
\
--
emper
# Measure lockless stealing variants seperatly because they are not reliable
...
...
@@ -100,11 +100,11 @@ eval_throughput() {
#io-stealing-pipe-no-comp-lockless \
#io-stealing-waitfd-no-comp-lockless \
#io-notification-waitfd-no-comp-lockless \
#io-stealing-pipe-no-comp-lockless-0us-1
ms
\
#io-stealing-waitfd-no-comp-lockless-0us-1
ms
\
#io-notification-waitfd-no-comp-lockless-0us-1
ms
\
#io-stealing-pipe-no-comp-lockless-0us-1
00ms-0.5
\
#io-stealing-waitfd-no-comp-lockless-0us-1
00ms-0.5
\
#io-notification-waitfd-no-comp-lockless-0us-1
00ms-0.5
\
#io-notification-waitfree-no-comp-lockless \
#io-notification-waitfree-no-comp-lockless-0us-1
ms
\
#io-notification-waitfree-no-comp-lockless-0us-1
00ms-0.5
\
#-- emper
}
...
...
@@ -115,13 +115,13 @@ eval_latency() {
mkdir
-p
"
${
OUT
}
"
/latency
./eval.py
"
${
COMMON_ARGS_LATENCY
[@]
}
"
-f
{
no-sleep,vanilla
}
-
{
200us,0us-10ms-0.5
}
\
./eval.py
"
${
COMMON_ARGS_LATENCY
[@]
}
"
-f
{
no-sleep,vanilla
}
-
{
200us,0us-10
0
ms-0.5
}
\
--
emper go-200us tokio-200us
./eval.py
"
${
COMMON_ARGS_LATENCY
[@]
}
"
-f
\
{
pipe,waitfd
}{
,-no-comp
}
-
{
200us,0us-10ms-0.5
}
\
io-stealing-
{
pipe,waitfd
}
-no-comp-
{
200us,0us-10ms-0.5
}
\
io-notification-
{
waitfree,waitfd
}
-no-comp-
{
200us,0us-10ms-0.5
}
\
{
pipe,waitfd
}{
,-no-comp
}
-
{
200us,0us-10
0
ms-0.5
}
\
io-stealing-
{
pipe,waitfd
}
-no-comp-
{
200us,0us-10
0
ms-0.5
}
\
io-notification-
{
waitfree,waitfd
}
-no-comp-
{
200us,0us-10
0
ms-0.5
}
\
--
emper
}
...
...
Write
Preview
Supports
Markdown
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