lectures.alex.balgavy.eu

Lecture notes from university.
git clone git://git.alex.balgavy.eu/lectures.alex.balgavy.eu.git
Log | Files | Refs | Submodules

Performance considerations.md (756B)


      1 +++
      2 title = 'Performance considerations'
      3 +++
      4 # Performance considerations
      5 - price/performance ratio — common measure of success
      6 - hit rate — number of hits as a fraction of all attempted accesses
      7 - miss rate — number of misses as fraction of attempted accesses
      8 - miss penalty — total access time seen by processor when miss occurs
      9 
     10 improvements:
     11 
     12 - larger cache (increased cost)
     13 - larger block size (only effective up to a certain size, take longer to transfer)
     14 - load-through approach reduces miss penalty
     15 - implement cache on processor chip
     16 - write buffer — temporary storage of write requests, then sent all at once to main memory
     17 - prefetching data into cache
     18 - lockup-free cache — let processor access cache while a miss is being serviced