Speeding up mapgen?

User avatar
Tedypig
Member
 
Posts: 284
Joined: Tue Mar 05, 2013 12:33
IRC: Piggybear87
In-game: Piggybear

Speeding up mapgen?

by Tedypig » Mon Jun 09, 2014 19:27

Is there a way to (without buying a faster machine)? I keep running into non-loaded chunks, and it's sort of annoying. If there's no way to fix it, then OK, but if there is, please tell me.
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

Re: Speeding up mapgen?

by Jordach » Mon Jun 09, 2014 20:37

Tedypig wrote:Is there a way to (without buying a faster machine)? I keep running into non-loaded chunks, and it's sort of annoying. If there's no way to fix it, then OK, but if there is, please tell me.

My original fix was to start a localhost server and then connect to that with a client, as two threads are better than one.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

Re: Speeding up mapgen?

by PilzAdam » Mon Jun 09, 2014 21:55

Jordach wrote:
Tedypig wrote:Is there a way to (without buying a faster machine)? I keep running into non-loaded chunks, and it's sort of annoying. If there's no way to fix it, then OK, but if there is, please tell me.

My original fix was to start a localhost server and then connect to that with a client, as two threads are better than one.

Eh, what? Server and client run in different threads in singleplayer, see http://dev.minetest.net/Engine_structure#Threads
 

Hiradur
Member
 
Posts: 26
Joined: Sat Feb 22, 2014 17:44

Re: Speeding up mapgen?

by Hiradur » Wed Jun 11, 2014 16:02

I consider my computer to be powerful (i5 4570) but I often experience slow chunk loading, too. Guess it is an optimization problem.
 

User avatar
GingerHunter797
Member
 
Posts: 144
Joined: Sun Oct 13, 2013 15:36
In-game: GingerHunter797

Re: Speeding up mapgen?

by GingerHunter797 » Thu Jun 12, 2014 02:40

Hiradur wrote:I consider my computer to be powerful (i5 4570) but I often experience slow chunk loading, too. Guess it is an optimization problem.


I have a shitty AMD dual core 1.0 GHz processor and have never once experienced slow chunk loading. Well, except for that one time when I was using Windows 7...
http://i.imgur.com/gqXXUaI.png

3DS Friend Code: 2122-7173-2797
Add me as a friend! :D

Want to play a fun game? http://voxelands.com/
 

Hiradur
Member
 
Posts: 26
Joined: Sat Feb 22, 2014 17:44

Re: Speeding up mapgen?

by Hiradur » Thu Jun 12, 2014 13:25

I experienced it on all systems I tried Minetest on, both Linux and Windows. Minecraft also suffers from this problem although not as frequently.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Speeding up mapgen?

by TenPlus1 » Thu Jun 12, 2014 15:13

Add these lines to your minetest.conf file and that should help server speed when loading the map:

disable_fire = true
pause_fps_max = 15
disable_anticheat = true
max_simultaneous_block_sends_per_client = 10
max_simultaneous_block_sends_server_total = 200
active_block_range = 1
dedicated_server_step = 0.1
sqlite_synchronous = 0
default_privs = interact, shout
max_clearobjects_extra_loaded_blocks = 16384
max_block_send_distance = 2
max_block_generate_distance = 3
time_send_interval = 3500
viewing_range_nodes_max = 100
client_unload_unused_data_timeout = 300
server_unload_unused_data_timeout = 28
server_map_save_interval = 90
cache_block_before_spawn = true
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Speeding up mapgen?

by Krock » Fri Jun 13, 2014 11:50

Reasons for slow mapgen:
- "max_block_send_distance" too low and you move too fast
- slow CPU + GPU
- slow SSD/SD-card
- a very CPU intensive lua mapgen (where generatin times can end up at > 1 minute per map block)

How to fix:
- increase "max_block_send_distance" in minetest.conf
- nothing
- use HDD
- use mgv6 (maybe with mg_flags = flat)
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

proller
Member
 
Posts: 185
Joined: Sat Jan 26, 2013 15:22

Re: Speeding up mapgen?

by proller » Fri Jun 13, 2014 16:37

Or use freeminer
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: Speeding up mapgen?

by sfan5 » Fri Jun 13, 2014 16:42

TenPlus1 wrote:Add these lines to your minetest.conf file and that should help server speed when loading the map:

disable_fire = true
pause_fps_max = 15
disable_anticheat = true
max_simultaneous_block_sends_per_client = 10
max_simultaneous_block_sends_server_total = 200
active_block_range = 1
dedicated_server_step = 0.1
sqlite_synchronous = 0
default_privs = interact, shout
max_clearobjects_extra_loaded_blocks = 16384
max_block_send_distance = 2
max_block_generate_distance = 3
time_send_interval = 3500
viewing_range_nodes_max = 100
client_unload_unused_data_timeout = 300
server_unload_unused_data_timeout = 28
server_map_save_interval = 90
cache_block_before_spawn = true

I corrected the chart:
does it help? | setting
no | disable_fire = true
no | pause_fps_max = 15
no | disable_anticheat = true
maybe | max_simultaneous_block_sends_per_client = 10
maybe | max_simultaneous_block_sends_server_total = 200
no | active_block_range = 1
no | dedicated_server_step = 0.1
maybe | sqlite_synchronous = 0
no | default_privs = interact, shout
no | max_clearobjects_extra_loaded_blocks = 16384
maybe | max_block_send_distance = 2
maybe | max_block_generate_distance = 3
maybe | time_send_interval = 3500
no | viewing_range_nodes_max = 100
no | client_unload_unused_data_timeout = 300
no | server_unload_unused_data_timeout = 28
no | server_map_save_interval = 90
maybe | cache_block_before_spawn = true
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 


Return to Minetest General

Who is online

Users browsing this forum: Bing [Bot] and 12 guests

cron