8 Commits

Author SHA1 Message Date
Tuan-Dat Tran
673302a6b2 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>
2024-11-27 16:58:54 +01:00
Tuan-Dat Tran
62fc02b205 chore: remove outdated simulation output files
Deleted generated simulation output files:
- : Redundant or outdated visualization of cache simulation results.
- : Obsolete log data, possibly superseded by newer exports or not needed for version control.

### Reason
These files are either auto-generated during simulation runs or are no longer relevant for tracking in version control. Their removal helps reduce repository clutter and ensures only essential files are maintained.

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-27 16:34:00 +01:00
Tuan-Dat Tran
2040ea639f chore: remove outdated simulation output files
Deleted generated simulation output files:
- : Redundant or outdated visualization of cache simulation results.
- : Obsolete log data, possibly superseded by newer exports or not needed for version control.

### Reason
These files are either auto-generated during simulation runs or are no longer relevant for tracking in version control. Their removal helps reduce repository clutter and ensures only essential files are maintained.

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-27 16:33:12 +01:00
Tuan-Dat Tran
6e8a742705 feat: add cache simulation with experiments for TTL and eviction strategies
Introduce a new simulation for Age of Information (AoI) cache management, focusing on varying TTL values and eviction strategies (LRU and Random Eviction). This includes:
- New Python script  for event-driven cache simulations using .
- Experiments for "No Refresh" across multiple TTL configurations (, , ..., ) with:
  - Hit rate and object age tracking (, , etc.).
  - Visualizations (e.g., , ).
- Updated  to describe experimental setup and configurations.
- Log export file () for simulation results.
- Refactor of  with detailed strategy configurations and runtime notes.

### Reason
The commit enhances the project by enabling detailed experiments with configurable cache parameters, supporting analysis of cache efficiency and AoI under varying conditions. This provides a foundation for more sophisticated simulations and insights.

### Performance
- Runtime: ~4m 29s for .

Co-authored experiments introduce structured data files and visualizations, improving clarity for future iterations.

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-27 16:31:46 +01:00
Tuan-Dat Tran
912b97a06e Added simulation stop condition for maximum access count for the object with the highest lambda
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-13 16:46:36 +01:00
Tuan-Dat Tran
8e1376cc44 adjusted lambda for inter arrival time
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-13 12:00:18 +01:00
Tuan-Dat Tran
594873c472 removed checkpoint:
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-08 21:39:33 +01:00
Tuan-Dat Tran
591ea50d82 Initial commit
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-08 21:38:45 +01:00