18 Commits

Author SHA1 Message Date
Tuan-Dat Tran
8cdfbd727e fix(simulation): Error with yield caused to wait for too shortly if floats have too many decimal points. Rounding up on smallest decimal point now
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-14 16:39:53 +01:00
Tuan-Dat Tran
d3650acfe3 refactor(folder-structure,unused-code): Moved results into own directory at base, removed unused code in 00/06
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-13 15:57:34 +01:00
Tuan-Dat Tran
a49579b6b0 fix(simulation): Moved access counter out of hit/miss condition, moved miss counter to before eviction policies
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-13 15:23:47 +01:00
Tuan-Dat Tran
c74d231d69 feat(simulation): refresh and lru simulation
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-13 14:41:37 +01:00
Tuan-Dat Tran
22c3e828b4 fix(simulation): incorrect subscription in SimulationConfig.from_file() fixed
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-13 11:54:19 +01:00
Tuan-Dat Tran
910a5c9233 refactor(comments): Added comments to explain the different example simulation configurations
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-12 22:15:58 +01:00
Tuan-Dat Tran
d5d163f098 feat(simulation): Overhauled configuration on 00/06, compared results with file ttl scenario from 00/04 and results are matching.
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-12 22:08:59 +01:00
Tuan-Dat Tran
5be438e9a1 feat(simulation): Added 00/04 to create a simulation from a list of lambdas and TTL
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-10 11:52:56 +01:00
Tuan-Dat Tran
b166a9e64a refactor(simulation): Commented out prints
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-05 21:58:15 +01:00
Tuan-Dat Tran
ed08b8fef3 feat(simulation): Event based eviction instead of iterative
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-05 21:46:52 +01:00
Tuan-Dat Tran
6da629f90e fix(simulation): Fixed expected age calculation
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-05 15:53:31 +01:00
Tuan-Dat Tran
b7aaa31860 fix(simulation): Added missing imports for 00_aoi_caching_simulation/multi_aoi_cache_simulation.ipynb and ran new experiments
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-05 14:49:41 +01:00
Tuan-Dat Tran
78345c9788 refactor(simulation): Copied changes from aoi_cache_simulation to multi_aoi_cache_simulation
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-05 14:40:20 +01:00
Tuan-Dat Tran
032251dd78 refactor/fix(simulation): Added expected hitrate for each objct and refactored Cache to handle TTL/non-TTL Cache-Types
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-05 13:48:20 +01:00
Tuan-Dat Tran
78e700a2cf fix(simulation): event based age calculation instead of iterative
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-04 17:11:50 +01:00
Tuan-Dat Tran
7d194176f0 feat(simulation): Added time spent in cache log for each object
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-04 16:38:39 +01:00
Tuan-Dat Tran
272f722f23 feat(objective optimization): Perform gridsearch as single-core and multi-core to find optimal parameters to minimize objective
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-03 14:19:45 +01:00
Tuan-Dat Tran
b2cc80bb09 refactor: Restructure Repository to add eta optimization
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-29 21:49:59 +01:00