Difference between revisions of "Profiler"
Jump to navigation
Jump to search
(Created page with "=== Profiler === is an build in mod, activated via "profiler.load = true" in minetest.conf file usage "/profiler save" by an server admin getting out a text file "profiler d...") |
(→Author) |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=== Profiler === | === Profiler === | ||
− | is | + | Profiler is a built in mod, activated via "profiler.load = true" in minetest.conf file. |
− | + | Usage: "/profiler save" by a server admin. | |
− | + | This makes a text file "profiler date-time.txt" to check out. | |
The file I (Thailand) got, is from 11.09.2019 | The file I (Thailand) got, is from 11.09.2019 | ||
− | + | The file contains summary and single part from all activated mods and may help to target [[lag]] source. | |
=== example === | === example === | ||
Line 15: | Line 15: | ||
- on_joinplayer[1] .................................. | - on_joinplayer[1] .................................. | ||
− | with numbers for | + | with numbers for |
+ | * min µs | ||
+ | * max µs (leads to peaks, used for rank peaks) | ||
+ | * avg µs (lead to avg lag, used for rank B) | ||
+ | * min % | ||
+ | * max % | ||
+ | * avg % (lead to avg lag, used for rank A) | ||
+ | |||
* avg : mean time making work for cpu | * avg : mean time making work for cpu | ||
* peak : short but heavy usage, maybe feel lag | * peak : short but heavy usage, maybe feel lag | ||
Line 21: | Line 28: | ||
=== results === | === results === | ||
− | + | * [[Profiler-23102019|Profiler 23.10.2019]] | |
− | * | + | * [[Profiler-11092019|Profiler 11.09.2019]] |
− | * | ||
− | |||
− | |||
− | |||
− | |||
=== summary === | === summary === | ||
The most avg work, mean all time through the server is on is made by mods: | The most avg work, mean all time through the server is on is made by mods: | ||
− | * advtrains ( | + | * '''[[advtrains]]''' (32 %) |
− | * + | + | * and + [[messecons]] (13 %), mean sum cpu for 2 mods 45% |
− | + | * + [[pipeworks]] (10 %) = sum top 4 with 55% | |
− | + | * + [[technic]] ( 9 %) = sum top 4 with 65% | |
− | |||
− | |||
− | * pipeworks | ||
− | |||
− | * technic | ||
− | |||
+ | check the peaks out of result pages ... | ||
=== conclusion === | === conclusion === | ||
− | There are main just 3 mods there behaviour have to be checks / reduces to get lag down. | + | There are main just 3 mods there behaviour have to be checks / reduces to get [[lag]] down. |
− | * advtrains, with then also japan train | + | * [[advtrains]], with then also japan train |
− | * | + | * [[messecons]] |
− | * pipeworks | + | * [[pipeworks]] |
all others are minor effect to server. | all others are minor effect to server. | ||
+ | === Author === | ||
+ | |||
+ | [[Thailand]], known as Festus1965 in Forum, and Thomas or Explorer on most other servers. | ||
+ | * I played around with profiler since at least 2 years and successful reduced [[lag]] on my server basing on profiler results. | ||
+ | * There is a change possible in [[pipeworks]] reducing that mod about 50% of its impact. | ||
+ | * At advtrains I have no glue, as I dont use it, as I know its impact on servers, or pick up all the not used trains of not ready lines. | ||
− | |||
− | + | [[Category:Server]] | |
− |
Latest revision as of 09:27, 27 October 2019
Profiler
Profiler is a built in mod, activated via "profiler.load = true" in minetest.conf file.
Usage: "/profiler save" by a server admin. This makes a text file "profiler date-time.txt" to check out.
The file I (Thailand) got, is from 11.09.2019
The file contains summary and single part from all activated mods and may help to target lag source.
example
more_chests: - on_joinplayer[1] ..................................
with numbers for
- min µs
- max µs (leads to peaks, used for rank peaks)
- avg µs (lead to avg lag, used for rank B)
- min %
- max %
- avg % (lead to avg lag, used for rank A)
- avg : mean time making work for cpu
- peak : short but heavy usage, maybe feel lag
results
summary
The most avg work, mean all time through the server is on is made by mods:
- advtrains (32 %)
- and + messecons (13 %), mean sum cpu for 2 mods 45%
- + pipeworks (10 %) = sum top 4 with 55%
- + technic ( 9 %) = sum top 4 with 65%
check the peaks out of result pages ...
conclusion
There are main just 3 mods there behaviour have to be checks / reduces to get lag down.
all others are minor effect to server.
Author
Thailand, known as Festus1965 in Forum, and Thomas or Explorer on most other servers.
- I played around with profiler since at least 2 years and successful reduced lag on my server basing on profiler results.
- There is a change possible in pipeworks reducing that mod about 50% of its impact.
- At advtrains I have no glue, as I dont use it, as I know its impact on servers, or pick up all the not used trains of not ready lines.