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 <[email protected]> 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





Reply via email to