Questions/Feature request

FAQ, getting help, user experience about PrimoCache
Post Reply
npelov
Level 6
Level 6
Posts: 60
Joined: Thu Jun 30, 2016 3:01 pm

Questions/Feature request

Post by npelov »

Hi,

I notice there is a lot of data written to L2 cache. Since L2 is SSD I would like to minimize writing.
My questions are:
1. When PrimoCache decides that the data is good enough to be written in L2 cache
2. Does L2 cache contain frequency information?

Feature requests are based on answers of above, but it would be nice to have a limit of how frequently must a sector must be accessed to be worth writing to L2 cache. This way one time reads won't go to L2 - less writing.
idefix44
Level 8
Level 8
Posts: 138
Joined: Sat Oct 26, 2013 2:13 pm

Re: Questions/Feature request

Post by idefix44 »

For some options, avanced users can use the CLI...
User avatar
Support
Support Team
Support Team
Posts: 3731
Joined: Sun Dec 21, 2008 2:42 am

Re: Questions/Feature request

Post by Support »

PrimoCache was able to choose data to L2 cache by frequency. However, it seems that the result was not good and lots of customers complained that the speed of populating L2 data was too slow. So now PrimoCache removes this feature and don't filter read-data to L2 cache. As you may know, it occupies the memory resource and cpu load to maintain the frequency information.
As you mentioned, some data is just one time read and it's a waste to put them into L2. We're developing a mechanism to filter these useless data.
Thanks.
npelov
Level 6
Level 6
Posts: 60
Joined: Thu Jun 30, 2016 3:01 pm

Re: Questions/Feature request

Post by npelov »

support wrote:PrimoCache was able to choose data to L2 cache by frequency. However, it seems that the result was not good and lots of customers complained that the speed of populating L2 data was too slow.
That's why I suggested making it option in cache configuration - so everyone can choose their preferences. For me it's most important to minimize L2 writing. With spinning disks it's not the amount of data that's important - it's minimizing the head travel. So caching the file system (frequently accessed) and most used sectors will allow the disk to read only file data. Having the disk defragmented now and then will make the file data sequential read which is 100s time quite faster than random reads.
support wrote:As you mentioned, some data is just one time read and it's a waste to put them into L2. We're developing a mechanism to filter these useless data.
Well, I'm just saying my concerns. I'm sure you will choose the best way to implement this.
Post Reply