You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Bincy P S <bi...@gmail.com> on 2017/10/20 07:06:32 UTC

Load Test with embedded resources chokes CPU

A load test with downloading just the HTML scales upto 300 users on one
Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at 5%).
However, when a similar profile is tested with download of non-HTML
embedded resources (images, css, js, etc.,) along with HTML, the LG gets
utilized to the max (100% CPU, Memory still at 20%) with just 30 users.

Testing the same profiles with Load Runner, there is not much difference on
LG performance between the 2 profiles

-- 
With Regards,

Bincy Suresh

Re: Load Test with embedded resources chokes CPU

Posted by Ganesh Muralidhar <ga...@gmail.com>.
Hi - I am Ganesh working with Bincy on the same issue addressed here. So,
just to add, we did try Blazemeter as well and the same behavior was
observed there with LG resources maxing out at 30 users when downloading
the non-HTML resources along with the page. Max Page size : 2 MB. TPS
targetted 4 to 6.

On Fri, Oct 20, 2017 at 3:04 PM, Bincy P S <bi...@gmail.com> wrote:

>
> We have changed the JVM heap size to 2G , Jmeter version to 3.3 and tried
> these test runs . I still see the same issue
>
> On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> philippe.mouawad@gmail.com> wrote:
>
>> What is the size of your JVM Heap ? If you didn't change it then it can
>> explain your issues.
>> Also why are you using an old version as 3.0, ? Last version is 3.3 ?
>>
>>
>>
>> On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bi...@gmail.com> wrote:
>>
>> > Jmeter Configuration :
>> > Thread setting : 1 thread , 5 transaction controller ,each with 1 HTTP
>> > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
>> > HTTP Request Sampler : tried with all Implementation,Download embedded
>> > resources - retrieve embedded resources, parallel download - 6
>> >
>> > No other settings were changed
>> >
>> > jmeter version : 3.0
>> >
>> > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
>> > philippe.mouawad@gmail.com> wrote:
>> >
>> > > Hello,
>> > > What is your jmeter configuration ?
>> > > Did you change any setting ?
>> > > What is your jmeter version ?
>> > >
>> > > Thanks
>> > > Regards
>> > >
>> > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com>
>> > wrote:
>> > >
>> > > > A load test with downloading just the HTML scales upto 300 users on
>> one
>> > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at 5%).
>> > > > However, when a similar profile is tested with download of non-HTML
>> > > > embedded resources (images, css, js, etc.,) along with HTML, the LG
>> > gets
>> > > > utilized to the max (100% CPU, Memory still at 20%) with just 30
>> users.
>> > > >
>> > > > Testing the same profiles with Load Runner, there is not much
>> > difference
>> > > on
>> > > > LG performance between the 2 profiles
>> > > >
>> > > > --
>> > > > With Regards,
>> > > >
>> > > > Bincy Suresh
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Cordialement.
>> > > Philippe Mouawad.
>> > >
>> >
>> >
>> >
>> > --
>> > With Regards,
>> >
>> > Bincy Suresh
>> >
>>
>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
>>
>
>
>
> --
> With Regards,
>
> Bincy Suresh
>



-- 

*Ganesh .N*

*Bangalore*

*Wireless:* *+91 9611906678*

Re: Load Test with embedded resources chokes CPU

Posted by Antonio Gomes Rodrigues <ra...@gmail.com>.
Check the release notes

In 3.2 we have https://bz.apache.org/bugzilla/show_bug.cgi?id=59885

Antonio

2017-10-20 15:48 GMT+02:00 Ganesh Muralidhar <ga...@gmail.com>:

> Now, I am quite curious to know what is the exact change in 3.3 that is so
> resource effective :)
>
> So, last time when we said we tested with 3.3, it was a miss from our side
> in our custom shell script where we were still using 3.0. Now, i have
> changed the version to actual 3.3 and tested. Seems like the CPU is much
> stable compared to that of 3.0
>
> Test on 3.0 - CPU choking to max 32 core (that is the max i have on my
> machine)
> Test on 3.3 - CPU stays below 2 core
>
> Please do share the exact change that is implemented between 3.0 and 3.3
>
>
>
> On Fri, Oct 20, 2017 at 3:08 PM, Antonio Gomes Rodrigues <ra0077@gmail.com
> > wrote:
>
>> Hi,
>>
>> Can you take a thread dump ?
>>
>> Antonio
>>
>> 2017-10-20 11:34 GMT+02:00 Bincy P S <bi...@gmail.com>:
>>
>>> We have changed the JVM heap size to 2G , Jmeter version to 3.3 and tried
>>> these test runs . I still see the same issue
>>>
>>> On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
>>> philippe.mouawad@gmail.com> wrote:
>>>
>>> > What is the size of your JVM Heap ? If you didn't change it then it can
>>> > explain your issues.
>>> > Also why are you using an old version as 3.0, ? Last version is 3.3 ?
>>> >
>>> >
>>> >
>>> > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bi...@gmail.com>
>>> wrote:
>>> >
>>> > > Jmeter Configuration :
>>> > > Thread setting : 1 thread , 5 transaction controller ,each with 1
>>> HTTP
>>> > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
>>> > > HTTP Request Sampler : tried with all Implementation,Download
>>> embedded
>>> > > resources - retrieve embedded resources, parallel download - 6
>>> > >
>>> > > No other settings were changed
>>> > >
>>> > > jmeter version : 3.0
>>> > >
>>> > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
>>> > > philippe.mouawad@gmail.com> wrote:
>>> > >
>>> > > > Hello,
>>> > > > What is your jmeter configuration ?
>>> > > > Did you change any setting ?
>>> > > > What is your jmeter version ?
>>> > > >
>>> > > > Thanks
>>> > > > Regards
>>> > > >
>>> > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com>
>>> > > wrote:
>>> > > >
>>> > > > > A load test with downloading just the HTML scales upto 300 users
>>> on
>>> > one
>>> > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at
>>> 5%).
>>> > > > > However, when a similar profile is tested with download of
>>> non-HTML
>>> > > > > embedded resources (images, css, js, etc.,) along with HTML, the
>>> LG
>>> > > gets
>>> > > > > utilized to the max (100% CPU, Memory still at 20%) with just 30
>>> > users.
>>> > > > >
>>> > > > > Testing the same profiles with Load Runner, there is not much
>>> > > difference
>>> > > > on
>>> > > > > LG performance between the 2 profiles
>>> > > > >
>>> > > > > --
>>> > > > > With Regards,
>>> > > > >
>>> > > > > Bincy Suresh
>>> > > > >
>>> > > >
>>> > > >
>>> > > >
>>> > > > --
>>> > > > Cordialement.
>>> > > > Philippe Mouawad.
>>> > > >
>>> > >
>>> > >
>>> > >
>>> > > --
>>> > > With Regards,
>>> > >
>>> > > Bincy Suresh
>>> > >
>>> >
>>> >
>>> >
>>> > --
>>> > Cordialement.
>>> > Philippe Mouawad.
>>> >
>>>
>>>
>>>
>>> --
>>> With Regards,
>>>
>>> Bincy Suresh
>>>
>>
>>
>
>
> --
>
> *Ganesh .N*
>
> *Bangalore*
>
> *Wireless:* *+91 9611906678 <+91%2096119%2006678>*
>
>
>

Re: Load Test with embedded resources chokes CPU

Posted by Ganesh Muralidhar <ga...@gmail.com>.
Now, I am quite curious to know what is the exact change in 3.3 that is so
resource effective :)

So, last time when we said we tested with 3.3, it was a miss from our side
in our custom shell script where we were still using 3.0. Now, i have
changed the version to actual 3.3 and tested. Seems like the CPU is much
stable compared to that of 3.0

Test on 3.0 - CPU choking to max 32 core (that is the max i have on my
machine)
Test on 3.3 - CPU stays below 2 core

Please do share the exact change that is implemented between 3.0 and 3.3



On Fri, Oct 20, 2017 at 3:08 PM, Antonio Gomes Rodrigues <ra...@gmail.com>
wrote:

> Hi,
>
> Can you take a thread dump ?
>
> Antonio
>
> 2017-10-20 11:34 GMT+02:00 Bincy P S <bi...@gmail.com>:
>
>> We have changed the JVM heap size to 2G , Jmeter version to 3.3 and tried
>> these test runs . I still see the same issue
>>
>> On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
>> philippe.mouawad@gmail.com> wrote:
>>
>> > What is the size of your JVM Heap ? If you didn't change it then it can
>> > explain your issues.
>> > Also why are you using an old version as 3.0, ? Last version is 3.3 ?
>> >
>> >
>> >
>> > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bi...@gmail.com>
>> wrote:
>> >
>> > > Jmeter Configuration :
>> > > Thread setting : 1 thread , 5 transaction controller ,each with 1 HTTP
>> > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
>> > > HTTP Request Sampler : tried with all Implementation,Download embedded
>> > > resources - retrieve embedded resources, parallel download - 6
>> > >
>> > > No other settings were changed
>> > >
>> > > jmeter version : 3.0
>> > >
>> > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
>> > > philippe.mouawad@gmail.com> wrote:
>> > >
>> > > > Hello,
>> > > > What is your jmeter configuration ?
>> > > > Did you change any setting ?
>> > > > What is your jmeter version ?
>> > > >
>> > > > Thanks
>> > > > Regards
>> > > >
>> > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com>
>> > > wrote:
>> > > >
>> > > > > A load test with downloading just the HTML scales upto 300 users
>> on
>> > one
>> > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at
>> 5%).
>> > > > > However, when a similar profile is tested with download of
>> non-HTML
>> > > > > embedded resources (images, css, js, etc.,) along with HTML, the
>> LG
>> > > gets
>> > > > > utilized to the max (100% CPU, Memory still at 20%) with just 30
>> > users.
>> > > > >
>> > > > > Testing the same profiles with Load Runner, there is not much
>> > > difference
>> > > > on
>> > > > > LG performance between the 2 profiles
>> > > > >
>> > > > > --
>> > > > > With Regards,
>> > > > >
>> > > > > Bincy Suresh
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > Cordialement.
>> > > > Philippe Mouawad.
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > With Regards,
>> > >
>> > > Bincy Suresh
>> > >
>> >
>> >
>> >
>> > --
>> > Cordialement.
>> > Philippe Mouawad.
>> >
>>
>>
>>
>> --
>> With Regards,
>>
>> Bincy Suresh
>>
>
>


-- 

*Ganesh .N*

*Bangalore*

*Wireless:* *+91 9611906678*

Re: Load Test with embedded resources chokes CPU

Posted by Ganesh Muralidhar <ga...@gmail.com>.
Yes. I confirm that the issue is solved now after upgrading to latest
version.

On Saturday, October 21, 2017, Philippe Mouawad <ph...@gmail.com>
wrote:

> So to summarize, issue is fixed now by upgrading to last JMeter version.
>
> Do you confirm ?
>
> If not please clarify remaining issues.
>
> Regards
>
>
> On Saturday, October 21, 2017, Rupesh Garg <rupeshgarg20@gmail.com
> <javascript:;>> wrote:
>
> > yes if you need any help with the Heap dumps, I can help out with the
> same
> > also.
> >
> > On Fri, 20 Oct 2017 at 15:09 Antonio Gomes Rodrigues <ra0077@gmail.com
> <javascript:;>
> > <javascript:;>>
> > wrote:
> >
> > > Hi,
> > >
> > > Can you take a thread dump ?
> > >
> > > Antonio
> > >
> > > 2017-10-20 11:34 GMT+02:00 Bincy P S <bincysuresh@gmail.com
> <javascript:;>
> > <javascript:;>>:
> > >
> > > > We have changed the JVM heap size to 2G , Jmeter version to 3.3 and
> > tried
> > > > these test runs . I still see the same issue
> > > >
> > > > On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> > > > philippe.mouawad@gmail.com <javascript:;> <javascript:;>> wrote:
> > > >
> > > > > What is the size of your JVM Heap ? If you didn't change it then it
> > can
> > > > > explain your issues.
> > > > > Also why are you using an old version as 3.0, ? Last version is
> 3.3 ?
> > > > >
> > > > >
> > > > >
> > > > > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bincysuresh@gmail.com
> <javascript:;>
> > <javascript:;>>
> > > > wrote:
> > > > >
> > > > > > Jmeter Configuration :
> > > > > > Thread setting : 1 thread , 5 transaction controller ,each with 1
> > > HTTP
> > > > > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > > > > > HTTP Request Sampler : tried with all Implementation,Download
> > > embedded
> > > > > > resources - retrieve embedded resources, parallel download - 6
> > > > > >
> > > > > > No other settings were changed
> > > > > >
> > > > > > jmeter version : 3.0
> > > > > >
> > > > > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > > > > > philippe.mouawad@gmail.com <javascript:;> <javascript:;>> wrote:
> > > > > >
> > > > > > > Hello,
> > > > > > > What is your jmeter configuration ?
> > > > > > > Did you change any setting ?
> > > > > > > What is your jmeter version ?
> > > > > > >
> > > > > > > Thanks
> > > > > > > Regards
> > > > > > >
> > > > > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <
> > bincysuresh@gmail.com <javascript:;> <javascript:;>>
> > > > > > wrote:
> > > > > > >
> > > > > > > > A load test with downloading just the HTML scales upto 300
> > users
> > > on
> > > > > one
> > > > > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory
> at
> > > > 5%).
> > > > > > > > However, when a similar profile is tested with download of
> > > non-HTML
> > > > > > > > embedded resources (images, css, js, etc.,) along with HTML,
> > the
> > > LG
> > > > > > gets
> > > > > > > > utilized to the max (100% CPU, Memory still at 20%) with just
> > 30
> > > > > users.
> > > > > > > >
> > > > > > > > Testing the same profiles with Load Runner, there is not much
> > > > > > difference
> > > > > > > on
> > > > > > > > LG performance between the 2 profiles
> > > > > > > >
> > > > > > > > --
> > > > > > > > With Regards,
> > > > > > > >
> > > > > > > > Bincy Suresh
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Cordialement.
> > > > > > > Philippe Mouawad.
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > With Regards,
> > > > > >
> > > > > > Bincy Suresh
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Cordialement.
> > > > > Philippe Mouawad.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > With Regards,
> > > >
> > > > Bincy Suresh
> > > >
> > >
> > --
> > Rupesh Garg
> > 9160002744
> >
>
>
> --
> Cordialement.
> Philippe Mouawad.
>


-- 

*Ganesh .N*

*Bangalore*

*Wireless:* *+91 9611906678*

Re: Load Test with embedded resources chokes CPU

Posted by Philippe Mouawad <ph...@gmail.com>.
So to summarize, issue is fixed now by upgrading to last JMeter version.

Do you confirm ?

If not please clarify remaining issues.

Regards


On Saturday, October 21, 2017, Rupesh Garg <ru...@gmail.com> wrote:

> yes if you need any help with the Heap dumps, I can help out with the same
> also.
>
> On Fri, 20 Oct 2017 at 15:09 Antonio Gomes Rodrigues <ra0077@gmail.com
> <javascript:;>>
> wrote:
>
> > Hi,
> >
> > Can you take a thread dump ?
> >
> > Antonio
> >
> > 2017-10-20 11:34 GMT+02:00 Bincy P S <bincysuresh@gmail.com
> <javascript:;>>:
> >
> > > We have changed the JVM heap size to 2G , Jmeter version to 3.3 and
> tried
> > > these test runs . I still see the same issue
> > >
> > > On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> > > philippe.mouawad@gmail.com <javascript:;>> wrote:
> > >
> > > > What is the size of your JVM Heap ? If you didn't change it then it
> can
> > > > explain your issues.
> > > > Also why are you using an old version as 3.0, ? Last version is 3.3 ?
> > > >
> > > >
> > > >
> > > > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bincysuresh@gmail.com
> <javascript:;>>
> > > wrote:
> > > >
> > > > > Jmeter Configuration :
> > > > > Thread setting : 1 thread , 5 transaction controller ,each with 1
> > HTTP
> > > > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > > > > HTTP Request Sampler : tried with all Implementation,Download
> > embedded
> > > > > resources - retrieve embedded resources, parallel download - 6
> > > > >
> > > > > No other settings were changed
> > > > >
> > > > > jmeter version : 3.0
> > > > >
> > > > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > > > > philippe.mouawad@gmail.com <javascript:;>> wrote:
> > > > >
> > > > > > Hello,
> > > > > > What is your jmeter configuration ?
> > > > > > Did you change any setting ?
> > > > > > What is your jmeter version ?
> > > > > >
> > > > > > Thanks
> > > > > > Regards
> > > > > >
> > > > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <
> bincysuresh@gmail.com <javascript:;>>
> > > > > wrote:
> > > > > >
> > > > > > > A load test with downloading just the HTML scales upto 300
> users
> > on
> > > > one
> > > > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at
> > > 5%).
> > > > > > > However, when a similar profile is tested with download of
> > non-HTML
> > > > > > > embedded resources (images, css, js, etc.,) along with HTML,
> the
> > LG
> > > > > gets
> > > > > > > utilized to the max (100% CPU, Memory still at 20%) with just
> 30
> > > > users.
> > > > > > >
> > > > > > > Testing the same profiles with Load Runner, there is not much
> > > > > difference
> > > > > > on
> > > > > > > LG performance between the 2 profiles
> > > > > > >
> > > > > > > --
> > > > > > > With Regards,
> > > > > > >
> > > > > > > Bincy Suresh
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Cordialement.
> > > > > > Philippe Mouawad.
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > With Regards,
> > > > >
> > > > > Bincy Suresh
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Cordialement.
> > > > Philippe Mouawad.
> > > >
> > >
> > >
> > >
> > > --
> > > With Regards,
> > >
> > > Bincy Suresh
> > >
> >
> --
> Rupesh Garg
> 9160002744
>


-- 
Cordialement.
Philippe Mouawad.

Re: Load Test with embedded resources chokes CPU

Posted by Rupesh Garg <ru...@gmail.com>.
yes if you need any help with the Heap dumps, I can help out with the same
also.

On Fri, 20 Oct 2017 at 15:09 Antonio Gomes Rodrigues <ra...@gmail.com>
wrote:

> Hi,
>
> Can you take a thread dump ?
>
> Antonio
>
> 2017-10-20 11:34 GMT+02:00 Bincy P S <bi...@gmail.com>:
>
> > We have changed the JVM heap size to 2G , Jmeter version to 3.3 and tried
> > these test runs . I still see the same issue
> >
> > On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> > philippe.mouawad@gmail.com> wrote:
> >
> > > What is the size of your JVM Heap ? If you didn't change it then it can
> > > explain your issues.
> > > Also why are you using an old version as 3.0, ? Last version is 3.3 ?
> > >
> > >
> > >
> > > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bi...@gmail.com>
> > wrote:
> > >
> > > > Jmeter Configuration :
> > > > Thread setting : 1 thread , 5 transaction controller ,each with 1
> HTTP
> > > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > > > HTTP Request Sampler : tried with all Implementation,Download
> embedded
> > > > resources - retrieve embedded resources, parallel download - 6
> > > >
> > > > No other settings were changed
> > > >
> > > > jmeter version : 3.0
> > > >
> > > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > > > philippe.mouawad@gmail.com> wrote:
> > > >
> > > > > Hello,
> > > > > What is your jmeter configuration ?
> > > > > Did you change any setting ?
> > > > > What is your jmeter version ?
> > > > >
> > > > > Thanks
> > > > > Regards
> > > > >
> > > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com>
> > > > wrote:
> > > > >
> > > > > > A load test with downloading just the HTML scales upto 300 users
> on
> > > one
> > > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at
> > 5%).
> > > > > > However, when a similar profile is tested with download of
> non-HTML
> > > > > > embedded resources (images, css, js, etc.,) along with HTML, the
> LG
> > > > gets
> > > > > > utilized to the max (100% CPU, Memory still at 20%) with just 30
> > > users.
> > > > > >
> > > > > > Testing the same profiles with Load Runner, there is not much
> > > > difference
> > > > > on
> > > > > > LG performance between the 2 profiles
> > > > > >
> > > > > > --
> > > > > > With Regards,
> > > > > >
> > > > > > Bincy Suresh
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Cordialement.
> > > > > Philippe Mouawad.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > With Regards,
> > > >
> > > > Bincy Suresh
> > > >
> > >
> > >
> > >
> > > --
> > > Cordialement.
> > > Philippe Mouawad.
> > >
> >
> >
> >
> > --
> > With Regards,
> >
> > Bincy Suresh
> >
>
-- 
Rupesh Garg
9160002744

Re: Load Test with embedded resources chokes CPU

Posted by Ganesh Muralidhar <ga...@gmail.com>.
Few http and few Https

On Saturday, October 21, 2017, Philippe Mouawad <ph...@gmail.com>
wrote:

> Was you me test using https ?
>
>
>
> On Friday, October 20, 2017, Ganesh Muralidhar <ganeshmuralidhar@gmail.com
> <javascript:;>>
> wrote:
>
> > Our network switch is nothing less than 1GB and the testing is happening
> > internal to the network. So no chance of network contention here.
> >
> > Secondly, after updating the JMeter version to 3.3 the CPU contention
> seems
> > not to be appearing again. Also, as Antonio mentioned, the below
> mentioned
> > bug fix sorted this.
> >
> > https://bz.apache.org/bugzilla/show_bug.cgi?id=59885
> >
> > On Fri, Oct 20, 2017 at 9:42 PM, <rwilson2@gmail.com <javascript:;>
> <javascript:;>>
> > wrote:
> >
> > > Are you sure it's just CPU? It may be bandwidth for the network device
> > > that is constrained - and the CPU is trying to figure out where to put
> > all
> > > the packets.
> > >
> > > Keep in mind, images (especially) are a lot of bytes worth of data. If
> > > your HTML is 10K, but you download a relatively small banner image -
> that
> > > can be 100K of additional data (e.g., more than 10X the workload). Of
> > > course that’s a lot more work for the system. A typical web page will
> > have
> > > 10-20KB of "skeleton" framework, but could have several megabytes of
> > images
> > > and non-HTML files. A multimedia page could have several times more of
> > that
> > > if you include streaming resources like movies or sounds.
> > >
> > > --
> > > Robin D. Wilson
> > > Cell: 512-426-3929
> > >
> > >
> > > -----Original Message-----
> > > From: Antonio Gomes Rodrigues [mailto:ra0077@gmail.com <javascript:;>
> <javascript:;>]
> > > Sent: Oct 20, 2017 2:39 A
> > > To: JMeter Users List <user@jmeter.apache.org <javascript:;>
> <javascript:;>>
> > > Cc: ganeshmuralidhar@gmail.com <javascript:;> <javascript:;>
> > > Subject: Re: Load Test with embedded resources chokes CPU
> > >
> > > Hi,
> > >
> > > Can you take a thread dump ?
> > >
> > > Antonio
> > >
> > > 2017-10-20 11:34 GMT+02:00 Bincy P S <bincysuresh@gmail.com
> <javascript:;>
> > <javascript:;>>:
> > >
> > > > We have changed the JVM heap size to 2G , Jmeter version to 3.3 and
> > tried
> > > > these test runs . I still see the same issue
> > > >
> > > > On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> > > > philippe.mouawad@gmail.com <javascript:;> <javascript:;>> wrote:
> > > >
> > > > > What is the size of your JVM Heap ? If you didn't change it then it
> > can
> > > > > explain your issues.
> > > > > Also why are you using an old version as 3.0, ? Last version is
> 3.3 ?
> > > > >
> > > > >
> > > > >
> > > > > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bincysuresh@gmail.com
> <javascript:;>
> > <javascript:;>>
> > > > wrote:
> > > > >
> > > > > > Jmeter Configuration :
> > > > > > Thread setting : 1 thread , 5 transaction controller ,each with 1
> > > HTTP
> > > > > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > > > > > HTTP Request Sampler : tried with all Implementation,Download
> > > embedded
> > > > > > resources - retrieve embedded resources, parallel download - 6
> > > > > >
> > > > > > No other settings were changed
> > > > > >
> > > > > > jmeter version : 3.0
> > > > > >
> > > > > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > > > > > philippe.mouawad@gmail.com <javascript:;> <javascript:;>> wrote:
> > > > > >
> > > > > > > Hello,
> > > > > > > What is your jmeter configuration ?
> > > > > > > Did you change any setting ?
> > > > > > > What is your jmeter version ?
> > > > > > >
> > > > > > > Thanks
> > > > > > > Regards
> > > > > > >
> > > > > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <
> > bincysuresh@gmail.com <javascript:;> <javascript:;>>
> > > > > > wrote:
> > > > > > >
> > > > > > > > A load test with downloading just the HTML scales upto 300
> > users
> > > on
> > > > > one
> > > > > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory
> at
> > > > 5%).
> > > > > > > > However, when a similar profile is tested with download of
> > > non-HTML
> > > > > > > > embedded resources (images, css, js, etc.,) along with HTML,
> > the
> > > LG
> > > > > > gets
> > > > > > > > utilized to the max (100% CPU, Memory still at 20%) with just
> > 30
> > > > > users.
> > > > > > > >
> > > > > > > > Testing the same profiles with Load Runner, there is not much
> > > > > > difference
> > > > > > > on
> > > > > > > > LG performance between the 2 profiles
> > > > > > > >
> > > > > > > > --
> > > > > > > > With Regards,
> > > > > > > >
> > > > > > > > Bincy Suresh
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Cordialement.
> > > > > > > Philippe Mouawad.
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > With Regards,
> > > > > >
> > > > > > Bincy Suresh
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Cordialement.
> > > > > Philippe Mouawad.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > With Regards,
> > > >
> > > > Bincy Suresh
> > > >
> > >
> > >
> >
> >
> > --
> >
> > *Ganesh .N*
> >
> > *Bangalore*
> >
> > *Wireless:* *+91 9611906678*
> >
>
>
> --
> Cordialement.
> Philippe Mouawad.
>


-- 

*Ganesh .N*

*Bangalore*

*Wireless:* *+91 9611906678*

Re: Load Test with embedded resources chokes CPU

Posted by Philippe Mouawad <ph...@gmail.com>.
Was you me test using https ?



On Friday, October 20, 2017, Ganesh Muralidhar <ga...@gmail.com>
wrote:

> Our network switch is nothing less than 1GB and the testing is happening
> internal to the network. So no chance of network contention here.
>
> Secondly, after updating the JMeter version to 3.3 the CPU contention seems
> not to be appearing again. Also, as Antonio mentioned, the below mentioned
> bug fix sorted this.
>
> https://bz.apache.org/bugzilla/show_bug.cgi?id=59885
>
> On Fri, Oct 20, 2017 at 9:42 PM, <rwilson2@gmail.com <javascript:;>>
> wrote:
>
> > Are you sure it's just CPU? It may be bandwidth for the network device
> > that is constrained - and the CPU is trying to figure out where to put
> all
> > the packets.
> >
> > Keep in mind, images (especially) are a lot of bytes worth of data. If
> > your HTML is 10K, but you download a relatively small banner image - that
> > can be 100K of additional data (e.g., more than 10X the workload). Of
> > course that’s a lot more work for the system. A typical web page will
> have
> > 10-20KB of "skeleton" framework, but could have several megabytes of
> images
> > and non-HTML files. A multimedia page could have several times more of
> that
> > if you include streaming resources like movies or sounds.
> >
> > --
> > Robin D. Wilson
> > Cell: 512-426-3929
> >
> >
> > -----Original Message-----
> > From: Antonio Gomes Rodrigues [mailto:ra0077@gmail.com <javascript:;>]
> > Sent: Oct 20, 2017 2:39 A
> > To: JMeter Users List <user@jmeter.apache.org <javascript:;>>
> > Cc: ganeshmuralidhar@gmail.com <javascript:;>
> > Subject: Re: Load Test with embedded resources chokes CPU
> >
> > Hi,
> >
> > Can you take a thread dump ?
> >
> > Antonio
> >
> > 2017-10-20 11:34 GMT+02:00 Bincy P S <bincysuresh@gmail.com
> <javascript:;>>:
> >
> > > We have changed the JVM heap size to 2G , Jmeter version to 3.3 and
> tried
> > > these test runs . I still see the same issue
> > >
> > > On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> > > philippe.mouawad@gmail.com <javascript:;>> wrote:
> > >
> > > > What is the size of your JVM Heap ? If you didn't change it then it
> can
> > > > explain your issues.
> > > > Also why are you using an old version as 3.0, ? Last version is 3.3 ?
> > > >
> > > >
> > > >
> > > > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bincysuresh@gmail.com
> <javascript:;>>
> > > wrote:
> > > >
> > > > > Jmeter Configuration :
> > > > > Thread setting : 1 thread , 5 transaction controller ,each with 1
> > HTTP
> > > > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > > > > HTTP Request Sampler : tried with all Implementation,Download
> > embedded
> > > > > resources - retrieve embedded resources, parallel download - 6
> > > > >
> > > > > No other settings were changed
> > > > >
> > > > > jmeter version : 3.0
> > > > >
> > > > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > > > > philippe.mouawad@gmail.com <javascript:;>> wrote:
> > > > >
> > > > > > Hello,
> > > > > > What is your jmeter configuration ?
> > > > > > Did you change any setting ?
> > > > > > What is your jmeter version ?
> > > > > >
> > > > > > Thanks
> > > > > > Regards
> > > > > >
> > > > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <
> bincysuresh@gmail.com <javascript:;>>
> > > > > wrote:
> > > > > >
> > > > > > > A load test with downloading just the HTML scales upto 300
> users
> > on
> > > > one
> > > > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at
> > > 5%).
> > > > > > > However, when a similar profile is tested with download of
> > non-HTML
> > > > > > > embedded resources (images, css, js, etc.,) along with HTML,
> the
> > LG
> > > > > gets
> > > > > > > utilized to the max (100% CPU, Memory still at 20%) with just
> 30
> > > > users.
> > > > > > >
> > > > > > > Testing the same profiles with Load Runner, there is not much
> > > > > difference
> > > > > > on
> > > > > > > LG performance between the 2 profiles
> > > > > > >
> > > > > > > --
> > > > > > > With Regards,
> > > > > > >
> > > > > > > Bincy Suresh
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Cordialement.
> > > > > > Philippe Mouawad.
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > With Regards,
> > > > >
> > > > > Bincy Suresh
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Cordialement.
> > > > Philippe Mouawad.
> > > >
> > >
> > >
> > >
> > > --
> > > With Regards,
> > >
> > > Bincy Suresh
> > >
> >
> >
>
>
> --
>
> *Ganesh .N*
>
> *Bangalore*
>
> *Wireless:* *+91 9611906678*
>


-- 
Cordialement.
Philippe Mouawad.

Re: Load Test with embedded resources chokes CPU

Posted by Ganesh Muralidhar <ga...@gmail.com>.
No sir.. my 30 users are not simultaneously run. They are concurrent. And
my response time is nothing less than 2 seconds with another 2 seconds of
think time added on top of it. So i wil never reach 600 MB. The max I can
reach is only 150MB that too in an ideal case.

Also not all 2MB is downloaded at the same moment as the concurrent calls
are only 6 for resources and the overall weight of all page resourcess
together is 2 MB.

On Saturday, October 21, 2017, <rw...@gmail.com> wrote:

> If your page has 2MB of data on it, and you are running 30 simultaneous
> users – that is 60MB per test of simultaneous data – which is roughly
> 600Mbits/sec – or 60% of your network’s bandwidth. That is substantial, and
> could account for your problem. There is no way you will get to 300
> simultaneous users if you are downloading 2MB per user – and you only have
> a 1Gb network. Remember, network speeds are referenced in “bits per
> second”, and there are ~10 bits per Byte of data (there are 8-bits per
> byte, plus some overhead – so I usually round it to 10-bits per byte). So 2
> mega “Bytes” is roughly 20 mega bits…
>
>
>
> --
>
> *Robin D. Wilson*
>
>
>
> *Cell: 512-426-3929*
>
>
>
> *From:* Ganesh Muralidhar [mailto:ganeshmuralidhar@gmail.com
> <javascript:_e(%7B%7D,'cvml','ganeshmuralidhar@gmail.com');>]
> *Sent:* Oct 20, 2017 9:44 A
> *To:* rwilson2@gmail.com
> <javascript:_e(%7B%7D,'cvml','rwilson2@gmail.com');>
> *Cc:* JMeter Users List <user@jmeter.apache.org
> <javascript:_e(%7B%7D,'cvml','user@jmeter.apache.org');>>
> *Subject:* Re: Load Test with embedded resources chokes CPU
>
>
>
> Our network switch is nothing less than 1GB and the testing is happening
> internal to the network. So no chance of network contention here.
>
>
>
> Secondly, after updating the JMeter version to 3.3 the CPU contention
> seems not to be appearing again. Also, as Antonio mentioned, the below
> mentioned bug fix sorted this.
>
>
>
> https://bz.apache.org/bugzilla/show_bug.cgi?id=59885
>
>
>
> On Fri, Oct 20, 2017 at 9:42 PM, <rwilson2@gmail.com
> <javascript:_e(%7B%7D,'cvml','rwilson2@gmail.com');>> wrote:
>
> Are you sure it's just CPU? It may be bandwidth for the network device
> that is constrained - and the CPU is trying to figure out where to put all
> the packets.
>
> Keep in mind, images (especially) are a lot of bytes worth of data. If
> your HTML is 10K, but you download a relatively small banner image - that
> can be 100K of additional data (e.g., more than 10X the workload). Of
> course that’s a lot more work for the system. A typical web page will have
> 10-20KB of "skeleton" framework, but could have several megabytes of images
> and non-HTML files. A multimedia page could have several times more of that
> if you include streaming resources like movies or sounds.
>
> --
> Robin D. Wilson
> Cell: 512-426-3929
>
>
> -----Original Message-----
> From: Antonio Gomes Rodrigues [mailto:ra0077@gmail.com
> <javascript:_e(%7B%7D,'cvml','ra0077@gmail.com');>]
> Sent: Oct 20, 2017 2:39 A
> To: JMeter Users List <user@jmeter.apache.org
> <javascript:_e(%7B%7D,'cvml','user@jmeter.apache.org');>>
> Cc: ganeshmuralidhar@gmail.com
> <javascript:_e(%7B%7D,'cvml','ganeshmuralidhar@gmail.com');>
> Subject: Re: Load Test with embedded resources chokes CPU
>
> Hi,
>
> Can you take a thread dump ?
>
> Antonio
>
> 2017-10-20 11:34 GMT+02:00 Bincy P S <bincysuresh@gmail.com
> <javascript:_e(%7B%7D,'cvml','bincysuresh@gmail.com');>>:
>
> > We have changed the JVM heap size to 2G , Jmeter version to 3.3 and tried
> > these test runs . I still see the same issue
> >
> > On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> > philippe.mouawad@gmail.com
> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
> >
> > > What is the size of your JVM Heap ? If you didn't change it then it can
> > > explain your issues.
> > > Also why are you using an old version as 3.0, ? Last version is 3.3 ?
> > >
> > >
> > >
> > > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bincysuresh@gmail.com
> <javascript:_e(%7B%7D,'cvml','bincysuresh@gmail.com');>>
> > wrote:
> > >
> > > > Jmeter Configuration :
> > > > Thread setting : 1 thread , 5 transaction controller ,each with 1
> HTTP
> > > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > > > HTTP Request Sampler : tried with all Implementation,Download
> embedded
> > > > resources - retrieve embedded resources, parallel download - 6
> > > >
> > > > No other settings were changed
> > > >
> > > > jmeter version : 3.0
> > > >
> > > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > > > philippe.mouawad@gmail.com
> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
> > > >
> > > > > Hello,
> > > > > What is your jmeter configuration ?
> > > > > Did you change any setting ?
> > > > > What is your jmeter version ?
> > > > >
> > > > > Thanks
> > > > > Regards
> > > > >
> > > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bincysuresh@gmail.com
> <javascript:_e(%7B%7D,'cvml','bincysuresh@gmail.com');>>
> > > > wrote:
> > > > >
> > > > > > A load test with downloading just the HTML scales upto 300 users
> on
> > > one
> > > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at
> > 5%).
> > > > > > However, when a similar profile is tested with download of
> non-HTML
> > > > > > embedded resources (images, css, js, etc.,) along with HTML, the
> LG
> > > > gets
> > > > > > utilized to the max (100% CPU, Memory still at 20%) with just 30
> > > users.
> > > > > >
> > > > > > Testing the same profiles with Load Runner, there is not much
> > > > difference
> > > > > on
> > > > > > LG performance between the 2 profiles
> > > > > >
> > > > > > --
> > > > > > With Regards,
> > > > > >
> > > > > > Bincy Suresh
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Cordialement.
> > > > > Philippe Mouawad.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > With Regards,
> > > >
> > > > Bincy Suresh
> > > >
> > >
> > >
> > >
> > > --
> > > Cordialement.
> > > Philippe Mouawad.
> > >
> >
> >
> >
> > --
> > With Regards,
> >
> > Bincy Suresh
> >
>
>
>
>
>
> --
>
> *Ganesh .N*
>
> *Bangalore*
>
> *Wireless:* *+91 9611906678*
>
>

-- 

*Ganesh .N*

*Bangalore*

*Wireless:* *+91 9611906678*

RE: Load Test with embedded resources chokes CPU

Posted by rw...@gmail.com.
If your page has 2MB of data on it, and you are running 30 simultaneous users – that is 60MB per test of simultaneous data – which is roughly 600Mbits/sec – or 60% of your network’s bandwidth. That is substantial, and could account for your problem. There is no way you will get to 300 simultaneous users if you are downloading 2MB per user – and you only have a 1Gb network. Remember, network speeds are referenced in “bits per second”, and there are ~10 bits per Byte of data (there are 8-bits per byte, plus some overhead – so I usually round it to 10-bits per byte). So 2 mega “Bytes” is roughly 20 mega bits…

 

--

Robin D. Wilson

Cell: 512-426-3929



 

From: Ganesh Muralidhar [mailto:ganeshmuralidhar@gmail.com] 
Sent: Oct 20, 2017 9:44 A
To: rwilson2@gmail.com
Cc: JMeter Users List <us...@jmeter.apache.org>
Subject: Re: Load Test with embedded resources chokes CPU

 

Our network switch is nothing less than 1GB and the testing is happening internal to the network. So no chance of network contention here.

 

Secondly, after updating the JMeter version to 3.3 the CPU contention seems not to be appearing again. Also, as Antonio mentioned, the below mentioned bug fix sorted this.

 

https://bz.apache.org/bugzilla/show_bug.cgi?id=59885

 

On Fri, Oct 20, 2017 at 9:42 PM, <rwilson2@gmail.com <ma...@gmail.com> > wrote:

Are you sure it's just CPU? It may be bandwidth for the network device that is constrained - and the CPU is trying to figure out where to put all the packets.

Keep in mind, images (especially) are a lot of bytes worth of data. If your HTML is 10K, but you download a relatively small banner image - that can be 100K of additional data (e.g., more than 10X the workload). Of course that’s a lot more work for the system. A typical web page will have 10-20KB of "skeleton" framework, but could have several megabytes of images and non-HTML files. A multimedia page could have several times more of that if you include streaming resources like movies or sounds.

--
Robin D. Wilson
Cell: 512-426-3929


-----Original Message-----
From: Antonio Gomes Rodrigues [mailto:ra0077@gmail.com <ma...@gmail.com> ]
Sent: Oct 20, 2017 2:39 A
To: JMeter Users List <user@jmeter.apache.org <ma...@jmeter.apache.org> >
Cc: ganeshmuralidhar@gmail.com <ma...@gmail.com> 
Subject: Re: Load Test with embedded resources chokes CPU

Hi,

Can you take a thread dump ?

Antonio

2017-10-20 11:34 GMT+02:00 Bincy P S <bincysuresh@gmail.com <ma...@gmail.com> >:

> We have changed the JVM heap size to 2G , Jmeter version to 3.3 and tried
> these test runs . I still see the same issue
>
> On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> philippe.mouawad@gmail.com <ma...@gmail.com> > wrote:
>
> > What is the size of your JVM Heap ? If you didn't change it then it can
> > explain your issues.
> > Also why are you using an old version as 3.0, ? Last version is 3.3 ?
> >
> >
> >
> > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bincysuresh@gmail.com <ma...@gmail.com> >
> wrote:
> >
> > > Jmeter Configuration :
> > > Thread setting : 1 thread , 5 transaction controller ,each with 1 HTTP
> > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > > HTTP Request Sampler : tried with all Implementation,Download embedded
> > > resources - retrieve embedded resources, parallel download - 6
> > >
> > > No other settings were changed
> > >
> > > jmeter version : 3.0
> > >
> > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > > philippe.mouawad@gmail.com <ma...@gmail.com> > wrote:
> > >
> > > > Hello,
> > > > What is your jmeter configuration ?
> > > > Did you change any setting ?
> > > > What is your jmeter version ?
> > > >
> > > > Thanks
> > > > Regards
> > > >
> > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com>
> > > wrote:
> > > >
> > > > > A load test with downloading just the HTML scales upto 300 users on
> > one
> > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at
> 5%).
> > > > > However, when a similar profile is tested with download of non-HTML
> > > > > embedded resources (images, css, js, etc.,) along with HTML, the LG
> > > gets
> > > > > utilized to the max (100% CPU, Memory still at 20%) with just 30
> > users.
> > > > >
> > > > > Testing the same profiles with Load Runner, there is not much
> > > difference
> > > > on
> > > > > LG performance between the 2 profiles
> > > > >
> > > > > --
> > > > > With Regards,
> > > > >
> > > > > Bincy Suresh
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Cordialement.
> > > > Philippe Mouawad.
> > > >
> > >
> > >
> > >
> > > --
> > > With Regards,
> > >
> > > Bincy Suresh
> > >
> >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> >
>
>
>
> --
> With Regards,
>
> Bincy Suresh
>





 

-- 

Ganesh .N

Bangalore

Wireless: +91 9611906678

  <https://lh4.googleusercontent.com/-SWIy9HmVa10/ULR4I_ZQBhI/AAAAAAAADkk/QPEI1qPMTBA/s420/ganeshmuralidhar_gmail_c.png> 


Re: Load Test with embedded resources chokes CPU

Posted by Ganesh Muralidhar <ga...@gmail.com>.
Our network switch is nothing less than 1GB and the testing is happening
internal to the network. So no chance of network contention here.

Secondly, after updating the JMeter version to 3.3 the CPU contention seems
not to be appearing again. Also, as Antonio mentioned, the below mentioned
bug fix sorted this.

https://bz.apache.org/bugzilla/show_bug.cgi?id=59885

On Fri, Oct 20, 2017 at 9:42 PM, <rw...@gmail.com> wrote:

> Are you sure it's just CPU? It may be bandwidth for the network device
> that is constrained - and the CPU is trying to figure out where to put all
> the packets.
>
> Keep in mind, images (especially) are a lot of bytes worth of data. If
> your HTML is 10K, but you download a relatively small banner image - that
> can be 100K of additional data (e.g., more than 10X the workload). Of
> course that’s a lot more work for the system. A typical web page will have
> 10-20KB of "skeleton" framework, but could have several megabytes of images
> and non-HTML files. A multimedia page could have several times more of that
> if you include streaming resources like movies or sounds.
>
> --
> Robin D. Wilson
> Cell: 512-426-3929
>
>
> -----Original Message-----
> From: Antonio Gomes Rodrigues [mailto:ra0077@gmail.com]
> Sent: Oct 20, 2017 2:39 A
> To: JMeter Users List <us...@jmeter.apache.org>
> Cc: ganeshmuralidhar@gmail.com
> Subject: Re: Load Test with embedded resources chokes CPU
>
> Hi,
>
> Can you take a thread dump ?
>
> Antonio
>
> 2017-10-20 11:34 GMT+02:00 Bincy P S <bi...@gmail.com>:
>
> > We have changed the JVM heap size to 2G , Jmeter version to 3.3 and tried
> > these test runs . I still see the same issue
> >
> > On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> > philippe.mouawad@gmail.com> wrote:
> >
> > > What is the size of your JVM Heap ? If you didn't change it then it can
> > > explain your issues.
> > > Also why are you using an old version as 3.0, ? Last version is 3.3 ?
> > >
> > >
> > >
> > > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bi...@gmail.com>
> > wrote:
> > >
> > > > Jmeter Configuration :
> > > > Thread setting : 1 thread , 5 transaction controller ,each with 1
> HTTP
> > > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > > > HTTP Request Sampler : tried with all Implementation,Download
> embedded
> > > > resources - retrieve embedded resources, parallel download - 6
> > > >
> > > > No other settings were changed
> > > >
> > > > jmeter version : 3.0
> > > >
> > > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > > > philippe.mouawad@gmail.com> wrote:
> > > >
> > > > > Hello,
> > > > > What is your jmeter configuration ?
> > > > > Did you change any setting ?
> > > > > What is your jmeter version ?
> > > > >
> > > > > Thanks
> > > > > Regards
> > > > >
> > > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com>
> > > > wrote:
> > > > >
> > > > > > A load test with downloading just the HTML scales upto 300 users
> on
> > > one
> > > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at
> > 5%).
> > > > > > However, when a similar profile is tested with download of
> non-HTML
> > > > > > embedded resources (images, css, js, etc.,) along with HTML, the
> LG
> > > > gets
> > > > > > utilized to the max (100% CPU, Memory still at 20%) with just 30
> > > users.
> > > > > >
> > > > > > Testing the same profiles with Load Runner, there is not much
> > > > difference
> > > > > on
> > > > > > LG performance between the 2 profiles
> > > > > >
> > > > > > --
> > > > > > With Regards,
> > > > > >
> > > > > > Bincy Suresh
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Cordialement.
> > > > > Philippe Mouawad.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > With Regards,
> > > >
> > > > Bincy Suresh
> > > >
> > >
> > >
> > >
> > > --
> > > Cordialement.
> > > Philippe Mouawad.
> > >
> >
> >
> >
> > --
> > With Regards,
> >
> > Bincy Suresh
> >
>
>


-- 

*Ganesh .N*

*Bangalore*

*Wireless:* *+91 9611906678*

RE: Load Test with embedded resources chokes CPU

Posted by rw...@gmail.com.
Are you sure it's just CPU? It may be bandwidth for the network device that is constrained - and the CPU is trying to figure out where to put all the packets.

Keep in mind, images (especially) are a lot of bytes worth of data. If your HTML is 10K, but you download a relatively small banner image - that can be 100K of additional data (e.g., more than 10X the workload). Of course that’s a lot more work for the system. A typical web page will have 10-20KB of "skeleton" framework, but could have several megabytes of images and non-HTML files. A multimedia page could have several times more of that if you include streaming resources like movies or sounds.

--
Robin D. Wilson
Cell: 512-426-3929


-----Original Message-----
From: Antonio Gomes Rodrigues [mailto:ra0077@gmail.com] 
Sent: Oct 20, 2017 2:39 A
To: JMeter Users List <us...@jmeter.apache.org>
Cc: ganeshmuralidhar@gmail.com
Subject: Re: Load Test with embedded resources chokes CPU

Hi,

Can you take a thread dump ?

Antonio

2017-10-20 11:34 GMT+02:00 Bincy P S <bi...@gmail.com>:

> We have changed the JVM heap size to 2G , Jmeter version to 3.3 and tried
> these test runs . I still see the same issue
>
> On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> philippe.mouawad@gmail.com> wrote:
>
> > What is the size of your JVM Heap ? If you didn't change it then it can
> > explain your issues.
> > Also why are you using an old version as 3.0, ? Last version is 3.3 ?
> >
> >
> >
> > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bi...@gmail.com>
> wrote:
> >
> > > Jmeter Configuration :
> > > Thread setting : 1 thread , 5 transaction controller ,each with 1 HTTP
> > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > > HTTP Request Sampler : tried with all Implementation,Download embedded
> > > resources - retrieve embedded resources, parallel download - 6
> > >
> > > No other settings were changed
> > >
> > > jmeter version : 3.0
> > >
> > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > > philippe.mouawad@gmail.com> wrote:
> > >
> > > > Hello,
> > > > What is your jmeter configuration ?
> > > > Did you change any setting ?
> > > > What is your jmeter version ?
> > > >
> > > > Thanks
> > > > Regards
> > > >
> > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com>
> > > wrote:
> > > >
> > > > > A load test with downloading just the HTML scales upto 300 users on
> > one
> > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at
> 5%).
> > > > > However, when a similar profile is tested with download of non-HTML
> > > > > embedded resources (images, css, js, etc.,) along with HTML, the LG
> > > gets
> > > > > utilized to the max (100% CPU, Memory still at 20%) with just 30
> > users.
> > > > >
> > > > > Testing the same profiles with Load Runner, there is not much
> > > difference
> > > > on
> > > > > LG performance between the 2 profiles
> > > > >
> > > > > --
> > > > > With Regards,
> > > > >
> > > > > Bincy Suresh
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Cordialement.
> > > > Philippe Mouawad.
> > > >
> > >
> > >
> > >
> > > --
> > > With Regards,
> > >
> > > Bincy Suresh
> > >
> >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> >
>
>
>
> --
> With Regards,
>
> Bincy Suresh
>


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


Re: Load Test with embedded resources chokes CPU

Posted by Antonio Gomes Rodrigues <ra...@gmail.com>.
Hi,

Can you take a thread dump ?

Antonio

2017-10-20 11:34 GMT+02:00 Bincy P S <bi...@gmail.com>:

> We have changed the JVM heap size to 2G , Jmeter version to 3.3 and tried
> these test runs . I still see the same issue
>
> On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
> philippe.mouawad@gmail.com> wrote:
>
> > What is the size of your JVM Heap ? If you didn't change it then it can
> > explain your issues.
> > Also why are you using an old version as 3.0, ? Last version is 3.3 ?
> >
> >
> >
> > On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bi...@gmail.com>
> wrote:
> >
> > > Jmeter Configuration :
> > > Thread setting : 1 thread , 5 transaction controller ,each with 1 HTTP
> > > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > > HTTP Request Sampler : tried with all Implementation,Download embedded
> > > resources - retrieve embedded resources, parallel download - 6
> > >
> > > No other settings were changed
> > >
> > > jmeter version : 3.0
> > >
> > > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > > philippe.mouawad@gmail.com> wrote:
> > >
> > > > Hello,
> > > > What is your jmeter configuration ?
> > > > Did you change any setting ?
> > > > What is your jmeter version ?
> > > >
> > > > Thanks
> > > > Regards
> > > >
> > > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com>
> > > wrote:
> > > >
> > > > > A load test with downloading just the HTML scales upto 300 users on
> > one
> > > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at
> 5%).
> > > > > However, when a similar profile is tested with download of non-HTML
> > > > > embedded resources (images, css, js, etc.,) along with HTML, the LG
> > > gets
> > > > > utilized to the max (100% CPU, Memory still at 20%) with just 30
> > users.
> > > > >
> > > > > Testing the same profiles with Load Runner, there is not much
> > > difference
> > > > on
> > > > > LG performance between the 2 profiles
> > > > >
> > > > > --
> > > > > With Regards,
> > > > >
> > > > > Bincy Suresh
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Cordialement.
> > > > Philippe Mouawad.
> > > >
> > >
> > >
> > >
> > > --
> > > With Regards,
> > >
> > > Bincy Suresh
> > >
> >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> >
>
>
>
> --
> With Regards,
>
> Bincy Suresh
>

Re: Load Test with embedded resources chokes CPU

Posted by Bincy P S <bi...@gmail.com>.
We have changed the JVM heap size to 2G , Jmeter version to 3.3 and tried
these test runs . I still see the same issue

On Fri, Oct 20, 2017 at 2:56 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> What is the size of your JVM Heap ? If you didn't change it then it can
> explain your issues.
> Also why are you using an old version as 3.0, ? Last version is 3.3 ?
>
>
>
> On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bi...@gmail.com> wrote:
>
> > Jmeter Configuration :
> > Thread setting : 1 thread , 5 transaction controller ,each with 1 HTTP
> > sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> > HTTP Request Sampler : tried with all Implementation,Download embedded
> > resources - retrieve embedded resources, parallel download - 6
> >
> > No other settings were changed
> >
> > jmeter version : 3.0
> >
> > On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> > philippe.mouawad@gmail.com> wrote:
> >
> > > Hello,
> > > What is your jmeter configuration ?
> > > Did you change any setting ?
> > > What is your jmeter version ?
> > >
> > > Thanks
> > > Regards
> > >
> > > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com>
> > wrote:
> > >
> > > > A load test with downloading just the HTML scales upto 300 users on
> one
> > > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at 5%).
> > > > However, when a similar profile is tested with download of non-HTML
> > > > embedded resources (images, css, js, etc.,) along with HTML, the LG
> > gets
> > > > utilized to the max (100% CPU, Memory still at 20%) with just 30
> users.
> > > >
> > > > Testing the same profiles with Load Runner, there is not much
> > difference
> > > on
> > > > LG performance between the 2 profiles
> > > >
> > > > --
> > > > With Regards,
> > > >
> > > > Bincy Suresh
> > > >
> > >
> > >
> > >
> > > --
> > > Cordialement.
> > > Philippe Mouawad.
> > >
> >
> >
> >
> > --
> > With Regards,
> >
> > Bincy Suresh
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>



-- 
With Regards,

Bincy Suresh

Re: Load Test with embedded resources chokes CPU

Posted by Philippe Mouawad <ph...@gmail.com>.
What is the size of your JVM Heap ? If you didn't change it then it can
explain your issues.
Also why are you using an old version as 3.0, ? Last version is 3.3 ?



On Fri, Oct 20, 2017 at 9:33 AM, Bincy P S <bi...@gmail.com> wrote:

> Jmeter Configuration :
> Thread setting : 1 thread , 5 transaction controller ,each with 1 HTTP
> sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
> HTTP Request Sampler : tried with all Implementation,Download embedded
> resources - retrieve embedded resources, parallel download - 6
>
> No other settings were changed
>
> jmeter version : 3.0
>
> On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
> philippe.mouawad@gmail.com> wrote:
>
> > Hello,
> > What is your jmeter configuration ?
> > Did you change any setting ?
> > What is your jmeter version ?
> >
> > Thanks
> > Regards
> >
> > On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com>
> wrote:
> >
> > > A load test with downloading just the HTML scales upto 300 users on one
> > > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at 5%).
> > > However, when a similar profile is tested with download of non-HTML
> > > embedded resources (images, css, js, etc.,) along with HTML, the LG
> gets
> > > utilized to the max (100% CPU, Memory still at 20%) with just 30 users.
> > >
> > > Testing the same profiles with Load Runner, there is not much
> difference
> > on
> > > LG performance between the 2 profiles
> > >
> > > --
> > > With Regards,
> > >
> > > Bincy Suresh
> > >
> >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> >
>
>
>
> --
> With Regards,
>
> Bincy Suresh
>



-- 
Cordialement.
Philippe Mouawad.

Re: Load Test with embedded resources chokes CPU

Posted by Bincy P S <bi...@gmail.com>.
Jmeter Configuration :
Thread setting : 1 thread , 5 transaction controller ,each with 1 HTTP
sampler. Home Page, PLP,PDP ,AddtoCart,View Cart
HTTP Request Sampler : tried with all Implementation,Download embedded
resources - retrieve embedded resources, parallel download - 6

No other settings were changed

jmeter version : 3.0

On Fri, Oct 20, 2017 at 12:41 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Hello,
> What is your jmeter configuration ?
> Did you change any setting ?
> What is your jmeter version ?
>
> Thanks
> Regards
>
> On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com> wrote:
>
> > A load test with downloading just the HTML scales upto 300 users on one
> > Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at 5%).
> > However, when a similar profile is tested with download of non-HTML
> > embedded resources (images, css, js, etc.,) along with HTML, the LG gets
> > utilized to the max (100% CPU, Memory still at 20%) with just 30 users.
> >
> > Testing the same profiles with Load Runner, there is not much difference
> on
> > LG performance between the 2 profiles
> >
> > --
> > With Regards,
> >
> > Bincy Suresh
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>



-- 
With Regards,

Bincy Suresh

Re: Load Test with embedded resources chokes CPU

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
What is your jmeter configuration ?
Did you change any setting ?
What is your jmeter version ?

Thanks
Regards

On Fri, Oct 20, 2017 at 9:06 AM, Bincy P S <bi...@gmail.com> wrote:

> A load test with downloading just the HTML scales upto 300 users on one
> Load generator (8 Core, 8 GB RAM - CPU at 20% max and Memory at 5%).
> However, when a similar profile is tested with download of non-HTML
> embedded resources (images, css, js, etc.,) along with HTML, the LG gets
> utilized to the max (100% CPU, Memory still at 20%) with just 30 users.
>
> Testing the same profiles with Load Runner, there is not much difference on
> LG performance between the 2 profiles
>
> --
> With Regards,
>
> Bincy Suresh
>



-- 
Cordialement.
Philippe Mouawad.

Re: Load Test with embedded resources chokes CPU

Posted by "glinius@live.com" <gl...@live.com>.
Having a larger memory and CPU footprint for test configured to download
embedded resources is expected as in the majority of cases main request is
relatively small being compared to embedded resources size. 

1. Make sure you're following  JMeter Best Practices
<http://jmeter.apache.org/usermanual/best-practices.html>  
2. Make sure you're using the latest version of JMeter
3. Make sure you have  HTTP Cache Manager
<https://www.blazemeter.com/blog/using-http-cache-manager>   added to your
Test Plan. This bit is vital as real browsers download embedded resources
found in the web pages (images, scripts, styles, fonts, etc.), but they do
it *only once*, on subsequent requests these embedded resources are being
returned from the browser's memory and/or disk cache. So having HTTP Cache
Manager is a must for properly simulating real users, otherwise you will be
conducting too much load therefore your test results won't be accurate.   



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

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