Smart image saving

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

Smart image saving

Post 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
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: Smart image saving

Post by Support »

Primo Ramdisk only saves "dirty" (new) data. So if there were no disk activities, no save will happen.
User avatar
RAMbo
Level 6
Level 6
Posts: 73
Joined: Wed May 11, 2011 7:50 am

Re: Smart image saving

Post by RAMbo »

Good!
Does it also try to save when the system is idle?
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: Smart image saving

Post 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.
hshah
Level 3
Level 3
Posts: 12
Joined: Sun Jun 09, 2019 9:41 am

Re: Smart image saving

Post 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 :)
Post Reply