[Opendnssec-develop] Test the new sorter
Matthijs Mekking
matthijs at NLnetLabs.nl
Mon Feb 1 12:03:58 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Rick,
The sorter is being improved for another zone, which has performance
issues in this specific tool.
I just started working on improving the zone_reader. To be continued...
Best regards,
Matthijs
Rick Zijlker wrote:
> Hey,
>
>
>
> I tested the new sorter with the unsorted nl zone. Here is a comparison:
>
>
>
> [root at signer1 rick]# time /usr/local/libexec/opendnssec/sorter -f ./nl
> -w ./nl.sorted2 -m 3600 -t 3600 -o nl.
>
> Number of records sorted: 8446249
>
>
>
> real 5m24.859s
>
> user 5m5.311s
>
> sys 0m18.056s
>
>
>
> [root at signer1 rick]# time ./quicksorter -f ./nl -w ./nl.sorted -m 3600
> -t 3600 -o nl.
>
> Killed
>
>
>
> real 5m14.711s
>
> user 0m10.172s
>
> sys 2m23.606s
>
>
>
>
>
> The quicksorter keeps getting killed which results in an incomplete
> sorted zone:
>
>
>
> -rw-rw-r-- 1 rick rick 226143877 Nov 17 16:46 nl
>
> -rw-r--r-- 1 root root 0 Feb 1 11:28 nl.sorted
>
> -rw-r--r-- 1 root root 396950529 Feb 1 11:00 nl.sorted2
>
>
>
> Also I don’t see improvement in performance. Even though the sorter is
> not even the bottleneck. The processing is what takes 45-50 minutes.
>
>
>
> Cheers,
>
> Rick
>
>
>
>
>
> *From:* opendnssec-develop-bounces at lists.opendnssec.org
> [mailto:opendnssec-develop-bounces at lists.opendnssec.org] *On Behalf Of
> *Rickard Bellgrim
> *Sent:* woensdag 27 januari 2010 16:47
> *To:* Opendnssec-develop at lists.opendnssec.org
> *Subject:* [Opendnssec-develop] Test the new sorter
>
>
>
> Hash: SHA256
>
>
>
> Hi
>
>
>
> There is a new sorter available in our SVN. Could you test it if you had
> any performance issues, e.g. SIDN? Solves some part of the problem.
>
>
>
> wget http://trac.opendnssec.org/export/2729/home/bjst/quicksorter.c
>
> gcc -Wall quicksorter.c -o quicksorter
>
>
>
> time ./quicksorter -f <Unsorted zone file> -w <Sorted zone file> -m <SOA
> minimum> -t <DNSKEY ttl> -o <Zone origin>
>
>
>
> Compare the result with
>
>
>
> time /usr/local/libexec/opendnssec/sorter -f <Unsorted zone file> -w
> <Sorted zone file> -m <SOA minimum> -t <DNSKEY ttl> -o <Zone origin>
>
>
>
> It is 10 times faster for me.
>
>
>
> // Rickard
>
>
>
- ------------------------------------------------------------------------
_______________________________________________
Opendnssec-develop mailing list
Opendnssec-develop at lists.opendnssec.org
https://lists.opendnssec.org/mailman/listinfo/opendnssec-develop
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEcBAEBAgAGBQJLZsMrAAoJEA8yVCPsQCW5NjYH+wQn1pWiRPMEHUzYQYjXqStg
yxgeiaS499x3QUmpECfE6kftTxwjsDe80bXb+W5dmckW1qDGDVG8adyMiUFKHSUQ
oxSWuvtq2DJAPBj+UoDrofpyvSkUMhne8ZuM8XFEEhSydZ56hLFr5HHEoloNMFzw
KwBF0ldKNopigoX5LnPB18Xf1y+C80CqgWEacYbacwL5jvfMSxOSOR54gKzs5Dze
hpjps0z/X17EWtf1jJ+kv8Y4TyZy25WAhiMPdTAMh+dzF1j541mk06G1A0It202f
VAj/XCeDO/0l0oCDyUn63VgphKfSIkcUhD8T6nbdnfyU+Sk6recYajQ0xK73fMs=
=Jwu/
-----END PGP SIGNATURE-----
More information about the Opendnssec-develop
mailing list