pandorabox-io / pandorabox.io

Pandorabox infrastructure code
https://pandorabox.io
31 stars 4 forks source link

Settings tuning #309

Closed thomasrudin closed 5 years ago

thomasrudin commented 5 years ago

Settings tuning, please give feedback for the current settings

Links

Stats:

Since 2019-09-01 19:00 CEST

#    Maximum number of blocks that are simultaneously sent per client.
#    type: int
# 40 = default
max_simultaneous_block_sends_per_client = 1

#    Maximum number of packets sent per send step, if you have a slow connection
#    try reducing it, but don't reduce it to a number below double of targeted
#    client number.
#    type: int
# 1024 = default
max_packets_per_iteration = 4096

# see: https://github.com/pandorabox-io/minetest/commit/af6956e7d2c5fae3151ddf5d769d52b81f9a7270
receive_iterations_per_step = 50

#    From how far blocks are sent to clients, stated in mapblocks (16 nodes).
#    type: int
max_block_send_distance = 5
thomasrudin commented 5 years ago

Since 2019-09-03 19:50 CEST (restart pending)

max_simultaneous_block_sends_per_client = 2
max_packets_per_iteration = 4096
receive_iterations_per_step = 20
max_block_send_distance = 10
thomasrudin commented 5 years ago

Since 2019-09-09 22:00 CEST (restart pending)

max_simultaneous_block_sends_per_client = 10
max_packets_per_iteration = 4096
receive_iterations_per_step = 5
max_block_send_distance = 10
Lejo1 commented 5 years ago

What about the profiler? It should show what functions take very long or are called very/too often.

thomasrudin commented 5 years ago

What about the profiler? It should show what functions take very long or are called very/too often.

Already enabled, just forgot to post it here :)

thomasrudin commented 5 years ago

Since 2019-09-11 12:00 CEST (restart pending)

max_simultaneous_block_sends_per_client = 10
max_packets_per_iteration = 4096
receive_iterations_per_step = 5
max_block_send_distance = 10
dedicated_server_step = 0.2
thomasrudin commented 5 years ago

Since 2019-09-14 17:00 CEST

https://github.com/thomasrudin-mt/mesecons_debug

mesecons_debug_autoflush = false
mesecons_debug_cooldown_steps = 5
mesecons_debug_max_globalstep_time = 250000
mesecons_debug_min_delay_time = 150000
thomasrudin commented 5 years ago

closing this issue: