()
| 154 | |
| 155 | |
| 156 | def run(): |
| 157 | import glob |
| 158 | |
| 159 | algos = "lru,arc,lhd,tinylfu,s3fifo,sieve" |
| 160 | cache_sizes = "0" |
| 161 | for i in range(1, 100, 2): |
| 162 | cache_sizes += str(i / 100.0) + "," |
| 163 | cache_sizes = cache_sizes[:-1] |
| 164 | print(cache_sizes) |
| 165 | |
| 166 | for tracepath in glob.glob("/disk/data/*.zst"): |
| 167 | dataname = extract_dataname(tracepath) |
| 168 | mrc_dict = run_cachesim_time(tracepath, algos, cache_sizes) |
| 169 | plot_mrc_time(mrc_dict, dataname) |
| 170 | |
| 171 | |
| 172 | if __name__ == "__main__": |
no test coverage detected