- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page