Previous - Up - Next

18.6   Using g-cache

Let us have a more detailed look at g-cache. It has the following features:

Transactions are handled one at a time; all operations are done in order, at once, and a total stall time is returned. The transaction is not reissued afterward. Here's a short description of the way g-cache handles a transaction (we assume a write-back, write allocate cache):

Note the usage of penalty_read/write and penalty_read/write_next: a write-through cache would always take a penalty_write_next penalty independently of the fact that a write is a hit or a miss, but g-cache always reports hits and misses according to the line lookup, not based on the fact that a transaction is propagated to the next level.

Previous - Up - Next