Hi Kasun,

As you mentioned, the 2GB heap gives a better throughput than 1GB heap and
therefore it's good to do performance tests with 2GB heap.

Since there is about 96% throughput, we may not need to do additional GC
tuning. However let's enable GC logs during the performance tests and then
we can analyze GC logs to see whether we further need to adjust any JVM
parameters.

Is Carbon Metrics feature available in GREG 5.2.0? We also need to monitor
the committed heap size and we can view it via the "JVM Metrics" page if
Carbon Metrics feature is available.

With regards to Jmeter results for 60 users, I see that 90, 95 and 99
percentile values are much higher than the average. We should do any
necessary adjustments (in JVM or in server configurations) to avoid such
behaviour. Could you please check on that?

Thanks!

Best Regards,

On Tue, Mar 8, 2016 at 10:46 AM, Kasun Thennakoon <[email protected]> wrote:

> +Adding Architecture group
>
>
> On Tue, Mar 8, 2016 at 10:42 AM, Kasun Thennakoon <[email protected]>
> wrote:
>
>> Hi all,
>>
>> We have performed several test scenarios on Greg 5.2 , In order to find
>> the optimal heap memory size for, run performance tests on the product.
>> Below table compares the GC statistics, taken from the GCViewer by using
>> the GC logs generated during the product runtime.
>>
>> Here I have compared the GC attributes when running 60 concurrent users
>> preforming CRUD operations on SOAPservice resources.
>>
>> Heap Size
>>
>> Attribute
>>
>> -Xms256m
>>
>> -Xmx1024m
>>
>> -Xms1024m
>>
>> -Xmx2048m
>>
>> Throughput
>>
>> 95.24%
>>
>> 96.75%
>>
>> Number of Full GC pauses
>>
>> 9
>>
>> 4
>>
>> Number of GC pauses
>>
>> 368
>>
>> 190
>>
>> Documentation of the test run is attached herewith[1
>> <https://docs.google.com/document/d/1awvk7sLQLVd_o67DyeHhkpDB_7-SbMEjq4eYIHwyN9w/edit#>],
>> and GC logs and Jmeter results can be found in here[2
>> <https://drive.google.com/a/wso2.com/folderview?id=0B1_Z3W9f0vt2dmRBTmEzR3M2dGc&usp=sharing>
>> ]
>>
>> As given in the test result IMHO it's better to go with 2GB heap size
>> rather than 1GB, Since as with 2GB heap memory it gives higher throughput
>> and lesser Full GC pauses.
>>
>> Please share your opinion on the above options.
>>
>>
>> [1]:
>> https://docs.google.com/document/d/1awvk7sLQLVd_o67DyeHhkpDB_7-SbMEjq4eYIHwyN9w
>> [2]:
>> https://drive.google.com/a/wso2.com/folderview?id=0B1_Z3W9f0vt2dmRBTmEzR3M2dGc&usp=sharing
>>
>> --
>> *Kasun Thennakoon*
>> Software Engineer
>> WSO2, Inc.
>> Mobile:+94 711661919
>>
>
>
>
> --
> *Kasun Thennakoon*
> Software Engineer
> WSO2, Inc.
> Mobile:+94 711661919
>



-- 
Isuru Perera
Associate Technical Lead | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to