Page 1 of 1

Extreme Performance issues in Multiplayer [Solved]

PostPosted: Fri Jan 08, 2016 11:07
by Sick-D!!
Hardware:
AMD Athlon X4 860k Black edition (Now: AMD FX 8350 @ 8x 4GHz)
16 GB RAM (Crucial Ballistix Sport @ 1600 Mhz)
Zotac Geforce GTX 760 AMP! (Now: Nvidia Geforce GTX Titan)

Software:
Linux Mint 17.3 Xfce
minetest 0.4.13-dev

I have a heavy performance problem with minetest .. with every update its getting worse :/ .. i have a real Powerful machine so i don't think my hardware is the problem..
in singleplayer i have about 110 to 120 FPS with Full viewing range..everytime and everywhere... but on my server.. i just get about 5 to 20 FPS.. (meanwhile other players with bad machines get 40 FPS with double view range of mine)

in Precise: Singleplayer -> settings on highest -> about 120 FPS (max FPS...when max_FPS off -> 380 FPS)

Multiplayer: settings highest or lowest (doesn't matter)-> 5-20 FPS with several Framedrops down to 1 FPS

opengl 4.5.0 and latest Nvidia drivers...

sadly minetest is nearly unplayable .. :(
Hope someone can help :/

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hello Guys and Girls,

it's been about 2 months now and things have changed.
Minetest runs... even better than ever.

And: Multithreading got better ? Now have a 8 Core CPU and have between 60 and 200 FPS... always and Everywhere :D


Some Little tips for those who have the same issues that i had.

- Using Linux? Try Compiling by yourself .. Runs way better!
- have a weird CPU? Be sure that none Programs run in the Background! (e.g. Browsers)
- Framedrops? They are beause they are.. sometimes the best Hardware cant help...

Other questions? Feel free to ask :)

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 13:33
by Minetestforfun
Think about taking a stable build and look at your FPS :)
(after all, -dev build are often unstable/bugged)

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 14:08
by Sick-D!!
I already tried the stable build... no difference... :(

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 15:09
by benrob0329
Try enabling/disabling shaders, and setting your wanted_fps and max_fps in the settings menu.

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 15:16
by Sick-D!!
Sick-D!! wrote:...Multiplayer: settings highest or lowest (doesn't matter)...


with this i meant the shaders too ...

wanted_fps = 60
max_fps = 120

Fun fact: CPU usage UNDER 10% .... -.- i'm really F**ked up in the moment...

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 15:53
by Don
Have you tried multiplayer on a local network? If single player is fine then it seems like it is a network issue. Testing on local network might tell you whether it is your internet service or the network code in minetest.

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 15:56
by Sick-D!!
i AM connected on my own server via local network..

If i'ts a network issue, why have all players on my server good performance?

(my server is in my bedroom :D)

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 16:32
by Don
Not sure why that would happen. Sorry but I can not help.

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 16:35
by rubenwardy
Sick-D!! wrote:Fun fact: CPU usage UNDER 10% .... -.- i'm really F**ked up in the moment...


Do you have multiple cores? Most of Minetest only runs on one.

This is likely due to the meta data problem, where on busy servers which have eg techic installed you have problems with meshes being rebuilt constantly.

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 16:46
by jp
Nobody seems have noticed an important detail :
Sick-D!! wrote:Full viewing range

This is extremely expensive since the game renders unlimitedly the whole map, whatever are your specs.

So, set a limit to your viewing range if you don't want to burn your hardware.

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 16:51
by Sick-D!!
rubenwardy wrote:
Sick-D!! wrote:Fun fact: CPU usage UNDER 10% .... -.- i'm really F**ked up in the moment...


Do you have multiple cores? Most of Minetest only runs on one.

This is likely due to the meta data problem, where on busy servers which have eg techic installed you have problems with meshes being rebuilt constantly.


Quad core (AMD Athlon X4 860k Black Edition @ 4,2 GHz) .. ALL of my cores are under 10% ...
and... minetest uses every 4 cores?

jp wrote:Nobody seems have noticed an important detail :
Sick-D!! wrote:Full viewing range

This is extremely expensive since the game renders unlimitedly the whole map, whatever are your specs.

So, set a limit to your viewing range if you don't want to burn your hardware.


Full viewing range just in Singleplayer (120 FPS).. in multiplayer i got a viewing range about 35... not more... -.-

Re: Extreme Performance issues in Multiplayer

PostPosted: Fri Jan 08, 2016 16:52
by jp
Full viewing range != Frame per second (FPS)

Re: Extreme Performance issues in Multiplayer

PostPosted: Sat Jan 09, 2016 22:33
by DI3HARD139
AMD CPUs have poor single thread performance which is part of the issue. Add viewing_range_nodes_min = 65 and
viewing_range_nodes_max = 65 to your minetest.conf file and change the wanted_fps = 60 to 120 and max_fps = 120 to 300. Disable Clouds and fog unless u want it. Add client_mapblock_limit = -1 if your system can handle it. Also add media_fetch_threads = 4. Do you use a texture pack? Full-Range use on multiplayer servers is known to cause massive FPS drops.

Re: Extreme Performance issues in Multiplayer

PostPosted: Mon Jan 11, 2016 07:21
by Sick-D!!
DI3HARD139 wrote:AMD CPUs have poor single thread performance which is part of the issue. Add viewing_range_nodes_min = 65 and
viewing_range_nodes_max = 65 to your minetest.conf file and change the wanted_fps = 60 to 120 and max_fps = 120 to 300. Disable Clouds and fog unless u want it. Add client_mapblock_limit = -1 if your system can handle it. Also add media_fetch_threads = 4. Do you use a texture pack? Full-Range use on multiplayer servers is known to cause massive FPS drops.


Thanks, you just helped a lot! :D full_viewing_range in Multiplayer is really a problem... but i just updated my server .. that was the main problem... :)


Just overclocked my CPU now 4,7 GHz .. it's way better.. 60 to 155 FPS .. but thos framedrops are not better... every 4 seconds my FPS drop down to 4 FPS ...

Viewing Range 65??? i don't live in London :D
oi fixed my viewing range to 120 in Multiplayer and to 250 in singleplayer :D ..



Another Fun Fact: i just use a 256 px texture pack... now my performance is better xD

PS: is it possible to optimize the Engine that i could use the power of my GPU??? that would be f**cking awesome :D

Re: Extreme Performance issues in Multiplayer [Partly Solved

PostPosted: Tue Jan 12, 2016 21:25
by DI3HARD139
@Sick-D!! I agree it would be awesome. GPU has been begging to be used. I hear that Irrlicht has been working on implementing multi-threaded support which would help a ton for those who have Multi-Core systems.

Re: Extreme Performance issues in Multiplayer [Solved]

PostPosted: Thu Mar 17, 2016 06:47
by Sick-D!!
Updated my First Post :)
Check out if someone has the same issues ;)

Greetings ;)

Re: Extreme Performance issues in Multiplayer [Solved]

PostPosted: Fri Mar 18, 2016 05:27
by est31
Multi-threaded support for irrlicht? Where have you heard of that? If its true it would be great but I doubt it is.