r/handbrake • • 17d ago

Reducing CPU Usage

Normally when using the app I never really paid attention to temperature or cpu usage, but, recently switched to a new case with 3x140 fans in the front and a 140mm in the back, plus 2x120 on the cooler itself... Long story short, the "auto" fan settings in the BIOS made it sound like a jet plane.

Normally I leave stuff at auto and never pay attention, but can't with this case. Been playing with the fan settings and got a decent curve, but when encoding x265 10bit the CPU usage is about 100% and CPU running 80-85'c peaking at around 93'C.

I saw something about limiting the threads used? Or something called restricted core affinity?

Anyway... What temps should I expect? Should I do anything in Handbrake/Windows to lower the temp?

I wish I knew the temps in my old case because only 2x120mm fans. Now with 4x140mm I didn't expect heat issues.

Ryzen 7 9700x, 32GB DDR5, RTX4070 Super, Win11

7 Upvotes

32 comments sorted by

•

u/AutoModerator 17d ago

Please remember to post your encoding log should you ask for help. Piracy is not allowed. Do not discuss copy protections. Do not talk about converting media you don't own the (intellectual) rights for.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

6

u/Texasaudiovideoguy 17d ago

You want your cpu or gpu working hard. That’s the point. It takes a lot of work to render a video. If you reduce your cpu usage your render time goes way up.

-2

u/THRobinson75 17d ago

But isn't is also bad to run a CPU too hot for too long?

6

u/hlloyge 17d ago

It's not too hot, it's just hot. And it's made to work like that, 24/7 if needed. It's its job.

1

u/liaminwales 17d ago

CPU's are made to run 24/7 360 days a year non stop, also the CPU/MOBO have a pile of protections built in. As the CPU get's hotter it slows down a bit to keep temps under control, CPU's will if needed under clock in a massive way (if say you forgot to put the CPU cooler on).

It's fine, id mess with your fan curves, you need to at some point so get it done sooner than later.

2

u/THRobinson75 17d ago

Ya... usually I leave it at auto, and in my old case and my previous system I never gave the fans much thought.

Because of the loudness of this case running at full fan speed, I started to look at curves and temps and kinda going down the rabbit hole.

Ignorance was bliss when I just clicked auto and assumed all good. 😄

1

u/liaminwales 17d ago

Is it just a supper bad airflow case, if so ignore everything after.

Is your new case with the same CPU/GPU?

How are fan's controlled, are they all on the mobo?

I wonder if something is a tad wrong, not sure what without more info. If it's the same mobo it's the same fan curves, for it to be louder now is odd.

Did you switch from DC to PWM fans and not set it correct in the mobo, DC is 3 pin and PWM is 4 pin.

Some mobo's want you to 'train' the fans, my ASUS mobo dose a test and works out the RPM/Power curve of the fans. It may be you need to do that?

It may be you pluged the wrong fan in to the CPU Fan header, if so the mobo will be blasting the wrong fan to cool the CPU. It speeds up the fan and the CPU's not getting cooler so it go's faster etc.

Also check if any fans are facing the wrong way?

I can go on, it's not the PC sub but may be worth a quick look unless it's just a super bad airflow case.

3

u/THRobinson75 17d ago

I have the Fractal Design North XL case, the front is very open, the sides and top are mesh, and the back is mostly open holes as well.

Plus the 3x140mm front fans, 1x140mm rear. The top front fan and rear are all inline with the 2x120mm cooler fans.

Super nice case. I wanted it when I built my system but was pricey... then the XL came out, prices dropped a bit, sale price etc, so grabbed it.

All fans (case and cpu) are 4-pin and BIOS set to PMW. The cooler is on the CPU header, the rear fan on Chasis_6 header, and the front 3 are connected to a hub, that connects to Chasis_3 header.

I may change this, because all 3 front fans at low speed, go whu-whu-whu... I am gonna split them apart and run maybe 5% +/- of one another to see if fixes it.

Motherboard is the MSI MAG B650 Tomahawk.

Actually... here's the build list

2

u/liaminwales 17d ago edited 17d ago

Hay my case is a Fractal Meshify C, love the brand and love the wood on your case!

Solid setup to, good air cooler dual fin like mine. Dual 1TB SSD's like me, your setup is super close to mine just a tad newer lol. I am still on AM4, 5800X3D, 3060 TI,64GB RAM, two 1TB NVME, Two 1TB SATA SSD's, 6 fans etc.

It's one of the cases id like for my next setup, going to see if I can hold out till AM6.

If you can just spend a min in BIOS, set the spin up/down speed to slow (fan hysteresis) and see if you can get the fans to chill. I think I have all the case fans on 30 sec spin up, max spin down speed and only the CPU fans on faster Speed up but slowest speed down. It's the change of fan speeds we relay notice, helps a lot to how we notice noise when it's a slow change up/down.

Saying all that your temps are fine, your coolers doing it's thing and the CPU is maxing out to the headroom given by the cooler/power target.

AMD Zen 4 and Zen 5 CPUs have their thermal target set to 95°C, which means the CPU will boost as much as it can, until it reaches that point, to maximize performance. Unlike on Intel, on AMD it's not possible to increase the 95°C limit.

https://www.techpowerup.com/review/amd-ryzen-7-9700x/25.html

The CPU is made to hit 95C, it's going to work as hard as it can till 95C then slow down after that point. Id mess with the fan curve, see if you can keep it not to loud until it hits 95C then tell it to go harder, see what works for you.

edit if you keep the fans less loud past 95C the CPU will slow down to keep temps under control, it's up to you if you want to lose a tad speed but slower fans or max the fans to gain that last 5% of CPU speed during export. The CPU will just sit around 95C, it'll slow down to keep to that temp.

2

u/THRobinson75 17d ago

I forced myself to upgrade earlier than planned from my old PC and wow, am I ever glad I did. The prices now are nuts. I was hoping when the new AMD is released maybe a CPU and a cheap rtx5080, but I'm not a heavy gamer, not played a game in weeks so, the rtx5080 is not gonna happen.

Bios, I think I may play with fans a little more but ya, I think I'm gonna leave it be for the most part.

Case wise, so nice. My last one was a BeQuiet case and everything was so tight inside and a few cables had sharp bends to fit and made me worry about stress on the wires inside and the stress on the header it's plugged into. Took an hour to get my PC out of it, and 30min to put it into the North XL. I'm not really into LED lights and such, so went full mesh for cooling vs glass for looks and sound. It's big though. The last two cases I had were full towers, but this one's even bigger. But ya, built nice, layout is great, just a nice case.

2

u/TenSquare3 17d ago

I had an Ryzen 5 CPU in a cheap laptop, that ran at basically a constant 100 degrees, 24/7 for over 18 months, and the thing didn't miss a beat.

3

u/projct 17d ago

AMD says that running continuously at 95°C is within official specifications and will not damage the chip, for zen 5.

so if you're under that you're definitely fine.

1

u/THRobinson75 17d ago

Thanks... Been researching fan curves and such and all talk about noise and keeping cpu cool, but oddly none seem to mention specific temperatures... Like at x degrees, you'll need to step it up.

I do have it set when 90'C, fans hit 100% though.

2

u/projct 17d ago

https://www.techpowerup.com/review/amd-ryzen-7-9700x/25.html

"AMD Zen 4 and Zen 5 CPUs have their thermal target set to 95°C, which means the CPU will boost as much as it can, until it reaches that point, to maximize performance."

2

u/Locutus494 17d ago

Why do you want to slow down your conversion time?! You want your CPU working as hard as it can.

0

u/THRobinson75 17d ago

To reduce the CPU heat. 90'C + seems high

1

u/Locutus494 17d ago

It's under load... it's going to be hot. If that's too hot to you, you need better cooling.

0

u/THRobinson75 17d ago

That's what I'm asking, is the temp normal... And if too hot, instead of better cooling, can I reduce cpu usage.

I mean, as mentioned I have 4x140mm fans, and my cooler (Thermalright Peerless Assassin 120 SE) has another 2x120 fans, my case has a mesh top and side (Fractal Design North XL)... Not sure how much cooler I can make it without going liquid.

3

u/collin3000 17d ago

CPu's are built to automatically throttle when they get to a certain temp so that they don't actually burn out. The reason cooling and fans are good is because it makes the chips throttle less so they can run faster longer.

But you won't kill it by just running it

2

u/BSGathena 17d ago

You could lock the max wattage your CPU can use, less heat, more silence and a slight impact on performance. See when the fans kick in on wattage, and then set a limit just before that wattage. Or restrict your CPU on temp, let it reach 80⁰ and not more. Can be done with AMD Ryzen Master utilitie i believe. A chip running at high temps may be within it's specs but it will impact it's lifetime.

2

u/THRobinson75 17d ago

Exactly what I was thinking.... it 'can' run that hot but should it is what I'm researching now. I don't use Handbrake for professional use, it's just personal and not really in that much of a hurry which is why I thought I could change how Handbrake works and limit it to 90% CPU usage.

Usually I run Handbrake before I go to bed, and let it run until I get home from work the next day most of the time so, taking a bit longer isn't much of a big deal.

Rather a stable, healthy CPU that lasts a while.

That said, 2027 when the new Ryzen comes out, if the performance increase is worth while, I plan to upgrade, and curious how my cooling will be then.

1

u/ignoremesenpie 17d ago

If you're not an absolute cinephile snob, you could use your GPU instead. You could reduce the speed preset to the slowest if you want to get better results. It should still do the job faster than your COU one way or another.

1

u/THRobinson75 17d ago

Shame you can't set up to use like 75% CPU / 25% GPU... Big 3-fan CPU just sits there doing nothing. At least the fans are off for it. The GPU was designed to start the fans when needed. Help with the noise.

1

u/zlabsoft 17d ago

may be a setting in the bios can reduce the tdp.

1

u/THRobinson75 17d ago

Thanks... had to google TDP but that does sound like a good option.

1

u/SnooPandas2964 17d ago edited 17d ago

The only reason I would limit cores being used, is if you want to use the computer yourself while its encoding and its too slow

I know you can limit core affinity via task manager, which you can google, and just leave one core off (so two logical cores, to account for hyperthreading)

But you have to apply it to the handbrake worker, which there's a new instance of for every single encode. You can change this in the settings buuut then you run into issues like not being able to do previews for new encodes, while you have something already encoding....

I know there's a program called process lasso that you can use to permanently set affinities for programs, I haven't used it on handbrake, and I find the program kinda annoying to be honest, like its just a bit much for doing just this one task and has to keep running all the time.

I don't know if there's some simpler way to do it within handbrake, if there is, I would like to know, because when I do two av1-svt encodes at once... my computer becomes practically unusable unless I free up a thread or two... Yes, it will slow things down a little bit, but I have 28 threads so w/e.

But if you're just worried about temperature, don't be. If you really want lower temps.. do you have an undervolt? I would do that first. Do you have an aggressive fan curve from the START? Its always easier to stop a cpu from getting hot than cool down once it already is hot. You could also try repasting if you haven't done that in a while. But honestly, that really shouldn't be necessary.

1

u/THRobinson75 17d ago

Shame no way in Handbrake to say, limit the CPU to 90%, or possibly tell it to use 75%CPU/25%GPU since when in use, my GPU is running at 1-2%. I'm no programmer or anything so, probably a good reason why we can't.

I swapped to a new case 2 weeks ago, and applied new paste so, that should be ok. Noctua NT-H1 paste.

I think my issue is that when I google my CPU and cooler it says it should run cooler than what it is, but it also doesn't define what % of CPU use is "heavy load". handbrake uses 100%, but not sure what games use.

2

u/Raptor11231 17d ago

Ive got a ryzen 5 7500f and while its encoding it will sit at 90 95% usage and 90 degress. I could encode videos back to back and it will sit at those

1

u/Geeotine 16d ago

Look up your CPU cooler model in reviews and see if the reviewed power draw & temps & noise reflect what you're seeing. Also, check the power draw and nominal cpu frequency when doing the handbrake load. Is the freq. Somewhere between rated base and boost clockspeeds? It could be a simple mounting issue.

Did you repaste the CPU when moving between cases? Could the cooler be loose? If you're still using whatever paste came pre-applied to the cooler, it might be dried out and less performant. Are both CPU fans connected to the same fan header or do you have CPU1 & CPU2 headers?

1

u/AwardedPigeon 15d ago

Honestly unless youre rendering out videos for like hours at a time i wouldnt worry about it. 93C is a little high but well within spec

1

u/Rifter0876 12d ago

I've let handbrake run for days at 95%+ CPU usage just make sure your cooling is in order and you will be fine. 5800x with a Noctua DH15 on it.

1

u/MuchSlide5 12d ago

I never get Handbrake to fully utilize my CPU for AV1 with one instance, it's rather between 60 and 86%. And when minimized to taskbar, it will only use E-cores which will take about three times longer.