bachelorThesis/spatial_resource_waste/spatial_resource_waste.ipynb

429 lines
168 KiB
Text
Raw Normal View History

2021-04-13 14:13:15 +00:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 10,
"id": "black-funeral",
"metadata": {},
"outputs": [],
"source": [
"import json\n",
"import sys\n",
"import glob\n",
"import pandas as pd\n",
"import seaborn as sns\n",
"import matplotlib as mpl\n",
"import matplotlib.pyplot as plt"
]
},
{
"cell_type": "code",
"execution_count": 70,
"id": "hawaiian-cabin",
"metadata": {},
"outputs": [],
"source": [
"DIR = \"/home/claudio/hdd/git/bachelorThesis/spatial_resource_waste/\""
]
},
{
"cell_type": "code",
"execution_count": 84,
"id": "blessed-updating",
"metadata": {},
"outputs": [],
"source": [
"def plot_df(df, cluster, type_of_data):\n",
" s = df.sum()\n",
" print(\"Cluster \" + cluster + \":\")\n",
" df[\"cpu\"] = df[\"cpu\"] / s[\"cpu\"]\n",
" df[\"ram\"] = df[\"ram\"] / s[\"ram\"]\n",
" print(df) \n",
"\n",
" df2 = df.copy()\n",
" df[\"kind\"] = \"cpu\"\n",
" df[\"percent\"] = df[\"cpu\"]\n",
" del df[\"cpu\"]\n",
" del df[\"ram\"]\n",
" \n",
" df2[\"kind\"] = \"ram\"\n",
" df2[\"percent\"] = df2[\"ram\"]\n",
" del df2[\"cpu\"]\n",
" del df2[\"ram\"]\n",
" \n",
" df = pd.concat([df, df2])\n",
" \n",
" bottom = [0, 0]\n",
" lines = []\n",
" for t in [-1,4,5,6,7,8]:\n",
" lines.append(plt.bar(x=df[df.term==t][\"kind\"], bottom=bottom,\n",
" height=df[df.term==t][\"percent\"]))\n",
" bottom += df[df.term==t][\"percent\"].values\n",
" plt.legend(lines, [\"No termination\", \"EVICT\", \"FAIL\", \"FINISH\", \"KILL\", \"LOST\"],\n",
" bbox_to_anchor=(1,1))\n",
" plt.title(type_of_data + \" spatial resource waste (cluster \" + cluster + \")\")\n",
" plt.show()"
]
},
{
"cell_type": "code",
"execution_count": 85,
"id": "consistent-toilet",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster a:\n",
" term cpu ram\n",
"0 -1 0.006972 0.010447\n",
"1 6 0.013963 0.011066\n",
"2 5 0.022792 0.028387\n",
"3 4 0.134392 0.118184\n",
"4 8 0.000091 0.000091\n",
"5 7 0.821791 0.831826\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAnG0lEQVR4nO3deXwV9b0+8OfJQgi7CTEGEgiyGsBUyIVitXpRbhFxuSyKxaJWRFAKFS+CtfVqftetWq3rRcVWUFwooCAGsVYrt6DWIIYlrLKFsBgDhk0Sknx+f8wcezieJAdyyJkkz/v14uWZme/M+cycMc+Z78ycoZlBREREvCMq0gWIiIjIiRTOIiIiHqNwFhER8RiFs4iIiMconEVERDxG4SwiIuIxCud6jOR9JF/1QB2HSZ4dQrt0kkYypi7qkpNDMo5kPsmUGtrVy8+R5LkkV0S6DpFQKJxrgeTfSR4gGRdi+xtJ/uN013U6ues81n+cmbUws62RqkkAkheT3FXLxYwDsMzM9oSjppoE25dOJzNbDeBbklfU1XuKnCqF8ykimQ7gQgAG4MrIVtPweOWozCt11JHxAF6JdBGhIhl9CrPNAXBruGsRCTeF86kbA+BTAC8DuMF/Ask0kgtIFpEsJvkMyXMAzAAwwO0G/tZte8LRQ+DRNcknSRaQPEhyJckLQymOZFuSi0l+S3I/yf8jGeVO207ybrcL8wDJP5Ns6k47w52vyJ22mGSqO+0BOF9InnHX4Rl3vJHs4r6+nOQqt94CkveFukHduqaRXA3gCMkYkj8mucJdjzySFwdsq60kD5HcRnK0Oz6K5G9J7iD5NcnZJFu7035whOm+76Xu6/tIziP5KsmDAG4kmeBuo93uNnnbb96hJ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ex3AHSQ7ud3GDwJ40+3N2ASgKZ0L12IB/BbOqYKgzLmtaAmA5+hcLBdL0veF5UUA493eArqf9+UkW1axuI/h7CP5ZlYG95wrgG1mVuS2aemuTzGcwHvQNzPJJiRHk2xtZsfhnDv1rfM+AIl+3d+A88XoAZId3fmTSF5VxXrugtPT0s8drgTwJwCP07m4LJrkgCoupPoSzmmDWJJZAEb41fzvJHu7X4IOwunm9q/Zf19aDKAbyV+4y4ol+W90LqYMRRM4n2URgHKSlwH4j4A2FwH48BS650XqlML55N0A4M9mttPM9vr+AXgGThccAVwBoAuAnQB2wel+BYAPAawDsJekr0v8CQBlcP5QzYJzq4fPUgDvwQmUHXCOZKrt1vPTFcAHcELrEwDPmdlHftNfg3M+biucrsv/ccf/Ec5FUN/AuZjovYDlPgnnvOUBkk8Fed/bAGSTPATgXvzryO6kmVkBnKPI38D5g1sAYCqc/TYKwBQ4R8n74fzR9R1h/QlOd+oyANvgbLdfucsscWucCaAQzlFfTfcH/wJOqGyAcwHYr91l5QK4Bc5nfwBOuN1YzXJWwNm2vqPkfLe2ZX5tZsP5rAvd6Z8GqWW72+U9Hs4+BzPbAOdLyVa3S7gdnM9qEZxTG4fcZfWvpr7n3eX7/BeANXCO8vcDeATB/2b8Ds4R9gEA98PZt3zOAjAPTjCvh/MFxXe71gn7knuNw38AGAXnc93rvmdIV1a780+Cs88dgPPFcFFAs9FwvrSIeJrv6l1pREhuh3OV7AeRrkW8wz0qXgXgEqujHyKpS3Ruc3vezKo7Ty/iCY3pBxZEpBpuV29GpOs4Xdy7BxTMUi+oW1tERMRj1K0tIiLiMTpyFhER8ZiInXNu27atpaenR+rtRUTqpZUrV35jZoH35ksDE7FwTk9PR25ubqTeXkSkXiK5o+ZWUt+pW1tERMRjFM4iIiIeo3AWERHxGP0IiYhIPbdy5cozY2JiZgLoBR101ReVANaWl5eP7du379eBExX
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster b:\n",
" term cpu ram\n",
"0 -1 0.002582 0.004637\n",
"1 6 0.025877 0.012231\n",
"2 5 0.062950 0.083841\n",
"3 4 0.048340 0.073120\n",
"4 8 0.000036 0.000027\n",
"5 7 0.860215 0.826144\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAnCElEQVR4nO3deXwV5b0/8M8nCyHsJsQYSCDIagimQC4Uq9VL5VdEXK6AYrGoFRGUQsWLYG29mt91aW21rhcVW8GdAgpiEGu15RbUGsSwb7KFQDAGDJskJPneP2YOPRxPkhNy4EySz/v1yosz8zwz8505w/nO88xGM4OIiIh4R1SkAxAREZGTKTmLiIh4jJKziIiIxyg5i4iIeIySs4iIiMcoOYuIiHiMknMDRvJ+kq94II7DJM8NoV46SSMZcybikrohGUdyPcmUWup59nsk+TeS46opSya5gWTcmY5LpK6UnOvB/SE4EOp/dpI3kfzH6Y7rdAr242dmrcxsW6RiEoDkJSR313M24wEsM7O94YipNjUl0tPBzPYB+AjOeop4mpLzKSKZDuAiAAbgyshG0/h4pVXmlTjOkAkAXo50EKEiGX0Kk70K4LZwxyISbkrOp24sgE8AvATgRv8CkmkkF5AsJllC8mmS5wGYCWCQ2w38jVv3pNZDYOua5BMkC0geJLmS5EWhBEeyPcnFJL8huZ/k/5KMcst2kLzH7cI8QPJPJJu7ZWe50xW7ZYtJprplD8I5IHnaXYen3fFGspv7+XKSq9x4C0jeH+oGdeOaTnI1gCMkY0h+n+QKdz3ySV4SsK22kTxEcjvJMe74KJK/IrmT5Fck55Bs65Z9p4XpLvdS9/P9JOeRfIXkQQA3kUxwt9Eed5u87TftcJJfuPGtIHl+Nev2AMmn3M+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57aiJQCepXOxXCxJ3wHLCwAmuL0FdL/vy0m2rmZ2f4ezj6w3s3K451wBbDezYrdOa3d9SuAkvId8E5NsRnIMybZmdhzOOXffOu8DkOjX/Q04B0YP+i5+IplE8qpq1nM3nJ6WAe5wFYA/AniMzsVl0SQHMfhtg1/AOW0QSzIbwEi/mP+dZB/3IOggnETpH7P/vrQYQA+SP3XnFUvy3+hcTFkXN5DMINkCQA6AeWZW6ZYNgNN1vrP6yUUiT8m57m4E8Ccz22VmRb4/AE/D6YIjgCvgHJ3vArAbTvcrAHwIYB2AIpK+LvHHAZTD+aGaDedWD5+lAN6Dk1B2wmnJhNKtBwDdAXwAJ2l9DOBZM/vIr/w1AO8D2Aan6/K/3fF/gHMR1NdwLiZ6L2C+T8A5b3mA5JNBlns7gByShwDch3+17OrMzArgtCJ/CecApQDANDj7bRSAqXBayfvhdA37Wlh/hNOdugzAdjjb7efuPEvdGGfBuXDoCJzvqCY/hZNUNsK5AOwX7rzyANwK57s/ACe53VTDfFbA2ba+VvJ6N7ZlfnXmwPmuC93yT4LEssPt8p4AZ5+DmW2Ec1Cyze0S7gDnu1oE59TGIXdeA2uI7zl3/j7/CWANnFb+fgC/QfDfjF/DaWEfAPAAnH3L5xwA8+Ak5g1wDlB8t2udtC+51zj8PwCj4XyvRe4y6/rQkJfhXDxWBKdrfrJf2Rg4By0inua7eleaEJI74Fwl+0GkYxHvcFvFqwD8yM7Qg0jOJJJnwzk46FvDxWQintCUHrAgIjVwr8TOiHQcp4uZfQXnFJSI56lbW0RExGPUrS0iIuIxajmLiIh4TMTOObdv397S09MjtXgRkQZp5cqVX5tZ4L350shELDmnp6cjLy8vUosXEWmQSOoe7SZA3doiIiIeo+QsIiLiMUrOIiIiHqOHkIiINHArV648OyYmZhac91ir0dUwVAFYW1FRMa5///5fBRYqOYuINHAxMTGzzjnnnPOSkpIOREVF6eE
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster c:\n",
" term cpu ram\n",
"0 -1 0.003376 0.003812\n",
"1 6 0.029399 0.033249\n",
"2 5 0.012294 0.020809\n",
"3 4 0.082099 0.080454\n",
"4 8 0.000093 0.000088\n",
"5 7 0.872740 0.861588\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAm00lEQVR4nO3deXxU9b0+8OfJQgi7CTEGEgiyBzAVcqFYrV6UXxFxKYtisagVEZRCxYtgbb2a33VpbbWuFxVbwRUKKIhBrMWWFtQaxLBvsoWwGAOGTRKSfO4f5wwdxkkyIQNzkjzv14uXc875zpnPmTnmme/3nDOHZgYRERHxjqhIFyAiIiKnUjiLiIh4jMJZRETEYxTOIiIiHqNwFhER8RiFs4iIiMconOswkg+SfM0DdRwheX4I7dJJGsmYs1GX1AzJOJLrSaZU067OfY4kLyC5ItJ1iIRK4VwLJP9G8iDJuBDb30Lyn2e6rjPJ3eYx/vPMrJmZbYtUTQKQvIzk7lquZiyAZWa2Nxw1VSfYvnSmmNlqAN+QvPpsvJ5IbSmcTxPJdACXADAA10S2mvrHK70yr9RxlowD8GqkiwgVyegaPuV1AHeciVpEwk3hfPpGA/gEwCsAbvZfQDKN5HyShSSLSD5LsjuA6QD6u8PA37htT+k9BPauST5FMp/kIZIrSV4SSnEkW5NcRPIbkgdI/oNklLtsB8n73CHMgyT/RLKxu+wc93mF7rJFJFPdZQ/D+ULyrLsNz7rzjWQn9/FVJFe59eaTfDDUN9StayrJ1QCOkowh+X2SK9ztyCN5WcB7tY3kYZLbSY5y50eR/BXJnSS/IjmLZEt32Xd6mO7rXuE+fpDkXJKvkTwE4BaSCe57tMd9T97xe+4Qkl+49a0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s_background": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster d:\n",
" term cpu ram\n",
"0 -1 0.004995 0.004822\n",
"1 6 0.008666 0.008914\n",
"2 5 0.030288 0.039214\n",
"3 4 0.076002 0.090656\n",
"4 8 0.000039 0.000030\n",
"5 7 0.880011 0.856364\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAnC0lEQVR4nO3deXwV5b0/8M8nCyHsJsQYSCDIHsAUyIVisXqp/IqIS1kUxaJWRFAKFS+CtfVqfteltdW64EXFVlBUKKAgBrFWW1pQahDCvskWwhYDhk0SknzvHzPHHg4nyYEcyCT5vF+vvDgzzzMz35kznO88z2w0M4iIiIh3RFR3ACIiInI6JWcRERGPUXIWERHxGCVnERERj1FyFhER8RglZxEREY9Rcq7BSD5K8k0PxHGM5KUh1EslaSSjLkRccnZIxpDcQDKpkno15nv0/z9CMpHkRpIx1R2XSGWUnKuA5N9IHg71PzvJO0j+83zHdT656zzKf5yZNTKz7dUVkwAkryK5p4qzGQ1gqZntC0dMlQm2L51PZnYAwKdw1lPE05SczxHJVABXADAA11dvNLWPV1plXonjAhkD4I3qDiJUJCPPYbJZAO4Jdywi4abkfO5GAvgcwOsAbvcvIJlCcj7JfJIFJF8k2RnANAB93G7gb9y6p7UeAlvXJJ8jmUvyCMmVJK8IJTiSzUkuIvkNyUMk/0Eywi3bSfIhtwvzMMk/kazvll3kTpfvli0imeyWPQ7ngORFdx1edMcbyXbu52tJrnLjzSX5aKgb1I1rMsk1AI6TjCL5fZLL3fXIIXlVwLbaTvIoyR0kR7jjI0j+iuQukgdJziTZ1C07o4XpLvdq9/OjJOeSfJPkEQB3kIxzt9Fed5u85z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": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster a:\n",
" term cpu ram\n",
"0 -1 0.000340 0.001937\n",
"1 4 0.028384 0.033991\n",
"2 5 0.000583 0.000698\n",
"3 6 0.000001 0.000002\n",
"4 7 0.966613 0.957991\n",
"5 8 0.004079 0.005382\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAng0lEQVR4nO3deXwU9d0H8M8nCSQBwhVijCQQ5dIARiHFYq31odoHKR4VUCwUpSKC8kDVIlhbq3ker3qfDyq2iicUVDCCUIrHI3gFMdyXXCFcMWAIV87v88fM6rJskoUs7IR83q9XXuzM/HbmO7PDfnZ+M7tDM4OIiIh4R1SkCxAREZHDKZxFREQ8RuEsIiLiMQpnERERj1E4i4iIeIzCWURExGMUzg0MyetJfuqBOlaQvCjEtkay4/GtSI4VyYUkzw2hXb17HUkmk1xFMjbStUjD0uDDmeQmkgdJ7iO5g+TLJJtFuq7qkPyI5IhI13E03G36P/7jzKyrmX0UoZIEAMl0NzBj6jCPywCUmNmSMJZW0/KO2JeOJzPbCeBDACNP1DJFAIWzz2Vm1gzAOQDOBXBnZMuRY0FHxPfpuoRdPTQKwKuRLiJUx/javA7gpnDXIlKTiL+ReYmZ7QAwF05IAwBI/pTkIpLfk8zz74oleTrJj0mWkPwXyWdIvuZOu4jkVv/5u0fpF7uPo0hOJPktySKS00i2dqfFkXzNHf89ya/c7rX7APwcwDPukf4zbvsz3eXvJrmG5NV+y0wkOYvkXpJfAuhQ3fpXt1x32kckHyD5pTuvmb563en/dHseikl+QrKrO34kgCEA7nBrfi/ItuhF8jN3mdvd7dg4lNfMres+kgsBHABwRi3box/Jle5rVkDyj37TbiS53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7t9PSJ5lZpUA3oZzgVITkhkArqtuxWtZLgAMJZlBsgmAbADT3WUkwOnKLYLzhnt/wKwDaw6U4C5vn9tlO7qGtrWpdnu4r9MQki3MrNxdpm/93gQwnOQ5dL7Tej+AL8xsk5kVwgnpoe5+8HvUEEBuV/PfATxG52KlaJK93flWu09VM7uPAfwHnHOlWwH8H5yu+0QAvq8vJcD5EFYIIIbk3QB+ONIkOZRkklvX9+7oKrd9FQ5/bSYBuJM/XtDXguQgBGFmZQDm4/Au4MkA/ptkJzrOJpkY5OnfALjK3S87wjm699X7E/dothGcED+E6vf/LwGUkJxA5yK8aDoXj/0kWM3VSACw28wOkewF58Omv15wTpUcTc+YSJ0onAO4b8RT4JynzYdzRPgnOG9k+XA+wfu2228BnAen6++v7vN88ykGcDOcNyvf0Zf/1dtPwvm0Po/O+e7P3XkBzlHEdDjhsQrOG/Srfs8bSOdK2qfMrATAr+CcY9sG50Kgh/DjB4ExcC4C2gGnV+AfNax+TcuF+/hld15xAHxXxU6B0yVcAGCluy7+XoJznvd7ku8GWe4f4WzLEjjnC6fWUGONQtgevwOwye0+HwWnyxtmNh/OefQZcHpFOuDw85Y3wnnti+BcCBXsSDJwnZYB+ArO/vEQnIu3atunAtdnLYB9cEIZ5lwDsAHAQveDEeCcivgAzgfCzXDCzL8rty+AFST3wdl/BpvZQTM7AOA+AAvd1+anZvaOW+tb7jZaDuDSGtbzeTjb1OcxOL0R8+DsRy/BuUAu0OMAyuCE7Stwvq7k0xzOfrDHXZ8iAA+70w7bl9xt0B/OefmNcHotJsPpwQnVzQCy3f+Hd+PH3hSfIXA+tIicMDSrrcdHQkXnKxgdzWxopGsJN5Ifwbk6e3KkaxFvofM1tjF2gn6I5EQieQqcD6nnmtmhSNcjDUdD+rEEETkOzOxnka7heDGzXXC+yiVyQqlbW0RExGPUrS0iIuIxOnIWERHxmIidc27
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster b:\n",
" term cpu ram\n",
"0 -1 9.355835e-07 0.000002\n",
"1 4 3.364512e-05 0.000047\n",
"2 5 3.060723e-05 0.000050\n",
"3 6 1.269581e-04 0.000176\n",
"4 7 9.109484e-01 0.855737\n",
"5 8 8.885947e-02 0.143988\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAme0lEQVR4nO3de3wU9b0+8OdJAiFAAAkRAwlEgQAhGIUUxar1UPkVKV4OF0WhKC0qWAoVi2BtOZpzvNVbvR5UbAHFKgUUxCDWeuEUvAUx3CHILQSQGJA7CUk+vz9mli7LJlnIwk7I8369eLE7852Zz8xO9tn5zuwOzQwiIiLiHVGRLkBERESOp3AWERHxGIWziIiIxyicRUREPEbhLCIi4jEKZxEREY9RONcxJG8j+S8P1LGK5FUhtjWS7U9vRXKqSC4meXEI7Tz5OpKcSvJ/KhkXS3ItycQzXZfUbXU+nEluJnmY5AGSO90/1MaRrqsyJD8hOSLSdZyMYG9+ZtbFzD6JUEkCgGSqG5gxNZjHtQD2m9myMJZW1fIqDdLTwcxKAPwFwMQztUwRQOHsc62ZNQZwEYCLAdwX2XLkVNAR8X26JmFXC40E8FqkiwjVKb42bwC4lWRsuOsRqUzE38i8xMx2AlgIJ6QBACQvJbmE5A8k8/y7YkmeT/JTkvtJ/oPk8yRfd8ddRXKb//zdo/Sr3cdRJCeS/JZkMcmZJJu74xqQfN0d/gPJr0i2JPkQgCsAPO8e6T/vtu/kLn83yXUkb/RbZgLJeST3kfwSQLvK1r+y5brjPiH5CMkv3XnN9dXrjv+72/Owl+Qikl3c4XcAGALgXrfmd4Nsix4kP3OXucPdjvVDec3cuh4iuRjAIQAX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_background": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster c:\n",
" term cpu ram\n",
"0 -1 0.000001 0.000002\n",
"1 4 0.000086 0.000070\n",
"2 5 0.000013 0.000015\n",
"3 6 0.000150 0.000170\n",
"4 7 0.824831 0.796980\n",
"5 8 0.174918 0.202763\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAmP0lEQVR4nO3de3wU9b0+8OdJAiFAAAkxAglEgQAhGIEUxWrrofIrUryUi2KhVFpUsBQqFsHaWs053uqtXg8qtoBilQIKYhBrvZ2CtyCGOwS5hXCLAcM9Icnn98fM2mXZJAtZ2Al53q9XXuzOfHfmM7PDPjvfmdmhmUFERES8IyrSBYiIiMjxFM4iIiIeo3AWERHxGIWziIiIxyicRUREPEbhLCIi4jEK53qG5E0k/+2BOlaTvCLEtkay4+mtSE4VySUke4TQrk69jySTSK4lGRvpWqT+qffhTHILySMkD5LcRXI6yaaRrqsqJD8kOTrSdZwMd53+j/8wM+tmZh9GqCQBQDLVDcyYWkzjagAHzGx5GEurbn4nbEuni5ntBvABgFvOxPxE/NX7cHZdbWZNAVwEoAeAuyJbjpwKOiK+Tdcm7OqgMQBejnQRoTqF92YWgFtPRy0i1Yn4B5mXmNkuAIvhhDQAgOQlJJeS/JZknn9XLMnzSX5E8gDJf5J8huQr7rgrSG73n767l36l+ziK5BSSX5MsJjmbZEt3XCOSr7jDvyX5hdvFdj+AywE84+7pP+O27+LOfy/J9SSv95tnAskFJPeT/BxAh6qWv6r5uuM+JPkgyc/dac331euO/4fb81BC8mOS3dzhtwAYDuBOt+a3gqyL3iQ/cee5012PDUN5z9y67ie5BMBhABfUsD4GkFzjvmeFJH/n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AWQDmOPOIx5OV24xnA/cBwImHVhzoHh3fgfdLtux1bStSZXrw32fhpNsbmbH3Hn6lu/vAEaRvIjOda0PAPjMzLaYWRGckB7hbge/RDUB5HY1/xXA43ROVoom2cedbpXbVBWT+wjAf8E5VrodwP/B6bpPAOC7fCkezpewIgAxJO8B8N2eJskRJBPdur51B1e67Stx/HszFcBd/M8Jfc1JDkUQZlYG4D0cfwhiGoD/JtmJjgtJJgR5+VcABrnbZUc4e/e+er9H8mL3/80hOOFZ1fb/OYADJCfTObErms7JY98LVnOQZajuvQKA3nAOk5xMr5hIrSmcA7gfxDPhHKctgLNH+Hs4H2QFcL7B+9bbzwBcDKfr70/u63zTKQFwG5wPK9/el//Z208CWADgXTrHuz91pwU4exFz4ITHWjgf0C/7vW4InTNpnzKzAwD+H5xjbDvgnAj0MP7zRWAcnJOAdsHpFfhbNYtf3XzhPp7uTqsRAN9ZsTPhdAkXAljjLou/l+Ac5/2W5JtB5vs7OOvyAJzjha9XU2O1QlgfPwewxe0+HwOnyxtm9h6c4+hz4fSKdMDxxy1vhvPeF8M5ESrYnmTgMq0E8AWc7eNhOCdv1bRNBS7PBgAH4YQyzDkHYBOAJe4XI8A5FPEOnC+EW+GEmX9Xbn8Aq0kehLP9DDOzI2Z2GMD9AJa4780lZvaGW+tr7jpaBeCqapbzeTjr1OdxOL0R78LZjl6Cc4JcoCcAlMEJ2xlwLlnyaQZnO9jnLk8xgEfcccdtS+46GAjnuPxmOHvC0+D04IQq6HvljhsO5wuLyBlFs5p6HCVUJO+FczLViEjXEm4kP4Rzdva0SNci3kLnMrZxdoZ+iORMIXkunC+oPczsaKTrkfqlPv1YgoicBmb2/UjXcDqY2R44l3GJnHHq1hYREfEYdWuLiIh4jPacRUREPCZix5xbtWplqampkZq9iEidtGzZsm/MLLHmllKXRSycU1NTkZubG6nZi4jUSSR1zXU9oG5tERE
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster d:\n",
" term cpu ram\n",
"0 -1 0.000009 0.000001\n",
"1 4 0.000461 0.000064\n",
"2 5 0.000237 0.000028\n",
"3 6 0.000954 0.000130\n",
"4 7 0.954681 0.979276\n",
"5 8 0.043658 0.020502\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAmUklEQVR4nO3de3wU9b0+8OdJAiHcJcQYSCAKBAhgFFIUq62Hyq9I8XK4KApFaVFBKVQsgrXlaM7xVm/1elCxBRSrFFAQg1jr7RS8BTHcIcgtBJAYMNwTknx+f8ysXZZNspCFnSTP+/Xixe7Md2Y+MzvZZ+c7szs0M4iIiIh3REW6ABERETmewllERMRjFM4iIiIeo3AWERHxGIWziIiIxyicRUREPEbhXM+QvJnkvzxQxxqSl4fY1kh2PL0VyakiuZTkhSG0qxWvo//fCMlYkutJJkS6Lqlf6n04k9xK8gjJgyR3k5xBsmmk66oMyY9Ijo50HSfD3ab/4z/MzLqZ2UcRKkkAkEx1AzOmBvO4CsABM1sRxtKqWt4J+9LpZGYlAP4CYMqZWqYIoHD2ucrMmgK4AMCFAO6JbDlyKuiI+D5dk7CrhcYAeCXSRYTqFF+b1wDcRDI23PWIVCbib2ReYma7ASyBE9IAAJIXk1xG8nuSuf5dsSTPJfkxyQMk/0HyWZKvuuMuJ7nDf/7uUfoV7uMoklNIfkOyiOQckq3ccY1IvuoO/57klyQTST4A4DIAz7pH+s+67bu4y99LcgPJ6/yWGU9yIcn9JL8A0KGy9a9sue64j0g+RPILd14LfPW64//u9jwUk/yEZDd3+K0AhgO426357SDbojfJT91l7nK3Y8NQXjO3rgdILgVwGMB51WyPASTXuq9ZAcnf+Y27heQmd7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24RnDfcBwNmHVhzoGbu8g66XbZjq2hbnUq3h/s6DSfZwsyOucv0rd/fAIwieQGdq3IfBPC5mW01s0I4IT3C3Q9+hSoCyO1q/guAJ9yLlaJJ9nHnW+k+VcnsPgbwH3DOle4A8H9wuu7jAfi+vtQMTsAUAoghORXAD0eaJEeQTHDr+t4dXOG2r8Dxr800APfw3xf0tSA5FEGYWSmA93H8KYjpAP6bZCc6zicZH2TyrwEMcvfLjnCO7n31/ojkRe7fzSE4H3Qq2/+/AHCA5GQ6F+FF07l47EfBag6yDtX+jbgfPlrBuUZE5IxQOAdw34hnwTkHlQ/niPD3cN7I8uF8gvdttxsBXASn6++/3Ol88ykGcDucNyvf0Zf/1dtPwbnI5D0657s/c+cFOEcRc+GExzo4b9Cv+E03hM6VtE+b2QEA/w/OObadcC4EegT//iAwDs5FQLvh9Ar8tYrVr2q5cB/PcOfVCIDvqthZcLoCCwCsxYlvYi/DOc/7Pcm3giz3d3C25QE45wvfqKLGKoWwPX4JYKvbfT4GTpc3zOx9OOfR58HpFemA489b3gLntS+CcyFUsCPJwHVaBeBLOPvHI3Au3qpunwpcn40ADsIJZZhzDcBmAEvdYAGcUxHvwvlAuA1OmPl30/YHsIbkQTj7zzAzO2JmhwE8AGCp+9pcbGZvurW+7m6j1QCurGI9X4CzTX2egNMb8R6c/ehlOBfIBXoSQCmcsJ0JYLbfuOZw9oN97voUAXjUHXfcvuRug4FwzstvgdNrMR1OD06oqvsbuRHATPeaAZEzgmbV9ThKqEjeB+diqhGRriXcSH4E5+rs6ZGuRbyFztfYxtkZ+iGSM8nt7cgF8BMz2xPpeqT+qE8/liAip4GZ/TjSNZwu7tFyl0jXIfWPurVFREQ8Rt3aIiIiHqMjZxEREY+J2Dnn1q1bW2pqaqQWLyJSKy1fvvw7M9MtLOu4iIVzamoqcnJyIrV4EZFaieTJ/BKh1FLq1hYREfEYhbO
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster e:\n",
" term cpu ram\n",
"0 -1 1.510196e-04 1.647196e-04\n",
"1 4 3.620883e-03 3.212742e-03\n",
"2 5 5.137287e-04 4.737717e-04\n",
"3 6 1.672195e-02 1.310360e-02\n",
"4 7 9.789918e-01 9.830448e-01\n",
"5 8 6.259843e-07 3.428963e-07\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAmSElEQVR4nO3deXwV9b3/8dcnCYSwC0RkCUSBAAGMCkWxtvVS+YkUlyugWClqRQWlWLEI1taf5t66V+uCP1S8FVyqFhcQQax1u4JagxiWsMoWwhYBWSWQ5Pv7Y+bYw/EkOZADZ0Lez8fjPDgz852Zz0yG856ZM2fGnHOIiIhIcCQlugARERE5lMJZREQkYBTOIiIiAaNwFhERCRiFs4iISMAonEVERAJG4VzLmNnVZvZJAOpYYmbnxtjWmVnHo1uRHCkzm2tmp8fQrsb9Hc3sVDObl+g6pPap9eFsZmvN7Dsz22Nmm83sOTNrmOi6KmJmH5rZiETXcTj8dfrf4f2cc92ccx8mqCQBzCzTD8yUakzjQmC3c25BHEurbH4/2JaOJufcQuBbfzlFjplaH86+C51zDYHTgNOB2xNbjhwJ8yR8m65O2NVAI4HnE11ErI7wb/MicEO8axGplHOuVr+AtcB5Yd0PAG+HdZ8FzAO+BfKBc8OGnQx8BOwG/gE8AbzgDzsX2FDRvPB2jCYAXwPbgFeBZv6wesALfv9vgS+AlsCfgDJgP7AHeMJv38Wf/3ZgOXBZ2DybAzOAXcC/gP8CPqlgXUSdrz/sQ+Befxq7gOmhev3hfwc2AzuBj4Fufv/rgYPAAb/mt6Ksi97Ap/48N/nrsW7YtB3QsYKaP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 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster f:\n",
" term cpu ram\n",
"0 -1 0.000001 0.000003\n",
"1 4 0.000080 0.000135\n",
"2 5 0.000009 0.000021\n",
"3 6 0.000133 0.000218\n",
"4 7 0.943965 0.902279\n",
"5 8 0.055811 0.097345\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAmMklEQVR4nO3de3wU9b3/8fcnCYQ7CEREblHuAYwCxWJt9dD6K1K8HAHFQmltUaGl0GIptFaP5pyqra1WrR5U2ipqqxZUEEGstdVTUNsghvtNbuGmEZCrAkk+vz9mYpd1c4Es7IS8no9HHuzMfGfmM7PDvne+M7tr7i4AABAdaakuAAAAHI1wBgAgYghnAAAihnAGACBiCGcAACKGcAYAIGII51rIzL5lZv+IQB3LzeziKrZ1M+t0YivC8TKzBWZ2XhXaRfJ5NLP6Zvaime0xsz+b2WVm9kyq60LtRThLMrONZvaxme03sx1m9piZNUp1XeUxs7+b2ehU13Eswn36P7Hj3L2Hu/89RSVBkpllh4GZUY1lXCZpn7svTmJpFa3vM8dSEgyV1EpSC3cf5u4vSuphZuckeT1AlRDO/3aZuzeSdK6k8yT9JLXl4HhYIOXHdXXCrgYaI+mJVBdRVeU8Nx0krXH34phxf5J0w8mpCojj7rX+T9JGSV+JGf6lpJdihj8vaaGkjyQVSLo4ZtpZkl6XtE/SXyT9VtKT4bSLJW0pb10K3hxNkfSepJ2SnpXUPJxWT9KT4fiPJP1LwTv7n0sqkfSJpP2Sfhu27xauf5ek1ZKujllnC0mzJe2V9E9J/y3pH+Xsi4TrDaf9XdKd4TL2SppVVm84/c+SdkjaI+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Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster g:\n",
" term cpu ram\n",
"0 -1 0.000013 0.000007\n",
"1 4 0.000340 0.000253\n",
"2 5 0.000044 0.000039\n",
"3 6 0.001761 0.001667\n",
"4 7 0.273768 0.309543\n",
"5 8 0.724074 0.688491\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAmqElEQVR4nO3de3wU9b0+8OdJAiFAAAkRgQSiQIAARiGiWK0eKr8ixcvhoigUpUUFS6FiEawt1Zx6q7d6PajYAooKBRREEGu9HcFbEMMdgtxCAIkBwz0hyef3x8zSZdkkC1nYSfK8Xy9e7M58d+Yzs5N9dr4zs0Mzg4iIiHhHVKQLEBERkeMpnEVERDxG4SwiIuIxCmcRERGPUTiLiIh4jMJZRETEYxTOtQzJW0l+5oE6VpO8MsS2RrLd6a1IThXJJSQvDKFdtXsfScaSXEcyMdK1SO1S68OZ5BaSh0keILmL5FSSDSNdV3lIfkxyRKTrOBnuOv2L/zAz62xmH0eoJAFAMsUNzJgqTOMaAPvNbHkYS6tofidsS6eTmRUB+DuAiWdqniKAwtnnGjNrCOACABcCuDey5cipoCPi23RVwq4aGgng1UgXEapTfG9eB3ALydhw1yNSnoh/kHmJme0CsBhOSAMASF5CcinJH0lm+3fFkjyX5Cck95P8F8nnSL7mjruS5Hb/6bt76Ve5j6NITiT5HckCkrNINnXH1SP5mjv8R5Jfk2xO8kEAlwN4zt3Tf85t39Gd/x6S60ne4DfPBJLzSe4j+RWAtuUtf3nzdcd9TPJhkl+505rnq9cd/0+356GQ5KckO7vDbwcwBMA9bs3vBFkXPUh+7s5zp7se64bynrl1P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cPpyu7JZx
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cluster h:\n",
" term cpu ram\n",
"0 -1 0.000001 2.221178e-07\n",
"1 4 0.000060 7.513351e-06\n",
"2 5 0.000009 1.435151e-06\n",
"3 6 0.000156 1.872738e-05\n",
"4 7 0.789101 9.771332e-01\n",
"5 8 0.210673 2.283888e-02\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAEICAYAAABlHzwDAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAmX0lEQVR4nO3de3wU9b0+8OdJAiFAuIUYAwlEgQABjEKKYrX1UPkVKV4OF0WhKC0qKIWKRbC2HM053uqtXg8qtoBilQIKIoi13k7BWxDDHYLcQgCJAcM9Icnn98fM0mXZJAtZ2Al53q9XXuzOfGfmM7PDPjvfmd2hmUFERES8IyrSBYiIiMjxFM4iIiIeo3AWERHxGIWziIiIxyicRUREPEbhLCIi4jEK5zqG5C0k/+WBOlaTvCLEtkay/emtSE4VySUkLwqhnSdfR5LTSP5PJeNiSa4jmXim65K6rc6HM8ktJA+TPEByl/sftXGk66oMyY9Jjox0HScj2JufmXUxs48jVJIAIJnmBmZMDeZxNYD9ZrY8jKVVtbxKg/R0MLMSAH8BMOlMLVMEUDj7XG1mjQFcCOAiAPdGthw5FXREfJ+uSdjVQqMAvBrpIkJ1iq/N6wBuJhkb7npEKhPxNzIvMbNdABbDCWkAAMlLSC4l+QPJXP+uWJLnkfyE5H6S/yD5HMnX3HFXkNzuP3/3KP1K93EUyUkkvyVZRHIWyRbuuAYkX3OH/0DyK5JJJB8EcDmA59wj/efc9p3c5e8huZ7k9X7LTCA5n+Q+kl8CaFfZ+le2XHfcx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cuWfW9muoXlWS5i4ZyWloacnJx
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"for cluster in \"abcd\":\n",
" df = pd.read_csv(glob.glob(DIR + cluster + \"_actual/part-*\")[0], header=None,\n",
" names=[\"term\", \"cpu\", \"ram\"])\n",
" plot_df(df, cluster, \"Actual\")\n",
" \n",
"for cluster in \"abcdefgh\":\n",
" data = None\n",
" with open(DIR + cluster + \"_res_micros_requested.json\", \"r\") as f:\n",
" data = json.loads(f.read())\n",
" dfd = {'term': [], 'cpu': [], 'ram': []}\n",
" for term in [-1,4,5,6,7,8]:\n",
" dfd['term'].append(term)\n",
" dfd['cpu'].append(float(data[\"cpu-\" + (\"None\" if term == -1 else str(term))]))\n",
" dfd['ram'].append(float(data[\"ram-\" + (\"None\" if term == -1 else str(term))]))\n",
" df = pandas.DataFrame(dfd, columns=['term', 'cpu', 'ram'])\n",
" plot_df(df, cluster, \"Requested\")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "venv",
"language": "python",
"name": "venv"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
2021-04-27 14:37:09 +00:00
"version": "3.9.4"
2021-04-13 14:13:15 +00:00
}
},
"nbformat": 4,
"nbformat_minor": 5
}