Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Multi-threading on IPP's H.264

eric_setton
Beginner
455 Views

Hello,

I am using Intel IPP version 5.1 on a HP xw8400 Workstation. It has 2 x Dual-Core Xeon 5060 processors.

I am benchmarking the IPP H.264 encoder on my machine, but it seems multi-threading is not working as it should be. I never get more than a 25% use of my CPU. As I have 4 CPUs, this seems to indicate the program is running as if it were single-threaded.

Here are the different things I tried so far to get it to work, but all were unsucessful:

- increased the number of slices in the input parameter file

- turned option -r on

- tried option -t 4 (actually tried all -t 1 to -t 12, no change in performance).

I also checked the memory is not the limiting factor by using various resolutions for my YUV sequences.

Any tips or advice on how to improve this ? The performance isquitegood with 1 processor, and I would love to see it quadruple by usingefficiently the 4 cores.

Thanks

Eric

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
455 Views

Eric,

In IPP 5.1 media sample build script did not utilize OpenMP by default (so you need to add /openmp compiler option to h264_enc Makefile).

You may take IPP 5.2 beta media sample (it will require IPP 5.2 beta libraries) where threading is supported by default when you use Intel C/C++ compiler or MS VC 2005

Regards,
Vladimir

0 Kudos
Reply