29.01.2015 Views

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Generalized Data Trans<strong>for</strong>mations 433<br />

The graph in Figure 31-6 shows the percentage reduction in execution times<br />

(again, with respect to the original co<strong>de</strong>s) with different cache sizes and<br />

associativities. Each point in this graph represents an average value across<br />

all our benchmarks. One can observe that, using a larger cache or a cache with<br />

a higher set-associativity reduces the effectiveness of our approach. The reason<br />

that the percentage savings due to our strategy reduce when the cache size or<br />

associativity is increased can be explained as follows. When the cache<br />

capacity/associativity is increased, the original (i.e., the one without optimization)<br />

version starts to per<strong>for</strong>m better as more data are captured in the<br />

cache (as compared to the case with the small cache size/associativity). While<br />

our approach also per<strong>for</strong>ms better with the increased cache size/associativity,<br />

the improvement rate of the original co<strong>de</strong>s is much higher than that of the<br />

optimized co<strong>de</strong>s. Consequently, we observe a reduction in execution time<br />

savings as we increase the cache capacity/associativity. Nevertheless, even<br />

with a 32 KB, 2-way data cache, we achieve around 15% reduction in<br />

xecution time.<br />

6. CONCLUDING REMARKS<br />

Most existing work based on data trans<strong>for</strong>mations <strong>for</strong> improving data cache<br />

behavior of array dominated co<strong>de</strong>s target a single array at a time. In this work,<br />

we <strong>de</strong>velop a new, generalized data space trans<strong>for</strong>mation theory and present<br />

experimental data to <strong>de</strong>monstrate its effectiveness. Our results clearly indicate<br />

that the proposed approach is very successful in practice.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!