Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ The name in `code` is what you pass to `cachesim` on the command line (names are
* [3LCache](/libCacheSim/cache/eviction/3LCache/) `3lcache` — build with `-DENABLE_3L_CACHE=ON`
* [WTinyLFU](/libCacheSim/cache/eviction/WTinyLFU.c) `wtinylfu`
* [QD-LP](/libCacheSim/cache/eviction/QDLP.c) `qdlp`
* [S3-FIFO](/libCacheSim/cache/eviction/S3FIFO.c) `s3fifo`, [S3-FIFOd](/libCacheSim/cache/eviction/S3FIFOd.c) `s3fifod`
* [S3-FIFO](/libCacheSim/cache/eviction/S3FIFO.c) `s3fifo`
* [S4-FIFO](/libCacheSim/cache/eviction/S4FIFO.c) `s4fifo` — S3-FIFO with tunable queue sizes, a skip ratio, and ghost/small promotion thresholds
* [Sieve](/libCacheSim/cache/eviction/Sieve.c) `sieve`

### Admission algorithms
Expand Down
2 changes: 1 addition & 1 deletion doc/quickstart_cachesim.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ cachesim supports the following algorithms:
* [Belady](/libCacheSim/cache/eviction/Belady.c)
* [BeladySize](/libCacheSim/cache/eviction/BeladySize.c)
* [QD-LP](/libCacheSim/cache/eviction/QDLP.c)
* [S3-FIFO](/libCacheSim/cache/eviction/S3FIFO.c), [Sieve](/libCacheSim/cache/eviction/Sieve.c)
* [S3-FIFO](/libCacheSim/cache/eviction/S3FIFO.c), [S4-FIFO](/libCacheSim/cache/eviction/S4FIFO.c), [Sieve](/libCacheSim/cache/eviction/Sieve.c)
* [GLCache](/libCacheSim/cache/eviction/GLCache/GLCache.c) — build with `-DENABLE_GLCACHE=ON`

See the [README](/README.md#supported-algorithms) for the full list, including the algorithms that are behind an optional build flag (GLCache, LRB, 3LCache). Asking for one that was not compiled in fails with `do not support algorithm <name>`.
Expand Down
2 changes: 1 addition & 1 deletion libCacheSim/cache/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ set(eviction_sources_c
eviction/RandomLRU.c
eviction/RandomTwo.c
eviction/S3FIFO.c
eviction/S4FIFO.c
eviction/Sieve.c
eviction/Size.c
eviction/SLRU.c
Expand All @@ -68,7 +69,6 @@ set(eviction_sources_c
eviction/FIFO_Merge.c
eviction/FIFO_Reinsertion.c
eviction/S3FIFOv0.c
eviction/S3FIFOd.c
eviction/other/flashProb.c
eviction/other/S3LRU.c
)
Expand Down
3 changes: 2 additions & 1 deletion libCacheSim/cache/cacheAlgoRegistry.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ static const cache_algo_entry_t g_cache_algos[] = {
{"s3-fifo", S3FIFO_init},
{"s3-fifov0", S3FIFOv0_init},
{"s3fifo", S3FIFO_init},
{"s3fifod", S3FIFOd_init},
{"s3fifov0", S3FIFOv0_init},
{"s4-fifo", S4FIFO_init},
{"s4fifo", S4FIFO_init},
{"sieve", Sieve_init},
{"size", Size_init},
{"slru", SLRU_init},
Expand Down
Loading
Loading