[Pdns-users] PDNS Authoritative and Mariadb share single core but multiple available

Otto Moerbeek otto at drijf.net
Thu Oct 31 14:37:53 UTC 2019


On Thu, Oct 31, 2019 at 02:28:48PM +0000, Brian Candler wrote:

> On 31/10/2019 13:44, George Asenov wrote:
> > For example if the mariadb get 70% pdns 30% if i check the load by cores
> > one core has 0%id all other 3 are near 100%id .
> > here are some screenshots
> 
> Looks like sequential operation to me:
> 
> 1. pdns sends a query to mariadb (goes to sleep waiting for response)
> 
> 2. mariadb processes the query and sends back the response
> 
> 3. pdns processes the response, then sends the next query to mariadb
> 
> etc.
> 
> Without overlapping requests, pdns and mariadb will never be working at the
> same time.
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users

Additionally, the master/slave work is done in a single thread. That
is generally good, since the other threads should be busy serving
requests. If you have a setup where there are little requests need to
be served, oh well, making the master/save operations multi-threaded
is probably not worth the added complexity.

	-Otto


More information about the Pdns-users mailing list