-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Jan-Frode
On 16/11/14 19:46, Jan-Frode Myklebust wrote: > I've started implementing a Performance CoPilot* PMDA**, so that we > can collect all the metrics from "unbound-control stats_noreset" > together with other system performance metrics, and view the > performance numbers both realtime and collect historically. Example > screenshot of pmchart visualizer showing some live unbound and cpu > performance metrics: http://tanso.net/pcp-unbound.png > > So, this PMDA is now running "unbound-control stats_noreset" every > second, which seems a bit excessive maybe, but is there any reason > to be carefull with how often we call stats_noreset? Or are there > any more efficient way of polling these numbers if stats_noreset is > unadvicable? Unbound will briefly poll the other threads over the internal pipes to collect the information and thread-0 is busy answering this data over the control connection. Other than that, once per second should work fine. I would personally recommend a lower polling rate, but it should work. For NSD (which you did not mention), this would be a problem, and you would need to upgrade to the latest version to get a repeated-fork-fix that stops (Linux-)system performance degrade after millions of fork operations. Best regards, Wouter > > [*] http://www.performancecopilot.org/ [**] > http://linux.die.net/man/3/pmda > > > -jf _______________________________________________ Unbound-users > mailing list [email protected] > http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJUaex1AAoJEJ9vHC1+BF+NEpoP/34zm1j5JAqR4m7MyuYJQKA8 Rmwa7Cf/hvbYUCxHvvt81iDyqS2aDbPWwtiuF5kuXiy0QX+vdoDZNqQvIfKCJ1GK YqJ8kti31u/WyEmrrcLxSqHJB50YE+YO2XyTK6gOq6kpaW1o44Ac5+5piU3PkOzl QcqHZaeMbqy/hQP5uHm8qEBk5s8MLE7Vw030tiZB8CKueLvcgbRFtx67UU4AC1As 36aawbvGqW5sF4WmHKejencojuHL5oTZU3sFISCcxaBUgHkreflEqElNn3UAuahd vQa+qUPB4sWGiAQ1LOE4A7Oc7v/mTvNJljWlg6hu05aNOAGcEddrDdg3q7DBowsB CbWUKPpTdvcPGGqgYQ/iQvpJ7dv741+pqUJ3eH26ByBDC5CGVXkanZzgNy9tP8xB v+J6KyOBrEko/4LGrkODnX0QUIQFIMorXMm4RDE9wULCeE/DBims9oXVBL76lnSr zlnBzN8wzIeKox0TpMF0LcJFIfxcwPciFBYM85OarbD3JwmW+XATu57pN+faWXhQ JH2D0rzAd1DPYIKpKPO2dEZnOk1pB3Wmy09yXgujt9pCAsbQsr+PDMAgdd7zphyc MWIoHy3Bm3La9yKqSTlg1SgMCahn+zT77STMK1iT3GhRxiZt0Jv/4yTTgOwYzjQu kYHzFazWAruQYw/pv0zg =Cps0 -----END PGP SIGNATURE----- _______________________________________________ Unbound-users mailing list [email protected] http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
