Welcome to libCacheSim Python¶
Note
For convenience, we refer to the libCacheSim Python Package (this repo) as libCacheSim and the C library as libCacheSim lib in the following documentation.

A high-performance library for building and running cache simulations
libCacheSim is an easy-to-use python binding of libCachesim lib for building and running cache simulations.
libCacheSim is fast with the features from underlying libCacheSim lib:
- High performance - over 20M requests/sec for a realistic trace replay.
- High memory efficiency - predictable and small memory footprint.
- Parallelism out-of-the-box - uses the many CPU cores to speed up trace analysis and cache simulations.
libCacheSim is flexible and easy to use with:
- Seamless integration with open-source cache dataset consisting of thousands traces hosted on S3.
- High-throughput simulation with the underlying libCacheSim lib
- Detailed cache requests and other internal data control
- Customized plugin cache development without any compilation