jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lists <li...@dankeeley.co.uk>
Subject Re: Discrepency in response times
Date Wed, 16 Jan 2008 14:15:35 GMT
Do you mean a jvm arg like this:

-Dhostname=xxx ?

Is that the right case?

I'm afrraid that doesnt seem to make any difference..  I'll get the reverse
lookup checked though. 

Thanks,
Dan

--------- Original Message --------
From: sebb <sebbaz@gmail.com>
To: JMeter Users List <jmeter-user@jakarta.apache.org>, Lists
<lists@dankeeley.co.uk>
Subject: Re: Discrepency in response times
Date: 16/01/08 13:05

> On 16/01/2008, sebb &lt;sebbaz@gmail.com&gt; wrote:
> &gt; On 16/01/2008, Lists &lt;lists@dankeeley.co.uk&gt; wrote:
> &gt; &gt; Further information shows that when i profile with JProfiler I
see
> &gt; &gt; significant thread blocking on
org.apache.jmeter.functions.MachineName
> &gt; &gt;
> &gt;
> &gt; The relevant code is probably:
> &gt;
> &gt;  InetAddress Address = InetAddress.getLocalHost();
> &gt;  machineName = Address.getHostName();
> &gt;
> &gt; The second line may need to do a reverse name lookup. Check that this
> &gt; can be resolved quickly.
> &gt;
> &gt; Unfortunately, one cannot use the function in a Test Plan variable,
as
> &gt; that causes an NPE.
> &gt;
> &gt; The HTTP Samplers may also need to know the local host name and/or IP
> &gt; address; JMeter startup should really fetch such items once and store
> &gt; them for use later.
> &gt;
> 
> Forgot to add: a work-round is to define the hostname as a property on
> the command-line.
> 
> &gt; &gt; The duration of these blocks last for significant periods of
time from 10 up
> &gt; &gt; to 100's of milliseconds.
> &gt; &gt;
> &gt; &gt; This is JMeter 2.2, and is running headless.  Is there any other
info i can
> &gt; &gt; check to be of use?
> &gt; &gt;
> &gt; &gt; I cannot run with multiple jmeters connected due to other issues
i havent
> &gt; &gt; yet resolved.  However what i could do is run a separate jmeter
instance on
> &gt; &gt; another server at the same time and see how we do there. (And
halve the load
> &gt; &gt; on each instance)
> &gt; &gt;
> &gt; &gt; Thanks,
> &gt; &gt; Dan
> &gt; &gt;
> &gt; &gt; --------- Original Message --------
> &gt; &gt; From: JMeter Users List &lt;jmeter-user@jakarta.apache.org&gt;
> &gt; &gt; To: JMeter Users List &lt;jmeter-user@jakarta.apache.org&gt;
> &gt; &gt; Subject: Discrepency in response times
> &gt; &gt; Date: 16/01/08 10:02
> &gt; &gt;
> &gt; &gt; &gt; Hi, we have a standard setup - apache, modjk, tomcat etc
etc.
> &gt; &gt; &gt;
> &gt; &gt; &gt; I have modjk logging enabled such that it prints out the
elapsed time for
> &gt; &gt; &gt; every request.  I then analysed that time and compared it
to the time i
> &gt; &gt; get
> &gt; &gt; &gt; from the JMeter logs.
> &gt; &gt; &gt;
> &gt; &gt; &gt; Apache logs tell me the average response during a specific
run is 180ms.
> &gt; &gt; &gt;
> &gt; &gt; &gt; However by the time it gets to JMeter it's jumped to 237ms
- meaning it's
> &gt; &gt; &gt; spending 56ms in jmeter.
> &gt; &gt; &gt;
> &gt; &gt; &gt; The jmeter server isnt under any load and is a powerful
multi core
> &gt; &gt; machine.
> &gt; &gt; &gt; The network is less than 10% busy.  So is there anything
else this can be
> &gt; &gt; &gt; other than Jmeter itself struggling with the load?
> &gt; &gt; &gt;
> &gt; &gt; &gt; I guess tonight i could profile JMeter and it could well
give me that
> &gt; &gt; answer
> &gt; &gt; &gt; anyway.
> &gt; &gt; &gt;
> &gt; &gt; &gt; Thanks,
> &gt; &gt; &gt; Dan
> &gt; &gt; &gt;
> &gt; &gt; &gt; ________________________________________________
> &gt; &gt; &gt; Message sent using UebiMiau 2.7.10
> &gt; &gt; &gt;
> &gt; &gt; &gt;
> &gt; &gt; &gt;
> &gt; &gt; &gt;
---------------------------------------------------------------------
> &gt; &gt; &gt; To unsubscribe, e-mail:
jmeter-user-unsubscribe@jakarta.apache.org
> &gt; &gt; &gt; For additional commands, e-mail:
jmeter-user-help@jakarta.apache.org
> &gt; &gt; &gt;
> &gt; &gt; &gt;
> &gt; &gt; &gt;
> &gt; &gt;
> &gt; &gt; ________________________________________________
> &gt; &gt; Message sent using UebiMiau 2.7.10
> &gt; &gt;
> &gt; &gt;
> &gt; &gt;
> &gt; &gt;
---------------------------------------------------------------------
> &gt; &gt; To unsubscribe, e-mail:
jmeter-user-unsubscribe@jakarta.apache.org
> &gt; &gt; For additional commands, e-mail:
jmeter-user-help@jakarta.apache.org
> &gt; &gt;
> &gt; &gt;
> &gt;
> 
> 

________________________________________________
Message sent using UebiMiau 2.7.10



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message