Re: 64-bit fun with cache.c

Bruce Guenter <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
On Fri, Jan 23, 2009 at 08:17:40AM +0100, Laurent Bercot wrote:
>  Are you sure you want more than 4 GB of cache ?
>  Have you profiled how much you would gain from such a big cache ?
>  4 GB is already huge.

FWIW I manage a dnscache that is using 1.5GB of RAM.  The current cache
stats on it are such that the oldest entries rotate out after just under
2 days.  I already had to patch it to get it over 1GB of RAM.  I can
certainly imagine a cache on a larger network needing more than 4GB to
keep more than 24 hours worth of queries.

On the other hand, I'm not sure if the CPU could keep up with it.
Running so many queries as to use up a 4GB cache in a short period of
time will tax the CPU pretty heavily.

-- 
Bruce Guenter <[email protected]>                http://untroubled.org/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iD8DBQFJejWr6W+y3GmZgOgRAq0CAJ4o08Iw7DET73lxTP792kXGvlXXCgCggwwu
RdbeKr3g5seKcBhm8zgqh2I=
=4M9B
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.