[Pdns-users] pdns-recursor-3.3rc2 cache is growing slow

bert hubert bert.hubert at netherlabs.nl
Mon Sep 20 10:18:14 UTC 2010


Brad,

I had not gotten back to you on that one, I think in your test you flooded
the server with many many 'dig +tcp' sessions, far more than were configured
to be allowed at any one time.

This may explain your results - powerdns probably did not 'see' a lot of
your queries.

Regarding Detlefs numbers, at very low query rates (I see 1qps), it may
indeed be possible that parts of the cache are now being cleaned more
efficiently.

I don't exactly know which parts of the cache Detlef saw as bigger before.

The numbers look pretty normal though, > > stats: 155898 questions, 83540
cache entries, 1237 negative entries,

It would be very hard to have a lot more cache entries than questions.

	Bert

On Mon, Sep 20, 2010 at 10:13:37AM +0000, Brad Dameron wrote:
> I have been wondering about the stats reporting as well. When I do my 3 million test the tcp connections was only showing about 1.2 million requests when I know I did 3 million of them. I tested this many times with varying results. Almost like all the threads are not reporting the total correctly.
> 
> Brad
> 
> > -----Original Message-----
> > From: pdns-users-bounces at mailman.powerdns.com [mailto:pdns-users-
> > bounces at mailman.powerdns.com] On Behalf Of Detlef Peeters
> > Sent: Monday, September 20, 2010 2:46 AM
> > To: bert hubert
> > Cc: Pdns-users at mailman.powerdns.com
> > Subject: Re: [Pdns-users] pdns-recursor-3.3rc2 cache is growing slow
> > 
> > On Mon, 20 Sep 2010 11:39:36 +0200, bert hubert
> > <bert.hubert at netherlabs.nl> wrote:
> > > Odd - can you paste some 'stats:' lines from the log files?
> > >
> > > stats: 4331362754 questions, 1003788 cache entries, 100987 negative
> > entries,
> > > 	27% cache hits
> > > stats: throttle map: 2752, ns speeds: 76672
> > > stats: outpacket/query ratio 3205%, 2% throttled, 0 no-delegation
> > drops
> > > stats: 263614 outgoing tcp connections, 146 queries running, 45761180
> > > 	outgoing timeouts
> > > stats: 504910 packet cache entries, 8798% packet cache hits
> > > stats: 6286 qps (average over 1801 seconds)
> > >
> > > This is from our testing of rc1.
> > 
> > Yes,
> > 
> > here are some stats:
> > 
> > stats: 155898 questions, 83540 cache entries, 1237 negative entries,
> > 21% cache hits
> > stats: throttle map: 2, ns speeds: 2371
> > stats: outpacket/query ratio 138%, 0% throttled, 0 no-delegation drops
> > stats: 108 outgoing tcp connections, 1 queries running, 2483 outgoing
> > timeouts
> > stats: 24177 packet cache entries, 8% packet cache hits
> > stats: 1 qps (average over 1916 seconds)
> > 
> > regards,
> > 
> > Detlef
> > _______________________________________________
> > Pdns-users mailing list
> > Pdns-users at mailman.powerdns.com
> > http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 
> 
> This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
> 
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 



More information about the Pdns-users mailing list