Sep 21, 2012
How do I profile execution of VoltDb using gperftools? What are the step-by-step instructions?
I read your post on Tumblr on http://rbetts.tumblr.com/page/2 regarding profiling with gperftools. I cannot find the perfctl.py file you refer to after running ant ee_profile. Was there a change to the code or I'm doing something wrong?
It looks like someone removed those scripts from the test directory. Those scripts just called a system stored procedure, @ProfCtl. Looks like that still exists and is added to the built-in system catalog.
Managed to add some code to see which C++ code is executed when running the benchmark. Got the following error:
libvoltdb-2.8.2.so: undefined symbol: ProfilerStart
Interestingly, the toggleProfiler() method in the VoltDBIPC class contains the following comment:
// actually, the engine doesn't implement this now.
I wonder if the ProfilerStart() method is still defined anywhere in the code, because I cannot locate the definition.