Skip to content

Issue with Profiling Workloads in HammerDB Using xtprof Module #731

Answered by sm-shaw
Sheharyar570 asked this question in Q&A
Discussion options

You must be logged in to vote

Firstly note that there is another time profiler package called etprof that is a bit more generic. xtprof is specifically for the TPROC-C workload and captures timings for the 5 workload transactions. (etprof records everything in a proc).

Loading the xtprof package initialises the timing for all virtual users. However VU1 the monitor virtual user does the timing so is excluded. Instead VU1 gathers and calculates the timings from all virtual users when the workload has finished with the xttimeproflog command. The virtual users report their own timings with xtreport that are gathered by VU1. (To be clear VU1 does not do any timing as it does not run the workload).
so when you load time pro…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sheharyar570
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants