03.01.2015 Views

a multi-objective bisexual reproduction genetic algorithm for ...

a multi-objective bisexual reproduction genetic algorithm for ...

a multi-objective bisexual reproduction genetic algorithm for ...

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.

55<br />

stored in the databases or plain files that provide the resource in<strong>for</strong>mation, shown in<br />

Figure 3-25.<br />

In our study, we use a broker that uses the LDAP APIs provided by the Globus<br />

Toolkit 2.2 to send requests to the GIIS server located on machine m2.<br />

The complete source code <strong>for</strong> the broker is given in the file GridInfoSearch.java<br />

in Appendix E.<br />

m1.kmitnb.ac.th<br />

Broker<br />

LDAP query<br />

m2.kmitnb.ac.th<br />

GIIS<br />

GRIS<br />

Application<br />

GRIS<br />

GRIS<br />

m3.kmitnb.ac.th<br />

…<br />

FIGURE 3-25 Working with a broker<br />

When called, the GIIS server will return a list of available hosts within the grid.<br />

Each host has gathered the following resource in<strong>for</strong>mation:<br />

- Host name<br />

- CPU speed (MHz)<br />

- Number of CPU(s)<br />

- Free CPU Percentage<br />

The list of available hosts will be sorted by the weight that measures CPU<br />

workload.<br />

CPU<br />

speed<br />

* CPU<br />

count<br />

* CPU<br />

load<br />

Weight<br />

host<br />

= Eq. 3-4<br />

100<br />

where CPU speed : CPU speed; CPU count : the number of CPU(s); and CPU load : the<br />

current CPU workload.<br />

The most available host will be selected to run a new job.

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

Saved successfully!

Ooh no, something went wrong!