Cache algorithm.

Suggestions around PrimoCache
Post Reply
idefix44
Level 8
Level 8
Posts: 137
Joined: Sat Oct 26, 2013 2:13 pm

Cache algorithm.

Post by idefix44 »

I think that the cache algorithm need to be improved in order to discard the blocks wich are read by backup and antivirus applications...
This blocks have nothing to do in the L1 or L2 cache.
InquiringMind
Level SS
Level SS
Posts: 477
Joined: Wed Oct 06, 2010 11:10 pm

Re: Cache algorithm.

Post by InquiringMind »

Most imaging software either relies on a driver or Windows' VSS service so these should bypass PrimoCache anyway.

That leaves anti-virus scanners which, when doing full system scans, would flush anything else out of cache. It does seem possible with a filter driver (which PrimoCache installs on cached volumes) to identify processes doing reads and writes, and therefore to skip caching for selected programs but it would likely be a major addition (edit: the need to do a callback for each block read/write to identify the process responsible would likely incur significant performance overheads).
idefix44
Level 8
Level 8
Posts: 137
Joined: Sat Oct 26, 2013 2:13 pm

Re: Cache algorithm.

Post by idefix44 »

InquiringMind wrote:Most imaging software either relies on a driver or Windows' VSS service so these should bypass PrimoCache anyway.
1- Norton Ghost 10.0 uses vssvc.exe and don't bypass PrimoCache.
InquiringMind wrote:That leaves anti-virus scanners which, when doing full system scans, would flush anything else out of cache. It does seem possible with a filter driver (which PrimoCache installs on cached volumes) to identify processes doing reads and writes, and therefore to skip caching for selected programs but it would likely be a major addition (edit: the need to do a callback for each block read/write to identify the process responsible would likely incur significant performance overheads).
2- It's wrong about the imaging softwares. So why would it be right about anti-virus scanners? :roll:
InquiringMind
Level SS
Level SS
Posts: 477
Joined: Wed Oct 06, 2010 11:10 pm

Re: Cache algorithm.

Post by InquiringMind »

idefix44 wrote:1- Norton Ghost 10.0 uses vssvc.exe and don't bypass PrimoCache.
If so, then as a workaround try Drive Snapshot. This can use VSS but doesn't by default - I can confirm that it isn't cached by PrimoCache, and it has other advantages over Ghost like no activation, no install needed, small enough to fit on a floppy (it can run under DOS or Windows) and top-notch reliability.
Post Reply