Danette
14th March 2022, 02:40
I’ve been trying to optimize MT use in Avisynth, but am struggling to get value out of it.
I’m using a QTGMC script line on a d2v file. I have four physical cores (plus, I believe, 4 virtual cores) for a total of 8 threads. When I run the script through AVSMeter, I get the expected speed benefits, and increased CPU utilization, as I move from no MT up to 7 threads (Prefetch(7)).
However, when I process it through MeGUI (x264), at best I get equal encoding time among the threads and, often, do best with no MT at all. Am I right that the reason for this is that x264 utilizes nearly 100% CPU usage, leaving no room for any speed improvements derived from script multithreading?
I’m using a QTGMC script line on a d2v file. I have four physical cores (plus, I believe, 4 virtual cores) for a total of 8 threads. When I run the script through AVSMeter, I get the expected speed benefits, and increased CPU utilization, as I move from no MT up to 7 threads (Prefetch(7)).
However, when I process it through MeGUI (x264), at best I get equal encoding time among the threads and, often, do best with no MT at all. Am I right that the reason for this is that x264 utilizes nearly 100% CPU usage, leaving no room for any speed improvements derived from script multithreading?