[BDS-748] HUGE performance issues on good dedicated server Created: 04/Apr/19  Updated: 16/Dec/20  Resolved: 30/Mar/20

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.9.0.15
Fix Version/s: None

Type: Bug
Reporter: clarkx86 Assignee: Unassigned
Resolution: Duplicate Votes: 3
Labels: awaiting-response
Environment:

Intel Xeon Gold 6140 4x dedicated cores

16GB

60GB SSD

 

BDS 1.10.0.7


Attachments: JPEG File WhatsApp Image 2019-04-04 at 22.50.48.jpeg     PNG File image-2020-03-09-20-12-07-669.png     Text File server.properties    
Issue Links:
Duplicate
duplicates BDS-2574 1.14+ Linux Performance Degradation Resolved

 Description   

This issue concerns 1.10.0.7, but it is not listed somehoh.

 

I'm hosting BDS on a rented dedicated server on Ubuntu 18.04.2 minimal server.

These are my specs:

CPU: Intel Xeon Gold 6140 4x dedicated cores

RAM: 16GB

60GB SSD

 

We have a decent community, so there are 6 players online on average daily.

All runs smooth and fine if 2-3 players are online simultaniously, but as soon as 5 players are online at the same time the game is unplayable for everyone until people disconnect again (so it doesn't get better over time). So playing with even 5 people is a nightmare.

We thought maybe traveling through the nether or being apart a lot of chunks may be the problem, but we couldn't really figure it out. Even being in the same chunk causes insane lags.

I have nothing except the system and BDS installed, so the installation is as raw as it gets.

 

The attached image is a screenshot of when 4 players where online at the same time, and the game was purely unplayable.

But as you can see the average system load is only at 1.73% and just 1GB out of 16GB RAM is being used.

Also, it doesn't seem to make any difference what I set in the server.properties for max-threads. We've run the server for weeks on the default setting (8 Threads) and for another couple of weeks on "0" (which as it says should make BDS try to use all available threads). It doesn't seem to make any difference. As you can see in the image, pretty much all of the time just only one core out of 4 is being used.

Most of the time it's 1 Core at 100%, all other cores at almost 0%.

 

I also attached my current server.properties file.

 

We are german players and the server is also in germany, so it shoudn't be a problem. The server host is also very good with decent hardware and I had no troubles running other server software on servers by this host (netcup.de).

 

  Is my hardware not sufficient? I mean, it must be enough. It's a Minecraft server.
Or is the server software just insanely unoptimized so it doesn't use all the threads it could use. 



 Comments   
Comment by Jim [ 16/Dec/20 ]

@Toba da'Great and @Jordon Moss - I am trying to migrate from Windows to a Ubuntu server instance and I am finding that performance is pretty poor on my linux test (12 Cores 8 GB RAM).

Are you both suggesting that BDS performance on linux vs windows on the same hardware is drastically different?

Comment by Jordon Moss [ 07/Sep/20 ]

Performance is still pretty terrible on Linux. Much worse than Windows, even.

Comment by IonicEcko [ 30/Mar/20 ]

Thank you everyone for the contributions and continued information.

Given that the OP is no longer using BDS and can no longer speak to their original issue I'm going to roll this one into BDS-2574 which has been raised to address the major performance regression seen in the 1.14 releases when running on a linux installation.

I realise this one is older, however the newer ticket has already been raised internally with Mojang and has a tracking number associated.

If you would like to add a vote and any extra information to the main ticket it would be appreciated. Any information you think is missing from the summary please let me know in a comment.

Ionic

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 BDS Wiki – 📖 FAQs

Comment by clarkx86 [ 11/Mar/20 ]

@Patch885959 We switched back to a 2-Player Realm instead of a dedicated server so I can't really say if it is still an issue to be honest :-/...

Comment by Toba da'Great [ 11/Mar/20 ]

@IonicEcko This is definitely still an issue. I can't speak for OP. I have been running it as a second processor on my Windows desktop because the performance night and day different to Ubuntu. I have also tried updating to the latest kernel for 18.04 just to be sure.

@Antoly Sokolov It only partially supports Multi-core. From what I have read, chunk loading uses multiple processes. I have also seen multiple threads created when I enable tickingarea, but I don't watch it close enough.

Comment by Anatoly Sokolov [ 09/Mar/20 ]

If only there was a chance to run multicore!

Comment by IonicEcko [ 10/Feb/20 ]

Hi all,

Is this still an issue. I regularly have a large number of players on my server and haven't noticed any issues.

Ionic

Comment by Jordon Moss [ 02/May/19 ]

I'm getting horrible performance as well.

Comment by clarkx86 [ 24/Apr/19 ]

BDS does have an option for "threads" in the server.properties, so it should support multi-threading on paper.

Comment by moggg [ 24/Apr/19 ]

it seems bds server doesn't support multiCore?

Comment by David Everly [ 08/Apr/19 ]

We are having the same issue. We implemented a despawn mechanic to reduce mob count. As soon as our player limit reaches around 9 or ten we can't even walk around.

 

 

Generated at Sat Jan 11 07:15:13 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.