21.01.2013 Views

Lecture Notes in Computer Science 4917

Lecture Notes in Computer Science 4917

Lecture Notes in Computer Science 4917

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

330 F. Vandeputte and L. Eeckhout<br />

PhasePredictability Phase Predictability<br />

1.0<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0.0<br />

0<br />

0.5<br />

1<br />

1.5<br />

2<br />

Number of Phases<br />

2.5<br />

3<br />

(log10)<br />

3.5<br />

4<br />

1.0<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0.0<br />

0<br />

0.5<br />

1<br />

1.5<br />

2<br />

Number of Phases<br />

2.5<br />

3<br />

(log10)<br />

3.5<br />

4<br />

gcc-scilab eon-kajiya<br />

20<br />

21<br />

22<br />

23<br />

24<br />

25<br />

26<br />

27<br />

28<br />

29<br />

30 Interval Size (log2)<br />

1.0<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0.0<br />

Phase Predictability<br />

1.0<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0.0<br />

0<br />

0.5<br />

1<br />

1.5<br />

2<br />

Number of Phases<br />

2.5<br />

3<br />

(log10)<br />

3.5<br />

4<br />

gzip-program gap<br />

20<br />

21<br />

22<br />

23<br />

24<br />

25<br />

26<br />

27<br />

28<br />

29<br />

30 Interval Size (log2)<br />

1.0<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0.0<br />

Phase Predictability<br />

1.0<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0.0<br />

0<br />

0.5<br />

1<br />

1.5<br />

2<br />

Number of Phases<br />

2.5<br />

3<br />

(log10)<br />

3.5<br />

4<br />

20<br />

21<br />

22<br />

23<br />

24<br />

25<br />

26<br />

27<br />

28<br />

29<br />

30 Interval Size (log2)<br />

20<br />

21<br />

22<br />

23<br />

24<br />

25<br />

26<br />

27<br />

28<br />

29<br />

30 Interval Size (log2)<br />

Fig. 3. Phase complexity surfaces for gcc-scilab (top left), eon-kajiya (top right),<br />

gzip-program (bottom left) and gap (bottom right)<br />

Figure 3 shows the phase complexity surfaces for gcc-scilab, eon-kajiya,<br />

gzip-program and gap which comb<strong>in</strong>e the phase count and predictability surfaces.<br />

These examples clearly show two extreme phase behaviors. The phase behavior for<br />

eon-kajiya is much less complex than for gcc-scilab: eon-kajiya has fewer<br />

program phases and shows very good phase predictability; gcc-scilab on the other<br />

hand, exhibits a large number of phases and <strong>in</strong> addition, phase predictability is very<br />

poor.<br />

6 Classify<strong>in</strong>g Benchmarks<br />

Hav<strong>in</strong>g characterized all the benchmarks <strong>in</strong> terms of their phase behavior us<strong>in</strong>g phase<br />

complexity surfaces, we can now categorize benchmarks accord<strong>in</strong>g to their phase behavior.<br />

To this end we employ the methodology proposed by Eeckhout et al. [10] to f<strong>in</strong>d<br />

similarities across benchmarks.<br />

6.1 Methodology<br />

As <strong>in</strong>put to this methodology we provide a number of characteristics per benchmark:<br />

we provide phase predictability and (the logarithm of) the number of phases at three<br />

threshold values (θ =5%, θ = 10% and θ = 25%) at four time scales (1M, 8M, 64M<br />

1.0<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0.0<br />

1.0<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0.0

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

Saved successfully!

Ooh no, something went wrong!