| To: | performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [performancecopilot/pcp] pmwebd impossibly slow when using grafana with 300 archives (#117) |
| From: | "Frank Ch. Eigler" <notifications@xxxxxxxxxx> |
| Date: | Tue, 04 Oct 2016 07:19:19 -0700 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha1; c=relaxed; d=github.com; h=from:reply-to:to:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=VkUjalWBuQlBIK/EgFwf33qlYUM=; b=cY8H7rygTa2jE4PV 1BcDhCZ6z86c2B61SVNXjpu2BY7OfcjFgc2Jnr8PzpHHx0xsfqKOPw+LW2nN+HoH Ox0F3GxAwA5/rnJ4DFuKhuNw4HV8hdR04RfztXGse0zqTy9m1PtRFo6gE2ETmlWe wO+FsUQ2PkzfhUEk/bZOtLdTDK0= |
| In-reply-to: | <performancecopilot/pcp/issues/117@xxxxxxxxxx> |
| List-archive: | https://github.com/performancecopilot/pcp |
| List-id: | performancecopilot/pcp <pcp.performancecopilot.github.com> |
| List-post: | <mailto:reply+00bd08b6d52452671465c8c84f676d12b96940ba4c61eb0b92cf00000001140b7c6792a169ce0abb9393@reply.github.com> |
| List-unsubscribe: | <mailto:unsub+00bd08b6d52452671465c8c84f676d12b96940ba4c61eb0b92cf00000001140b7c6792a169ce0abb9393@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0ItrwReTvybuTvRajlOX3ADSwymThsks5qwmBngaJpZM4KKD0Y> |
| References: | <performancecopilot/pcp/issues/117@xxxxxxxxxx> |
| Reply-to: | performancecopilot/pcp <reply+00bd08b6d52452671465c8c84f676d12b96940ba4c61eb0b92cf00000001140b7c6792a169ce0abb9393@xxxxxxxxxxxxxxxx> |
|
You're roughly right. The hostselect.js dashboard's query is:
... which asks pmwebd to iterate through all archives (300*7), to pull out one metric value recorded in the last minute. Its goal is to enumerate those archive files that are currently being written to, so it can reverse-engineer host names etc. from them. Those archives whose end-of-records timestamp doesn't include this moment will be rejected pretty quickly (after one Those archives whose time intervals does include the last minute are probably those 300 that are currently being written to by a running
Sorry about that. That is pretty abysmal. As a hack (and I bet you'll figure out why it works if it works), try changing the hostselect.js file thusly, and clear those browser caches:
— |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [performancecopilot/pcp] pmwebd impossibly slow when using grafana with 300 archives (#117), Marko Kevac |
|---|---|
| Next by Date: | [Bug 1110] excessive workload in pmdaroot for --container clients, bugzilla-daemon |
| Previous by Thread: | Re: [performancecopilot/pcp] pmwebd impossibly slow when using grafana with 300 archives (#117), Marko Kevac |
| Next by Thread: | Re: [performancecopilot/pcp] pmwebd impossibly slow when using grafana with 300 archives (#117), Marko Kevac |
| Indexes: | [Date] [Thread] [Top] [All Lists] |