Kernel Function-level Profiling
Hello All, I am new to MonetDB and would like to profile the MonetDB kernel to find out the functions that are most frequently executed while it runs TPCH. So far, I have tried compiling with "--enable-profile" but it seems that gmon.out files are not generated. Is there a recommend way of doing function level profiling in MonetDB? Thanks, Geoffrey
Hi,
depends how deep you want to go. You can run monetdb with the option
--algorithms to get debuging messages of all functions (functions
"usually" report that they have been called and why they were choosen
-- I say usually because it is debuging messages and are dependent to
the developer). You can also run the stethoscope which will report the
functions called on the server level (MAL functions) but not the deep
down specialized functions of the kernel. Also you can run valgrind
and you have all details right there:)
If you are interested on how many times we do a join, or a select etc,
then the stethescope solution is by far the best. If you are
interested on C level functions then valgrind or --algorithms.
cheers,
lefteris
On Thu, Aug 15, 2013 at 1:59 PM, ajonwa ajonwa
Hello All,
I am new to MonetDB and would like to profile the MonetDB kernel to find out the functions that are most frequently executed while it runs TPCH. So far, I have tried compiling with "--enable-profile" but it seems that gmon.out files are not generated. Is there a recommend way of doing function level profiling in MonetDB?
Thanks, Geoffrey
_______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
participants (2)
-
ajonwa ajonwa
-
Lefteris