4月 032018
 

ほんとに速いのかなぁ

AS9597なホストからつついてみるよ

参考までにlocalなunbound

$ time for i in {0..99};do dig @127.0.0.1 +rec +tcp +noall +stats . soa ;done|grep -e ";; Query time: .* msec"|sort -k4n|uniq -c
    100 ;; Query time: 0 msec

real    0m1.926s
user    0m1.079s
sys     0m0.676s
time for i in {0..99};do dig @127.0.0.1 +rec +tcp +noall +stats . rrsig ;done|grep -e ";; Query time: .* msec"|sort -k4n|uniq -c
    100 ;; Query time: 0 msec

real    0m2.028s
user    0m1.094s
sys     0m0.662s

しっかりキャッシュに乗せて(予備実行10回)google public dns

$ time for i in {0..99};do dig @8.8.8.8 +rec +tcp +noall +stats . soa ;done|grep -e ";; Query time: .* msec"|sort -k4n|uniq -c
     97 ;; Query time: 1 msec
      2 ;; Query time: 2 msec
      1 ;; Query time: 5 msec

real    0m2.272s
user    0m1.107s
sys     0m0.717s
 time for i in {0..99};do dig @8.8.8.8 +rec +tcp +noall +stats . rrsig ;done|grep -e ";; Query time: .* msec"|sort -k4n|uniq -c
     95 ;; Query time: 1 msec
      3 ;; Query time: 2 msec
      1 ;; Query time: 4 msec
      1 ;; Query time: 5 msec

real    0m2.321s
user    0m1.135s
sys     0m0.706s

しっかりキャッシュに乗せて(予備実行10回)cloudflare public dns

$ time for i in {0..99};do dig @1.1.1.1 +rec +tcp +noall +stats . soa ;done|grep -e ";; Query time: .* msec"|sort -k4n|uniq -c
     73 ;; Query time: 1 msec
     26 ;; Query time: 2 msec
      1 ;; Query time: 4 msec

real    0m2.360s
user    0m1.142s
sys     0m0.700s
$ time for i in {0..99};do dig @1.1.1.1 +rec +tcp +noall +stats . rrsig ;done|grep -e ";; Query time: .* msec"|sort -k4n|uniq -c
     22 ;; Query time: 3 msec
      2 ;; Query time: 5 msec
     13 ;; Query time: 6 msec
     17 ;; Query time: 7 msec
     13 ;; Query time: 8 msec
      3 ;; Query time: 9 msec
      1 ;; Query time: 47 msec
      3 ;; Query time: 157 msec
      3 ;; Query time: 161 msec
      7 ;; Query time: 162 msec
      1 ;; Query time: 172 msec
      1 ;; Query time: 216 msec
      2 ;; Query time: 217 msec
      1 ;; Query time: 221 msec
      1 ;; Query time: 313 msec
      5 ;; Query time: 324 msec
      3 ;; Query time: 325 msec
      1 ;; Query time: 326 msec
      1 ;; Query time: 331 msec

real    0m9.739s
user    0m1.244s
sys     0m0.949s

ふにゅぅ
現状びみょい

現在コメント投稿は停止しております。