[bind10-dev] Multicore Auth

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Fri Jul 15 21:38:52 UTC 2011


At Fri, 15 Jul 2011 12:38:41 +0100,
Stephen Morris <stephen at isc.org> wrote:

> > - Another thing to be considered is how/whether to share hot spot
> >   cache between instances (threads/processes) running on different
> >   cores.
[...]
> If we were to use some form of receptionist process, that could hash the
> qname and route the query to a server process based on result. As each
> process then answers queries for 1/n the names, the hotspot cache could
> be 1/n the size it would need to be if the process answered queries for
> all names in the zone.

I suspect this is not that trivial.  For example, responses to queries
for www.example.org and ftp.example.org would both contain
example.org/NS in the authority section, so even if www.example.org
and ftp.example.org are cached on different cores and we distribute
the queries accordingly we still need to consider how to handle the
NS (either accepting contention or consuming more memory).

---
JINMEI, Tatuya



More information about the bind10-dev mailing list