@IonicEcko I was what I read fixed the issue for someone else, and in my own personal case it would apply, from the CPU utilisation I've seen seems like this PC I'm using to host is too old and under powered to host keeping in mind it is and old office pc.
Also I've seen the core usage as of recently it seems to spike in sequence across cores, I'm convinced that in my case a 6 core ryzen will fix my issue probably due to the PC I'm currently using to host might be having power supply issue therefore causing issue.
Single threaded preformace is mainly relevant to java Minecraft.
The PC I'm using is a HP elite 8200, so as you can see it's probably not ideal for the use.
I tired it not dice it's about the same, results in preformace, I'm waiting for the major optimisation update to happen, and I agree it's server side not client, it seems that the the server might be incompatible with hyper threading, or not working correctly with it.
@Jakob Knigga it's an issue with the code, and the server software, it seem that there is most likely and from what I've read the most immediate fix is to upgrade to a 6 core ryzen processor, inorder for it to be stable performance wise.
Do you have any world's worlds save on the device?
I'd try re installing the game, if that doesn't fix it try deleting the save data for the game you have to go to the storage settings then save date section and delete Minecraft save data.
Or you could try rebooting the server incase it's just bugging out also check to make sure the server is the latest version.
Make sure your router or modem or modem/router had the latest firmware just incase it's a bug in that preventing a connection.
I think I might have had the same issue once.
Also what router or modem are you using by any chance if you don't mind me asking?
You are very much welcome, I'm happy to hear, I'm still myself not happy there is not native method to join servers that are hosted with the dedicated tool as if they were realms.
I'm lucky here in Australia we have been shelter form it for the most part.
Hi Uwe
i fee your pain with realms im one of the people who desperately wants it to be able to native join since i host a server myself,
here is the link:
Software:
https://github.com/Pugmatt/BedrockConnect
Tutorial Video:
https://www.youtube.com/watch?v=zalT_oR1nPM
Basically set the primary dns on switch to his the one in the link, and the seconday to google 8.8.8.8 or open dns or cloudflare 1.1.1.1, when when you go to featured servers it will show a 0 out of 10 join one of them then it should bring up a menu to allow for adding a custom server similar to the one when you join from your phone, add the details then bam your in, if you need anymore help, just add me discord VexiraViolet#5747.
hi uwe
bedrock connect lets you join servers, from switch to servers, ive used it with my switch.
the official response i got was its up to console manufacturers to implement native joining, but my suspicions is that they wanted to push realms first instead of implementing native join as if the dedicated server was a realm.
I also want native joining to server from switch.
Hey Uwe just use bedrock connect or nxminens it should allow you to join , i use the dns redirect in pi hole to connect to my server.
what device are you using and what is the server specs?
IonicEcko i can upload the world to media fire if you want or if you have preference i can upload to google drive, after ive been testing im starting to believe that the issue is with the cpu not being capable of hosting a world with that may mobs, from what i can see is that hyper threading is most likely not helping preformance that much.
@Pablo im running vanilla no mods because bedrock has none available, only custom servers do.
I found the issue the client might be multi threaded, and the server should be the one to handle the majority of the leg work to reduce client performance issues, at in the server should handle the bulk of calculations for ai etc, the server is not exactly multithreaded I now can confirm its more single threaded or its possibly bugged which would make sens+e.+
I was watching an osd tool of sorts and noticed that one core at a time will be pegged at 50% utilisation then it will cycle and alternate cores the core that is spiking, from my understanding of multithreading the load would distribute across all cores and not peg one at 50% at a time, across 4 cores.
unless what im seeing is a bug I can upload the picture I took and the world if need be, also the other issue I noticed is that when someone joins the world the cpu utilization will spike upwards of 60-90%, then it will settle shortly after ive been watching task manger.
This has me leaning towards a possible problem with hyperthreading and the server tool, which has me thinking that a cpu with more physical cores would be ideal especially under load.
Aslo what is with the secondary ports do I need to forward them as well.
Im hoping we will have a gui based tool soon with upnp support since the client has it and the option to set an automatic reboot and back up, since I've found my self rebooting the server to fix the bug where players get suck in walls and drown, and also that future updates will let the server handle the majority of processing allowing lower end clients such as nintendo switch and mobile phones to be able to connect with less performance issues.
I was under the assumption, that the server should be taking the brunt of the loading of chunk generation, and handling the AI, therefore alleviating the load on client devices, such as Nintendo switch, and some older android and apple phones, which would struggle greatly, im hoping that in future updates they an offload most of the processing to the server rather than to the clients, and that it will be able to take advantage of newer processors.
im just wondering if the issue is my current CPU and hyper threading causing the lower prefomance under pressure.
Another question what exactly is the secondary set of ports In the command line for, aside form the default ports, because with DNS redirector and using a port other than default I got my switch to see the server as a LAN server I'm hoping for upnp support in the future like the client has to make set up easier, especially due to the secondary ports changing when the default port is used, and when a non default port is used the default ports will become the secondary. I'm wondering if opening them would help with clients joining?
Strangely i was talking to someone on the discord in technical feedback, about the server who was telling me the sever only sits on one core, of the CPU, that aid its still single threaded and the AI is hitting that one thread but from my understanding is the client software is multi threaded, but not so much the server which i understand is till in alpha, so my other question is how does the server scale across multiple cores as in more than 4 of them, im considering hardware upgrade maybe sometime later this year, and im wondering it it might help especially when i have more friends join the server.
also i will upload a copy soon as i have the chance to.
ive found that my switch suffers from im assuming is a frame drop, but is more like stutter thought, i did see a spike in disk usage on the SSD, the CPU utilization remains low as well as the ram utilization, all i can see its using 400-500 mb of ram and barely any CPU.
i was assuming that most of the heavy lifting should be done by the server itself, therefore any issues should be more server side vs client, unless the issue im facing is related to hyper threading.
ill test host it on my main pc, my friend who has the worst latency or issues on pc is running the same CPU i7 3770 as the server the other friend is using an iPhone 6, so im guessing the cpu is under the requirement for a server and a ryzen 6 core possibly would have better results especially with more AI in a farm and red stone machines in future?
But my other most question how does the server render distance work and ticks, in regards to cpu and memory usage since after increasing server render distance to 96, my friend noted better prefomance overall when he joined from pc.
Extremely low CPU usage, especially in the most areas where the performance drops the most, i would most expect CPU usage to spike across all cores, in general even the ram utilization in resource manger is quite low lower than i would expect which doesn't make logical sense.
unless its an issue with the hardware as in the power supply is not enough or i need a better motherboard which i would accept as a possible issue considering that im using a hp Compaq elite 8300 SFF
I'm starting to believe that the server soft were needs multi core multi threading support, in order to resolve, performance issues like the one im facing especially with mobs, form my understanding and research its like the mobs, ticks and chunk generation should be spread across multiple cores and threads, that way it would eventually be possible to have an infinite loop railway system where the cart could circle a track with out a player present.
im currently looking at a 6 core Ryzen CPU to see if that solves the latency issue but im considering that it might be a waste if the server is unbale to utilize the available and threads.
what im seeing is major slow downs as in the frame rate drops to im going to estmate form 10-3 frames making it a near slideshow, and the item pick up for example there is a delay when picking up eggs, or opening chests or menus like inventory.
from what my understanding is the game seems to only run off of one core just like java, which to me is quite archaic I hope they mange to get the server to scale across multiple cores considering that multi core cpus are becoming the standard,
in regards to console joining, they could make custom servers function like realms where as there is an invite code issued and used to allow people to join, that could bypass platform restrictions.
the other thing that bugs me is the lack of a gui based tool, where id be able to set up automatic updates and back ups and reboots much like the Linux based script I used when I tested the ubuntu version of server as part of troubleshooting, id love to have upnp support just like the game client has for the server it would simply everything for me and some others especially when using Linux, or windows, I have the tendency to reset my router to factory every few updates, to keep it running well, and I have a tendency to forget to re ad port forwarding every time.
I found the same issue with performance issues on Linux also ive tested a few distros and had the same results
performance wise in the same areas, ive been see low resource usage on ram and cpu, so it seems to me that there is more of a restriction in the server software it self on how much memory it can use.
im hoping the do update it to utilize available CPU cores in future updates, since im planning to upgrade the system to either a 6 or 8 core system in future,
the big issue for me is that the issue is that sever some of my friends have problems joining especially because the sapwn is in the worst affected area, I know from a friend on iphone6 she cant join, one of my friends on pc gets hit hard when he goes to the farm or the basement of my mountain house, the house is near spawn so is the farm my gf cant even move because of how sever it is.
If you read the CPU he said he's using is the generation before mine a 2000 series CPU so the upgrade would make logical sense in that case, a ryzen is no viable than an Intel CPU due to the amount of mitigations in place due to all the vulnerable of there architecture, all I made is a suggestion, if the other user decided to follow it it's up to them, I've been reading here about another user with similar issue who went that route and it resolved not for them I've personally been planning to do it myself, since I've already helped a friend upgrade form an FX series CPU to ryzen 6 core, I'm just waiting for a sale again on the CPU motherboard and ram bundles, it was actually quite reasonable in price the last few times.
Actually considering that the moden consoles are all using amd based hardware single core preformace becomes less relevant since most computing is shifting into he direction of multi core scaling, and better utilisation of multi core CPUs, single core preformace might be relevant in the current state of the software but as time progresses it will become even less relevant since Intel is shifting towards a multi core CPU approach.
The fact that you keep stating that the software is infact Multi threaded which I have seen upon further analysis proves that the issue is less about single core preformace and more to do with IPC or instructions per clock especially when it comes to mobs and other ai such as villagers, even down to chunk loading.
Whilst I do understand the need to strong single core preformace, IPC is more important.
I also so wish there was a better system requirements guide to help people decide on budget for a server and to be able to better understand what they need to get hardware wise to run the amount of players that they wish to host for like a recommended hardware guide since when I was reading about Java the recommendation for CPUs was a I7 4770 or better.