Forum Discussion

egermain_26386's avatar
egermain_26386
Icon for Nimbostratus rankNimbostratus
Feb 21, 2008

Common statistic for Ram Cache

Hello,

 

 

Can I have more explanation about the return of the statistic?

 

 

STATISTIC_HTTP_RAM_CACHE_HITS 299 RAM Cache hit count.

 

It is for successfull or missed are count with it?

 

 

 

STATISTIC_HTTP_RAM_CACHE_SIZE 305 RAM Cache size.

 

Is it the size used and is it in byte?

 

 

STATISTIC_HTTP_RAM_CACHE_COUNT 306 RAM Cache count.

 

a count of what?

 

 

STATISTIC_HTTP_RAM_CACHE_EVICTIONS 307 RAM Cache evictions.

 

eviction of what? I mean when I evict one entry of my ramcache is not increment.

 

 

 

 

  • Don_MacVittie_1's avatar
    Don_MacVittie_1
    Historic F5 Account
    Hi Egermain,

     

     

    The first one is successes only - "HIT" means there was something to return in the cache.

     

    There are two other stats:

     

     

    STATISTIC_HTTP_RAM_CACHE_MISSES 300 RAM Cache miss count, excluding uncacheable data.

     

    STATISTIC_HTTP_RAM_CACHE_TOTAL_MISSES 301 Total RAM Cache miss count.

     

     

    that tell you about misses.

     

     

    Your other questions do not have concise answers in the documentation, so I am checking into them for you.

     

     

    Don.
  • Loc_Pham_101863's avatar
    Loc_Pham_101863
    Historic F5 Account
    STATISTIC_HTTP_RAM_CACHE_SIZE - Max size of the cache, in MB.

     

    STATISTIC_HTTP_RAM_CACHE_COUNT - The number of entries in RAMCache

     

    STATISTIC_HTTP_RAM_CACHE_EVICTIONS - The number of times an entry is evicted or removed from RAMCache. An entry is automatically evicted from RAMCache when it's expired, or when the cache gets full or reaches the max size, the oldest entries will be evicted.

     

     

    Hope that helps.

     

    Loc
  • Thank you very much but with this answer I have a new question:

     

     

    STATISTIC_HTTP_RAM_CACHE_SIZE - Max size of the cache, in MB.

     

    and

     

    LocalLB.ProfileHttp.get_ramcache_size Gets the size (MB) of the RAM cache.

     

     

     

    Some of my result (get_ramcache_size/ STATISTIC_HTTP_RAM_CACHE_SIZE):

     

    Profile 1: 10/ 84928

     

    Profile 2: 10/ 1533784

     

    Profile 3: 10/ 0

     

    The Profile 3 is in disabled mode.

     

     

    It ‘s not possible the size used of the RAM cache is give by get_ramcache_size() because I have the same result for each one, so if it’s not the max which is give by STATISTIC_HTTP_RAM_CACHE_SIZE what is it?

     

    Can you explain more the differrence between this two values