Kontakt 6 Portable: Batch-resave speed improvement doesn’t last

Discussion in 'Kontakt' started by jmcken, Feb 11, 2024.

  1. jmcken

    jmcken Newbie

    Joined:
    Nov 8, 2021
    Messages:
    4
    Likes Received:
    1
    I have Kontakt 6 Portable (v6.7.1) on a Win10 PC. In the past I used batch-resave to dramatically speed up instrument load times, and it worked great. But a few years ago – I think it was around when I switched to Kontakt Portable, though I can’t be sure – the loading speed improvement from batch-resaving started going away beyond the first few minutes/sessions after resaving. Even now, when I batch-resave a library, instruments load faster for maybe an hour or so, but after that they return to their default slow speed. I use a lot of large libraries, and it takes *forever* to load these sessions.

    Does this happen to anyone else who uses Kontakt Portable? Is there a way to get the loading speed improvement to actually stick around?
     
    • Interesting Interesting x 1
    • List
  2.  
  3. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    1,045
    Likes Received:
    788
    Sounds like an issue with something else (OS/hardware/drives), not with Kontakt. Like your OS evicting samples from RAM after a while. Batch-resave can only 'fix' a patch the first time it's done. Subsequent resaves only temporarily force the samples into RAM, but won't fix the underlying issue.

    I save my patches in DFD mode instead of Sampler mode, in a fully purged state, with Kontakt 6 or 7, using relative paths and compressed samples, on an SSD formatted with NTFS and haven't noticed any performance issues with K-Portable.

    'Override preload size' to 6 KiB in Kontakt options -> Memory might help a bit too (will break some old libraries, ~1 out of 100). Probably already enabled, but check if 'Load samples in background' and 'Multicore support' are enabled.
     
    • Like Like x 2
    • Useful Useful x 1
    • List
  4. jmcken

    jmcken Newbie

    Joined:
    Nov 8, 2021
    Messages:
    4
    Likes Received:
    1
    To be clear, I’m talking about loading patches across sessions. As in, after batch-resaving, I load up a quick session, the library loads fast. I close Kontakt (removing all samples from RAM), then reopen it for another session, and the library still loads quickly. But after a while – whether after closing Kontakt or not – the speed increase goes away, as if I had never batch-resaved it.

    Most of my patches are also set to DFD, though I had previously disabled “Load samples in background” over some technical issue a long time ago and then forgotten all about it; turning it back on does speed things up nicely, so thanks for the reminder. I had set my preload size override to 36 KB, but that was a holdover from an older, slower system; I’ve now halved it to 18 KB (any smaller than that and I start hearing crackling and popping during playback), which also speeds things up.

    Thanks for the tips! Still wish the speed increase from batch-resaving would stick around, but nor now, the aforementioned tweaks will do nicely.
     
    • Like Like x 1
    • Useful Useful x 1
    • List
  5. Choosename

    Choosename Platinum Record

    Joined:
    Nov 24, 2023
    Messages:
    500
    Likes Received:
    210
    I would like to know what batch-resaving does exactly to increase the speed of loading
     
    • Like Like x 1
    • Useful Useful x 1
    • List
  6. jmcken

    jmcken Newbie

    Joined:
    Nov 8, 2021
    Messages:
    4
    Likes Received:
    1
    According to various resources, batch-resaving “optimizes the library for your current version of Kontakt” by resaving Kontakt patches “with sample path information specific for your system”, which I take to mean it converts relative sample paths to absolute paths in the NKI files. In other words, it lets instruments find their samples a bit faster, which can produce a significant boost in load times, especially with larger libraries and/or slower drives.

    It’s common practice to batch-resave all your libraries the first time you get them, as this load-time speed boost should stick around afterwards. Bizarrely, it doesn’t for me, as if the batch-resaving were “undone” somehow.
     
    Last edited: Feb 12, 2024
  7. Choosename

    Choosename Platinum Record

    Joined:
    Nov 24, 2023
    Messages:
    500
    Likes Received:
    210
    Ok, problem is you can't undo the batch resave. Have you tried install a new library, and batch-resave, and see if this happen again? And control what is modifying the NKI files.

    If not, RE-install a new version of kontakt. Or try a not portable version?
     
  8. jmcken

    jmcken Newbie

    Joined:
    Nov 8, 2021
    Messages:
    4
    Likes Received:
    1
    Yes, in the time I’ve noticed this I’ve installed several new libraries, batch-resaved them, and then noticed how their loading speed boosts only lasted a little while before slowing down. I don’t have anything on my system that could affect NKI files (antivirus, etc.).

    I’m a bit wary of installing a non-portable Kontakt; I’ve gotten to used to its portability and other advantages. I’ll save that for if the problem somehow gets much worse.
     
Loading...
Similar Threads - Kontakt Portable Batch Forum Date
Portable Kontakt Batch resave Issue Kontakt Jan 4, 2019
How to Batch Add Library Kontakt 5 Portable? Kontakt Apr 24, 2018
Reaper opening saved Kontakt 7 Installed VSTi with Kontakt 7 Portable Software Sep 28, 2024
KONTAKT 8: R2R, Bobdule or portable? Kontakt Sep 23, 2024
Kontakt Portable V6 will crash by this lib: Kontakt Aug 4, 2024
Loading...