Kernel Function-level Profiling

Lefteris lsidir at
Thu Aug 15 14:49:07 CEST 2013


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.



On Thu, Aug 15, 2013 at 1:59 PM, ajonwa ajonwa <ajonwa at> wrote:
> 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 at

More information about the developers-list mailing list