29.04.2013 Views

TESI DOCTORAL - La Salle

TESI DOCTORAL - La Salle

TESI DOCTORAL - La Salle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.2. Random hierarchical consensus architectures<br />

which corresponds to an average across 50 independent runs of the experiments conducted<br />

on each data collection.<br />

It is to note that, as already observed in the experiment described in this section and<br />

those presented in appendix C.2, SERTRHCA is a pretty accurate estimator of SRTRHCA<br />

(despite being based on the running time of a single consensus) and, as such, it suceeds<br />

notably in determining the most computationally efficient consensus architecture, achieving<br />

an average level of accuracy superior to 78% across the eight data sets employed in these<br />

experiments. In spite of this notably high accuracy percentage, notice that the resulting<br />

running time increase derived from inaccurate predictions is pretty high when measured in<br />

relative percentage —e.g. for the Zoo data set, the average running time of truly optimal<br />

consensus architectures is more than doubled when suboptimal ones are selected. However,<br />

if this average execution time increase is measured in absolute terms, we can conclude that<br />

it is perfectly assumable from a practical viewpoint in most cases —after all, the large<br />

relative deviation observed in the Zoo data collection results only in a one second running<br />

time rise.<br />

As regards the parallel implementation of the RHCA, there are a couple of issues worth<br />

noting: firstly, the proposed prediction methodology performs worse than in the serial case.<br />

This is due to the fact that, as observed across all the experiments conducted, PERTRHCA is<br />

a poorer estimator of PRTRHCA. However, despite ΔRT achieves very high values in relative<br />

terms, the absolute running time deviations between the truly and allegedly fastest consensus<br />

architectures are, again, not of paramount importance (i.e. the running time overhead<br />

due to a slightly erroneous estimation of the fastest RHCA variant clearly compensates the<br />

hypothetical execution of the least efficient consensus architecture).<br />

Recall that the proposed running time estimation methodology is based on capturing the<br />

execution times of several (namely c) runs of the consensus process on mini-ensembles of the<br />

sizes bij corresponding to each RHCA variant. As aforementioned, the results just reported<br />

have been obtained upon a single execution (c = 1). But expectably, the larger the value<br />

of c, the more accurate the estimation, but also the more costly in terms of computation<br />

time.<br />

So as to evaluate the influence of this factor, figure 3.8 depicts the evolution of the<br />

percentage of correct predictions (for both the serial and parallel implementations, referred<br />

to as %CPS and %CPP, respectively) and of the running time deviations (ΔRTS and ΔRTP<br />

in both absolute and relative terms) as a function of the parameter c, varying its value<br />

between 1 and 20, averaged across the eight data collections employed in this experiment.<br />

It can be observed that, despite the relatively wide sweep of values of c, thevariation<br />

in the percentage of correct predictions is below 6% for both the serial and parallel RHCA<br />

implementations —see figure 3.8(a). In terms of the difference between the running times<br />

of the truly and allegedly fastest consensus architectures, this results in a slight reduction<br />

of ΔRTS and ΔRTP –figure 3.8(b)–, which is, in any case, lower than 1.7 seconds —which,<br />

in relative percentage terms, amounts to a maximum reduction of 22% —see figure 3.8(c).<br />

Thus, we can conclude that, despite being a coarse approximation, using the running<br />

time of a single consensus process as the basis for estimating the execution time of the<br />

whole RHCA yields pretty accurate results as far as the prediction of the most efficient<br />

consensus architecture is concerned. Furthermore, when this prediction methodology fails,<br />

the execution time overhead is, in most cases, not dramatic from a practical standpoint.<br />

64

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

Saved successfully!

Ooh no, something went wrong!