Tuesday, June 17, 2014

Simulation of tasks/jobs - Iqbal et al

WORKLOAD GENERATION

in Iqbal et al paper
based on RUBiS open-source benchmark Web application for auctions.
  • provides core functionality of an auction site: browsing, selling, bidding for items.
  • 3 user roles: visitor, buyer, seller
  • Visitor : not required to register, can browse items.
  • PHP implementation of RUBiS is used.
To enable RUBiS to support load balancing in the database tier, Iqbal et al have introduced
  • round robin scheduling over a set of database servers listed in the db connection settings file.
  • they also developed a server side component, DbConfigAgent 
    • to update the db connections settings file after a scaling operation has modified the configuration of the file.
  • Web server acts as proxying load balancer for entire web application which is run on a tier of virtual web servers and a tier of virtual db servers. 
I download the httperf paper.
downloaded httperf tool.
Open SSL is required to run httperf, so downloaded that also.
Then I downloaded the RUBiS PHP application also.

Also found many workload generators
Olio Workload Generator
C-Mart

After a bit of searching on the net, found this website, that gives workload in standard workflow format.
How to use workload in cloudsim?
So I download the LCG log with .swf.zip format.
Here is the code:

There was a total of 188070 tasks which were submitted as cloudlets
It was taking too long so I decided to try using 100 cloudlets...
Here is the sample output... debt still comes as 356, i guess it is so because we are only give cost per unit memory and did not give the time.
So regardless of the time take debt still remains the same.

To be done:
Write the code for provisioning of the resources in the adaptive resource provisioning paper

No comments:

Post a Comment