| To: | djbdns Mailing List <dns@list.cr.yp.to> |
|---|---|
| Subject: | Re: djbdns-1.05-epoll + speedup patch |
| From: | Sami Farin <safari-dns@safari.iki.fi> |
| Date: | Thu, 22 Feb 2007 18:25:22 +0200 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | gmail-djbdns@securepoint.com |
| Delivered-to: | sp.com.list@gmail.com |
| Delivered-to: | mailing list dns@list.cr.yp.to |
| In-reply-to: | <20070222122129.GE3982@m.safari.iki.fi> |
| Mail-followup-to: | djbdns Mailing List <dns@list.cr.yp.to> |
| Mailing-list: | contact dns-help@list.cr.yp.to; run by ezmlm |
| References: | <20070116171333.GA5674@m.safari.iki.fi> <20070222122129.GE3982@m.safari.iki.fi> |
| User-agent: | Mutt/1.5.13 (2006-08-11) |
On Thu, Feb 22, 2007 at 14:21:29 +0200, Sami Farin wrote: ... > Note that surf() now does 8 loops instead of 16. > If someone shows it's easy to crack now, tell me. And when doing for PTR queries n.n.n.10.in-addr.arpa which all result into NXDOMAIN (queries to localhost): 35,678,022 dns_packet.c:dns_packet_getname [/usr/local/src/djbdns-1.05-epoll/dnscache] 34,732,154 dns_random.c:dns_random [/usr/local/src/djbdns-1.05-epoll/dnscache] 19,614,387 dns_domain.c:dns_domain_free [/usr/local/src/djbdns-1.05-epoll/dnscache] ... So if you feel courageous, modify surf() to do 4 loops :) But anyways, byte_copy did one-byte-at-a-time for a reason: 85% of accesses were unaligned to 64bit. This incremental patch to today's other version does aligned copies only. http://safari.iki.fi/djbdns/djbdns-1.05-epoll-20070222T114019Z-20070222T160840Z.diff --
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: djbdns-1.05-epoll + speedup patch, Sami Farin |
|---|---|
| Next by Date: | NXDOMAIN Negative TTL, Michael Shuler |
| Previous by Thread: | Re: djbdns-1.05-epoll + speedup patch, Sami Farin |
| Next by Thread: | e-mail problem and secondary needed, John Gateley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |