feat: add new experiment notebook and visualization
- Added `aoi_cache_experiment_eval.ipynb`: A Jupyter notebook evaluating cache performance based on TTL (Time-to-Live) with hit rate and average age analysis. It includes visualizations and experiment results. - Removed the unused `experiment_name` variable in `aoi_cache_simulation.ipynb`. - Added `experiments/hr_and_age_vs_ttl.png`: A plot visualizing the relationship between hit rate and TTL, complementing the cache evaluation experiments. ### Reason The new notebook enhances experiment evaluation by providing a detailed analysis of cache behavior over different TTL values. The image file adds a visualization of the results. The removal of the `experiment_name` variable cleans up the simulation code, as it was not being utilized. Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
parent
62fc02b205
commit
673302a6b2
183
aoi_cache_experiment_eval.ipynb
Normal file
183
aoi_cache_experiment_eval.ipynb
Normal file
File diff suppressed because one or more lines are too long
@ -20,7 +20,6 @@
|
||||
"class CacheType(Enum):\n",
|
||||
" LRU = 1\n",
|
||||
" RANDOM_EVICTION = 2\n",
|
||||
"experiment_name = ''\n",
|
||||
"\n",
|
||||
"# Constants\n",
|
||||
"SEED = 42\n",
|
||||
|
BIN
experiments/hr_and_age_vs_ttl.png
Normal file
BIN
experiments/hr_and_age_vs_ttl.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
Loading…
x
Reference in New Issue
Block a user