Re: How to shrink the SIZE memory?

2019-02-15 Thread Peter J. Philipp
On Sat, Feb 09, 2019 at 03:15:30PM +0100, Otto Moerbeek wrote: > On Sat, Feb 09, 2019 at 12:39:37PM +0100, Peter J. Philipp wrote: > > > On Sat, Feb 09, 2019 at 12:01:39PM +0100, Otto Moerbeek wrote: > > > Why is this a wall? Do your mmaps start failing? With what error code? > > > > Well 13G

Re: How to shrink the SIZE memory?

2019-02-09 Thread Peter J. Philipp
On Sat, Feb 09, 2019 at 03:15:30PM +0100, Otto Moerbeek wrote: > On Sat, Feb 09, 2019 at 12:39:37PM +0100, Peter J. Philipp wrote: > > > On Sat, Feb 09, 2019 at 12:01:39PM +0100, Otto Moerbeek wrote: > > > Why is this a wall? Do your mmaps start failing? With what error code? > > > > Well 13G

Re: How to shrink the SIZE memory?

2019-02-09 Thread Otto Moerbeek
On Sat, Feb 09, 2019 at 12:39:37PM +0100, Peter J. Philipp wrote: > On Sat, Feb 09, 2019 at 12:01:39PM +0100, Otto Moerbeek wrote: > > Why is this a wall? Do your mmaps start failing? With what error code? > > Well 13G isn't the wall, but I had tried the entire /usr/share/dict/words as > A

Re: How to shrink the SIZE memory?

2019-02-09 Thread Peter J. Philipp
On Sat, Feb 09, 2019 at 12:01:39PM +0100, Otto Moerbeek wrote: > Why is this a wall? Do your mmaps start failing? With what error code? Well 13G isn't the wall, but I had tried the entire /usr/share/dict/words as A records which would have given more than 200K RRSET's which would have blown up

Re: How to shrink the SIZE memory?

2019-02-09 Thread Otto Moerbeek
On Sat, Feb 09, 2019 at 11:34:41AM +0100, Peter J. Philipp wrote: > Hi misc@, > > I have a program, a DNS server. It has a database to hold internal data. > Right now it's very inneficient in the way it uses memory. Let me explain. > > If you know what an RRSET is it's all the RR records

How to shrink the SIZE memory?

2019-02-09 Thread Peter J. Philipp
Hi misc@, I have a program, a DNS server. It has a database to hold internal data. Right now it's very inneficient in the way it uses memory. Let me explain. If you know what an RRSET is it's all the RR records under one name. Like in the OpenBSD.ORG name there is a SOA, NS, A RR's and so on.