Jump to content

[SOLVED] How does Minecraft utilize the CPU & GPU?

Guest

So I've noticed while playing Minecraft (Java) under load (meaning I'm not getting the max framerate) my GPU (RX 5700 XT) is utilizating about 60-77% while my CPU (R5 3600) is at about 20%.

 

I've heard that Minecraft is CPU heavy, which got me wondering why it's only at 20%, while my GPU isn't even on full load. Can someone give me some clarity on this? Is there a way to make the game make push the CPU/GPU a bit more for better performance?

 

EDIT: So it seems the game isn't very well optimized and doesn't use a whole lot of CPU cores and leaving little to the GPU unless you run shaders or something.

Edited by RonnyDouglas
put in some answers for future folks reading this
Link to comment
Share on other sites

Link to post
Share on other sites

Just now, BlueScope819 said:

Because after a certain point minecraft becomes very poorly optimized. Anything beyond what your spec is is basically meaningless for stock operation (no shaders)

Forgot to mention that I am using shaders, which I thought would push my GPU to 100%, but it's not.

Link to comment
Share on other sites

Link to post
Share on other sites

CPUs have multiple cores, MC uses mainly one so even though it says 20% CPU usage that's because most of the other cores are idle.

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
Share on other sites

Link to post
Share on other sites

Do you use shaders or similar stuff? They can be resource hungry af.

Possible ways to get higher FPS:

- OptiFine

- more RAM (might help, but not for sure)

- turn off shader (if you have those)

Link to comment
Share on other sites

Link to post
Share on other sites

because it only loads up a few CPU threads in singleplayer (maybe more for servers). If you check per CPU thread usage, you'll see much higher numbers

 

the graphics API (OpenGL) is also no good at loading up GPUs fully

CPU: i7-2600K 4751MHz 1.44V (software) --> 1.47V at the back of the socket Motherboard: Asrock Z77 Extreme4 (BCLK: 103.3MHz) CPU Cooler: Noctua NH-D15 RAM: Adata XPG 2x8GB DDR3 (XMP: 2133MHz 10-11-11-30 CR2, custom: 2203MHz 10-11-10-26 CR1 tRFC:230 tREFI:14000) GPU: Asus GTX 1070 Dual (Super Jetstream vbios, +70(2025-2088MHz)/+400(8.8Gbps)) SSD: Samsung 840 Pro 256GB (main boot drive), Transcend SSD370 128GB PSU: Seasonic X-660 80+ Gold Case: Antec P110 Silent, 5 intakes 1 exhaust Monitor: AOC G2460PF 1080p 144Hz (150Hz max w/ DP, 121Hz max w/ HDMI) TN panel Keyboard: Logitech G610 Orion (Cherry MX Blue) with SteelSeries Apex M260 keycaps Mouse: BenQ Zowie FK1

 

Model: HP Omen 17 17-an110ca CPU: i7-8750H (0.125V core & cache, 50mV SA undervolt) GPU: GTX 1060 6GB Mobile (+80/+450, 1650MHz~1750MHz 0.78V~0.85V) RAM: 8+8GB DDR4-2400 18-17-17-39 2T Storage: HP EX920 1TB PCIe x4 M.2 SSD + Crucial MX500 1TB 2.5" SATA SSD, 128GB Toshiba PCIe x2 M.2 SSD (KBG30ZMV128G) gone cooking externally, 1TB Seagate 7200RPM 2.5" HDD (ST1000LM049-2GH172) left outside Monitor: 1080p 126Hz IPS G-sync

 

Desktop benching:

Cinebench R15 Single thread:168 Multi-thread: 833 

SuperPi (v1.5 from Techpowerup, PI value output) 16K: 0.100s 1M: 8.255s 32M: 7m 45.93s

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, RonnyDouglas said:

So I've noticed while playing Minecraft (Java) under load (meaning I'm not getting the max framerate) my GPU (RX 5700 XT) is utilizating about 60-77% while my CPU (R5 3600) is at about 20%.

 

I've heard that Minecraft is CPU heavy, which got me wondering why it's only at 20%, while my GPU isn't even on full load. Can someone give me some clarity on this? Is there a way to make the game make push the CPU/GPU a bit more for better performance?

definitely a software issue. Try other games and check if it's being utilized better. If yes, you're fine.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Enderman said:

CPUs have multiple cores, MC uses mainly one so even though it says 20% CPU usage that's because most of the other cores are idle.

That makes sense, I didn't even think of that.

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, RonnyDouglas said:

Forgot to mention that I am using shaders, which I thought would push my GPU to 100%, but it's not.

Could you tell us which shader?

Even the shader can be poorly coded. You have to remember that shader are usually coded by modders and hobbyist.

Link to comment
Share on other sites

Link to post
Share on other sites

Java Minecraft is very poorly multi-threaded. It's using so little of your CPU because it's maxing out one core and using a second core for everything else. Your GPU is just rendering whatever comes its way, and not enough is coming its way to go above 70% utilization. What this means is you could either raise your framerate cap (or disable vsync), or add more shader effects.

¯\_(ツ)_/¯

 

 

Desktop:

Intel Core i7-11700K | Noctua NH-D15S chromax.black | ASUS ROG Strix Z590-E Gaming WiFi  | 32 GB G.SKILL TridentZ 3200 MHz | ASUS TUF Gaming RTX 3080 | 1TB Samsung 980 Pro M.2 PCIe 4.0 SSD | 2TB WD Blue M.2 SATA SSD | Seasonic Focus GX-850 Fractal Design Meshify C Windows 10 Pro

 

Laptop:

HP Omen 15 | AMD Ryzen 7 5800H | 16 GB 3200 MHz | Nvidia RTX 3060 | 1 TB WD Black PCIe 3.0 SSD | 512 GB Micron PCIe 3.0 SSD | Windows 11

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, startrek03 said:

Could you tell us which shader?

 

I am using BSL Shaders (and Optifine). I know shaders are resource hungry. I'm not necessarily looking for ways to get better performance, I just want to make sure my CPU/GPU are being used properly.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, BobVonBob said:

Java Minecraft is very poorly multi-threaded. It's using so little of your CPU because it's maxing out one core and using a second core for everything else. Your GPU is just rendering whatever comes its way, and not enough is coming its way to go above 70% utilization. What this means is you could either raise your framerate cap (or disable vsync), or add more shader effects.

More shaders wouldn't help with your FPS, though. Mainly they would inncrease your electricity bill.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, startrek03 said:

More shaders wouldn't help with your FPS, though. Mainly they would inncrease your electricity bill.

It wouldn't help FPS, but if the GPU isn't being fully loaded then the GPU isn't the limiting factor, so you can add more effects for the same FPS.

¯\_(ツ)_/¯

 

 

Desktop:

Intel Core i7-11700K | Noctua NH-D15S chromax.black | ASUS ROG Strix Z590-E Gaming WiFi  | 32 GB G.SKILL TridentZ 3200 MHz | ASUS TUF Gaming RTX 3080 | 1TB Samsung 980 Pro M.2 PCIe 4.0 SSD | 2TB WD Blue M.2 SATA SSD | Seasonic Focus GX-850 Fractal Design Meshify C Windows 10 Pro

 

Laptop:

HP Omen 15 | AMD Ryzen 7 5800H | 16 GB 3200 MHz | Nvidia RTX 3060 | 1 TB WD Black PCIe 3.0 SSD | 512 GB Micron PCIe 3.0 SSD | Windows 11

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, BobVonBob said:

It wouldn't help FPS, but if the GPU isn't being fully loaded then the GPU isn't the limiting factor, so you can add more effects for the same FPS.

Besides the fact that Optifine only allows for one shaderpack to be loaded, Optifine might be the limiting factor as well. We can't tell for sure unless somebody tested it.

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, BobVonBob said:

Java Minecraft is very poorly multi-threaded. It's using so little of your CPU because it's maxing out one core and using a second core for everything else. Your GPU is just rendering whatever comes its way, and not enough is coming its way to go above 70% utilization. What this means is you could either raise your framerate cap (or disable vsync), or add more shader effects.

 

7 minutes ago, BobVonBob said:

It wouldn't help FPS, but if the GPU isn't being fully loaded then the GPU isn't the limiting factor, so you can add more effects for the same FPS.

I did increase some graphical effects in the shader settings and now my GPU is at 100%.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, RonnyDouglas said:

 

I did increase some graphical effects in the shader settings and now my GPU is at 100%.

I think that makes clear that the shader isn't programmed in a good way. In other words: The FPS will always suck because of the shader.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, startrek03 said:

I think that makes clear that the shader isn't programmed in a good way. In other words: The FPS will always suck because of the shader.

At least I know I could pump up some effects and not lose a whole lot of performance and let my GPU work as if it's actually running a game! :)

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, startrek03 said:

I think that makes clear that the shader isn't programmed in a good way. In other words: The FPS will always suck because of the shader.

To correct myself: It's probably a comination of the codes of Minecraft, OptiFine and the shaderpack. They're neither made by the same team nor known to be coded well. Pumpin in resoureces might not help. And there might even be a system in place that prevents excessive hardware use somewhere. Wouldn't know why, but hey. What we can say for sure, is, that it's the game's fault and not yours.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×