On 7 January 2011 04:23, Ravindra Gupta <[email protected]> wrote:
> Hi Sebb,
>
> I am using sampler called HTTP Request HTTPClient. Here we just post an xml
> file with the request.

OK.

> If I run 50 thread, throughput that I am getting is ~585 req/sec.
> But if I run two jmeter instances, its throughput as ~236 req/sec and 236
> req/sec repectively. These numbers. may differ but slightly.

Which means the total throughput is 472 req/sec.

> Using Jmerter version 2.3.2. test is running in a separate subnet, so tthere
> is no problem of network latency

Current version of JMeter ia 2.4 - 2.3.2 is quite old.
However this probably won't affect timings much unless you are using
certain Listeners, e.g. Aggregate.
Remove all Listeners except perhaps a Summary Listener.

> The interesting thing is that if I run only one Jmeter instance with 25
> threads , throughput is ~620 req/sec.

This suggests that 50 threads may be starting to stress the server.

What happens if you run two such on the same host?
How does this differ from two on different hosts?

>
> Hi Deepak,
>
> I can see from Jmeter.log file that all the threads gets activated , there
> are no failures. I think its able to make 50 connections because I am
> getting responses correctly.
>
> Two Jmeter instance with 25 threads each
> Avg request - 105 ms
> Min - 9 ms
> Max - 1305 req/sec

Huh?
Did you mean: 1305 ms?

>
> 50 threads -single jmeter instance
> Avg req - 82 ms
> Min - 9 ms
> Max - 1259 ms
>
> I have run multiple tests resulting in similar kind of data.

And what are the comparative results for 2 * 25 threads on same host
and different host?

Also worth trying smaller numbers of threads, e.g. 2 * 5 threads and 1
* 10 threads.

> Thanks,
> Ravindra
>
>
> On Thu, Jan 6, 2011 at 7:05 PM, sebb <[email protected]> wrote:
>
>> On 7 January 2011 02:26, Ravindra Gupta <[email protected]> wrote:
>> > Hi All,
>> >
>> > I am facing a problem where if i run a single jmeter instance it produces
>> > much better throughput than when i am running 2 jmeter instance.
>> >
>> > Details about the test
>> >
>> > Script is very simple, it has just one sampler which post xml request to
>> app
>> > server. Each thread posts one xml request and finishes.
>> >
>> > In one test,
>> > At the same time I simulated 50 Threads with no 0 rampup time. Lets say
>> it
>> > produces x throughput.
>> >
>> > In another test
>> > I simulated 2 jmeter instance (not in master slave) from multiple
>> machines
>> > with 25 thread (0 rampup) on each instance. The combined throughput I am
>> > getting in this model is much lower than in x.
>> > What could be the case of such a behaviour.
>> >
>> > Ideally the combined throughput should be equivalent to x.
>> >
>> > All the jmeter clients are server class machines with CentOS. Jmeter is
>> > running in non GUI mode.
>> > wht could be the cause of this behaviour?
>>
>> It's very unlikely to be a JMeter problem, so you need to do some more
>> tests to try and establish what causes the difference when using 2
>> test hosts.
>>
>> What throughput do you get if you run the 50 thread test on the second
>> host?
>> Do you get similar throughput to a 50 thread run on the original host?
>>
>> What about running two 25 thread tests on the same host?
>> Do you get similar thoughput to a single test?
>>
>> What sampler are you using to post the XML?
>>
>> > Thanks in advace,
>> > Ravindra
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to