[Opendnssec-develop] Test the new sorter

Rick Zijlker rick.zijlker at sidn.nl
Tue Feb 2 14:06:15 UTC 2010


Even though the filesizes differ slightly:

-rw-r--r--  1 root  root  396950665 Feb  2 13:27 nl.sorted
-rw-r--r--  1 root  root  396950529 Feb  1 11:00 nl.sorted2

The contents are identical apart from some tabs. For instance the SOA RR:

Quicksorter:
[root at signer1 rick]# more nl.sorted|grep SOA
nl. 7200 IN SOA ns1.nic.nl. hostmaster.domain-registry.nl. 2009111707                                   7200                                                    900                                            2419200                                                  900

Sorter:
[root at signer1 rick]# more nl.sorted2|grep SOA
nl.     7200    IN      SOA     ns1.nic.nl. hostmaster.domain-registry.nl. 2009111707 7200 900 2419200 900

Great performance boost. Hopefully a similar boost can be achieved with the processing part.

Cheers,
Rick


-----Original Message-----
From: opendnssec-develop-bounces at lists.opendnssec.org [mailto:opendnssec-develop-bounces at lists.opendnssec.org] On Behalf Of Rick Zijlker
Sent: dinsdag 2 februari 2010 13:49
To: Björn Stenberg
Cc: Opendnssec-develop at lists.opendnssec.org
Subject: RE: [Opendnssec-develop] Test the new sorter

Hey Björn,

I ran the newly committed quicksorter and it didn't crash. Also nice performance!

[root at signer1 rick]# time ./quicksorter -f ./nl -w ./nl.sorted -m 3600 -t 3600 -o nl.

real    0m50.035s
user    0m47.859s
sys     0m1.192s

I'm gonna check the output files now.

Cheers,
Rick











-----Original Message-----
From: Björn Stenberg [mailto:bjorn at haxx.se] 
Sent: dinsdag 2 februari 2010 9:34
To: Rick Zijlker
Cc: Opendnssec-develop at lists.opendnssec.org
Subject: Re: [Opendnssec-develop] Test the new sorter

Rick Zijlker wrote:
> I did enable the debug output. Apparently it runs out of memory.

Indeed it did. Lines that need expansion grabbed a full 64 KB each...

I have now committed an update:
  http://trac.opendnssec.org/export/2772/home/bjst/quicksorter.c  

Thank you for testing.

-- 
Björn
_______________________________________________
Opendnssec-develop mailing list
Opendnssec-develop at lists.opendnssec.org
https://lists.opendnssec.org/mailman/listinfo/opendnssec-develop



More information about the Opendnssec-develop mailing list