Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emper-io-eval
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lehrstuhl für Informatik 4 (Systemsoftware)
manycore
emper-io-eval
Commits
1e3a1ffe
Commit
1e3a1ffe
authored
3 years ago
by
Florian Fischer
Browse files
Options
Downloads
Patches
Plain Diff
make evaluation modes selectable
parent
8271e71f
No related branches found
No related tags found
No related merge requests found
Pipeline
#82029
passed
3 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
eval-muhq-ma.sh
+89
-76
89 additions, 76 deletions
eval-muhq-ma.sh
with
89 additions
and
76 deletions
eval-muhq-ma.sh
+
89
−
76
View file @
1e3a1ffe
...
@@ -22,8 +22,6 @@ if [ -d "$OUT" ]; then
...
@@ -22,8 +22,6 @@ if [ -d "$OUT" ]; then
mv
"
$OUT
"
"
$OUT
"
-
"
$ctime
"
mv
"
$OUT
"
"
$OUT
"
-
"
$ctime
"
fi
fi
mkdir
-p
"
${
OUT
}
"
/
{
latency,throughput
}
NUMA_ARGS
=
--measure-cmd
=
"numactl --cpunodebind=netdev:10gbe-card-p1 /usr/bin/time -o {BENCHDIR}/server_stats.{RUN}.txt -v"
NUMA_ARGS
=
--measure-cmd
=
"numactl --cpunodebind=netdev:10gbe-card-p1 /usr/bin/time -o {BENCHDIR}/server_stats.{RUN}.txt -v"
COMMON_ARGS
=(
--ssh-port
"
${
SSH_PORT
}
"
--host
"
${
HOST
}
"
--perf-energy
)
COMMON_ARGS
=(
--ssh-port
"
${
SSH_PORT
}
"
--host
"
${
HOST
}
"
--perf-energy
)
...
@@ -40,10 +38,14 @@ COMMON_ARGS_LATENCY=(${COMMON_ARGS[@]} --data-dir ${OUT}/latency \
...
@@ -40,10 +38,14 @@ COMMON_ARGS_LATENCY=(${COMMON_ARGS[@]} --data-dir ${OUT}/latency \
echo
"muhq's MA io eval"
echo
"muhq's MA io eval"
echo
'Writing results to'
"
$OUT
"
echo
'Writing results to'
"
$OUT
"
echo
'arguments:'
"
${
COMMON_ARGS
[@]
}
"
echo
'arguments:'
"
${
COMMON_ARGS
[@]
}
"
## Baseline measurements
eval_throughput
()
{
echo
"Measuring throughput"
echo
'throughput-arguments:'
"
${
COMMON_ARGS_THROUGHPUT
[@]
}
"
echo
'throughput-arguments:'
"
${
COMMON_ARGS_THROUGHPUT
[@]
}
"
echo
'latency-arguments:'
"
${
COMMON_ARGS_LATENCY
[@]
}
"
# Baseline measurements
mkdir
-p
"
${
OUT
}
"
/throughput
./eval.py
"
${
COMMON_ARGS_THROUGHPUT
[@]
}
"
-f
vanilla vanilla-200us
--
emper
./eval.py
"
${
COMMON_ARGS_THROUGHPUT
[@]
}
"
-f
vanilla vanilla-200us
--
emper
# No sleep measurements
# No sleep measurements
...
@@ -104,9 +106,16 @@ echo 'latency-arguments:' "${COMMON_ARGS_LATENCY[@]}"
...
@@ -104,9 +106,16 @@ echo 'latency-arguments:' "${COMMON_ARGS_LATENCY[@]}"
#io-notification-waitfree-no-comp-lockless \
#io-notification-waitfree-no-comp-lockless \
#io-notification-waitfree-no-comp-lockless-0us-1ms \
#io-notification-waitfree-no-comp-lockless-0us-1ms \
#-- emper
#-- emper
}
# Latency evaluation
eval_latency
()
{
./eval.py
"
${
COMMON_ARGS_LATENCY
[@]
}
"
-f
vanilla-200us vanilla-0us-1ms no-sleep-0us-1ms
\
## Latency evaluation
echo
"Measuring latency"
echo
'latency-arguments:'
"
${
COMMON_ARGS_LATENCY
[@]
}
"
mkdir
-p
"
${
OUT
}
"
/latency
./eval.py
"
${
COMMON_ARGS_LATENCY
[@]
}
"
-f
{
no-sleep,vanilla
}
-
{
200us,0us-1ms
}
\
--
emper go-200us tokio-200us
--
emper go-200us tokio-200us
./eval.py
"
${
COMMON_ARGS_LATENCY
[@]
}
"
-f
\
./eval.py
"
${
COMMON_ARGS_LATENCY
[@]
}
"
-f
\
...
@@ -114,3 +123,7 @@ echo 'latency-arguments:' "${COMMON_ARGS_LATENCY[@]}"
...
@@ -114,3 +123,7 @@ echo 'latency-arguments:' "${COMMON_ARGS_LATENCY[@]}"
io-stealing-
{
pipe,waitfd
}
-no-comp-
{
200us,0us-1ms
}
\
io-stealing-
{
pipe,waitfd
}
-no-comp-
{
200us,0us-1ms
}
\
io-notification-
{
,waitfree-
}
waitfd-no-comp-
{
200us,0us-1ms
}
\
io-notification-
{
,waitfree-
}
waitfd-no-comp-
{
200us,0us-1ms
}
\
--
emper
--
emper
}
[[
"
${
EVAL_THROUGHPUT
:
=true
}
"
!=
"false"
]]
&&
eval_throughput
[[
"
${
EVAL_LATENCY
:
=true
}
"
!=
"false"
]]
&&
eval_latency
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment