Portrait of Shrey Tripathi

Shrey Tripathi

Foundation Model Research and Engineering

Currently leading post-training work at ZenteiQ

shreytripathi27 [AT] gmail.com

Cache

Implementation of a DM Cache and a 4-way SA Cache

Implementation of a Direct Mapped Cache and a 4-way Set Associative Cache in python.

Hit rates and miss rates of the two caches for five input memory trace files:

Note: The LRU (Least Recently Used) policy has been used for replacement in the 4-way Set Associative Cache.

Observations:

Implementation:

GitHub Repository