Smart image saving

Report bugs or suggestions around Primo Ramdisk
Post Reply
User avatar
RAMbo
Posts: 65
Joined: Wed May 11, 2011 7:50 am

Smart image saving

Post by RAMbo » Wed Mar 27, 2019 6:27 am

Automatically saving the image is an important thing for me so I set that option.

I assume Primo Ramdisk locks the RAMdisk while saving the image to avoid corruption?
The RAMdisk will become unresponsive for a while.

My request is this:
Assume the standard autosave time of 1 hour.
The image gets saved when the RAMdisk is idle, and the 1 hour save counter gets reset to zero.
If during an hour, Primo didn't detect an idle state, the it forces the saving.

Obviously when the RAMdisk is idle for a long time it's no use to save the image every 5 seconds.
My suggestion is this:
Save when idle and never do an "idle save" until disk activity was detected.
Same suggestion for the forced saving every hour. If there was no activity during that hour nothing has to be saved. And the counter could be reset all the time.

All my suggestions combined.
A] As long as the disk is idle the 1 hour save gets reset. Saving could be prosponed for days.
B] After disk activity Primo looks for an idle opportunity.
B1] ----- Saves.
B2] ----- Resets the 1 hour timer to zero
B3] ----- Go to A
C] If a full hour has passed without saving:
C1] ----- Save image.
C2] ----- Reset timer.
C3] ----- Go to A

User avatar
support
Posts: 2453
Joined: Sun Dec 21, 2008 2:42 am

Re: Smart image saving

Post by support » Thu Mar 28, 2019 7:06 am

Primo Ramdisk only saves "dirty" (new) data. So if there were no disk activities, no save will happen.
Primo Ramdisk | PrimoCache
Romex Software Support

User avatar
RAMbo
Posts: 65
Joined: Wed May 11, 2011 7:50 am

Re: Smart image saving

Post by RAMbo » Thu Mar 28, 2019 7:14 am

Good!
Does it also try to save when the system is idle?

User avatar
support
Posts: 2453
Joined: Sun Dec 21, 2008 2:42 am

Re: Smart image saving

Post by support » Thu Mar 28, 2019 7:30 am

RAMbo wrote:
Thu Mar 28, 2019 7:14 am
Does it also try to save when the system is idle?
Sorry, so far Primo Ramdisk doesn't have such option.
Primo Ramdisk | PrimoCache
Romex Software Support

hshah
Posts: 12
Joined: Sun Jun 09, 2019 9:41 am

Re: Smart image saving

Post by hshah » Sun Jun 09, 2019 1:18 pm

support wrote:
Thu Mar 28, 2019 7:30 am
RAMbo wrote:
Thu Mar 28, 2019 7:14 am
Does it also try to save when the system is idle?
Sorry, so far Primo Ramdisk doesn't have such option.
I think that is what the "suggestion" was all about :)

Post Reply