<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [Smartstore] CacheManager and eviction in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Smartstore-CacheManager-and-eviction/m-p/526171#M4796</link>
    <description>&lt;P&gt;Could you please help understand the DEBUG option for CacheManager to instigate eviction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 04:53:55 GMT</pubDate>
    <dc:creator>rbal_splunk</dc:creator>
    <dc:date>2020-10-23T04:53:55Z</dc:date>
    <item>
      <title>[Smartstore] CacheManager and eviction</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Smartstore-CacheManager-and-eviction/m-p/526171#M4796</link>
      <description>&lt;P&gt;Could you please help understand the DEBUG option for CacheManager to instigate eviction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 04:53:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Smartstore-CacheManager-and-eviction/m-p/526171#M4796</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2020-10-23T04:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: [Smartstore] CacheManager and eviction</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Smartstore-CacheManager-and-eviction/m-p/526172#M4797</link>
      <description>&lt;P&gt;Cache manager&amp;nbsp;evict buckets when&lt;/P&gt;&lt;P&gt;(i) the total disk utilized&amp;nbsp;by WARM and Cold Buckets&amp;nbsp; exceeds&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;max_cache_size&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(ii)The current free space for partition&amp;nbsp;&lt;STRONG&gt;falls below &lt;/STRONG&gt;eviction_padding&lt;STRONG&gt;+&lt;/STRONG&gt;minFreeSpace&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;max_cache_size &lt;/STRONG&gt;Specifies the maximum space, in megabytes, per partition, that the cache can occupy on disk. If this value is exceeded, the cache manager starts evicting buckets.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If max_cache_size=0&amp;nbsp; it means this feature is not used, and has no maximum size, in this case, the eviction will happen when the $SPLUNK_DB partition's free space drops below eviction_padding+minFreeSpace.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The total cache usage is calculated by the Cache manager as the sum of all NONE&lt;STRONG&gt; hot buckets size.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When $SPLUNK_HOME and $SPLUNK_DB are on different partitions, assuming all of the caches in $SPLUNK_DB&amp;nbsp; will account for disk spaces in that partitions only.&lt;/P&gt;&lt;P&gt;DEBUG on CacheManager shows entries stats for cache manager&lt;/P&gt;&lt;P&gt;07-08-2020 19:19:58.806 +0000 DEBUG CacheManager - The system has freebytes=944143511552 with minfreebytes=471859200000 cachereserve=471859208192 totalpadding=943718408192 buckets_size=0 maxSize=0&lt;/P&gt;&lt;P&gt;07-08-2020 19:19:58.887 +0000 DEBUG CacheManager - The system has freebytes=944141152256 with minfreebytes=471859200000 cachereserve=471859208192 totalpadding=943718408192 buckets_size=0 maxSize=0&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;Freebytes&amp;gt;&amp;gt; freeBytes&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;Minfreebytes &amp;gt;&amp;gt;minFreeBytes&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;Cachereserve &amp;gt;&amp;gt; evictionReservedBytes&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;Totalpadding &amp;gt;&amp;gt; minFreeBytes + evictionReservedBytes&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;buckets_size &amp;gt;&amp;gt; &lt;STRONG&gt;max_cache_size&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cmsize.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11461i2B8377C82C3D9192/image-size/large?v=v2&amp;amp;px=999" role="button" title="cmsize.png" alt="cmsize.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 04:59:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Smartstore-CacheManager-and-eviction/m-p/526172#M4797</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2020-10-23T04:59:38Z</dc:date>
    </item>
  </channel>
</rss>

