holinhot
V2EX  ›  DNS

dns 服务器性能

  •  
  •   holinhot · May 6, 2015 · 5876 views
    This topic created in 4223 days ago, the information mentioned may be changed or developed.

    双 Intel Xeon E5 2650 v2
    192 GB 内存
    3x 500 SSD RAID0

    这样一台权威服务器powerdns每秒可以处理多少次dns查询请求

    17 replies  •  2015-05-07 19:17:20 +08:00
    acpp
    acpp
    May 6, 2015
    1
    看程序员的编码能力。。
    holinhot
    holinhot
    OP
    May 6, 2015
    2
    @acpp powerdns不是现成的吗
    holinhot
    holinhot
    OP
    May 6, 2015
    3
    试了下linode 最便宜的配置
    queryperf -d test.txt -s 127.0.0.1

    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: once
    Ended due to: reaching end of file

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

    RTT max: 0.004237 sec
    RTT min: 0.000072 sec
    RTT average: 0.000908 sec
    RTT std deviation: 0.000456 sec
    RTT out of range: 0 queries

    Percentage completed: 100.00%
    Percentage lost: 0.00%

    Started at: Wed May 6 09:55:00 2015
    Finished at: Wed May 6 09:55:00 2015
    Ran for: 0.511937 seconds

    Queries per second: 19533.653555 qps
    holinhot
    holinhot
    OP
    May 6, 2015
    4
    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: once
    Ended due to: reaching end of file

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

    RTT max: 0.028410 sec
    RTT min: 0.000074 sec
    RTT average: 0.000945 sec
    RTT std deviation: 0.000482 sec
    RTT out of range: 0 queries

    Percentage completed: 100.00%
    Percentage lost: 0.00%

    Started at: Wed May 6 09:58:06 2015
    Finished at: Wed May 6 09:58:57 2015
    Ran for: 51.777396 seconds

    Queries per second: 19313.447127 qps
    mrhuiyu
    mrhuiyu
    May 6, 2015
    5
    @acpp 额,不是根据硬件配置和网络带宽吗?
    holinhot
    holinhot
    OP
    May 6, 2015
    6
    @mrhuiyu 肯定也有关的
    acpp
    acpp
    May 6, 2015❤️1
    7
    @holinhot 你是要自己做一个dns服务器哦吗?
    holinhot
    holinhot
    OP
    May 6, 2015
    8
    @acpp 肯定啊
    acpp
    acpp
    May 6, 2015
    9
    @holinhot 现在网上那么多,你自己做来干啥用啊,
    Showfom
    Showfom
    PRO
    May 7, 2015
    10
    Raid0 。。。。硬盘坏了你会哭的
    br00k
    br00k
    May 7, 2015
    11
    感觉瓶颈主要在带宽。。。
    sdcg1994
    sdcg1994
    May 7, 2015
    12
    因为有递归服务器缓存的缘故。。其实各根域名服务器和域名权威解析服务器的请求量没你想象的那么多
    http://k.root-servers.org/statistics/ROOT/ip_protocols.html
    貌似K根服务器的请求量也只有5万/s 左右
    holinhot
    holinhot
    OP
    May 7, 2015
    13
    @sdcg1994 那个qps是用来应对查询攻击的吧。正常情况下哪会1秒10w次
    holinhot
    holinhot
    OP
    May 7, 2015
    14
    @Showfom 我会告诉你我每部署一个节点只要几分钟吗
    holinhot
    holinhot
    OP
    May 7, 2015
    15
    @acpp 网上那些管理太麻烦了 比如我要导入1w个域名 修改5000个解析记录那是非常痛苦的
    holinhot
    holinhot
    OP
    May 7, 2015
    16
    @acpp 网上那些管理太麻烦了 比如我要导入1w个域名 修改5000个解析记录那是非常痛苦的
    受制于人当然不行啊
    acpp
    acpp
    May 7, 2015
    17
    @holinhot 弄站群的?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1039 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 18:41 · PVG 02:41 · LAX 10:41 · JFK 13:41
    ♥ Do have faith in what you're doing.