[bind10-dev] new in-memory zone data design

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Fri Jun 22 22:03:28 UTC 2012


At Fri, 22 Jun 2012 09:12:06 +0200,
Michal 'vorner' Vaner <michal.vaner at nic.cz> wrote:

> I think we want to achieve a reasonable memory footprint, not the lowest
> possible at all costs ;-). Or is it because we want more data to fit into
> caches and be slightly faster? I don't think it will work unless we lay out the
> data in memory manually in some way.
> 
> Also, speaking about layout and the structures with variable length, are we
> aware that it's not possible to place any data at any address, right?

Do you mean, due to alignment (like uint16_t field cannot always be
placed at an odd-number address)?  If so, the proposed layout took
into account the issue (and that's actually why some of the fields are
placed in counter-intuitive points).  Do you see any specific field
that can cause an alignment problem?

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.


More information about the bind10-dev mailing list