Question Cpu usage question

jamesdsimone

Senior member
Dec 21, 2015
833
235
116
I have a question about CPU usage. I am using a 5900X to transcode with Handbrake. I check the CPU usage in Task Manager and usage never went above 60% usually hovering around 55%. Question is why it not utilizing more CPU power? I wondering if there is some setting in BIOS I'm not setting correctly. The MB is an MSI X470 gaming Plus Max with 32 GB of ram. The ram usage is below 3 gb.
 

Hitman928

Diamond Member
Apr 15, 2012
6,115
10,483
136
Handbrake won't be able to use all of the 24 threads the 5900x has available. Usage could range from 30% - 70% depending on what codec you are using and the resolution. This is normal.
 
Reactions: jamesdsimone

jamesdsimone

Senior member
Dec 21, 2015
833
235
116
I can max out a 5700X in Handbrake. It depends on the the codec and to some extent the resolution/bitrate.
I am using standard DVD 720x480 to mp4 files. I use very high quality settings, a lot higher than any of the presets. All 12 cores are working at ~55%.
 

Thunder 57

Platinum Member
Aug 19, 2007
2,975
4,544
136
Yes using x264 and yes transcoding 2 DVD's at the same time.

Not sure what to say. When I transcode HEVC to x264 it makes my CPU burn. Maybe the MPEG 2 decoder isn't well threaded?

Edit, I take that back. I just tried using a DVD rip to x264 and it went to 100%. I assume you are ripping the DVD's to a hard drive first? What settings are you using? I can try to duplicate it.
 
Last edited:

jamesdsimone

Senior member
Dec 21, 2015
833
235
116
Not sure what to say. When I transcode HEVC to x264 it makes my CPU burn. Maybe the MPEG 2 decoder isn't well threaded?

Edit, I take that back. I just tried using a DVD rip to x264 and it went to 100%. I assume you are ripping the DVD's to a hard drive first? What settings are you using? I can try to duplicate it.
Yes ripping directly to local hard drive. I'll double check the CPU usage. I might have only been ripping one DVD.
I'm using Handbrake 1.1.2 since they removed the advanced setting tab after that, God knows why they would do that. They literally say that using the advanced tab is "deperacated". Anyway I use the default dimensions, Lapsharp medium film, constant quality setting 12 and audio 5.1 at 768 bits if available. On the advanced tab reference and B frames both 8. CABAC, 8x8 transform, and weighted B frames are all enabled. Pyramidal B frames strict. Analysis is optimal, spatial, Uneve Multi hex, 24, all and always. Psychovisual 1,1,.1. Deblock 2,2.
 

Thunder 57

Platinum Member
Aug 19, 2007
2,975
4,544
136
Yes ripping directly to local hard drive. I'll double check the CPU usage. I might have only been ripping one DVD.
I'm using Handbrake 1.1.2 since they removed the advanced setting tab after that, God knows why they would do that. They literally say that using the advanced tab is "deperacated". Anyway I use the default dimensions, Lapsharp medium film, constant quality setting 12 and audio 5.1 at 768 bits if available. On the advanced tab reference and B frames both 8. CABAC, 8x8 transform, and weighted B frames are all enabled. Pyramidal B frames strict. Analysis is optimal, spatial, Uneve Multi hex, 24, all and always. Psychovisual 1,1,.1. Deblock 2,2.

Are you sure about that version? I tried installing 1.1.2 and don't see any of that under "advanced".
 

jamesdsimone

Senior member
Dec 21, 2015
833
235
116
Problem solved. Transcoding 2 DVD's and getting CPU usage pushing 100%. I must have only had one going when I checked the first time. The 5900x is really a beast.
 

aigomorla

CPU, Cases&Cooling Mod PC Gaming Mod Elite Member
Super Moderator
Sep 28, 2005
20,894
3,247
126
have a question about CPU usage. I am using a 5900X to transcode with Handbrake.


The hardware you run on can have a large effect on performance. HandBrake can scale well up to 6 CPU cores with diminishing returns thereafter.

Handbrake depending on codec will not go past 6 cores.
And then it will like sort of Float between cores, but i have never seen it use 100% unless your on a 6 core system.


If you use handbrake a lot, your best using Quicksync (Intel Arc GPU) or NVEC (RTX 3060 or better) especially if your ripping DVD's.
GPU encoding vs CPU encoding is litterally night vs day in terms of speed.
 
Reactions: coercitiv

jamesdsimone

Senior member
Dec 21, 2015
833
235
116



Handbrake depending on codec will not go past 6 cores.
And then it will like sort of Float between cores, but i have never seen it use 100% unless your on a 6 core system.


If you use handbrake a lot, your best using Quicksync (Intel Arc GPU) or NVEC (RTX 3060 or better) especially if your ripping DVD's.
GPU encoding vs CPU encoding is litterally night vs day in terms of speed.
When I transcoded on my FX8350 it used all eight cores. That was using Linux though. I'll check if Windows does the same thing. I have an AMD GPU so not going to swap that out just to transcode. Besides if I put 2 DVD's in to transcode by the time I think about it again they are both done. I was mostly asking to make sure there wasn't something wrong with my set up.
 
Last edited:

burninatortech4

Senior member
Jan 29, 2014
677
345
136
I have a 5950X and mostly do h264 to h265 at 720p and 1080p. It rarely goes over 50% utilization.

I did some test 4K files with AV1 recently and THAT make the 5950X sweat. It's all about the encoder and the resolution.
 

coercitiv

Diamond Member
Jan 24, 2014
6,616
14,010
136
When I transcoded on my FX8350 it used all eight cores.
Even if these two CPUs were similar in architecture, we'd still be talking about an 8 core / 8 thread CPU vs. 12 core / 24 thread CPU. Handbrake would leave considerably less resources available on a 8c/8t processor.

That being said, in your particular case, the Bulldozer / Piledriver architecture had 8 cores grouped in 4 modules. Each 2 cores in a module shared their FP unit, thus the cores were partially fused together. This meant that for some workloads the 8350 behaved more like a 4 core CPU, and AFAIK this included vectorized workloads used by software such as Handbrake. That is probably why you saw 100% utilization.

Here's a module diagram, an image is quicker to convey the situation here:



 
Reactions: moinmoin

Thunder 57

Platinum Member
Aug 19, 2007
2,975
4,544
136



Handbrake depending on codec will not go past 6 cores.
And then it will like sort of Float between cores, but i have never seen it use 100% unless your on a 6 core system.


If you use handbrake a lot, your best using Quicksync (Intel Arc GPU) or NVEC (RTX 3060 or better) especially if your ripping DVD's.
GPU encoding vs CPU encoding is litterally night vs day in terms of speed.

I can see it do 100% on 8 cores. Also, CPU transcoding is still king in quality and file size. Quicksync works very well too. I haven't used NVEC in some time but I hear good things in speed. AMD's VCE is crap at h.264 but seems solid with HEVC.

For archival purposes I perfer CPU. For a quick transcode to a phone or tablet to watch on the road or plane, I am OK with GPU encoding.
 
Last edited:

jamesdsimone

Senior member
Dec 21, 2015
833
235
116
I can see it do 100% on 8 cores. Also, CPU transcoding is still king in quality and file size. Quicksync works very well too. I haven't used NVEC in some time but I hear good things in speed. AMD's VCE is crap at h.264 but seems solid with HEVC.

For archival purposes I perfer CPU. For a quick transcode to a phone or tablet to watch on the road or plane, I am OK with GPU encoding.
All of these MP4's go on my servers so size is not a priority but quality is so a lot of the settings are "insane" according to Handbrake. Of course they haven't edited that wording in 10+ years so the quality settings woud have been insane 10 years ago. The FX8350 struggles a bit with about 16fps with all cores at 100%. Not a big deal since I usually let it run in the background while I stream something. I can't watch an MP4 at the same time though, the video gets choppy and freezes. With the 5900x transcoding 2 DVD's at the same time I get about 90fps fps total with all 12 cores at 100%. One DVD, all 12 cores only run at about 55% and about 65fps. File sizes average about 5GB but some are as large as 9GB. As long as my CPU's are running the way they are supposed to that's the important part. I was checking to make sure I wasn't missing something. Case in point I was trouble shooting the FX8350 and noticed that BIOS had defaulted memory to 1333mhz instead of 1866mhz. Probably not a huge difference but probably 1-2%.
 
Last edited:

MangoX

Senior member
Feb 13, 2001
594
108
106
Handbrake can do up to 8 simultaneous encodes within one instance. I have to run 3 parallel just to max out a single 7950x. All this in AV1.
 
Reactions: jamesdsimone

jamesdsimone

Senior member
Dec 21, 2015
833
235
116
Handbrake can do up to 8 simultaneous encodes within one instance. I have to run 3 parallel just to max out a single 7950x. All this in AV1.
I do two since I only have 2 optical drives and I'm using most of the CPU capability.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |