"As mentionned in the [original paper releasing the log](https://www.cs.huji.ac.il/~feit/parsched/jsspp15/p5-klusacek.pdf), the platform is **very heterogeneous**. For the purpose of our study, we perform the following selection:\n",
"It is a 2-year-long trace from MetaCentrum, the national grid of the Czech republic. As mentionned in the [original paper releasing the log](https://www.cs.huji.ac.il/~feit/parsched/jsspp15/p5-klusacek.pdf), the platform is **very heterogeneous** and underwent majors changes during the logging period. For the purpose of our study, we perform the following selection.\n",
"\n",
"First:\n",
"- we remove from the workload all the clusters whose nodes have **more than 16 cores**\n",
"- we remove from the workload the jobs with a **execution time greater than one day**\n",
"- we truncate the workload to keep only 6 month (June to November 2014) where no major change was performed in the infrastructure (no cluster < 16 cores added nor removed, no reconfiguration in the scheduling system)\n",
"\n",
"Second:\n",
"- we remove from the workload the jobs with an **execution time greater than one day**\n",
"- we remove from the workload the jobs with a **number of requested cores greater than 16**\n",
"\n",
"To do so, we use a home made SWF parser. "
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "ff40dcdd",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Unix Time Jun 1st 2014: 1401573600\n",
"Unix Time Nov 30th 2014: 1417388399\n",
"We should keep all the jobs submitted between 44578794 and 60393593\n"
]
}
],
"source": [
"from time import *\n",
"begin_trace = 1356994806 # according to original SWF header\n",
"jun1_unix_time, nov30_unix_time = mktime(strptime('Sun Jun 1 00:00:00 2014')), mktime(strptime('Sun Nov 30 23:59:59 2014'))\n",
" --keep_only=\"nb_res <= 16 and run_time <= 24*3600\""
]
},
{
...
...
@@ -169,7 +207,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.9"
"version": "3.8.10"
}
},
"nbformat": 4,
...
...
%% Cell type:markdown id:forced-resolution tags:
# Downloading and preparing the workload and platform
## Workload
We use the reconverted log `METACENTRUM-2013-3.swf` available on [Parallel Workload Archive](https://www.cs.huji.ac.il/labs/parallel/workload/l_metacentrum2/index.html).
As mentionned in the [original paper releasing the log](https://www.cs.huji.ac.il/~feit/parsched/jsspp15/p5-klusacek.pdf), the platform is **very heterogeneous**. For the purpose of our study, we perform the following selection:
It is a 2-year-long trace from MetaCentrum, the national grid of the Czech republic. As mentionned in the [original paper releasing the log](https://www.cs.huji.ac.il/~feit/parsched/jsspp15/p5-klusacek.pdf), the platform is **very heterogeneous** and underwent majors changes during the logging period. For the purpose of our study, we perform the following selection.
First:
- we remove from the workload all the clusters whose nodes have **more than 16 cores**
- we remove from the workload the jobs with a **execution time greater than one day**
- we truncate the workload to keep only 6 month (June to November 2014) where no major change was performed in the infrastructure (no cluster < 16 cores added nor removed, no reconfiguration in the scheduling system)
Second:
- we remove from the workload the jobs with an **execution time greater than one day**
- we remove from the workload the jobs with a **number of requested cores greater than 16**
--keep_only="nb_res <= 16 and run_time <= 24*3600"
```
%% Output
Processing swf line 100000
Processing swf line 200000
Processing swf line 300000
Processing swf line 400000
Processing swf line 500000
Processing swf line 600000
Processing swf line 700000
Processing swf line 800000
Processing swf line 900000
Processing swf line 1000000
Processing swf line 1100000
Processing swf line 1200000
Processing swf line 1300000
Processing swf line 1400000
Processing swf line 1500000
Processing swf line 1600000
Processing swf line 1700000
Processing swf line 1800000
Processing swf line 1900000
Processing swf line 2000000
Processing swf line 2100000
Processing swf line 2200000
Processing swf line 2300000
Processing swf line 2400000
Processing swf line 2500000
Processing swf line 2600000
Processing swf line 2700000
Processing swf line 2800000
Processing swf line 2900000
Processing swf line 3000000
Processing swf line 3100000
Processing swf line 3200000
Processing swf line 3300000
Processing swf line 3400000
Processing swf line 3500000
Processing swf line 3600000
Processing swf line 3700000
Processing swf line 3800000
Processing swf line 3900000
Processing swf line 4000000
Processing swf line 4100000
Processing swf line 4200000
Processing swf line 4300000
Processing swf line 4400000
Processing swf line 4500000
Processing swf line 4600000
Processing swf line 4700000
Processing swf line 4800000
Processing swf line 4900000
Processing swf line 5000000
Processing swf line 5100000
Processing swf line 5200000
Processing swf line 5300000
Processing swf line 5400000
Processing swf line 5500000
Processing swf line 5600000
Processing swf line 5700000
-------------------
End parsing
Total 4836170 jobs and 838 users have been created.
Total number of core-hours: 16805967
887919 valid jobs were not selected (keep_only) for 77201656 core-hour
Jobs not selected: 15.5% in number, 82.1% in core-hour
7119 out of 5731209 lines in the file did not match the swf format
30 jobs were not valid
%% Cell type:markdown id:afde35e8 tags:
## Platform
According to the system specifications given in the [corresponding page in Parallel Workload Archive](https://www.cs.huji.ac.il/labs/parallel/workload/l_metacentrum2/index.html), if we exclude nodes with >16 cores, there are $\#cores_{total} = 6416$ cores on May 1st 2014.(1)
We build a platform file adapted to the remaining workload. We choose to make it homogeneous with 16-core nodes. To have a coherent number of nodes, we count:
The corresponding SimGrid platform file can be found in `platform/average_metacentrum.xml`.
(1) clusters decomissionned before or comissionned after May 1st 2014 have also been removed: $8+480+160+1792+256+576+88+416+108+168+752+112+588+152+160+160+192+24+224 = 6416$