[Pdns-users] still more performance issues
ahu at ds9a.nl
Thu Feb 26 21:05:51 UTC 2004
I reiterate, as long as we have no stats of a busy server, we have no
information to go on. Idle statistics tell us nothing about a busy server!
On Thu, Feb 26, 2004 at 09:17:21PM +0100, Norbert Sendetzky wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On Thursday 26 February 2004 18:23, Ken Scott wrote:
> > Bind loads everything in memory before answering a single question
> > and that's why it also needs only 3-4ms. The downside is that it's
> > a memory hog.
> > You have two options:
> > - - Either you increase the ttl values in pdns.conf drastically
> > - - or use the bindbackend, which does the same as BIND
> > I was using tbind as the back end, but found it even slower.
> That's unusual, because questions are answered out of memory, which
> should be always faster than querying a database. Perhaps it was
> swapping heavily between memory and your hard disk if you haven't
> disabled the cache (which doesn't increase the speed in this case I
> think) by setting the cache-ttl to zero.
> > so i will try increasing the ttl,
> > think10 minutes should do it?
> This should do the job if you apply this value (600sec) to cache-ttl
> and perhaps query-ttl. negquery-ttl can be a lower value, depending
> on the number of negative queries your server is hit and the number
> of different negative queries.
> > also there is 256mb ram in it right now,
> > do u think that if i added another 256, that might do it?
> That depends on how much swap space is currently used. If it is more
> than a few MB, you should consider that.
> Nevertheless, if you ask your server the same question twice, the
> second latency should be much lower than the first one.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> -----END PGP SIGNATURE-----
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
More information about the Pdns-users