Dynmap

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Robert Dalton

New Member
Jul 29, 2019
21
0
1
What is the best way to configure Dynmap on a mindcrack ftb server without causing a huge strain on the server or decreasing the TPS?

We installed it plug and play and it caused huge block lag etc..?

Anyone know?
 

zekesonxx

New Member
Jul 29, 2019
28
0
0
Dynmap has to constantly render the map. It's going to lag whether you like it or not.

A better way would be to occasionally download the map and render it manually on a home computer, then upload the rendered images to the server to display instead of having it live.
 

ronan75

New Member
Jul 29, 2019
63
0
0
Yeah it's really intense on the server. You could disable all worlds but the main world and set the render rate low. But it will still cause lag.
 

zekesonxx

New Member
Jul 29, 2019
28
0
0
Imagine what it takes to render Far on Fast on your Minecraft client. Now use a 4x4 texture pack.

Now render a entire Minecraft world, on the same computer as the server.

That's what kinda stress Dynmap puts on servers.
 

Xaviorm

New Member
Jul 29, 2019
23
0
0
Do not use the 1.4 version of it. It will slow your server to a crawl. the 1.5 alpha is much much better. Also have a multi cpu machine.
 

vince959

New Member
Jul 29, 2019
127
0
0
Dynmap has to constantly render the map. It's going to lag whether you like it or not.

A better way would be to occasionally download the map and render it manually on a home computer, then upload the rendered images to the server to display instead of having it live.
What zekesonxx said is probably the best. I do the same for my server.
 

Jeff Fisher

New Member
Jul 29, 2019
316
0
0
What zekesonxx said is probably the best. I do the same for my server.

That sounds like a good idea care to go into more detail on how you do this? arnt the dynamap map files a bunch of tiny tiles? how do you get them to upload and display the whole amp without having the mod active to piece them together.
 

Xaviorm

New Member
Jul 29, 2019
23
0
0
What is called lag is relative and what you are complaining about is exactly why it doesn't work well. If you just want a map of your world then yes render on another machine and move it and on a large world expect that transfer to take literally hours and hours. After that you could setup a cronned rsync to move the files on low volume times. It isn't that hard to do. This also could take hours because of the ridiculous amount of files that are used for the map. Do not expect to have a lot of features that this dynamic map adds like logins and chat etc. Also expect people constantly complain about the map not being updated.

This mod adds load to your server. Not necessarily lag. I have been running the 1.5 version since it came out with very little load impact to the server. Even doing a 3+ day full render was not really a problem with only minor spikes of impact to tps. The 1.4 version absolutely crushed the same server and had to be removed.
 

zekesonxx

New Member
Jul 29, 2019
28
0
0
Look at what servers have and don't have Dynmap. Now look at how popular they are, and how many users they have on at any one time.

There is a reason there is a pattern to that.
 

ronan75

New Member
Jul 29, 2019
63
0
0
I think I finally found a nice balance. I'm using Direwolf20 5.1.1 & Dynmap 1.5 (the dev build). Here are some of the settings I changed that I remember. We usually have 10-15 people on at a time and the lag is only noticeable when multiple people are exploring, but it's not unbearable. I also run full renders at night when less people are on.

# How often a tile gets rendered (in seconds).
renderinterval: 3

# How many tiles on update queue before accelerate render interval
renderacceleratethreshold: 60

# How often to render tiles when backlog is above renderacceleratethreshold
renderaccelerateinterval: 0.2

# How many update tiles to work on at once (if not defined, default is 1/2 the number of cores)
tiles-rendered-at-once: 1
# Progress report interval for fullrender/radiusrender, in tiles. Must be 100 or greater
progressloginterval: 100
# Maximum chunk loads per server tick (1/20th of a second) - reducing this below 90 will impact render performance, but also will reduce server thread load
maxchunkspertick: 100
 

Zexmaxwell001

New Member
Jul 29, 2019
92
0
0
You can turn off the maps for surface and cave as well. most of the time people just use the flat map. removing those maps will lessen the load on your server.