Hot Caches
Mem. Controller 19% Bus Interface Unit 12% Data Cache 14% Instructio n Cache 7% Data Path 32% Integer Units 16%
Alpha 21264
D Cache 19%
I Cache 25%
D MMU 5% I MMU 4%
ARM 920T
ARM 9 25%
Mrinmoy Ghosh
Motivation
1000000000 100000000 10000000 1000000 100000 10000 1000 100 10 1 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 Max Min Avg
Mrinmoy Ghosh
Salient Features
Reuse most significant byte Counting granularity in bits rather than bytes Compression scheme is a hybrid of two schemes, where the better scheme is chosen dynamically Each scheme gives power savings of around 30-45% if applied independently, and the hybrid scheme saves around 3-5% more than either of the schemes.
Mrinmoy Ghosh
4
CoolPression Cache
CE Bit
ZIBs
CE Bit 66bits bits 36 bits
CoolCount Circuit
Data Out 32
33
Step 2a: Read only 32 count bits and append with leading zeroes or ones 33 33 CE Bit 36 bits
Bitline Enable Lines Step 1: Read In First 7 bits and the ZIBs
CoolCount Circuit
Data Out Mrinmoy Ghosh 32
33
Priority Encoder
2
Mrinmoy Ghosh
0
6
Priority Encoder
Mrinmoy Ghosh
CE ==1
Yes
No Read Data for bytes where ZIB is not enabled and make the other bytes zero Mrinmoy Ghosh Read Data From Least Significant ~count bit lines and append with count leading zeroes or ones
Count >8
Yes
Set CE bit to one and Enable Most Significant 6 bits lines and Least Significant ~count bit lines
No Set CE bit to 0 and Write Data to Cache setting ZIBs where necessary
Mrinmoy Ghosh
10
Effect on Performance
Normal Cache
2.5 2 1.5 IP C 1 0.5 0 Crafty Gcc Gzip Mcf Parser Twolf Vortex VPR Avg
Coolcount Cache
Mrinmoy Ghosh
11
Results
16K Data Cache
1 .2 1 0.8 0.6
Icache CoolCount
Icache DZC
Icache CoolPression
Mrinmoy Ghosh
12
Conclusions
System Transparent Hybrid Zero Compression Scheme Bit level and Byte level compressibility used to save power Energy Savings of over 35% over baseline cache Potential Use at other places where data transfer takes place like L2 Cache to Memory
Mrinmoy Ghosh
13
Thank You
Mrinmoy Ghosh
14