| To: | Mark Goodwin <mgoodwin@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] hinv.* |
| From: | Michele Baldessari <michele@xxxxxxxxxx> |
| Date: | Thu, 23 Oct 2014 09:26:36 +0200 |
| Cc: | Nathan Scott <nathans@xxxxxxxxxx>, pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/simple; d=acksyn.org; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=2010; t=1414049197; bh=wzi8uEsxcR8fTb1stATtH7/tPNUjPmwHBWcQepkzY9Q=; b=Fh3GhvX/vVw1 Up8AO6waCYocMrc8J985G6M1+Lmp4u5vfH7eUg9OAKAee6VDZI1Q2P5Me/vc/Sw9 Z+USHEdoDLVz8aOLWmZ3AfBC23aZ9YdtQXvwShK+hihTlYW1eGU3E9H0g6bKC7iA BE7XYx0bHHBYVFZ70YnDwji0T5K9FxU= |
| In-reply-to: | <54483934.4060802@xxxxxxxxxx> |
| References: | <20141021222355.GC6656@xxxxxxxxxxxxxxx> <573592010.74725901.1413999659304.JavaMail.zimbra@xxxxxxxxxx> <54483934.4060802@xxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2012-12-30) |
Hi Mark, On Thu, Oct 23, 2014 at 10:09:40AM +1100, Mark Goodwin wrote: > On 10/23/2014 04:40 AM, Nathan Scott wrote: > >>while for most hinv.* metrics I do not expect any changes over time > >>(hinv.pagesize, hinv.ncpu, ...), I was a bit surprised that also > >>hinv.cpu.clock seems to not change over time (F21 updated today, here). > > The original code was written before CPU clock throttling, > cstates and so forth, and hence didn't expect the clock to > change. It does nowdays! Attached patch should fix it (untested > but should be fine). I'll also need to check if the default > pmlogger config only logs hinv.cpu.clock once - that might > need an update too, and of course some QA. Thanks Mark, the patch works fine, I see the different values now. Given how dynamic CPUs can be these days, it might be nice to add the online/offline status (/sys/devices/system/cpu/cpu1/online) as well. The default logging here is "once" for hinv, so that might need tweaking as well. Cheers, Michele -- Michele Baldessari <michele@xxxxxxxxxx> C2A5 9DA3 9961 4FFB E01B D0BC DDD4 DCCB 7515 5C6D |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] hinv.*, Mark Goodwin |
|---|---|
| Next by Date: | pcp updates, Ken McDonell |
| Previous by Thread: | Re: [pcp] hinv.*, Mark Goodwin |
| Next by Thread: | Re: [pcp] hinv.*, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |