Thanks for the reminder Todd.
Currently we use the following config param to calculate offheap cache size:
long offHeapCacheSize =
(long) (conf.getFloat("hbase.offheapcache.percentage", (float) 0.95) *
DirectMemoryUtils.getDirectMemorySize());
We should lower the default percentage for offheap cache and document the
tradeoff between giving larger space from direct memory to either offheap
cache or client NIO.
Cheers
On Mon, Dec 5, 2011 at 10:04 AM, Todd Lipcon <[email protected]> wrote:
> The off-heap cache will also depend on a high value for this setting..
> need to make sure there isn't some kind of conflict between this
> feature and whatever we choose as a default.
>
> -Todd
>
> On Mon, Dec 5, 2011 at 9:53 AM, Stack <[email protected]> wrote:
> > On Mon, Dec 5, 2011 at 9:51 AM, Ted Yu <[email protected]> wrote:
> >> How about a slightly larger value, say 10MB ?
> >>
> >
> > Sure. Let me put a patch up and include it in next RC.
> > St.Ack
>
>
>
> --
> Todd Lipcon
> Software Engineer, Cloudera
>