[infinispan-dev] Memory consumption of ISPN 5.3 in compatibility mode

Divya Mehra dmehra at redhat.com
Thu Jul 18 14:46:11 EDT 2013


Indeed, very encouraging!

Would be great to compare performance of the compatibility mode.

Thanks,
Divya


----- Original Message -----
From: "Mircea Markus" <mmarkus at redhat.com>
To: "infinispan -Dev List" <infinispan-dev at lists.jboss.org>
Cc: "Galder Zamarreno" <gzamarre at redhat.com>, "Divya Mehra" <dmehra at redhat.com>
Sent: Thursday, July 18, 2013 1:39:51 PM
Subject: Re: [infinispan-dev] Memory consumption of ISPN 5.3 in compatibility mode

Very nice the fact that memory consumption out-of-compatibility mode has improved significantly in 5.3.
Also in the case of HotRod, even in compatibility mode, the memory consumption is the same as in JDG 6.1. 


On 17 Jul 2013, at 17:07, Martin Gencur <mgencur at redhat.com> wrote:

> Hey,
> so I've updated my tests for measuring memory consumption so as to work 
> in a compatibility mode and the results are following (extending latest 
> Galder's report with my results):
> 
> Infinispan memory overhead, used in library mode:
> Infinispan 5.2.0.Final: ~151 bytes
> Infinispan 5.3.0.Final: ~135 bytes
> Infinispan 5.3.0.Final (compat. mode): ~135 bytes
> 
> Infinispan memory overhead, for the Hot Rod server:
> Infinispan 5.2.0.Final: ~174 bytes
> Infinispan 5.3.0.Final: ~151 bytes
> Infinispan 5.3.0.Final (compat. mode): ~175 bytes
> 
> Infinispan memory overhead, for the REST server:
> Infinispan 5.2.0.Final: ~208 bytes
> Infinispan 5.3.0.Final: ~172 bytes
> Infinispan 5.3.0.Final (compat. mode): ~173 bytes
> 
> Infinispan memory overhead, for the Memcached server:
> Infinispan 5.2.0.Final: ~184 bytes
> Infinispan 5.3.0.Final: ~180 bytes
> Infinispan 5.3.0.Final (compat. mode): ~224 bytes
> 
> Notable differences are for HotRod and Memcached clients. The tests for 
> Memcached are (and have always been) using SpyMemcached client to store 
> the entries into the server. For the compatibility mode, I had to 
> register a custom marshaller that would be able to marshall/unmarshall 
> data sent by SpyMemcached. I used this marshaller: 
> https://github.com/infinispan/infinispan/blob/master/integrationtests/compatibility-mode-it/src/test/java/org/infinispan/it/compatibility/EmbeddedRestMemcachedHotRodTest.java#L196 
> . That might be a partial cause of the bigger footprint.
> 
> Martin
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)





More information about the infinispan-dev mailing list