Load Test with embedded resources chokes CPU

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

Load Test with embedded resources chokes CPU

Bincy P S
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
pmd
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

pmd
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 <[hidden email]> 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.
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

Bincy P S
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 <
[hidden email]> 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 <[hidden email]> 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
pmd
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

pmd
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 <[hidden email]> 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 <
> [hidden email]> 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 <[hidden email]>
> 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.
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

Bincy P S
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 <
[hidden email]> 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 <[hidden email]> 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 <
> > [hidden email]> 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 <[hidden email]>
> > 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
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

Ganesh Muralidhar
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 <[hidden email]> 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 <
> [hidden email]> 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 <[hidden email]> 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 <
>> > [hidden email]> 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 <[hidden email]>
>> > 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*
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

ra0077
In reply to this post by Bincy P S
Hi,

Can you take a thread dump ?

Antonio

2017-10-20 11:34 GMT+02:00 Bincy P S <[hidden email]>:

> 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 <
> [hidden email]> 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 <[hidden email]>
> 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 <
> > > [hidden email]> 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 <[hidden email]>
> > > 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

Ganesh Muralidhar
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 <[hidden email]>
wrote:

> Hi,
>
> Can you take a thread dump ?
>
> Antonio
>
> 2017-10-20 11:34 GMT+02:00 Bincy P S <[hidden email]>:
>
>> 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 <
>> [hidden email]> 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 <[hidden email]>
>> 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 <
>> > > [hidden email]> 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 <[hidden email]>
>> > > 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*
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

ra0077
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 <[hidden email]>:

> 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 <[hidden email]
> > wrote:
>
>> Hi,
>>
>> Can you take a thread dump ?
>>
>> Antonio
>>
>> 2017-10-20 11:34 GMT+02:00 Bincy P S <[hidden email]>:
>>
>>> 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 <
>>> [hidden email]> 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 <[hidden email]>
>>> 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 <
>>> > > [hidden email]> 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 <[hidden email]>
>>> > > 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>*
>
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Load Test with embedded resources chokes CPU

Robin D. Wilson
In reply to this post by ra0077
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:[hidden email]]
Sent: Oct 20, 2017 2:39 A
To: JMeter Users List <[hidden email]>
Cc: [hidden email]
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 <[hidden email]>:

> 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 <
> [hidden email]> 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 <[hidden email]>
> 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 <
> > > [hidden email]> 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 <[hidden email]>
> > > 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

Ganesh Muralidhar
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, <[hidden email]> 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:[hidden email]]
> Sent: Oct 20, 2017 2:39 A
> To: JMeter Users List <[hidden email]>
> Cc: [hidden email]
> 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 <[hidden email]>:
>
> > 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 <
> > [hidden email]> 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 <[hidden email]>
> > 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 <
> > > > [hidden email]> 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 <[hidden email]>
> > > > 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*
Reply | Threaded
Open this post in threaded view
|

RE: Load Test with embedded resources chokes CPU

Robin D. Wilson
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:[hidden email]]
Sent: Oct 20, 2017 9:44 A
To: [hidden email]
Cc: JMeter Users List <[hidden email]>
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, <[hidden email] <mailto:[hidden email]> > 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:[hidden email] <mailto:[hidden email]> ]
Sent: Oct 20, 2017 2:39 A
To: JMeter Users List <[hidden email] <mailto:[hidden email]> >
Cc: [hidden email] <mailto:[hidden email]>
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 <[hidden email] <mailto:[hidden email]> >:

> 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 <
> [hidden email] <mailto:[hidden email]> > 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 <[hidden email] <mailto:[hidden email]> >
> 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 <
> > > [hidden email] <mailto:[hidden email]> > 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 <[hidden email]>
> > > 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>

pmd
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

pmd
In reply to this post by Ganesh Muralidhar
Was you me test using https ?



On Friday, October 20, 2017, Ganesh Muralidhar <[hidden email]>
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, <[hidden email] <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:[hidden email] <javascript:;>]
> > Sent: Oct 20, 2017 2:39 A
> > To: JMeter Users List <[hidden email] <javascript:;>>
> > Cc: [hidden email] <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 <[hidden email]
> <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 <
> > > [hidden email] <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 <[hidden email]
> <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 <
> > > > > [hidden email] <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 <
> [hidden email] <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.
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

Ganesh Muralidhar
In reply to this post by Robin D. Wilson
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, <[hidden email]> 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:[hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>]
> *Sent:* Oct 20, 2017 9:44 A
> *To:* [hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>
> *Cc:* JMeter Users List <[hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>>
> *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, <[hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>> 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:[hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>]
> Sent: Oct 20, 2017 2:39 A
> To: JMeter Users List <[hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>>
> Cc: [hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>
> 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 <[hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>>:
>
> > 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 <
> > [hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>> 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 <[hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>>
> > 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 <
> > > > [hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>> 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 <[hidden email]
> <javascript:_e(%7B%7D,'cvml','[hidden email]');>>
> > > > 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*
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

Ganesh Muralidhar
In reply to this post by pmd
Few http and few Https

On Saturday, October 21, 2017, Philippe Mouawad <[hidden email]>
wrote:

> Was you me test using https ?
>
>
>
> On Friday, October 20, 2017, Ganesh Muralidhar <[hidden email]
> <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, <[hidden email] <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:[hidden email] <javascript:;>
> <javascript:;>]
> > > Sent: Oct 20, 2017 2:39 A
> > > To: JMeter Users List <[hidden email] <javascript:;>
> <javascript:;>>
> > > Cc: [hidden email] <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 <[hidden email]
> <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 <
> > > > [hidden email] <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 <[hidden email]
> <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 <
> > > > > > [hidden email] <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 <
> > [hidden email] <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*
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

Rupesh Garg
In reply to this post by ra0077
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 <[hidden email]>
wrote:

> Hi,
>
> Can you take a thread dump ?
>
> Antonio
>
> 2017-10-20 11:34 GMT+02:00 Bincy P S <[hidden email]>:
>
> > 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 <
> > [hidden email]> 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 <[hidden email]>
> > 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 <
> > > > [hidden email]> 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 <[hidden email]>
> > > > 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
pmd
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

pmd
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 <[hidden email]> 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 <[hidden email]
> <javascript:;>>
> wrote:
>
> > Hi,
> >
> > Can you take a thread dump ?
> >
> > Antonio
> >
> > 2017-10-20 11:34 GMT+02:00 Bincy P S <[hidden email]
> <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 <
> > > [hidden email] <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 <[hidden email]
> <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 <
> > > > > [hidden email] <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 <
> [hidden email] <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.
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

Ganesh Muralidhar
Yes. I confirm that the issue is solved now after upgrading to latest
version.

On Saturday, October 21, 2017, Philippe Mouawad <[hidden email]>
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 <[hidden email]
> <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 <[hidden email]
> <javascript:;>
> > <javascript:;>>
> > wrote:
> >
> > > Hi,
> > >
> > > Can you take a thread dump ?
> > >
> > > Antonio
> > >
> > > 2017-10-20 11:34 GMT+02:00 Bincy P S <[hidden email]
> <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 <
> > > > [hidden email] <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 <[hidden email]
> <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 <
> > > > > > [hidden email] <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 <
> > [hidden email] <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*
Reply | Threaded
Open this post in threaded view
|

Re: Load Test with embedded resources chokes CPU

glinius@live.com
In reply to this post by Bincy P S
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: [hidden email]
For additional commands, e-mail: [hidden email]