[HELP] CPU choice for encoding

Discuss encoding for devices and presets.
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
colem
Posts: 11
Joined: Wed Nov 18, 2020 9:32 pm

[HELP] CPU choice for encoding

Post by colem »

Good evening

I'm making a machine specially for dual-processor encoding.
What should I focus on in terms of CPUs, frequency or number of cores

I saw three different CPUs:

E5-4627V3 -> 10 cores, 2.6ghz, 3.2 turbo
E5-2640V3 -> 8 cores, 2.6ghz, 3.4 turbo
E5-2637V3 -> 4 cores, 3.5ghz, 3.7 turbo

for you which should I privilege.

thank you
colem
User avatar
Rodeo
HandBrake Team
Posts: 12626
Joined: Tue Mar 03, 2009 8:55 pm

Re: [HELP] CPU choice for encoding

Post by Rodeo »

Depends if you want to run multiple parallel encodes or not, and which video encoder you'll be using (x264, x265, another)?
colem
Posts: 11
Joined: Wed Nov 18, 2020 9:32 pm

Re: [HELP] CPU choice for encoding

Post by colem »

only one encoding at a time.
For the most part, I use x265
mduell
Veteran User
Posts: 7264
Joined: Sat Apr 21, 2007 8:54 pm

Re: [HELP] CPU choice for encoding

Post by mduell »

What resolution encodes are typical for you?
colem
Posts: 11
Joined: Wed Nov 18, 2020 9:32 pm

Re: [HELP] CPU choice for encoding

Post by colem »

1920x1080
mduell
Veteran User
Posts: 7264
Joined: Sat Apr 21, 2007 8:54 pm

Re: [HELP] CPU choice for encoding

Post by mduell »

Are the CPUs all the same price? If not, what are the prices?
colem
Posts: 11
Joined: Wed Nov 18, 2020 9:32 pm

Re: [HELP] CPU choice for encoding

Post by colem »

all around 50 €
mduell
Veteran User
Posts: 7264
Joined: Sat Apr 21, 2007 8:54 pm

Re: [HELP] CPU choice for encoding

Post by mduell »

You can certainly make use of more than 8 cores, so I'd go with at least the 2640V3. You could do the 4627V3 but with diminishing returns it will be less than 20% faster.
User avatar
s55
HandBrake Team
Posts: 9862
Joined: Sun Dec 24, 2006 1:05 pm

Re: [HELP] CPU choice for encoding

Post by s55 »

The 10 core seems to lack hyperthreading. Difficult to say for sure which will be faster but I'd wager not an awful lot in it.
colem
Posts: 11
Joined: Wed Nov 18, 2020 9:32 pm

Re: [HELP] CPU choice for encoding

Post by colem »

well seen.
I did not see
I just found this one, slightly more expensive
E5-2660V3 -> 10 cores 20 threads 2.6ghz 3.30 turbo

should the number of cores be preferred over the frequency?
mduell
Veteran User
Posts: 7264
Joined: Sat Apr 21, 2007 8:54 pm

Re: [HELP] CPU choice for encoding

Post by mduell »

Yes that's better than the 4627v3. Either the 2660v3 or 2640v3 is your best choice, not much difference between them.
colem
Posts: 11
Joined: Wed Nov 18, 2020 9:32 pm

Re: [HELP] CPU choice for encoding

Post by colem »

mduell wrote: Thu Nov 19, 2020 8:31 pm Yes that's better than the 4627v3. Either the 2660v3 or 2640v3 is your best choice, not much difference between them.
2 cores and 4 more threads, right?
mduell
Veteran User
Posts: 7264
Joined: Sat Apr 21, 2007 8:54 pm

Re: [HELP] CPU choice for encoding

Post by mduell »

Yes, if they're the same price you may as well get the 2660v3.
colem
Posts: 11
Joined: Wed Nov 18, 2020 9:32 pm

Re: [HELP] CPU choice for encoding

Post by colem »

ok thanks all
8Ringer
Posts: 17
Joined: Sun Jun 21, 2020 7:16 pm

Re: [HELP] CPU choice for encoding

Post by 8Ringer »

I have a dual E5-2637 v3 (4-core 3.5ghz) box and I'm seeing roughly 60-80% utilization (varies a bit based on screen complexity) on a single h265 encode. I have HT turned off because it really didn't affect encode speed but having more threads can negatively affect the overall quality. I previously had two E5-2620 v3 (6-core 2.4ghz) installed and the utilization was such that I felt it made more sense to "upgrade" to fewer, faster cores as I don't often run multiple encodes, at least not when encode speed really matters.

Are you planning on running a two socket system with 2660s? I doubt Handbrake is going to be able to leverage all those cores...
8Ringer
Posts: 17
Joined: Sun Jun 21, 2020 7:16 pm

Re: [HELP] CPU choice for encoding

Post by 8Ringer »

^^ Quick correction since I can't find the edit button, but I actually DO have HT turned on, not off. My mistake.
colem
Posts: 11
Joined: Wed Nov 18, 2020 9:32 pm

Re: [HELP] CPU choice for encoding

Post by colem »

hi

yes dual xeon
rollin_eng
Veteran User
Posts: 3611
Joined: Wed May 04, 2011 11:06 pm

Re: [HELP] CPU choice for encoding

Post by rollin_eng »

Unless you’re a professional you’re not really going to need a multi socket system.

Of course it’s a personal choice.
colem
Posts: 11
Joined: Wed Nov 18, 2020 9:32 pm

Re: [HELP] CPU choice for encoding

Post by colem »

rollin_eng wrote: Wed Nov 25, 2020 7:45 pm Unless you’re a professional you’re not really going to need a multi socket system.

Of course it’s a personal choice.
I have almost only that: D
8Ringer
Posts: 17
Joined: Sun Jun 21, 2020 7:16 pm

Re: [HELP] CPU choice for encoding

Post by 8Ringer »

Yea theres no reason you NEED a dual socket system, I wont argue that. For my uses (for instance) its a bit overkill but I'm running a FreeNAS with a Handbrake jail, a Plex Meda Server jail, and a Unifi Controller jail. Even with all that, I don't need dual socket, but I sorta just wanted some (old) weapons grade server hardware just because. Plus its nice to know if my needs change and I start utilizing virtualization or something, I can VERY easily triple my core count. Plus the board came with 10G ethernet, ECC, etc. Used server hardware is surprisingly cheap and has solid build quality.

Having said that, now that I know x265 really doesn't scale well past 8 cores, I would have been better served going with a single socket board and a 10 or 12 core CPU and saving a bit on my power consumption. But my financial outlay on this system isn't too bad and the performance is 3-4x better than my previous machine so I'm not complaining.
musicvid
Veteran User
Posts: 3768
Joined: Sat Jun 27, 2009 1:19 am

Re: [HELP] CPU choice for encoding

Post by musicvid »

x265 is not generally considered necessary for 1920x1080.
x264 is a lot faster, and maintains a respectable size.
x264 is considered optimal around 6-8 logical processors.
rollin_eng
Veteran User
Posts: 3611
Joined: Wed May 04, 2011 11:06 pm

Re: [HELP] CPU choice for encoding

Post by rollin_eng »

Obviously if you are running other things on a machine then yes, multiple socket machines make sense. But for just encoding videos a single CPU with sufficient cores is probably sufficient for most people.
colem
Posts: 11
Joined: Wed Nov 18, 2020 9:32 pm

Re: [HELP] CPU choice for encoding

Post by colem »

8Ringer wrote: Thu Nov 26, 2020 6:25 am Yea theres no reason you NEED a dual socket system, I wont argue that. For my uses (for instance) its a bit overkill but I'm running a FreeNAS with a Handbrake jail, a Plex Meda Server jail, and a Unifi Controller jail. Even with all that, I don't need dual socket, but I sorta just wanted some (old) weapons grade server hardware just because. Plus its nice to know if my needs change and I start utilizing virtualization or something, I can VERY easily triple my core count. Plus the board came with 10G ethernet, ECC, etc. Used server hardware is surprisingly cheap and has solid build quality.

Having said that, now that I know x265 really doesn't scale well past 8 cores, I would have been better served going with a single socket board and a 10 or 12 core CPU and saving a bit on my power consumption. But my financial outlay on this system isn't too bad and the performance is 3-4x better than my previous machine so I'm not complaining.
fully agree
Image
Post Reply