Page 1 of 1

Smart image saving

Posted: Wed Mar 27, 2019 6:27 am
by RAMbo
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

Re: Smart image saving

Posted: Thu Mar 28, 2019 7:06 am
by support
Primo Ramdisk only saves "dirty" (new) data. So if there were no disk activities, no save will happen.

Re: Smart image saving

Posted: Thu Mar 28, 2019 7:14 am
by RAMbo
Good!
Does it also try to save when the system is idle?

Re: Smart image saving

Posted: Thu Mar 28, 2019 7:30 am
by support
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.

Re: Smart image saving

Posted: Sun Jun 09, 2019 1:18 pm
by hshah
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 :)