[BDS-11648] Optimise Servers Created: 12/Feb/21 Updated: 25/Nov/21 Resolved: 25/Nov/21 |
|
| Status: | Resolved |
| Project: | Bedrock Dedicated Server |
| Affects Version/s: | 1.16.200, 1.16.201.03 Hotfix, 1.16.210 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ultr4Anubis | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 2 |
| Labels: | None | ||
| Environment: |
Server host - intel i9-9000K, 10GB DDR4 memory |
||
| Confirmation Status: | Unconfirmed |
| Description |
|
Dear Mojang, Please can you optimise bedrock dedicated server? I use a server host which gives me the equivalent of i9k processor and 10gb of ram. Yet when there is more than 7 people on, it struggles to keep up. My server has gotten really popular recently and hope that this gets resolved. For example, there is about a 5 second delay in between each tick when there isn’t supposed to be any. It has become incredibly difficult to work and play on it since the lag levels just keep creeping up. I know for a fact that I am not the only one who will agree. Entities are moving at an extremely slow place, players are jolting across the map. This needs to be fixed ASAP! Regards |
| Comments |
| Comment by [MCQA] Kinga Izdebska [ 25/Nov/21 ] |
|
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem. Quick Links: |
| Comment by [MCQA] Kinga Izdebska [ 25/Aug/21 ] |
|
Thank you for your report! Is this still an issue in the latest version (1.17.11)? If so, can you please add it to the affected versions (or mention it if you are not the reporter). This ticket will automatically reopen when you reply. Quick Links: |
| Comment by Derrick Walton [ 22/Feb/21 ] |
|
This is interesting, I am running a home server on UB20 and have done some minimal tuning with systemd to gain huge performance boosts out of my server. Here is what I have done:
I also noticed a mild hit when wrapping the running instance in screen, so I just connect the bin to a tty and use systemd to launch and configure the service. I can drop my service file if interested.
With the setup I experience almost no mob lag, but do experience a little block lag when there is a large amount of mining in the nether, or a large amount of chunk generation within the overworld. Minecarts seems to function fine, but I need to experiment more to decide if they are slow. My box is running an i7-10700k w/hyper-threading enabled (8-core, 16-thread)
Edit: I agree with the assessment that the way threading is implemented it is problematic with linux hosts.
Also: I'm running the 5.4.0-65-generic kernel. and using the SLUB allocator (default I believe) |
| Comment by brian c [ 17/Feb/21 ] |
|
Here are some notes I did for troubleshooting. I think the performance issue comes down to how BDS implemented threading on linux. I made some progress getting the most out of it, and still need to do some profiling to see if there's much to do...but at a quick glance, it seems that the threading implementation works poorly under linux, and it works best with a max of 2 threads. |