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.
salsa20 has already been broken for reduced rounds. Not for 8 yet, but
it's getting there.
You have provided NO evidence whatsoever that dnscache was actually
bottlenecked by the divisions or by surf (which is a ludicrous thought
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
installation, dnscache polls at couple dozen descriptors, tops. You
just wasted your time, and all of our's as well.
> 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
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
crappy chat protocol.
Felix
|