-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very long loading time at first then very quick if reloaded... #1309
Comments
This is due to FLAC compresion in the library. AFAIK sfizz has to decompress the samples and then load it in memory (that's why in memory is huge while in storage is small). And of course the time to decompress it, the number of samples used and so on contributes to long loading times. If you use WAV for the library, it will load them a lot quickier since there's nothing to decompress. If you really want to load libraries quickier in the first load, the most viable solution is to convert the library to WAV. I believe it could be optimized, but that's the explaination I can give why that happens. |
Hello, Please Help ! |
I should have mentionned that it's a percussion library. So samples are very short but I use many (multi mic, round robin and many velocity layers). |
That was a very important detail to specify! Of course loading it all into RAM will take some time. As for the "weird" second time faster loading, I am almost positive this is due to OS level file caching... once those have been loaded, the OS has those filesystem pages in cache and re-reading them is coming from cache instead of disk. What operating system are you using? |
Windows 10. |
The samples are stored on a SSD of course. |
I'm guessing the more files (regardless of their length), the more overhead there would be. I'm happy to test on my Mac system to see if the same sample set has similar behavior on my system if you want to contact me privately. |
Thanks, I will do. Just my instrument are not SFIZZ compatible, I use the sfizz module of Synthedit, and loading it in sfizz work but you can't here anything (cause the CC are set via synthedit, not with a dedicated file). |
Call me stupid, I can't find how to contact you in private... Are you on discord maybe ? |
Yes, and I thought I already contacted you yesterday on discord since I’m pretty sure we’ve talked before. I’m Sonosaurus there… |
Hi,
I noticed that the loading time can become very long when using many samples... Of course it's normal that using more samples leads to a higher loading time but...
More than 30 seconds for a 400mb library is abnormal IMHO.
It is also to be notice that once the instrument has been loaded, you can remove it, load another one, and then if you load the fisrt instrument agian, the loading time is divided by 5 !!!
I'm about to release a big work and this thing is now my biggest concern... Something to do here ? I'm convinced there's soething wrong here...
What is strange is that the problem is "cross DAW" : I mean that if you load a big instrument in Sfizz vst in Cubase, it's very long. Then close Cubase, open Reaper, load the same instrument : it's 5 times faster to load... To get the long loading time again you need to restart the computer....
Last thing ti notice is that SFIZZ vst show 1.2gb of used memory for a 400mb livrary (FLAC)... 630 mb vor a 270mb library... Abnormal too ?
Please, help !
The text was updated successfully, but these errors were encountered: