new (?) performance profiling tool #6297
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#6297
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
i swear someone sent me a flame graph before, but i've apparently never used this tool myself:
https://content.minetest.net/packages/jwmhjwmh/jitprofiler/
i'm currently using it locally to try to analyze the performance of spawnit and other things.
Oh, I liked to use it years before for analyzing
perf record
dumps, but somehow it got broken when I tried it again recently :/I think format changed? I should try it again maybe.
But if it works for luajit, then it's good too - those visuals are nice :)
IIRC those are svg files and they have labels with full function names, etc. Maybe even interactive?
I tried it as well on testserver, but when I used it on main, it somehow killed the server. There is a warning on the repo that mesecon might have unforeseen consequences, maybe that's what happened?
hm. it might be that the jit profiler crashes when there's a
pcall
? that unfortunately makes this totally useless, as i wanted to run it on main, but we can't disable luacontrollers or there'd be a riot.that doesn't seem to be it, the following runs just fine locally:
do we have a stack trace? error? any clue about how it crashed?
I don't remember exactly, but I believe the server just stopped responding and I had to restart it. There was no stacktrace nor any logging, even the output file was malformed.
We could try to recreate the experiment on the testserver, as far as I remember it happened there as well, but the crash took longer to surface
when i was running this tool locally, my server once stopped responding when i executed the "stop profiling" command. it certainly can cause hangs, i've got no ideas on why though.
this could probably be closed as "maybe" until the hang issue is better understood
Let's not close but investigate in this issue why the hangs happen. It's a useful tool and the whole of MT could profit if we find the cause.
simple luac scripts are apparently not enough to trigger the bug (if it's even the luacs)
also, while i don't think the mod is the issue (probably it's either luajit itself or some way that minetest is using it), the developer of the mod is dead.