Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

H264Decoder can only use up to 8 threads

shyaki
Beginner
113 Views
I found in TaskSupplier::Init() that the number of allowed threads was limited to 8.
Even after removing this limit,IntelH264Decoder can only use 8 cores on a 16-core PC.
Can anyone tell me if where I should take a look in the sample code? Thanks.
0 Kudos
1 Reply
Gennady_F_Intel
Moderator
113 Views
Quoting - shyaki
I found in TaskSupplier::Init() that the number of allowed threads was limited to 8.
Even after removing this limit,IntelH264Decoder can only use 8 cores on a 16-core PC.
Can anyone tell me if where I should take a look in the sample code? Thanks.


shyaki,
Do you mean after you changed the limit, like below:

Ipp32s nAllowedThreadNumber = init->numThreads;
if(nAllowedThreadNumber < 0) nAllowedThreadNumber = 0;
if(nAllowedThreadNumber > 8) nAllowedThreadNumber = 16; // 8

you are seeingonly 8 threads were using or you didn't see the expectedscalability?

--Gennady

Reply