ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: off heap memory
Date Thu, 26 Nov 2015 13:39:31 GMT
On Thu, Nov 26, 2015 at 12:52 PM, <ambha.ungrapalli@wipro.com> wrote:

> Memcache and Hazelcast Enterprise 3.6.X use slab allocation for effective
> memory utilization.
> Is there any such plan for Ignite in future release?

We are currently revising Ignite memory model and will add an option to use
the slab allocator early next year.

Also, I should mention that the slab allocator is part of Hazelcast
enterprise edition, and is not free. It may utilize memory slightly better,
but it would likely loose in performance to the old-fashioned malloc, which
is used in Ignite. Also, malloc is often fragmentation-aware and handles it


> -----Original Message-----
> From: Denis Magda [mailto:dmagda@gridgain.com]
> Sent: 26 November 2015 12:12
> To: user@ignite.apache.org
> Subject: Re: off heap memory
> Hi,
> You're correct saying that Ignite's off-heap cache memory mode uses Unsafe
> at the implementation layer.
> Right, there is no any de-fragmentation related logic in Ignite, this is
> delegated to an operating system that knows how to do this better.
> Allocated memory re-usage, what slab allocator does, sounds interesting.
> Do you have any info/articles on how the mentioned memory grids benefit
> from implementing the slab like way and what are the names of those grids?
> --
> Denis
> On 11/26/2015 8:29 AM, Ambha wrote:
> > After looking at the code, it looks like the 'off-heap' uses the
> > 'Unsafe' of java to manage the memory. But 'Unsafe' has issues like
> > fragmentation and also adds memory allocation/de-allocation cost. I
> > have seen some memory grid implementations using 'slab allocator' on
> > top of java native to minimize the fragmentation issue and the
> > allocation cost. Is there something similar implemented in Ignite? If
> not, any plan in future release?
> >
> >
> >
> > --
> > View this message in context:
> > http://apache-ignite-users.70518.x6.nabble.com/off-heap-memory-tp2019p
> > 2059.html Sent from the Apache Ignite Users mailing list archive at
> > Nabble.com.
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any
> attachments for the presence of viruses. The company accepts no liability
> for any damage caused by any virus transmitted by this email.
> www.wipro.com

View raw message