a484d49128
- Added `tqdm` progress bar to track simulation progress in real-time. - Improved computation of hit rates and average ages for better accuracy. - Updated data export logic for clearer output and better insights. Reran Experiments Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
4.1 KiB
4.1 KiB
1 | obj_id | access_count | hits | misses | mu | lambda | hit_rate | avg_age |
---|---|---|---|---|---|---|---|---|
2 | 1 | 126 | 62 | 64 | 0 | 1 | 49.21 | 0.41935483870967744 |
3 | 2 | 136 | 74 | 62 | 0 | 1 | 54.41 | 0.5540540540540541 |
4 | 3 | 131 | 70 | 61 | 0 | 1 | 53.44 | 0.5142857142857142 |
5 | 4 | 113 | 57 | 56 | 0 | 1 | 50.44 | 0.47368421052631576 |
6 | 5 | 237 | 157 | 80 | 0 | 2 | 66.24 | 0.4140127388535032 |
7 | 6 | 353 | 260 | 93 | 0 | 3 | 73.65 | 0.49230769230769234 |
8 | 7 | 105 | 43 | 62 | 0 | 1 | 40.95 | 0.4186046511627907 |
9 | 8 | 653 | 548 | 105 | 0 | 5 | 83.92 | 0.5018248175182481 |
10 | 9 | 146 | 81 | 65 | 0 | 1 | 55.48 | 0.48148148148148145 |
11 | 10 | 114 | 51 | 63 | 0 | 1 | 44.74 | 0.5490196078431373 |
12 | 11 | 136 | 70 | 66 | 0 | 1 | 51.47 | 0.5714285714285714 |
13 | 12 | 119 | 57 | 62 | 0 | 1 | 47.9 | 0.5614035087719298 |
14 | 13 | 116 | 56 | 60 | 0 | 1 | 48.28 | 0.4107142857142857 |
15 | 14 | 5223 | 5100 | 123 | 0 | 41 | 97.65 | 0.497843137254902 |
16 | 15 | 1849 | 1731 | 118 | 0 | 15 | 93.62 | 0.5083766608896592 |
17 | 16 | 118 | 61 | 57 | 0 | 1 | 51.69 | 0.3770491803278688 |
18 | 17 | 261 | 180 | 81 | 0 | 2 | 68.97 | 0.46111111111111114 |
19 | 18 | 253 | 172 | 81 | 0 | 2 | 67.98 | 0.5290697674418605 |
20 | 19 | 108 | 52 | 56 | 0 | 1 | 48.15 | 0.5384615384615384 |
21 | 20 | 122 | 57 | 65 | 0 | 1 | 46.72 | 0.49122807017543857 |
22 | 21 | 252 | 165 | 87 | 0 | 2 | 65.48 | 0.5333333333333333 |
23 | 22 | 100 | 49 | 51 | 0 | 1 | 49.0 | 0.40816326530612246 |
24 | 23 | 104 | 49 | 55 | 0 | 1 | 47.12 | 0.5510204081632653 |
25 | 24 | 123 | 61 | 62 | 0 | 1 | 49.59 | 0.5737704918032787 |
26 | 25 | 410 | 313 | 97 | 0 | 3 | 76.34 | 0.5303514376996805 |
27 | 26 | 134 | 69 | 65 | 0 | 1 | 51.49 | 0.5217391304347826 |
28 | 27 | 109 | 53 | 56 | 0 | 1 | 48.62 | 0.4716981132075472 |
29 | 28 | 108 | 55 | 53 | 0 | 1 | 50.93 | 0.45454545454545453 |
30 | 29 | 1428 | 1312 | 116 | 0 | 11 | 91.88 | 0.5137195121951219 |
31 | 30 | 134 | 70 | 64 | 0 | 1 | 52.24 | 0.44285714285714284 |
32 | 31 | 117 | 55 | 62 | 0 | 1 | 47.01 | 0.5636363636363636 |
33 | 32 | 247 | 162 | 85 | 0 | 2 | 65.59 | 0.5370370370370371 |
34 | 33 | 384 | 290 | 94 | 0 | 3 | 75.52 | 0.5103448275862069 |
35 | 34 | 120 | 56 | 64 | 0 | 1 | 46.67 | 0.5178571428571429 |
36 | 35 | 117 | 57 | 60 | 0 | 1 | 48.72 | 0.6491228070175439 |
37 | 36 | 115 | 57 | 58 | 0 | 1 | 49.57 | 0.631578947368421 |
38 | 37 | 128 | 66 | 62 | 0 | 1 | 51.56 | 0.5909090909090909 |
39 | 38 | 390 | 295 | 95 | 0 | 3 | 75.64 | 0.5559322033898305 |
40 | 39 | 102 | 46 | 56 | 0 | 1 | 45.1 | 0.4782608695652174 |
41 | 40 | 123 | 59 | 64 | 0 | 1 | 47.97 | 0.5423728813559322 |
42 | 41 | 146 | 82 | 64 | 0 | 1 | 56.16 | 0.4878048780487805 |
43 | 42 | 121 | 57 | 64 | 0 | 1 | 47.11 | 0.47368421052631576 |
44 | 43 | 131 | 66 | 65 | 0 | 1 | 50.38 | 0.5606060606060606 |
45 | 44 | 125 | 60 | 65 | 0 | 1 | 48.0 | 0.4166666666666667 |
46 | 45 | 5061 | 4938 | 123 | 0 | 41 | 97.57 | 0.5012150668286756 |
47 | 46 | 111 | 49 | 62 | 0 | 1 | 44.14 | 0.46938775510204084 |
48 | 47 | 344 | 247 | 97 | 0 | 3 | 71.8 | 0.5546558704453441 |
49 | 48 | 120 | 58 | 62 | 0 | 1 | 48.33 | 0.4482758620689655 |
50 | 49 | 109 | 57 | 52 | 0 | 1 | 52.29 | 0.40350877192982454 |
51 | 50 | 224 | 145 | 79 | 0 | 2 | 64.73 | 0.4413793103448276 |
52 | 51 | 142 | 80 | 62 | 0 | 1 | 56.34 | 0.5375 |
53 | 52 | 1477 | 1361 | 116 | 0 | 12 | 92.15 | 0.49742836149889785 |
54 | 53 | 133 | 64 | 69 | 0 | 1 | 48.12 | 0.421875 |
55 | 54 | 263 | 186 | 77 | 0 | 2 | 70.72 | 0.510752688172043 |
56 | 55 | 1398 | 1282 | 116 | 0 | 11 | 91.7 | 0.5405616224648986 |
57 | 56 | 123 | 58 | 65 | 0 | 1 | 47.15 | 0.5344827586206896 |
58 | 57 | 130 | 71 | 59 | 0 | 1 | 54.62 | 0.4647887323943662 |
59 | 58 | 120 | 64 | 56 | 0 | 1 | 53.33 | 0.546875 |
60 | 59 | 116 | 59 | 57 | 0 | 1 | 50.86 | 0.5084745762711864 |
61 | 60 | 127 | 64 | 63 | 0 | 1 | 50.39 | 0.640625 |
62 | 61 | 133 | 73 | 60 | 0 | 1 | 54.89 | 0.589041095890411 |
63 | 62 | 134 | 71 | 63 | 0 | 1 | 52.99 | 0.5492957746478874 |
64 | 63 | 131 | 66 | 65 | 0 | 1 | 50.38 | 0.42424242424242425 |
65 | 64 | 360 | 268 | 92 | 0 | 3 | 74.44 | 0.41044776119402987 |
66 | 65 | 521 | 418 | 103 | 0 | 4 | 80.23 | 0.5263157894736842 |
67 | 66 | 630 | 525 | 105 | 0 | 5 | 83.33 | 0.5314285714285715 |
68 | 67 | 138 | 72 | 66 | 0 | 1 | 52.17 | 0.375 |
69 | 68 | 125 | 64 | 61 | 0 | 1 | 51.2 | 0.453125 |
70 | 69 | 123 | 59 | 64 | 0 | 1 | 47.97 | 0.4915254237288136 |
71 | 70 | 1049 | 936 | 113 | 0 | 8 | 89.23 | 0.4465811965811966 |
72 | 71 | 385 | 284 | 101 | 0 | 3 | 73.77 | 0.4964788732394366 |
73 | 72 | 127 | 62 | 65 | 0 | 1 | 48.82 | 0.7258064516129032 |
74 | 73 | 107 | 49 | 58 | 0 | 1 | 45.79 | 0.5102040816326531 |
75 | 74 | 126 | 63 | 63 | 0 | 1 | 50.0 | 0.4603174603174603 |
76 | 75 | 1018 | 907 | 111 | 0 | 8 | 89.1 | 0.515986769570011 |
77 | 76 | 381 | 287 | 94 | 0 | 3 | 75.33 | 0.42160278745644597 |
78 | 77 | 264 | 172 | 92 | 0 | 2 | 65.15 | 0.5 |
79 | 78 | 1375 | 1256 | 119 | 0 | 11 | 91.35 | 0.5079617834394905 |
80 | 79 | 245 | 165 | 80 | 0 | 2 | 67.35 | 0.5393939393939394 |
81 | 80 | 122 | 67 | 55 | 0 | 1 | 54.92 | 0.43283582089552236 |
82 | 81 | 124 | 56 | 68 | 0 | 1 | 45.16 | 0.5892857142857143 |
83 | 82 | 127 | 62 | 65 | 0 | 1 | 48.82 | 0.5806451612903226 |
84 | 83 | 135 | 76 | 59 | 0 | 1 | 56.3 | 0.5 |
85 | 84 | 130 | 65 | 65 | 0 | 1 | 50.0 | 0.5076923076923077 |
86 | 85 | 642 | 538 | 104 | 0 | 5 | 83.8 | 0.5130111524163569 |
87 | 86 | 245 | 159 | 86 | 0 | 2 | 64.9 | 0.42138364779874216 |
88 | 87 | 132 | 65 | 67 | 0 | 1 | 49.24 | 0.5846153846153846 |
89 | 88 | 247 | 168 | 79 | 0 | 2 | 68.02 | 0.5059523809523809 |
90 | 89 | 113 | 51 | 62 | 0 | 1 | 45.13 | 0.5294117647058824 |
91 | 90 | 141 | 76 | 65 | 0 | 1 | 53.9 | 0.5263157894736842 |
92 | 91 | 400 | 306 | 94 | 0 | 3 | 76.5 | 0.5359477124183006 |
93 | 92 | 249 | 164 | 85 | 0 | 2 | 65.86 | 0.49390243902439024 |
94 | 93 | 1155 | 1041 | 114 | 0 | 9 | 90.13 | 0.48895292987512007 |
95 | 94 | 125 | 59 | 66 | 0 | 1 | 47.2 | 0.423728813559322 |
96 | 95 | 138 | 74 | 64 | 0 | 1 | 53.62 | 0.5405405405405406 |
97 | 96 | 138 | 72 | 66 | 0 | 1 | 52.17 | 0.6388888888888888 |
98 | 97 | 516 | 414 | 102 | 0 | 4 | 80.23 | 0.5241545893719807 |
99 | 98 | 111 | 51 | 60 | 0 | 1 | 45.95 | 0.5686274509803921 |
100 | 99 | 124 | 65 | 59 | 0 | 1 | 52.42 | 0.47692307692307695 |
101 | 100 | 256 | 172 | 84 | 0 | 2 | 67.19 | 0.48255813953488375 |