Hey all, first post here. I have been looking around for like 2 days now and cant really find what im looking for.
I have a clean install of mineos (mineos-node_jessie-x64 downloaded from the site yesterday) and installed it into virtualbox on a freenas (freebsd) system. The mineos is running nicely and works fine. I created a Forge mod server and added a few mods. it loads up ok. after its loaded, CPU usage drops to a respectable idle if like 0.05 something. When just 1 client connects there are a few processes that start doing there thing but one process is always around 80-90%. that process does switch cores sometimes but is always around that 80-90% and sometimes more to 100% and then the server starts lagspikes and i get the message “server cant keep up…”. Also when other players start to join (total of 2 a 3 players online) that same process just locks at 100% and the lags get worse…
is there a way to force it to spread out over multiple cores? at the moment i have no additional arguments for java or the jar.
I think the answer to your question is that it is java and operating system dependant. So googling your java installation and how to tweak it to use several cores.
By the way, it has been mentioned that minecraft was by default due to java created as a single core/thread program and is best used in a single core.
I do set my VM’s to use 2 of the servers 8 available cores with ok results and I try to avoid allocating ‘too much ram’ to such a ram glutton as java, lol.
You will not get rid of the “server cant keep up…” warnings but they should slow down some.
I installed it and now have like 6 people online and its still the same. That one core is being used most but apart from that process, other processes do use other cores… i dont know if its a mod that is using so much or that its the main process… thy are all called the same…
But it didnt matter much if one player was online or more… maybe i should just leave it and deal with lag when people are exploring…because thats when the lag happens most
The server will have to generate terrain and spawn mobs (animals, villagers etc.) for each player as they move. All adding to load, plus if you use mods/ texture packs that also adds to that load for each player.