We see high cpu usage for MPEG4 and H264 encoding in Linux when compared to Windows. We are using IPP 2015.6.233 with 8.0 UMC samples.
System: Pentium CPU G4400 @3.30GHz x 2 with Intel HD Graphics 510.
Ran umc_video_enc_con (with usleep for 142 milliseconds to process 7 FPS) on both Windows and Linux with input as YUY2 file.
1% cpu for MPEG4, Encoding: 2.18 (192 FPS), Conversion 0.08
3% cpu for H264, Encoding: 14,03 (30 FPS), Conversion 0.10
0% cpu for MPEG4, Encoding: 0.82 (513 FPS), Conversion 0.03
0-1% cpu for H264, Encoding: 4.75 (87 FPS), Conversion 0.03
24 Threads (Modified umc_video_enc_con to run 24 threads, nothing is shared between threads)
18% cpu for MPEG4, Encoding: 2.98 (150 FPS), Conversion 0.10
60% cpu for H264, Encoding: 20.03 (21 FPS), Conversion 0.12
0% cpu for MPEG4, Encoding: 1.40 (301 FPS), Conversion 0.10
35% cpu for H264, Encoding: 6.85 (65 FPS), Conversion 0.06
OpenMP is not enabled on both Windows and Linux. Tried with both Dynamic and Static libraries. Setting KMP_BLOCKTIME=0, KMP_AFFINITY=compact and OMP threads to 1 did not make any difference. I was not setting those on Windows anyway.
Spent a lot of time to get to the bottom of this. No avail. Any assistance is very very much appreciated. Thank you.
Any suggestions, please.
We have a valid license. Is there any IPP support number which I can call. This is a big production issue for us. Thanks.
BTW, Linux Ubuntu flavor 16.4 and Windows 7.
Video codecs are no longer supported in Intel IPP now, they were moved to Intel MediaSDK product. For video related question, you may ask in mediaSDK forum https://software.intel.com/en-us/forums/intel-media-sdk. Or, if you have valid commercial license, we encourage you submit question through Intel Online Service Center https://supporttickets.intel.com/servicecenter?lang=en-US for quicker response. Thanks!