jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: Average times are confusing me...
Date Wed, 15 Feb 2012 23:11:11 GMT
These settings were introduced in 2.6. To face cpu impact on Time computing.

In 2.4 thé settings i made you set are hère by défault afaik as nano
computing was not yet available .

Regards
Philippe

On Wednesday, February 15, 2012, Robin D. Wilson <rwilson2@gmail.com> wrote:
> On JMeter 2.6, setting the settings you recommended fixed the problem:
>
>   - sampleresult.useNanoTime=false
>   - sampleresult.nanoThreadSleep=0
>
> But it doesn't do anything for JMeter 2.4. Needless to say, I have a
bunch of re-benchmarking to do...
>
> I can file a ticket - but I am not sure that it will provide much value,
since it is clear that the above settings fix the problem.
>
> --
> Robin D. Wilson
> Sr. Director of Web Development
> KingsIsle Entertainment, Inc.
> VOICE: 512-777-1861
> www.KingsIsle.com
>
>
> -----Original Message-----
> From: Philippe Mouawad [mailto:philippe.mouawad@gmail.com]
> Sent: Wednesday, February 15, 2012 3:52 PM
> To: JMeter Users List
> Subject: Re: Average times are confusing me...
>
> Hello,
> I think you should submit your Test as a bug just for us to check what
> could explain this.
> I made many tests on WinXP and never faced this issue so I am not
convinced
> it's the real explanation although you reproduced it.
>
> Can you also make a test by setting this in jmeter.properties:
>
>
>   - sampleresult.useNanoTime=false
>   - sampleresult.nanoThreadSleep=0
>
>
> Thanks
> Regards
> Philippe
>
>
> On Wed, Feb 15, 2012 at 6:39 PM, Robin D. Wilson <rwilson2@gmail.com>
wrote:
>
>> FYI, I have confirmed that my test case only fails on 'WinXP'. When I run
>> the exact same test on Win7 (x64), it works fine.
>>
>> The sad thing is, I've been benchmarking my systems using WinXP for over
a
>> year ... sigh.
>>
>> So now I find out that all my benchmark numbers are essentially bogus.
>>
>> --
>> Robin D. Wilson
>> Sr. Director of Web Development
>> KingsIsle Entertainment, Inc.
>> VOICE: 512-777-1861
>> www.KingsIsle.com
>>
>>
>> -----Original Message-----
>> From: Philippe Mouawad [mailto:philippe.mouawad@gmail.com]
>> Sent: Monday, February 13, 2012 2:13 PM
>> To: JMeter Users List
>> Subject: Re: Average times are confusing me...
>>
>> Mac OSX 10.6.8.
>>
>> I suggest you open an issue with your attached test plan (exactly the one
>> that has the issue).
>>
>> Regards
>> Philippe
>> On Mon, Feb 13, 2012 at 8:28 PM, Robin D. Wilson <rwilson2@gmail.com>
>> wrote:
>>
>> > Just out of curiosity - what type of OS was your JMeter GUI running on?
>> > I've been running my tests on Windows XP.
>> >
>> > --
>> > Robin D. Wilson
>> > Sr. Director of Web Development
>> > KingsIsle Entertainment, Inc.
>> > VOICE: 512-777-1861
>> > www.KingsIsle.com
>> >
>> >
>> > -----Original Message-----
>> > From: Philippe Mouawad [mailto:philippe.mouawad@gmail.com]
>> > Sent: Friday, February 10, 2012 7:41 AM
>> > To: JMeter Users List
>> > Subject: Re: Average times are confusing me...
>> >
>> > Hello,
>> > I have just made the same test with a JSP (doing a Thread.sleep(2000)
=>
>> > 2s) behind a Tomcat 6 with JMeter 2.6
>> >
>> > I put 100 threads that loop 100 times in GUI mode (one JMETER):
>> > All results shown in Aggregate report are around 2s .
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>
sampler_label,aggregate_report_count,average,aggregate_report_median,aggregate_report_90%_line,aggregate_report_min,aggregate_report
>> >
>> >
>>
_max,aggregate_report_error%,aggregate_report_rate,aggregate_report_bandwidth
>> > HTTP
>> >
>> >
>>
Request,10000,2006,2004,2012,2001,2195,0.0,49.5793194742609,1224.082013722936
>> >
>>
TOTAL,10000,2006,2004,2012,2001,2195,0.0,49.5793194742609,1224.082013722936
>> >
>> >
>> > Summary listener shows this:
>> > 2012/02/10 14:36:00 INFO  - jmeter.reporters.Summariser: Generate
Summary
>> > Results +  2655 in  54,8s =   48,4/s Avg:  2010 Min:  2001 Max:  2195
>> > Err:     0 (0,00%)
>> > 2012/02/10 14:38:26 INFO  - jmeter.reporters.Summariser: Generate
Summary
>> > Results +  7345 in 148,9s =   49,3/s Avg:  2005 Min:  2001 Max:  2088
>> > Err:     0 (0,00%)
>> > 2012/02/10 14:38:26 INFO  - jmeter.reporters.Summariser: Generate
Summary
>> > Results = 10000 in 201,7s =   49,6/s Avg:  2006 Min:  2001 Max:  2195
>> > Err:     0 (0,00%)
>> >
>> > So as you can see, nothing abnormal .
>> >
>> > JSP Code:
>> >
>> > <%@ page  contentType="text/html; charset=UTF-8" %>
>> > <html>
>> > <body>
>> > <%
>> > Thread.sleep(2000);
>> > %>
>> > <!-- GENERATE around 25Ko page -->
>> > <%=org.apache.commons.lang.RandomStringUtils.random(25000,
>> > "abcdefghijklmnopqrstuvwxyz01234567890")%>
>> > <p>Test</p>
>> > </body>
>> > </html>

-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message