[bind10-dev] using stats (branches/trac347)

Naoki Kambe kambe at jprs.co.jp
Tue Dec 7 16:14:46 UTC 2010


Jeremy-san,

Thank you for rough testing for #347 and sorry for my late response.

From: "Jeremy C. Reed" <jreed at isc.org>
Subject: [bind10-dev] using stats (branches/trac347)
Date: Wed, 1 Dec 2010 07:23:27 -0600 (CST)

> I did 50000 queries. It was about 1.24% performance loss compared to 
> trunk.

Could you let me know the detailed condition? (for example what type
of queries, used tools, how many concurrent connections, and so on) We
would improve the performance-related problems which is found in #347
as much as possible.

> What are the "several constant names" that can't be reset? I guess I can 
> answer that by looking above. Maybe these all should be documented in 
> the manual page.

A command explanation in bindctl with a few examples were already
documented in the wikipage
here. http://bind10.isc.org/wiki/StatsModule#Availablecommands However
do you mean they should be also documented in the manpage? If yes,
should it be the manpage of b10-stats or bindctl? Could you suggest
the best place? We will create a new ticket for it.

Thanks,
Naoki Kambe


> 
> Then ran bindctl:
> 
> > Stats status
> send the command to cmd-ctrld
> received reply: "I'm alive."
> 
> > Stats show
> send the command to cmd-ctrld
> received reply: {"report_time": "2010-12-01T13:30:06Z", 
> "auth.queries.tcp": 0, "bind10.boot_time": "2010-12-01T13:25:40Z", 
> "stats.start_time": "2010-12-01T13:25:41Z", "stats.timestamp": 
> 1291210206.411284, "auth.queries.udp": 50000, "stats.boot_time": 
> "2010-12-01T13:25:41Z", "stats.lname": 
> "4cf64cd5_b at bind10-testing1.lab.isc.org", "stats.last_update_time": 
> "2010-12-01T13:29:41Z"}
> 
> > Stats set report_time foo
> 1 
> Failed to connect with b10-cmdctl module, is it running?
> 
> (Bindctl exited here. This is a bug. But I didn't make ticket yet.)
> 
> Any examples of using set?
> 
> > Stats remove stats.timestamp
> send the command to cmd-ctrld
> received reply: {}
> > Stats show
> send the command to cmd-ctrld
> received reply: {"report_time": "2010-12-01T13:32:17Z", 
> "auth.queries.tcp": 0, "bind10.boot_time": "2010-12-01T13:25:40Z", 
> "stats.start_time": "2010-12-01T13:25:41Z", "stats.timestamp": 
> 1291210337.862273, "auth.queries.udp": 50000, "stats.boot_time": 
> "2010-12-01T13:25:41Z", "stats.lname": 
> "4cf64cd5_b at bind10-testing1.lab.isc.org", "stats.last_update_time": 
> "2010-12-01T13:31:41Z"}
> 
> Any examples of using remove?
> 
> > Stats reset
> send the command to cmd-ctrld
> received reply: {}
> > Stats show
> send the command to cmd-ctrld
> received reply: {"report_time": "2010-12-01T13:33:24Z", 
> "auth.queries.tcp": 0, "bind10.boot_time": "1970-01-01T00:00:00Z", 
> "stats.start_time": "2010-12-01T13:33:22Z", "stats.timestamp": 
> 1291210404.772201, "auth.queries.udp": 0, "stats.boot_time": 
> "2010-12-01T13:25:41Z", "stats.lname": 
> "4cf64cd5_b at bind10-testing1.lab.isc.org", "stats.last_update_time": 
> "2010-12-01T13:33:22Z"}
> 


> 
>   Jeremy C. Reed
>   ISC
> _______________________________________________
> bind10-dev mailing list
> bind10-dev at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind10-dev
> 



More information about the bind10-dev mailing list