djbdns
[Top] [All Lists]

Re: djbdns-1.05-epoll + speedup patch

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: Wed, 7 Mar 2007 17:39:20 +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: <20070307143501.GA19509@codeblau.de>
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> <20070222162522.GG3982@m.safari.iki.fi> <20070304161657.qrytvzoi37inmj45@m.safari.iki.fi> <20070307143501.GA19509@codeblau.de>
User-agent: Mutt/1.5.14 (2007-02-12)
On Wed, Mar 07, 2007 at 15:35:01 +0100, Felix von Leitner wrote:
> Thus spake Sami Farin (safari-dns@safari.iki.fi):
> > > So if you feel courageous, modify surf() to do 4 loops :)
> > What the heck.
> 
> Indeed.  What the hell is wrong with you?
> 
> surf is there for security reasons.  It is MEANT to take some time.
> That's where its security comes from.

Well BIND seems to do better, according to this.
http://www.lurhq.com/cachepoisoning.html

> salsa20 has already been broken for reduced rounds.  Not for 8 yet, but
> it's getting there.

Blah Blah.  For 7 rounds something like 2^170 work.

> You have provided NO evidence whatsoever that dnscache was actually
> bottlenecked by the divisions or by surf (which is a ludicrous thought

I showed dns_random took most of the time in one email.

> given that it's doing socket I/O, i.e. syscalls, all the time).
> You didn't even have evidence that poll is a bottleneck.  On a typical

Yes I have.
And epoll was not the only improvement.

Go troll somewhere else.

> installation, dnscache polls at couple dozen descriptors, tops.  You

Then use your typical poll() on your typical system,
and let others use epoll() in real systems.

> just wasted your time, and all of our's as well.

I never waste time.
No matter what I do, a day takes 24 hours every day.

> > It's now ~ten times faster than the original.
> 
> Go read up on
> 
>   http://en.wikipedia.org/wiki/Amdahl's_Law
> 
> before you make it even worse.  And all that from a guy who had nothing

I can make it as bad or good as I want to,
and I don't need your opinion while doing so.

> better to do than troll the qmail mailing list with a stupid postfix
> troll.  Oh please.
> 
> I heard that there's nothing to do in Finland at this time of year, but
> come one, there has to be something you could do besides trolling
> mailing lists.  Go make some mobile phones or something.  Invent a new

Looks like your country is not much different.

> crappy chat protocol.

Actually, no need to, because there's SILC, invented by a Finn.
http://silcnet.org/

-- 

Attachment: pgpitwab7Vzyg.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>