profiler graph question

Post Reply
User avatar
Element
Member
Posts: 269
Joined: Tue Jun 11, 2013 00:27
IRC: Elementwing4962
In-game: Elementwing4962
Location: New York
Contact:

profiler graph question

by Element » Post

what does the profiler gragh even do are mean
Join Me And My Team - thornfyregaming-mc.noip.me:25565

My Server Is 1.7.9

User avatar
Wuzzy
Member
Posts: 4803
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

by Wuzzy » Post

This is a very good question. I would like to know this, too. Apparently the graphs are made for developers and show how well Minetest performs and how fast it does things. But I don’t know what they exactly mean.

When there is a detailed answer to this question I would like to add this information to the wiki.
Last edited by Wuzzy on Fri Oct 25, 2013 06:42, edited 1 time in total.

User avatar
Element
Member
Posts: 269
Joined: Tue Jun 11, 2013 00:27
IRC: Elementwing4962
In-game: Elementwing4962
Location: New York
Contact:

by Element » Post

when i turn them on, there are four graphs but sometimes there are five but the top one come and goes
and why are they different colors

and for players that havent seen it before, press F5 twice
Join Me And My Team - thornfyregaming-mc.noip.me:25565

My Server Is 1.7.9

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Element wrote:and why are they different colors
Because you can distinguish them easier
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Element
Member
Posts: 269
Joined: Tue Jun 11, 2013 00:27
IRC: Elementwing4962
In-game: Elementwing4962
Location: New York
Contact:

by Element » Post

i thought thats what the colors were for but what do the graphs do and mean
Join Me And My Team - thornfyregaming-mc.noip.me:25565

My Server Is 1.7.9

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Element wrote:i thought thats what the colors were for but what do the graphs do and mean
There is a description above every graph
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

I think what Element means is what does main loop time mean and the such.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
Element
Member
Posts: 269
Joined: Tue Jun 11, 2013 00:27
IRC: Elementwing4962
In-game: Elementwing4962
Location: New York
Contact:

by Element » Post

yea...thats it
Join Me And My Team - thornfyregaming-mc.noip.me:25565

My Server Is 1.7.9

User avatar
celeron55
Administrator
Posts: 533
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Post

num_processed_meshes: The engine generates geometric meshes from MapBlock data for drawing. This is the number of those meshes that finished generating in each frame.

mainloop_sleep: If the game runs at a faster rate than wanted_fps, a sleep is inserted into each frame after drawing in order to not consume excess resources; this is that sleep time in seconds.

mainloop_other: Time spent in each frame for everything else than drawing.

mainloop_dtime: Total time spent per frame (mainloop_other + mainloop_draw + mainloop_sleep); FPS = 1/this averaged.

mainloop_draw: Time spent in each frame for drawing (rendering).

client_received_packets: Number of received high-level protocol packets in each frame.

User avatar
Wuzzy
Member
Posts: 4803
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

by Wuzzy » Post

Thanks!
While this answer is accurate, it is of course way too technical for the community wiki.
I guess this fits better into the dev wiki (but I don’t contribute to it because I’m not a Minetest developer!).

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

by paramat » Post

Thanks for explaining in detail.

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: profiler graph question

by burli » Post

Finally I found this explanation. Maybe someone can add "packets_lost", "rupd_jitter" and "rupd_rtt"?

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: profiler graph question

by azekill_DIABLO » Post

packet lost is self explaining

the other idk
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Tomas Brod
Member
Posts: 34
Joined: Thu Sep 18, 2014 13:57
In-game: Brod
Location: Slovakia
Contact:

Re: profiler graph question

by Tomas Brod » Post

rtt is round trip time. The time for a packet to got from client to server and back, like a ping.
rupd is update (upd) of something (r),
jitter is how much the value jumps around,
packets_lost is how bad is your internet connection.
Important fields are the RTT(ping) and FPS.

User avatar
Wuzzy
Member
Posts: 4803
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: profiler graph question

by Wuzzy » Post

Still waiting for an official explanation of:
  • rudp_rtt
  • rudp_jitter
  • packets_lost
BTW, there's a wiki page which contains what celeron55 posted:
https://dev.minetest.net/Profiler_graph

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests