Skip to content
Snippets Groups Projects
Commit 0f528157 authored by Maël Madon's avatar Maël Madon
Browse files

SABjson v2 proto evolution

parent 7de79c54
Branches
Tags
No related merge requests found
{
"description": "Prototype for session-annotated Batsim JSON (SABjson) format. See diagram https://app.diagrams.net/#G1tbo7oHahsgxTmhICucCGam5XNtshOUOb.",
"command": "command used to generate the file. We can suppose that it's generated with arrival delimitation approach and threshold = 60mn = 3600s.",
"date": "data of generation of the file",
"nb_res": 4,
"version": 0,
"jobs": [
{
"id": 1,
"profile": "2400",
"res": 4,
"subtime": 0.0,
"walltime": 2592000.0,
"session": 1
},
{
"id": 2,
"profile": "9600",
"res": 4,
"subtime": 3000.0,
"walltime": 2592000.0,
"session": 1
},
{
"id": 3,
"profile": "13200",
"res": 4,
"subtime": 7800.0,
"walltime": 2592000.0,
"session": 2
},
{
"id": 4,
"profile": "3600",
"res": 4,
"subtime": 16200.0,
"walltime": 2592000.0,
"session": 3
},
{
"id": 5,
"profile": "5400",
"res": 4,
"subtime": 24000.0,
"walltime": 2592000.0,
"session": 4
},
{
"id": 6,
"profile": "4200",
"res": 4,
"subtime": 24600.0,
"walltime": 2592000.0,
"session": 4
}
],
"sessions": {
"1": {
"first_submit_time": 0.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"following_sessions": ["3"],
"nb_jobs": 2
},
"2": {
"first_submit_time": 7800.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"following_sessions": ["4"],
"nb_jobs": 1
},
"3": {
"first_submit_time": 16200.0,
"preceding_sessions": ["1"],
"thinking_time_after_preceding_session": [3600.0],
"following_sessions": ["4"],
"nb_jobs": 1
},
"4": {
"first_submit_time": 24000.0,
"preceding_sessions": ["2","3"],
"thinking_time_after_preceding_session": [5400.0, 4200.0],
"following_sessions": [],
"nb_jobs": 2
}
}
}
\ No newline at end of file
...@@ -4,12 +4,15 @@ ...@@ -4,12 +4,15 @@
"date": "data of generation of the file", "date": "data of generation of the file",
"nb_res": 4, "nb_res": 4,
"version": 2, "version": 2,
"sessions": { "sessions": [
"1": { {
"id": 1,
"first_submit_time": 0.0, "first_submit_time": 0.0,
"preceding_sessions": [], "preceding_sessions": [],
"thinking_time_after_preceding_session": [], "thinking_time_after_preceding_session": [],
"following_sessions": ["3"], "following_sessions": [
"3"
],
"nb_jobs": 2, "nb_jobs": 2,
"jobs": [ "jobs": [
{ {
...@@ -28,27 +31,37 @@ ...@@ -28,27 +31,37 @@
} }
] ]
}, },
"2": { {
"id": 2,
"first_submit_time": 7800.0, "first_submit_time": 7800.0,
"preceding_sessions": [], "preceding_sessions": [],
"thinking_time_after_preceding_session": [], "thinking_time_after_preceding_session": [],
"following_sessions": ["4"], "following_sessions": [
"nb_jobs": 1, "4"
],
"nb_jobs": 1,
"jobs": [ "jobs": [
{ {
"id": 3, "id": 3,
"profile": "13200", "profile": "13200",
"res": 4, "res": 4,
"subtime": 0.0, "subtime": 0.0,
"walltime": 2592000.0 "walltime": 2592000.0
} }
] ]
}, },
"3": { {
"id": 3,
"first_submit_time": 16200.0, "first_submit_time": 16200.0,
"preceding_sessions": ["1"], "preceding_sessions": [
"thinking_time_after_preceding_session": [3600.0], 1
"following_sessions": ["4"], ],
"thinking_time_after_preceding_session": [
3600.0
],
"following_sessions": [
"4"
],
"nb_jobs": 1, "nb_jobs": 1,
"jobs": [ "jobs": [
{ {
...@@ -60,10 +73,17 @@ ...@@ -60,10 +73,17 @@
} }
] ]
}, },
"4": { {
"id": 4,
"first_submit_time": 24000.0, "first_submit_time": 24000.0,
"preceding_sessions": ["2","3"], "preceding_sessions": [
"thinking_time_after_preceding_session": [5400.0, 4200.0], 2,
3
],
"thinking_time_after_preceding_session": [
5400.0,
4200.0
],
"following_sessions": [], "following_sessions": [],
"nb_jobs": 2, "nb_jobs": 2,
"jobs": [ "jobs": [
...@@ -72,7 +92,7 @@ ...@@ -72,7 +92,7 @@
"profile": "5400", "profile": "5400",
"res": 4, "res": 4,
"subtime": 0.0, "subtime": 0.0,
"walltime": 2592000.0 "walltime": 2592000.0
}, },
{ {
"id": 6, "id": 6,
...@@ -83,6 +103,5 @@ ...@@ -83,6 +103,5 @@
} }
] ]
} }
]
}
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment