jva
30th July 2007, 08:37
Hi,
I've been testing encoding of videos into H.264 using the x264 tool with my old and puny 1ghz AMD Duron with 512MB PC-133 SDRAM. I've been thinking to upgrade the machine to some cheap dual core system to boost coding speed.
I had a change to test the coding with a system containing Intel Core 2 duo E6400 cpu and 1GB 800Mhz DDR2 RAM. But, just to notice that compared to my Duron the encoding speed is only roughly double. (e.g. sample video that encodes 4.5fps on the duron, is encoded 10fps using core 2 duo) To be honest, I would have expected to see much more significant speed boost, so something must be wrong here..?
I use multithreading for x264, so that should not be the problem. I've also checked this from the system monitor, both cores are running 100%. Both systems run same system software baseline (e.g. Ubuntu linux 7.10 herd3).
One thing I was thinking is the cpu specific multimedia enhancements, like MMX, SSE?, etc. I am running pre-build binaries of ubuntu and current optimisations enabled are: MMX, MMXEXT, SSE and SSE2. I assume that the problem is not here either?
Any ideas for this performace would be greatly appreciated. If it is a reality that the speed improvement is only this small then I'm going to skip the computer upgrade. Thanks in advance.
Params used for x264 are:
--crf 20.0
--sar 1:1
--partitions all
--aud
--level 4.1
--ref 3
--mixed-refs
--bframes 3
--b-pyramid
--direct auto
--direct-8x8 1
--8x8dct
--analyse all
--subme 6
--me umh
--b-rdo
--bime
--weightb
--trellis 1
--pre-scenecut
--threads auto
--no-ssim
--no-psnr
--progress
I've been testing encoding of videos into H.264 using the x264 tool with my old and puny 1ghz AMD Duron with 512MB PC-133 SDRAM. I've been thinking to upgrade the machine to some cheap dual core system to boost coding speed.
I had a change to test the coding with a system containing Intel Core 2 duo E6400 cpu and 1GB 800Mhz DDR2 RAM. But, just to notice that compared to my Duron the encoding speed is only roughly double. (e.g. sample video that encodes 4.5fps on the duron, is encoded 10fps using core 2 duo) To be honest, I would have expected to see much more significant speed boost, so something must be wrong here..?
I use multithreading for x264, so that should not be the problem. I've also checked this from the system monitor, both cores are running 100%. Both systems run same system software baseline (e.g. Ubuntu linux 7.10 herd3).
One thing I was thinking is the cpu specific multimedia enhancements, like MMX, SSE?, etc. I am running pre-build binaries of ubuntu and current optimisations enabled are: MMX, MMXEXT, SSE and SSE2. I assume that the problem is not here either?
Any ideas for this performace would be greatly appreciated. If it is a reality that the speed improvement is only this small then I'm going to skip the computer upgrade. Thanks in advance.
Params used for x264 are:
--crf 20.0
--sar 1:1
--partitions all
--aud
--level 4.1
--ref 3
--mixed-refs
--bframes 3
--b-pyramid
--direct auto
--direct-8x8 1
--8x8dct
--analyse all
--subme 6
--me umh
--b-rdo
--bime
--weightb
--trellis 1
--pre-scenecut
--threads auto
--no-ssim
--no-psnr
--progress