27.03.2014 Views

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

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.

In this way, COGNARE could change dynamically<br />

working rates for each node of the system.<br />

5. Case study and evaluation of results<br />

We used three computers in the same network in order<br />

to test the technique proposed in this work. The three<br />

computers have distinct setups. The Tables 5 and 6 show<br />

these setups. The resources of the computer named C 3 are<br />

lower than the other two. This fact helped to check the load<br />

balancer’s efficiency in situations where exist differences<br />

among hardwares.<br />

(a) Load balancer with “Round Robin”<br />

Name Cores CPU RAM<br />

C 1 4 800 MHz 4GB<br />

C 2 4 800 MHz 6GB<br />

C 3 2 1200 MHz 2GB<br />

Table 5: Configuration of the computers used in our tests.<br />

(b) Load balancer with COGNARE<br />

Figure 3: Behavior of nodes in the tests performed.<br />

As illustrated in Figure 1, the computer C 1 generates<br />

requests to the load balancer and COGNARE. The<br />

computers C 2 and C 3 act like balancer nodes. The Table<br />

6 describes each computer used in our tests.<br />

Name Setup<br />

C 1 AMD Phenom(tm) II X4 955 Processor - 4 GB<br />

RAM<br />

C 2 Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz -<br />

6GBRAM<br />

C 3 AMD Turion(tm) 64 X2 Mobile Technology<br />

TL-50 1.2GHZ - 2GB RAM<br />

Table 6: Computers used in our tests.<br />

In the performed tests, 2000 requests were sent to the<br />

load balancer. So, the total time to process all requests<br />

was measured. The average speed to process requests<br />

per minute was calculated. Therefore, a high speed<br />

means a most efficient system. The test was repeated 20<br />

times. Among this 20 times, 10 times were executed with<br />

COGNARE changing dynamically the load of the nodes.<br />

The another 10 times were executed using a Round-Robin<br />

algorithm, where the allocation was made disregarding the<br />

differences between computers nodes.<br />

After the tests, the average speeds were calculated. The<br />

Table 7 shows these values.<br />

Test Speed (requests per minute)<br />

COGNARE 1484<br />

Round Robin 804<br />

Table 7: Averages of the tests performed.<br />

As showed in the Table 7, the load balancer with<br />

COGNARE improved the system, increasing its processing<br />

capacity. This happened because the weaker hardware<br />

received fewer requests than the other hardware.<br />

The Figure 3 shows the behavior of the nodes in the<br />

our tests. Using Round-Robin (a), the computer 1 works<br />

very less than the computer 2 and the maximum CPU’s<br />

usage was 62.5%. In the case (b), using COGNARE, the<br />

system’s performance was improved. The maximum CPU’s<br />

usage was 42%. Moreover, despite the differences between<br />

the hardwares, using COGNARE, the computers showed a<br />

similar behavior.<br />

6. Conclusion<br />

This paper presented the use of Evolutionary Learning<br />

and Fuzzy Logic for dynamic allocation of resources in a<br />

load balancer.<br />

259

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

Saved successfully!

Ooh no, something went wrong!