Closed xiaguan closed 2 months ago
Thank you for the work! However, I think it is not appropriate to scale the size because it would cause confusion.
I would like to separate the sampling part from libCacheSim, because online sampling does not achieve the speedup effect due to tracing reading being expensive. I am open to discussions.
I agree that this implementation will not alleviate the pressure on reading traces. However, I am not quite clear about the suggestion to separate the sampling part from libCachesim?
I think the sampling ratio should not affect cache size, otherwise a user will be confused.
separate the sampling part is that we can create separate targets for sampling the traces. I would prefer removing the sampling support in the future version. Cachesim is simulation tool and should do one thing and do it well.
sample ratio 0.1 on a small trace
sampling result is
without sampling