I also found in MaintenanceScheduler.cc file which contain 
MaintenanceScheduler::schedule() function.
in this function total_memory compute like this:

int64_t total_memory = block_cache_memory + block_index_memory + 
bloom_filter_memory + cell_cache_memory + shadow_cache_memory + 
m_query_cache_memory;

what do the x_x_memory  mean? what do they be used for?

Thank you for reply. My friends.

在 2014年3月10日星期一UTC+8下午3时20分39秒,Xy Zheng写道:
>
> when i read source code of RangServer.cc, I found in Construction there 
> are two cache defined.
>
> Global::block_cache = new FileBlockCache(block_cache_min, block_cache_max,
>      cfg.get_bool("BlockCache.Compressed"));
>
> m_query_cache = new QueryCache(query_cache_memory);
>
> I want to know what effect do the cache mentioned above do? 
>
> BTW, I also found in AccessGroup.h, the class CellStoreMaintenanceData has 
> member called CellStore::IndexMemoryStats index_stats;
> when purge_cellstore_indexes, the memory used be computed as follows:
> memory_used = csmd[i]->index_stats.block_index_memory + 
> csmd[i]->index_stats.bloom_filter_memory;
>
> I want to know the two x_x_memory at this place be used as what?  
> Do the x_x_memory and  the x_cache have relationship? and what 
> relationship between them?
>
> Any advice be appreciated.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hypertable-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to