Quote:
Originally Posted by morph166955
(ill start at 8 but then see if something like 12 or 16 or higher is faster...going to take some testing). Any recommendations on what may be a good value?
|
Number of threads = number of CPUs.
There's little point adding more threads since, at any given time, each CPU can only process one. Having more threads than CPUs requires additional thread handling overhead, more cache pollution etc etc.
Alternatively, if you have multiple encodings to do, run them in parallel with the appropriate number of threads. e.g., if you have 4 similarly sized files to encode, run each one with 2 threads and, if possible, assign the processor affinity accordingly.