lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150325031946.GC15335@tassilo.jf.intel.com>
Date:	Tue, 24 Mar 2015 20:19:46 -0700
From:	Andi Kleen <ak@...ux.intel.com>
To:	Len Brown <lenb@...nel.org>
Cc:	Andi Kleen <andi@...stfloor.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Linux PM list <linux-pm@...r.kernel.org>
Subject: Re: [PATCH 1/2] Support PCU power metrics in turbostat

On Tue, Mar 24, 2015 at 05:20:13PM -0400, Len Brown wrote:
> <cc: linux-pm list>
> 
> On Thu, Nov 13, 2014 at 6:19 PM, Andi Kleen <andi@...stfloor.org> wrote:
> > From: Andi Kleen <ak@...ux.intel.com>
> >
> > Add support for reading PCU power metrics on Sandy Bridge / Ivy Bridge EP
> > and Haswell Server in turbostat. This is done using the perf ABI,
> > using the perf uncore driver. This requires the kernel to
> > have uncore perf driver support.
> 
> What happens if kernel doesn't include that support?

The data is not displayed.

> > The user has to specify the event group using a new -x option. All
> > more sensible option characters were already taken. When -x is
> > not specified no behavior changes.
> 
> I'm concerned that turbostat cmdline is getting too complicated,
> and this makes that more the case.

Modern computers are complicated. No way around it.

> > However this currently runs into a problem with the uncore
> > driver that only makes us able to monitor a single band.
> > Disabled until this is fixed.

BTW this is fixed. Will update.
> > Custom user metrics would be also possible.
> >
> > The event resolution code is derived from the jevents library
> > (parts of pmu-tools, http://github.com/andikleen/pmu-tools)
> > and is BSD licensed.
> 
> can we put BSD licensed code into utilities that are in the linux
> kernel git tree?

I think so.  There are already some.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ