"import json\n",
"\n",
"def plot_compare(df):\n",
- " \"\"\" Auxiliary function to compare simgrid and reality \"\"\"\n",
+ " \"\"\" Auxiliary function to compare SimGrid and reality \"\"\"\n",
" func = list(df['op'].unique())\n",
" assert len(func) == 1\n",
" func = func[0]\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/privatization' to '1'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/np' to '2'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/hostfile' to '/tmp/host.txt'\n",
- "[0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'\n",
+ "[0.000000] [xbt_cfg/INFO] Configuration change: Set 'precision/timing' to '1e-9'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/simulate-computation' to '0'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/display-timing' to 'yes'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/privatization' to '1'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/np' to '2'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/hostfile' to '/tmp/host.txt'\n",
- "[0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'\n",
+ "[0.000000] [xbt_cfg/INFO] Configuration change: Set 'precision/timing' to '1e-9'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/simulate-computation' to '0'\n",
"[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/display-timing' to 'yes'\n",
}
],
"source": [
- "# simgrid has fewer executions than real life, keep the same amount of samples for better visualization\n",
+ "# SimGrid has fewer executions than real life, keep the same amount of samples for better visualization\n",
"N = df_smpi_send.groupby(\"msg_size\").size().iloc[0]\n",
"\n",
"tmp = pandas.concat([df_send.groupby(\"msg_size\").sample(N), df_smpi_send, df_isend.groupby(\"msg_size\").sample(N), df_smpi_isend, df_recv.groupby(\"msg_size\").sample(N), df_smpi_recv, df_pingpong.groupby(\"msg_size\").sample(N), df_smpi_pingpong])\n",
}
],
"source": [
- "# simgrid has fewer executions than real life, keep the same amount of samples for better visualization\n",
+ "# SimGrid has fewer executions than real life, keep the same amount of samples for better visualization\n",
"N = df_smpi_send.groupby(\"msg_size\").size().iloc[0]\n",
"\n",
"tmp = pandas.concat([df_send.groupby(\"msg_size\").sample(N), df_smpi_send, df_isend.groupby(\"msg_size\").sample(N), df_smpi_isend, df_recv.groupby(\"msg_size\").sample(N), df_smpi_recv, df_pingpong.groupby(\"msg_size\").sample(N), df_smpi_pingpong])\n",