directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: Cache size definition and how to scope initial size.
Date Fri, 14 Mar 2014 15:52:49 GMT
On Fri, Mar 14, 2014 at 1:24 PM, Mark D <temp1002@debusschere.com> wrote:

> Trying to understand the meaning and how to set
>
> ads-partitionCacheSize
> ads-indexcachesize
>
> From the configuration page.
>
> 1. the cache size used for this partition (it's the number of page that
> will be kept in memory, considering that a page may contain more than one
> entry)
> 2. Number of cached entries
> 3. Number of key we cache
>
> It's not clear if the partition cache is a page size or an object
> (regardless of size)
>
> in partition cache it is for the number of LDAP entries, in index cache it
is for the number of internal tuples
(which contain <entryUUID,attribute-value> and/or <attribute-value, list of
entryUUIDs>)

> Do these settings represent the initial size that is immediately allocated
> or grows dynamically and what happens once the number is reached?
>
> this cache grows dynamically, and objects are evicted based on the LRU
policy

> Is there anyway to see what is in use while an instance is running,
> logging ?
>
> no

> Thanks,
>
>
>
>


-- 
Kiran Ayyagari
http://keydap.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message