Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Comunicados
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.

The performance

ken_chan
Principiante
1.435 Visualizações

Hi,

I'm testing the simple_player on P4 and core 2 duo. I expect that IPP will have better performance on core 2 duo. But the result was not. Core 2 Duo cost the cpu usage between 50 to 70 % ( event more ).

Is there any thing wrong?

my hardware spec is :

Inter Core to Duo 6600 , 2GB RAM, ATI X1600 Graphic card

The video clip is 720x480 with 30FPS

my command is : simple_player -v dx VideoClipName

Need your help~

Regards,

Ken

0 Kudos
13 Respostas
Vladimir_Dudnik
Funcionário
1.435 Visualizações

Hi Ken,

what compression algorithm was used in yourvideo clip (I want to know what decoder work in simple_player)?

what version of IPP did you use? Do you know that the latest release version is IPP 5.1 and IPP 5.2 beta is available for evaluation? Can you update IPP binaries and media sample sources from the latest version?

Regards,
Vladimir

ken_chan
Principiante
1.435 Visualizações

Hi Vladimir,

Thanks for your reply.

The video clip isMpeg4. Yes, I'm using 5.2 beta.

Regards,

Ken

Vladimir_Dudnik
Funcionário
1.435 Visualizações

Hi Ken,

could you please to print somewhere in the beginning of your program (but after call of ippStaticInit) version of IPP, to see what optimized code was loaded by IPP dispatcher?

You can do this with simple piece of code like this:

 const IppLibraryVersion* ippvc = ippvcGetLibVersion();
 printf("Intel Integrated Performance Primitives
");
printf(" version: %s, [%d.%d.%d.%d] ",
ippvc->Version, ippvc->major, ippvc->minor, ippvc->build, ippvc->majorBuild);
printf(" name: %s ", ippvc->Name);
printf(" date: %s ", ippvc->BuildDate);

Regards,
Vladimir

ken_chan
Principiante
1.435 Visualizações

Hi Vladimir,

Here is the information.

On P4

----------------------------------------

Intel Integrated Performance Primitives
version: 5.2 beta, [5.2.291.35]
name: ippvcw7-5.2.dll
date: Oct 10 2006

----------------------------------------

On Core2Duo

----------------------------------------

Intel Integrated Performance Primitives
version: 5.2 beta, [5.2.291.35]
name: ippvcv8-5.2.dll
date: Oct 10 2006

----------------------------------------

Regards,

Ken

Vladimir_Dudnik
Funcionário
1.435 Visualizações

Hi Ken,

on Core 2 Duo performance should be better for sure. So, I'm trying to find a reason. What is the video card on your P4 systems?

Our MPEG4 decoder (and encoder as well) is threaded, and so it should utilize both cores. If you play video in maximum speed the cpu usage should be higher on Core 2 Duo. But if you do usual playback, cpu usage of course should be lower.

Regards,
Vladimir

ken_chan
Principiante
1.435 Visualizações

Hi Vladimir,

My Video card on P4 is ATI MOBILITY RADEON (IBM Notebook X32).

I used the same test program and mechanisms on both P4 and C2D.

Thanks again and hope to hear from you soon.

Regards,

Ken Chan

Vladimir_Dudnik
Funcionário
1.435 Visualizações

Hi Ken,

it is strange, but we can't reproduce such issue. Did you tried different video streams?

Note, MPEG4 decoder and encoder are threaded with using OpenMP API, so you run them at the maximum speed they should utilize processor more (they will use both cores) then non threaded version (like when you run them on single core system. But, if you run decoder like you mention, to keep desired frame rate, they should defintely use processor less.

Regards,
Vladimir

ken_chan
Principiante
1.435 Visualizações

Hi Vladimir,

Thanks for your reply.

My video stream is standard with ISO 14496-2. Some decoders like DivX, XVid, FFMpged were working finewith it.I think IPP should be betterfor cpu usage. But the result isreally strange. :'(

For you to reproduce the issue. If that is possible, did any thing I can help?To provide the video stream?

Regards,

Ken Chan

Vladimir_Dudnik
Funcionário
1.435 Visualizações

Ken,

if you can provide problem stream it would be nice and will help us inreproducing that issue

Regards,
Vladimir

ken_chan
Principiante
1.435 Visualizações

Dear Vladimir,

I uploaded the video stream as a file @ http://actiftp.hosting4less.com/Intel/, and the file name is "ForIntel.rar".

Please feel free to let me know ifanything needs me.

Thanks again and hope to hear from you soon.

Regards,

Ken Chan

Vladimir_Dudnik
Funcionário
1.435 Visualizações

Thank you, I'll pass it to our experts for analises

Regards,
Vladimir

ken_chan
Principiante
1.435 Visualizações

Hi Nikolay,

Thanks for your reply.

Yes, i tried to play the video plip with -n, but the CPU usage have no different to without -n( still cost 50 - 70 ).

Regrards,

Ken Chan

ken_chan
Principiante
1.435 Visualizações

Hi Nikolay,

Here is the log. My command is "-vdx -n ForIntel.raw", I add the log for version, name, date last time request by Vladimir.

Intel Integrated Performance Primitives
version: 5.2 beta, [5.2.291.35]
name: ippvcv8-5.2.dll
date: Oct 10 2006
Video Render :GDI
-RenderFormat:YV12

Stream Type :MPEG4PV
Video Info :
-Video Type :MPEG4
-Resolution :720x480
-Frame Rate :0.00
Audio Info :
-Audio Type :UNDEF
-S.Frequency :0
-Num.Channel :0
-BitPerSample:0

DecRate:774.97 fps(Dec 1.18ms/f + Conv 0.11ms/f = 1.29ms/f) RndrRate 31.99fps Audio Dec 0.00chnls

DecRate:1034.18 fps(Dec 0.87ms/f + Conv 0.10ms/f = 0.97ms/f) RndrRate 32.00fps Audio Dec 0.00chnls

DecRate:1044.06 fps(Dec 0.86ms/f + Conv 0.10ms/f = 0.96ms/f) RndrRate 32.00fps Audio Dec 0.00chnls

DecRate:1045.93 fps(Dec 0.85ms/f + Conv 0.10ms/f = 0.96ms/f) RndrRate 32.00fps Audio Dec 0.00chnls

DecRate:1039.28 fps(Dec 0.86ms/f + Conv 0.11ms/f = 0.96ms/f) RndrRate 32.00fps Audio Dec 0.00chnls

Regards,

Ken

Responder