Notebook for figure 7
This commit is contained in:
parent
7cd3915dd0
commit
3fea98866d
5 changed files with 300 additions and 12 deletions
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"cells": [],
|
|
||||||
"metadata": {},
|
|
||||||
"nbformat": 4,
|
|
||||||
"nbformat_minor": 5
|
|
||||||
}
|
|
|
@ -86,7 +86,7 @@ def for_each_task(ts):
|
||||||
in_exec = False
|
in_exec = False
|
||||||
exec_start = None
|
exec_start = None
|
||||||
exec_tot = 0
|
exec_tot = 0
|
||||||
priority = 0
|
priority = -1
|
||||||
l = len(ts)
|
l = len(ts)
|
||||||
last_term = -1
|
last_term = -1
|
||||||
|
|
||||||
|
@ -132,6 +132,6 @@ df2 = df.rdd \
|
||||||
.mapValues(sum_rows) \
|
.mapValues(sum_rows) \
|
||||||
.map(lambda x: str(x[0][0]) + "," + str(x[0][1]) + "," + str(x[0][2]) + "," + str(x[1])) \
|
.map(lambda x: str(x[0][0]) + "," + str(x[0][1]) + "," + str(x[0][2]) + "," + str(x[1])) \
|
||||||
.coalesce(1) \
|
.coalesce(1) \
|
||||||
.saveAsTextFile(cluster + "_priority_exectime")
|
.saveAsTextFile(cluster + "_priority_exectime_correct")
|
||||||
|
|
||||||
# vim: set ts=4 sw=4 et tw=80:
|
# vim: set ts=4 sw=4 et tw=80:
|
||||||
|
|
294
figure_7/figure_7.ipynb
Normal file
294
figure_7/figure_7.ipynb
Normal file
File diff suppressed because one or more lines are too long
|
@ -420,7 +420,7 @@
|
||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.9.2"
|
"version": "3.9.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|
BIN
status.ods
BIN
status.ods
Binary file not shown.
Loading…
Reference in a new issue