PDNS performance comparison to BIND

View: New views
3 Messages — Rating Filter:   Alert me  

PDNS performance comparison to BIND

by Jan Rudinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,
I have tested PDNS performance (configuration below). A zone transfer of
100 000 records takes ~ 10 s using either MySQL or file backends.
However Bind can make it in ~ 1 s (file-stored records).

I have read the pdns manual chap.9 and tested the distributor-threads,
cache-ttl and query-cache-ttl settings without a change in the performance.

How can the performance be improved?

Thank you for suggestions,

Jan


Configuration:

- Fedora Core 9
- MySQL 5.0.77
- PDNS 2.9.22, compiled with gcc version 4.2.4
- DiG 9.5.0-P2
- pdns.conf: defaults +
        launch=gmysql
        gmysql-host=127.0.0.1
        gmysql-user=kelb
        gmysql-password=xxxx
        gmysql-dbname=npdb
        negquery-cache-ttl=600
        query-cache-ttl=600
        wildcards=no


--
  Ing. Jan Rudinsky
  R&D Centre (RDC) for Mobile Applications
  Czech Technical University in Prague
  Cesnet z.s.p.o.
  rudinsj@...
  http://www.linkedin.com/in/rudinsky

_______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Re: PDNS performance comparison to BIND

by bert hubert-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 23, 2009 at 2:05 AM, Jan Rudinsky<rudinsj@...> wrote:
>
> Hello,
> I have tested PDNS performance (configuration below). A zone transfer of 100
> 000 records takes ~ 10 s using either MySQL or file backends.
> However Bind can make it in ~ 1 s (file-stored records).

Hi Jan,

We've never really optimised the zone transfer performance of PowerDNS
because it has not really been an important use case so far.

Are you measuring an incoming zonetransfer? Our outgoing?

It may very well be than an outgoing one is pretty slow.

Is it important to you? We could change PowerDNS if needed.

    Bert
_______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Re: PDNS performance comparison to BIND

by Jan Rudinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello Bert,

bert hubert wrote:

> On Tue, Jun 23, 2009 at 2:05 AM, Jan Rudinsky<rudinsj@...> wrote:
>> Hello,
>> I have tested PDNS performance (configuration below). A zone transfer of 100
>> 000 records takes ~ 10 s using either MySQL or file backends.
>> However Bind can make it in ~ 1 s (file-stored records).
>
> Hi Jan,
>
> We've never really optimised the zone transfer performance of PowerDNS
> because it has not really been an important use case so far.
>
> Are you measuring an incoming zonetransfer? Our outgoing?
>
> It may very well be than an outgoing one is pretty slow.
>

Exactly. Pdns sends information sequentialy as received from database.
It might be faster to collect all the information first, then send it.

> Is it important to you? We could change PowerDNS if needed.
>
>     Bert

It's just an idea of a telecom system based on DNS ZT. If successful I
believe pdns will get optimized.

Thank you,

Jan

--
  Ing. Jan Rudinsky
  R&D Centre (RDC) for Mobile Applications
  Czech Technical University in Prague
  Cesnet z.s.p.o.
  rudinsj@...
  http://www.linkedin.com/in/rudinsky

_______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users