Possible bug in the web serving scenario client, I'm going to open an
issue on github.
-Guangyan
-------- Forwarded Message --------
Subject: Re: Fabanclient request arrival process question in cloudsuite
3.0
Date: Wed, 16 Mar 2016 13:59:46 -0400
From: Tapti Palit <tpa...@cs.stonybrook.edu>
To: Guangyan Hu <guangyan...@cs.rutgers.edu>
Hi Guangyan,
It looks like there could be a bug because of which the web server
name/IP is not being replaced correctly. Please open an issue on
github.
Thanks,
On Tue, Mar 15, 2016 at 7:56 PM, Guangyan Hu <guangyan...@cs.rutgers.edu> wrote:
Hi Tapti,
I just started using cloudsuite and I'm actually running both the clients
and servers on the same physical server. I used dockers and I followed the
steps from http://cloudsuite.ch/webserving/. Attached is a summary.xml and I
did see the users have successfully logged in from the printout on the
screen.
Here is part of the printout on the terminal:
....
[java] Logging in: ZIFdBLBGXk
[java] Mar 15, 2016 11:52:08 PM
com.sun.faban.driver.transport.sunhttp.ThreadCookieHandler$CookieStore
select
[java] WARNING: Request http://web_server:8080/ does not contain a
hostname or has an invalid hostname.
[java] Mar 15, 2016 11:52:08 PM
com.sun.faban.driver.transport.sunhttp.ThreadCookieHandler$CookieStore
select
[java] WARNING: Request http://web_server:8080/ does not contain a
hostname or has an invalid hostname.
[java] Mar 15, 2016 11:52:09 PM
com.sun.faban.driver.transport.sunhttp.ThreadCookieHandler$CookieStore
select
[java] WARNING: Request http://web_server:8080/ does not contain a
hostname or has an invalid hostname.
[java] hostUrl + LOGIN_URL: http://172.18.0.02:8080/action/login //
this line was added by myself to see the login
[java] PRINT: Successfully logged in
....
Thanks,
Guangyan
On 03/15/2016 07:42 PM, Tapti Palit wrote:
Hi Guangyan,
I don't think we need to push the NegativeExponential changes to the
github, because the default Faban setup uses the Fixed request
intervals and it isn't good programming practice to have unused
imports in Java code.
Regarding your second email, could you please describe your experiment
setup? Are you using the docker containers? Also, can you confirm (via
network monitoring tools, such as, ifstat) that requests are actually
getting sent to the server machine?
Thanks,
On Tue, Mar 15, 2016 at 7:39 PM, Guangyan Hu <guangyan...@cs.rutgers.edu>
wrote:
Hi Tapti,
Sorry to bother again. I repeatedly get the message "[java] WARNING:
Request
http://web_server:8080/ does not contain a hostname or has an invalid
hostname." when I execute the faban client, but the host (nginx) url was
actually set correctly at http://172.18.0.02:8080 and from the
summary.xml,
the operations seem to have completed. Where is that warning from?
Thanks,
Guangyan
On 03/15/2016 07:26 PM, Guangyan Hu wrote:
Thanks Tapti, that fixes the compilation problem. Should the change be
pushed into the github? I don't think the original Web20Driver.java
imports
the NegativeExponential class from faban.
Best regards,
Guangyan
On 03/15/2016 06:12 PM, Tapti Palit wrote:
Hi Guangyan,
Yes, it is the correct way to change the request arrival distribution.
Are you importing the class com.sun.faban.driver.NegativeExponential
and are the Faban libraries on your classpath?
Thanks,
On Tue, Mar 15, 2016 at 5:21 PM, Guangyan Hu
<guangyan...@cs.rutgers.edu>
wrote:
Hi,
I'm a user of the cloudsuite 3.0 web serving benchmark. I'm trying to
change
the request arrival process to be negative exponential so I just
uncommented
the @NegativeExponential block in Web20Driver.java like this:
@NegativeExponential(cycleDeviation = 2,
cycleMean = 4000, // 4 seconds
cycleType = CycleType.THINKTIME)
/*@Uniform(cycleMax = 120000,
cycleMin = 40000,
cycleDeviation = 10,
cycleType = CycleType.THINKTIME)*/
/*@FixedTime(cycleTime = 10000,
cycleType = CycleType.THINKTIME, cycleDeviation = 1000)*/
However, I got a compilation error when I try to compile it:
" [javac] /web20_benchmark/src/workload/driver/Web20Driver.java:96:
error:
cannot find symbol
[javac] @NegativeExponential(cycleDeviation = 2,
[javac] ^
[javac] symbol: class NegativeExponential
[javac] 1 error
"
Is this the correct to way to change the request arrival distribution?
Thank you and best regards,
Guangyan
--
Tapti Palit
Ph.D. Student,
Department of Computer Science,
Stony Brook University.