Git Product home page Git Product logo

rain-workload-toolkit's People

Contributors

aaronbee avatar marmbrus avatar rean avatar sguazt avatar yed1 avatar yungsters avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rain-workload-toolkit's Issues

[olio] Refresh of cached URLs

Hello,

In rain.workload.olio.OlioOperation class, method refreshCache says

Refreshes the cache by resetting it 40% of the time

However, looking at the code:

boolean resetCache = ( this._random.random( 0, 9 ) < 6 );

It really resets the cache 60% of times.

Should "< 6" be replaced by "< 4"?

Cheers,

-- Marco

Integrated rain with Eclips

Hi,

I am try to import rain in eclips but i have many errors, i solved many of bath error by download atmos-java (EsuJava_2.0.0.b01.zip) project and import the missing libs but the conflict was still.

So can i have help of steps how to integrate rain with eclips and how can i run it.

I would appreciate any help. Thanks.

Olio workload: got a SocketTimeoutException exception

Hello,

I'm running RAIN agains Olio (Ruby on Rails version).

In the "rain.config.olio.json" I've changed the target hostname to "192.168.122.219", which is the IP address of the host where Olio is running.

After executing the command:
java -Xmx1g -Xms256m -cp "rain.jar:workloads/olio.jar" radlab.rain.Benchmark config/rain.config.olio.json

I obtain the following result:

...
[SCOREBOARD TRACK: cloudstone-001] Operations initiated : 413
[SCOREBOARD TRACK: cloudstone-001] Operations successfully completed : 6
[SCOREBOARD TRACK: cloudstone-001] Average operation response time (s): 1.6710
[SCOREBOARD TRACK: cloudstone-001] Operations late : 68
[SCOREBOARD TRACK: cloudstone-001] Operations failed : 339
...
SCOREBOARD TRACK: cloudstone-001] Error Summary Results : 1 types of error(s)
[SCOREBOARD TRACK: cloudstone-001] Read timed out (class java.net.SocketTimeoutException): 339
[SCOREBOARD TRACK: cloudstone-001] Total failures : 339

Note the number of failed operations and the error summary.

I've tried to connect from the RAIN host to the Olio host with telnet is it seems OK:
$ telnet 192.168.122.219 80
Trying 192.168.122.219...
Connected to 192.168.122.219.
Escape character is '^]'.

So I don't think it is a network problem.

What could it be?

Thank you very much for the support.

Best,

-- Marco Guazzone

[rubis] Is the RUBiS workload stable?

Hi,
It seems that the RUBiS workload is not complete.
Looking inside the code I've noticed:

  • Think and cycle time always return zero (see RubisGenerator.java)
  • There are several hard-coded stuff inside Java files that have no correspondence on the database. For instance, username and password are fixed to "cercs"; similar considerations for items, categories, and so on.

Thank you very much

-- Marco

How to get a "trace" output file

Hello,

Is it possible in RAIN to get as output the trace of the entire benchmark?
I mean, in addition to the output file which reports the errors and final statistics, I'd like to have a file containing all the observations used to compute those final statistics (e.g., avg and 99th percentile response time).

If it is not possible, I think this is rather straightforward to implement, since RAIN actually has this info.
So, can you help to add the needed piece of code to RAIN?

Thank you so much.

Best,

-- Marco

How to use those python script inside utils package

Hi
I am currently doing some research on RUBiS benchmark and i am using rain-workload-toolkit for generating the workload.

I thought that those script inside the utils package can be used to generate some statistics on a workload (though i am not sure) but i didn't find any documentation or read-me about how to use it.

If it is meant for this purpose can you provide me with some documentation so that i can use it for RUBiS workload.

Regards
Ataus Samad

Benchmark with olio

Hi,

I use rain to benchmark olio,there is some problem.
I use PHP-version olio 0.2, and json file in config directory.

  1. When I run rain , there is some error like

    [Fatal Error] :1:50: White spaces are required between publicId and systemId.
    Aug 29, 2011 5:08:35 PM radlab.rain.workload.olio.OlioOperation parseAuthToken
    WARNING: Unable to parse for authenticity token
    org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:242)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:286)
    at radlab.rain.workload.olio.OlioOperation.parseAuthToken(OlioOperation.java:181)
    at radlab.rain.workload.olio.AddEventOperation.execute(AddEventOperation.java:75)
    at radlab.rain.Operation.run(Operation.java:200)
    at radlab.rain.LoadGenerationStrategy.doOperation(LoadGenerationStrategy.java:145)
    at radlab.rain.PartlyOpenLoopLoadGeneration.doSyncOperation(PartlyOpenLoopLoadGeneration.java:214)
    at radlab.rain.PartlyOpenLoopLoadGeneration.run(PartlyOpenLoopLoadGeneration.java:139)

  2. Some kind of operation fail in benchmark(AddEvent EventDetail Login)
    I found some error message in Apache log.

[Mon Aug 29 16:36:26 2011] [error] [client 140.112.29.239] File does not exist: /var/www/html/oliophp/public_html/users
[Mon Aug 29 16:36:27 2011] [error] [client 140.112.29.239] File does not exist: /var/www/html/oliophp/public_html/events/new

I would appreciate any help. Thanks.

WARNING: Login required

Hi,

I use Netbeans 7.0 and install Apache Ant 1.8 and Tomcat 7.0, when i run Rain (Main class = Benchmark, Argument = rain.config.olio.json) I have the following warning message:

WARNING: Login required for AddEvent
WARNING: Login required for PersonDetails

when i explore the source code i found the following value URL:

public void initializeUrlAnchors()
{
this.baseURL = "http://" + this._loadTrack.getTargetHostName() + ":" + this._loadTrack.getTargetHostPort();
this.personDetailURL = this.baseURL + "/users/";
this.tagSearchURL = this.baseURL + "/events/tag_search/";
this.tagCloudURL = this.baseURL + "/tagCloud." + type;
this.addEventURL = this.baseURL + "/events/new";
this.addEventResultURL = this.baseURL + "/events/";
this.addPersonURL = this.baseURL + "/users/new";
this.addPersonResultURL = this.baseURL + "/users";
this.homepageURL = this.baseURL + "/";
this.loginURL = this.baseURL + "/users/login";
this.logoutURL = this.baseURL + "/users/logout";
this.addAttendeeURL = this.baseURL + "/events/";
this.eventDetailURL = this.baseURL + "/events/";
this.fileServiceURL = this.baseURL + "/fileService." + type + '?';
this.checkNameURL = this.baseURL + "/users/check_name";
}

When i print the baseURl it have a value >> "http://localhost:80", but what about "/events/", "/events/new", ...etc.
i believe there are missing code about server side?

Best Regards,
Zakarea Al Shara

Apps related to the RAIN workloads

Hello,

In RAIN, there are many workloads (daytrader, scadr, scads, mapreduce, s3, ...).
I'd like to experiment with some of them, but unfortunately I cannot find information about the application against which they can be run.
Only few of them seems to relate to specific and well-known applications, like rubis (which is the workload for the OW2 RUBiS application) and olio (which is the workload for the Apache Olio application).

What about the others?

Thank you very much!

Best,

-- Marco

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.