[bind10-dev] gprof results
JINMEI Tatuya / 神明達哉
jinmei at isc.org
Wed Jun 9 08:27:18 UTC 2010
At Tue, 8 Jun 2010 11:19:57 -0500 (CDT),
"Jeremy C. Reed" <jreed at isc.org> wrote:
> is 100,000 queries from record from sqlite db.
Not surprisingly, the query processing logic is a major bottleneck,
followed by response rendering.
 77.4 0.04 17.23 99997 AuthSrv::processMessage() 
0.27 11.13 99997/99997 isc::datasrc::DataSrc::doQuery() 
0.07 3.85 99997/99997 isc::dns::Message::toWire() 
From a bit closer look at callees, major contribution to the overhead
in query processing is string related operations.
The major bottleneck in message rendering seems to be name
compression, which is quite predictable, and is probably optimizable
even for generic data sources quite easily.
More information about the bind10-dev