Menu

Syncing at Startup

Pante ZMA
2019-05-08
2019-05-11
  • Pante ZMA

    Pante ZMA - 2019-05-08

    Hi!
    First of all thanks for this great software.
    I would like to ask you if it is possible for imDisk not to load the whole content of Sync Directory at startup but instead just copy it from disk to RAM as it gets requested.

    I am testing to have my whole Chrome profile in a ramdisk that saves its content to a directory at windows shutdown, but I find it inconvenient that the whole content of the directory gets loaded into ram just after booting.

    I don’t know if what I’m asking is even possible.
    Anyway, thanks again and sorry for my English.

     
    • johny why

      johny why - 2019-05-08

      Another idea:
      Write back to disk during idle, to speed up termination time.

       
      • Pante ZMA

        Pante ZMA - 2019-05-11

        This is something supported by Primo I think but it's optional and you can select the time between writes.
        Anyway I find it more important to not load the whole ramdisk content on computer startup.
        Maybe in the future it could be implemented.

         
  • v77

    v77 - 2019-05-08

    I see the idea but it would be difficult.
    For instance, if a new file is created in the ramdisk and has the same name/path than an existing file in the sync directory, what to do?
    And this assumes to monitor all files in the ramdisk...

     
    • johny why

      johny why - 2019-05-08

      If> If a new file is created in the ramdisk and has the same name/pathpathIfpathpathIfpathpathIfpathpapathpathIfpathpathIfpathpathIfpathpathIfIfIfthIfIfIf

      Good point. Is there a way to make it check the hd for existing file before making a new file?

       

      Last edit: johny why 2019-05-08
  • Pante ZMA

    Pante ZMA - 2019-05-08

    Thanks for your reply!
    I don't know how difficult would be to implement such a feature, maybe a lot!
    Just remembered that Primo RamDisk has it, so I thought about suggesting it to you as it seems really useful.

    Here is something from Primo help:

    *Delay Load Mode
    By default, the whole image file is loaded at computer start-up. This may increases the start-up time a lot especially when the image file is large. The Delay Load mode, aka Quick Load mode in VSuite Ramdisk, makes a ram-disk only load the data at time of request. Thus, it minimizes the influence on the system startup process. In addition, it may reduce the number of read access to the physical disk, because usually not all data in the image file will be requested.

    Delay Load mode costs minor performance. Besides, sometimes you may feel a lag when applications request data from the ram-disk at the first time. This is because the ram-disk needs to load data from the image file for the first run. So if you do not care the start-up time or the image file size is less than 1GB, it is recommended to disable Quick Delay mode to get the best performance.

    Thanks a lot anyway!

     
    • johny why

      johny why - 2019-05-08

      "Delay Load mode costs minor performance."

      Seems the performance should be the same, once resources are loaded.

      "you may feel a lag when applications request data from the ram-disk at
      the first time.
      "

      Seems you could improve that, by finding a balance between loading more at
      startup vs loading on-demand.

      Eg, how about loading at startup all the resources that were last used,
      during previous session?

      Or, load all the most frequently used resources at startup?

       
  • johny why

    johny why - 2019-05-08
     

    Last edit: johny why 2019-05-08

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.