Community
cancel
Showing results for 
Search instead for 
Did you mean: 
shyaki
Beginner
44 Views

H264Decoder can only use up to 8 threads

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
44 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