View Full Version : Does X264 support 2CPU?
jeffhuge
31st July 2006, 04:07
I have a 2CPU xeon(3gX2+1g ram),I choosing the thread to 2 in megui.But it seems no acceleration when encoding but the usage of cpu is around 75% instead of 100% on my 1CPU computer.
any suggestion?
thx
jeff
foxyshadis
31st July 2006, 06:34
Yes, it does. But avisynth is primarily singlethreaded and likely bogs performance down; take a look at the MT avisynth thread (http://forum.doom9.org/showthread.php?t=94996) for something that should help immensely.
ArcticFox
31st July 2006, 13:40
Does anyone have any performance figures using x264, i couldnt find any worthwhile benchmarks, im picking up an Athlon64 X2 today and wouldnt mind seeing what performance id be getting over my single core Athlon64.
Sharktooth
31st July 2006, 13:48
x264 is multithreaded and supports up to 4 CPUs.
using multithreaded avisyth will speed things up too.
both combined could reach a gain of about 70% on true dual core CPUs.
ArcticFox
31st July 2006, 13:52
wow, i wasnt expecting that much performance gain.
Dreassica
31st July 2006, 13:54
If one would just use avisource to load a lossless file through avs into megui, would avs still bog down multithreads encoding of x364? Or would i still need to use MT in avs?
Sharktooth
31st July 2006, 14:22
with SMP/multicore CPUs you should always get better performances with MT avs.
Dreassica
31st July 2006, 14:37
So also for simple avs scripts using just avisource?
Sharktooth
31st July 2006, 14:39
you better ask in the avisynth forum for detailed answers.
akupenguin
31st July 2006, 18:55
x264cli runs avisynth in a separate thread, so multithreaded avisynth is needed only if your script is slower than one of the encoder threads.
ArcticFox
1st August 2006, 09:38
Is there anything special i need to do then because im struggling to see any encoding benefits over my single core cpu using this x2 to encode in MeGUI using Avisynth
Because at the minute im test encoding a 1080i to 720p using Nwgats High Profile 6 Ref profile and im getting 2fps.
Sharktooth
1st August 2006, 16:10
have you set --thread-input and --threads=auto ?
ArcticFox
1st August 2006, 17:19
in the commandline its saying --threads 2 --thread-input
Sharktooth
1st August 2006, 17:30
can you post your complete commandline and the whole avisynth script?
ArcticFox
1st August 2006, 17:41
Loadplugin("D:\Encoding\hdtv plugins\DGDecode.dll")
Loadplugin("D:\Encoding\hdtv plugins\TIVTC.dll")
mpeg2source("movie.d2v")
TFM()
TDecimate()
crop(2,144,1916,790)
LanczosResize(1280,528)
x264.exe --bitrate 5515 --ref 3 --no-fast-pskip --bframes 3 --b-pyramid --bime --weightb --trellis 1 --analyse all --8x8dct --threads 2 --thread-input --progress --no-psnr --output "" ""
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.