How To Make Minecraft Use More Cores, Force Minecraft To Use All My Cpu Cores

I am working on setting up a Minecraft server on a machine I have at home. This particular machine has two quad-core CPUs running at 2.0Ghz so I would like to take advantage of the number of cores and run a server with 4 or 6 of the cores. My server of choice is CraftBukkit, the latest version of which is craftbukkit-1.4.7-R1.0 and launched with a start-up script of:

“C:Program FilesJavajre7injava.exe” -Xms1G -Xmx8G -jar craftbukkit-1.4.7-R1.0.jar”The Minecraft Wiki says:

Minecraft servers, as of 1.1.0, can use multiple cores, so now they will not sit idle.

Đang xem: How to make minecraft use more cores

but does not really expand on this.

My questions, then:

Is it possible to set the number of cores the server uses?How do I do it – via start-up options, or other methods?Is it really worth it and would it make that much of a difference with a lot of players?
minecraft-java-edition minecraft-java-edition-server minecraft-bukkit hosting
Improve this question
edited Dec 29 “19 at 16:36


Ola Ström
35011 gold badge22 silver badges77 bronze badges
asked Feb 12 “13 at 22:52


7,6201414 gold badges5959 silver badges8282 bronze badges
Add a comment |

2 Answers 2

Active Oldest Votes
If you use the JDK instead of the JRE then you can use the following command line to force the JDK to use all available cores for optimising Java itself (source):

-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=7 -XX:+AggressiveOpts -Xms1G -Xmx8G -jar craftbukkit-1.4.7-R1.0.jar

As you are clearly using Windows, have you considered YAMS? (Full disclosure: I made it). YAMS will do all this for you.

Read more: How To Get To Ironhorn Enclave Wow, Ronos Ironhorn

Improve this answer
edited Jun 17 “20 at 10:32


42.2k8787 gold badges265265 silver badges489489 bronze badges
answered Feb 14 “13 at 12:05


Richard BensonRichard Benson
1,48188 silver badges88 bronze badges
Add a comment |
Thanks for trying man, but a process in java needs specific triggers for a thread to split – it has to be coded that way.

You can get some practical examples here :

While Minecraft has a decently robust developed multicore support on the client side, it lacks it on the serverside. Anything above 3 cores won”t be used, unless new itterations introduces a command blockchain with automatical threadsplitting – making the dedicated server code more scalable than it”s been since release.

Read more: Spirestone Battle Lord Of The Spire Wow, Lord Nathraxas

Improve this answer
edited Feb 4 “18 at 6:26


Felix Zetterlund
322 bronze badges
answered Feb 13 “13 at 16:53
17444 bronze badges
Add a comment |
Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.

Not the answer you're looking for? Browse other questions tagged minecraft-java-edition minecraft-java-edition-server minecraft-bukkit hosting or ask your own question.

Screenshot of the Week
Overlooking a Frozen Dam in Horizon Zero Dawn by arghtype
Submit your photo Hall of fame
Featured on Meta
How can I run a Minecraft Server on multiple CPU cores? Mac
Does minecraft servers scale well on multi thread CPU?
Minecraft server using way too much CPU
Severe system lag spike when running Minecraft server with more than 1 user?
How do I run a multicraft Minecraft server backup locally on my desktop?
Minecraft – Multiple PlotMe Worlds On One Server
Can't access server when with more than 2 GB of RAM available
Can I run a Minecraft server and play on the same computer? (with my specs, 15+ players)
How do I run multiple Minecraft server instances on a single physical server?
Hot Network Questions more hot questions
Question feed
Subscribe to RSS
Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Stack Exchange Network
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.3.25.38898

Leave a Comment