[bind10-dev] Receptionist experiment

Michal 'vorner' Vaner michal.vaner at nic.cz
Fri Mar 1 08:33:21 UTC 2013


Hello

On Thu, Feb 28, 2013 at 10:24:02AM -0800, JINMEI Tatuya / 神明達哉 wrote:
> - as for the benchmark, I'd make sure the auth server is really busy
>   utilizing near-100% CPU time, while queryperf runs with a safety
>   margin.  Since queryperf can only use a single core, sometimes that
>   can be the bottleneck, not the measurement target.  (Depending on
>   the actual machine power) that's often the case at a very high query
>   rate like over 100Kqps.  Also, in that sense, I'd rather test a
>   single instance of b10-auth; in this context I don't think the total
>   performance using multi-core is not of the main concern because
>   contention overhead is less likely.

So, with single auth, auth running near 100%, queryperf around 40% of CPU. The
receptionist is even faster compared to the vanilla auth now.

Without receptionist:
$ ./queryperf -d ~/input -p 5311 -q 60 -l 20 -t1

DNS Query Performance Testing Tool
Version: $Id: queryperf.c,v 1.12 2007-09-05 07:36:04 marka Exp $

[Status] Processing input data
[Status] Sending queries (beginning with 127.0.0.1)
[Status] Testing complete

Statistics:

  Parse input file:     multiple times
  Run time limit:       20 seconds
  Ran through file:     325122 times

  Queries sent:         975369 queries
  Queries completed:    975369 queries
  Queries lost:         0 queries
  Queries delayed(?):   0 queries

  RTT max:         	0.005817 sec
  RTT min:              0.000113 sec
  RTT average:          0.001224 sec
  RTT std deviation:    0.000149 sec
  RTT out of range:     0 queries

  Percentage completed: 100.00%
  Percentage lost:        0.00%

  Started at:           Fri Mar  1 09:29:35 2013
  Finished at:          Fri Mar  1 09:29:55 2013
  Ran for:              20.001170 seconds

  Queries per second:   48765.597213 qps

With receptionist:
$ ./queryperf -d ~/input -p 5310 -q 100 -l 20 -t1

DNS Query Performance Testing Tool
Version: $Id: queryperf.c,v 1.12 2007-09-05 07:36:04 marka Exp $

[Status] Processing input data
[Status] Sending queries (beginning with 127.0.0.1)
[Timeout] Query timed out: msg id 9656
[Timeout] Query timed out: msg id 9657
[Timeout] Query timed out: msg id 37171
[Timeout] Query timed out: msg id 12072
[Status] Testing complete

Statistics:

  Parse input file:     multiple times
  Run time limit:       20 seconds
  Ran through file:     419085 times

  Queries sent:         1257256 queries
  Queries completed:    1257252 queries
  Queries lost:         4 queries
  Queries delayed(?):   0 queries

  RTT max:         	0.041215 sec
  RTT min:              0.000316 sec
  RTT average:          0.001571 sec
  RTT std deviation:    0.000350 sec
  RTT out of range:     0 queries

  Percentage completed: 100.00%
  Percentage lost:        0.00%

  Started at:           Fri Mar  1 09:30:16 2013
  Finished at:          Fri Mar  1 09:30:37 2013
  Ran for:              21.000003 seconds

  Queries per second:   59869.134304 qps

With regards

-- 
Fragile. Do not turn umop ap1sdn!

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20130301/beac2a0c/attachment-0001.bin>


More information about the bind10-dev mailing list