Two cache hit rate graphs

Suggestions around PrimoCache
Post Reply
User avatar
RAMbo
Level 6
Level 6
Posts: 73
Joined: Wed May 11, 2011 7:50 am

Two cache hit rate graphs

Post by RAMbo »

I would like a separate Hit Rate graphs for read and write actions.

That way I can a lot more memory to read or write base on it's success.

Adjusting automatically would be very interesting too.
User avatar
Support
Support Team
Support Team
Posts: 3201
Joined: Sun Dec 21, 2008 2:42 am

Re: Two cache hit rate graphs

Post by Support »

For write operations, there is no concept of "hit rate". Do you refer to defer-write and want to see how much write-data are currently deferred?
User avatar
RAMbo
Level 6
Level 6
Posts: 73
Joined: Wed May 11, 2011 7:50 am

Re: Two cache hit rate graphs

Post by RAMbo »

My answer is two-fold

A]
Under Advanced Level-1 Cache options I can set a individual read/write cache.
It's easy to use but very hard (for me) to know good settings.

B]
As you wrote defer-write.
For me a hit rate is when a data action is done in memory only.
For a read action is that reading from cache.
For a write action that writing to cache before the previous write action to cache was written to disk.
So... if defer is 60 seconds and the same data is rewritten 5x in those 60 seconds it saved 4 writes. That are hits too.
User avatar
Support
Support Team
Support Team
Posts: 3201
Joined: Sun Dec 21, 2008 2:42 am

Re: Two cache hit rate graphs

Post by Support »

I'm sorry for the late reply.
RAMbo wrote: Thu Jan 06, 2022 7:21 am So... if defer is 60 seconds and the same data is rewritten 5x in those 60 seconds it saved 4 writes. That are hits too.
This should not be called hit... It has no meaning to count this. However, if you want to see how many writes has been reduced, you may check "Total Write (Disk)" which shows a percentage number. This number is calculated by "Total Write (Disk) / Total Write (Req) * 100%". So you can see the ratio of data amount that really written to data amount that asked to write.
Post Reply