Finding cache cpi time <p>I need a formula or to at least be pointed in the right direction it involves cache and cpi time. I have a base machine that has a 2.4ghz clock rate it has L1 and L2 cache. L1 is 256k direct mapped write through . 90% read without a hit rate without penalty, miss penalty costs 4 cycles all writes take 1 cycle. L2 cache is 2mb, 4 way set associative write back. 99.5% hit rate 60 cycle miss penalty. 30% of all instructions are reads and 10% are writes all other instructions take one cycle.. I need to figure how to get the cpi. I know i have to find the base cpi but from there I'm not really sure where to go. Any tips on not just what the answer is but how is more important would be greatly appreciated. </p>