[bind10-dev] profiling bind10 and b10-auth

Jelte Jansen jelte at isc.org
Wed Mar 10 13:26:58 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/10/2010 12:35 AM, Jeremy C. Reed wrote:
> I built libdns, auth, etc with -pg and linked with -pg.
> 
> The profiling gmon.out is not saved unless executable exits on 
> its own. So I patched src/bin/auth/main.cc to handle "shutdown" and do a 
> exit(1).
> 
> I did 2000 queries.
> 
> http://bind10.isc.org/~jreed/gprof.out
> 
> A small part of that profiling is:
> 

here's a nice callgraph with relative time spent in functions

(made with callgrind and kcachegrind, ran queryperf against it for 20
minutes, though valgrind makes responses drop to about 60/s here)

Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuXniIACgkQ4nZCKsdOncVIUQCgkAtOlHABsFgBgociMQ/08h9f
8GkAoKdhT5W26O1aiAYdX47Y3kRlHuNx
=0xJQ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile_callgraph.png
Type: image/png
Size: 230932 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20100310/e618a3eb/attachment.png>


More information about the bind10-dev mailing list