I am trying to nail down a performance issue I’m seeing. After I ran a Starlight Precise job, I ran two Proteus jobs, and then another SLP job. The second SLP job was significantly slower than the first, although they were both using the same source and target resolution and were two episodes of the same series (so their visual content should be similar).
When I saw how slow it was, I stopped it, rebooted the PC and restarted the job. It then ran about 15% faster than before the reboot. I will endeavor to reproduce the exact steps that reproduce the issue, but wanted to raise a flag to see if anyone else has seen this and give the devs a heads-up.
I saw a serious performance drop with v1.7/SLP2.6 after ~60% (480p to 720p upscale) where my performance decreased by 10x. Reverting back to 1.61/SLP2.5 brought my performance back to expected levels for the entire job. I’m using an RTX5070ti with 16GB of VRAM. My computer has 32GB of main system RAM.
I’m suspicious that Topaz is swapping out its working set between VRAM and system RAM during normal SLP jobs, and in v1.7 there may be a memory leak that causes system RAM depletion during the VRAM-RAM swaps. My hunch is this is causing the OS to swap system RAM to SSD when the system RAM is depleted, resulting in a dramatic performance drop-off when Topaz now has to wait for its working set data to be retrieved from disk swap rather than system RAM.
I don’t know if Topaz/SLP actually works this way, but its the only way I can think of for now to explain the dramatic performance decreases I am seeing.
I have two Topaz capable pcs running, the first is main pc:
Intel 14900KF CPU (no overclock) on an ASUS ROG Maximus Hero Z790 motherboard
64GB system RAM (DDR 5)
Gigabyte RTX5080 (mild overclock)
This I built just for Topaz work:
Intel 9900K CPU (no overclock) on an ASUS ROG Maximus Hero Z390 motherboard
32GB system RAM (DDR 4)
ASUS RTX5070Ti (aggressive overclock)
The latter system is significantly slower than the first for the non-Starlight models (in 1.61 Proteus runs at about 6fps going from 1080 to 2160 vs. 12fps in the other PC) but only about 10-15% slower for Starlight (which is about the benchmarked performance difference between the 2 GPUs).
I have not found 1.7 to be slower than 1.61 in general, but there is a bug that generates thousands of lines of spurious error messages in the logs. It is related to trying to access Quick Sync Video (QSV) on PCs that don’t have video support in their Intel CPUs. My log file reached over 10MB running a couple of Proteus upscales. That could affect performance.
What I am seeing is that my first Starlight job ran normally, and two Proteus upscales ran next, also within expectations. The next thing I ran was another SLP job which ran very slowly (about 40% slower). About 6 hours later it had done less than 6 minutes of video (normally I would expect about 8 minutes completed at this point) so I aborted the run and rebooted the PC.
After that, the rest of job (an additional 39 minutes of video) took 28 hours, again within expectations. I don’t see any evidence of a memory leak per se, but I wasn’t looking for one. Tomorrow I’ll do some organized testing to see if it is reproducible.
There are a few reports from users like this, that are being investigated and looked into. Trying to run some tests as well on our end to collect data for the devs to review as well.
We are seeing some possible issues with the memory swap, resource allocation and release as files run, but so far its not consistent across the short tests I have run, trying to queue up longer files to run when possible.
I was watching Topaz Video.exe, neuroserver.exe and ffmpeg.exe in PROCMON and noticed that there are a ton of QueryOpen events looking for \thumbnails\20\000000.png that always results in ‘NAME NOT FOUND’. I can’t find any clear indication of these errors linking up with the QSV errors in the log (the event errors generally precede the QSV errors but not always). but when they appear, they repeat dozens of times and recur every few seconds.
Main point is that a massive number of errors are being thrown by Topaz Video.exe that involve files that no longer exist or APIs that aren’t loaded. While the extra few milliseconds spent generating these errors may seem inconsequential in a short job, when they occur in a process that can take a day or more (e.g. Starlight processes) they could really add up.