[bind10-dev] more about cache (Re: cache effectiveness)
Michal 'vorner' Vaner
michal.vaner at nic.cz
Tue Mar 5 07:25:46 UTC 2013
Hello
On Mon, Mar 04, 2013 at 10:23:34AM -0800, JINMEI Tatuya / 神明達哉 wrote:
> To this end I guess we need something beyond analysis, such as
> benchmark with prototype implementations. For example, it should be
> relatively easy to implement two versions of "L2 cache" on top of the
> experimental "L1 cache" implementation of my own. the L2 cache is
> either in the same local process (like in the case of using threads)
> or in another process. On cache miss or TTL expiration L1 asks L2,
> and for experiments we assume L2 always knows the answer (so no other
> external query will be needed). We can then use queryperf like tool
> changing the rate of L1 cache hit to see the difference of overall
> performance.
I'd just like to point out, even when some kind of RPC would be slow, we still
can use some kind of shared memory (written by the cache process only, but open
read-only by the resolvers), which would still be better I believe than fight
with threads.
But for the performance, I believe this model would be similar to threaded
version with shared cache. Or is there some overhead I don't see?
With regards
--
grep me no patterns and I'll tell you no lines.
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20130305/1c7f385f/attachment.bin>
More information about the bind10-dev
mailing list