Read/Write Order PrimoCache and Primo RAMDisk

FAQ, getting help, user experience about PrimoCache
Post Reply
Stubi
Level 5
Level 5
Posts: 47
Joined: Tue Aug 24, 2010 12:36 pm

Read/Write Order PrimoCache and Primo RAMDisk

Post by Stubi »

I am using both - PrimoCache and the Primo RAMDisk. One bigger RAMDisk is loaded from disk at system start and written back at shutdown. It is located on a drive where PrimoCache is active for reading and for deferred writes.

Now I was thinking what happens at system start. Will the cache be started first and then the RAMDisk loaded through the cache or the other way round? And how at system shutdown. Will the cache be closed first and then the RAM disk written to the drive - what would avoid many urgent writes in my case?

Does anybody know and is there a way to force the OS to a certain start/shutdown order so that I could make sure for instance that the cache is closed before the RAM disk is written at shutdown? OS is Windows 7.
User avatar
Support
Support Team
Support Team
Posts: 3731
Joined: Sun Dec 21, 2008 2:42 am

Re: Read/Write Order PrimoCache and Primo RAMDisk

Post by Support »

PrimoCache starts earlier than PrimoRamdisk and closes later. So during the startup, the image file will be loaded to the ramdisk and also will be cached. Obviously this will waste cache space and reduce cache hit rate because usually the image file only needs to be read one time. During the shutdown, ramdisk will save its contents to the image file first. But these contents may stay in the cache until PrimoCache starts flushing deferred-write data.
Stubi wrote:what would avoid many urgent writes in my case?
You may try a smaller defer-write latency
Post Reply