Skip flush on shutdown Topic is solved

FAQ, getting help, user experience about Primo Ramdisk
Post Reply
andrew
Level 2
Level 2
Posts: 5
Joined: Tue Jan 17, 2023 5:34 am

Skip flush on shutdown

Post by andrew »

I am using Reboot to Restore system which would greatly benefit by not flushing on shutdown because whatever data is flushed it has to be deleted immediately for the next boot.

What is the command line example to enable the "skip flush on shutdown" option?
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: Skip flush on shutdown

Post by Support »

Assume the cache task to be modified is #1, you can use the following command to enable the "skip flush on shutdown" option.
rxpcc edit 1 -a skipflush
(here 1 refers to the cache task number)

If you also set other options for defer-write, for eg. the "Intelligent" write mode and "Flush on Sleep", then you need to add these options in the above command at the same time.
rxpcc edit 1 -a skipflush, flushsleep, intelligent

-a supports following values.
  • native - Write Mode: NATIVE
  • intelligent - Write Mode: INTELLIGENT
  • idle - Write Mode: IDLE-FLUSH
  • buffer - Write Mode: BUFFER
  • average - Write Mode: AVERAGE
  • freewritten - Free Blocks on Written
  • flushsleep - Flush on Sleep
  • flushtoL2 - Flush L1 Cache to L2 Cache
  • skipflush - Skip Flush on Shutdown
You can type rxpcc ? edit or rxpcc ? new to see the help of these commands.

For more details about command-line, please see
http://www.romexsoftware.com/en-us/prim ... rface.html
andrew
Level 2
Level 2
Posts: 5
Joined: Tue Jan 17, 2023 5:34 am

Re: Skip flush on shutdown

Post by andrew »

Thank you that answers the question.

I see that using rxpcc ? new shows the details on the options and values. Previously, I checked rxpcc ? edit which was not showing the option value choices, and I also checked the product manual page, but that was also missing those.
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: Skip flush on shutdown

Post by Support »

The "edit" options are the same as the "new" options, so for simplicity, the "edit" help just says to look at the "new" command.
Post Reply