BIND 10 #1563: document how to profile - oprofile
BIND 10 Development
do-not-reply at isc.org
Wed Jan 18 13:35:22 UTC 2012
#1563: document how to profile - oprofile
-------------------------------------+-------------------------------------
Reporter: jelte | Owner: vorner
Type: task | Status: reviewing
Priority: major | Milestone:
Component: | Sprint-20120124
Unclassified | Resolution:
Keywords: | Sensitive: 0
Defect Severity: N/A | Sub-Project: DNS
Feature Depending on Ticket: | Estimated Difficulty: 0
Add Hours to Ticket: 0 | Total Hours: 0
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by jelte):
* owner: UnAssigned => vorner
Comment:
I have walked through it, and profiled query_bench tool. Looks good :)
Just a few notes on things I encountered (probably quite system-
dependent);
- opcontrol needs to be run as root (with sudo in my case), I'm guessing
it is setuid on your system?
- as noted, IBS_OP_ALL is an AMD-specific setting. It does not work on my
i5, and it is kind of half mentioned, but if one changes the -e values,
the settings are retained until changed again (even through reboots). I
was playing around with some random ones from the i7 list, and could not
get any results at all anymore (no samples error) :) Probably worth
mentioning that you can revert them with '-e default'
- at least for the run with query_bench, I had to call opreport and
opannotate on .libs/lt-query_bench, not .lib/query_bench
- I'd include a link to http://oprofile.sourceforge.net/docs/
Not sure if we should just mention the systemspecific points or perhaps
think of some architecture-dependent notes as a sort of appendix.
--
Ticket URL: <http://bind10.isc.org/ticket/1563#comment:6>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list