login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
31
Re: [RFC] perf_events: support for uncore a.k.a. nest units
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: stephane eranian
Subject:
Re: [RFC] perf_events: support for uncore a.k.a. nest units
Date: Wednesday, March 31, 2010 - 7:13 am
On Wed, Mar 31, 2010 at 4:01 PM, Peter Zijlstra <peterz@infradead.org> wrote:
quoted text
> On Tue, 2010-03-30 at 15:12 -0700, Corey Ashford wrote: >> >> > Initially I'd not allow per-pmu-per-task contexts >> > because then things like perf_event_task_sched_out() would get rather >> > complex. >> >> Definitely. I don't think it makes sense to have per-task context on >> nest/uncore PMUs. At least we haven't found any justification for it. > > For uncore no, but there is also the hw-breakpoint stuff that is being > presented as a pmu, for those it would make sense to have a separate > per-task context. > > But doing multiple per-task contexts is something for a next step > indeed. > >> > For RR we can move away from perf_event_task_tick and let the pmu >> > install a (hr)timer for this on their own. >> >> This is necessary I think, because of the access time for some of the PMU's. I >> wonder though if it should, perhaps optionally, be off-loaded to a high-priority >> task to do the switching so that access latency to the PMU can be controlled. >> >> As I mentioned when we met, some of the Wire-Speed processor nest PMU control >> registers are accessed via SCOM, which is an internal, 200 MHz serial bus. We >> are being quoted ~525 SCOM bus ticks to do a PMU control register access, which >> comes out to about 2.5 microseconds. If you figure 5 accesses to rotate the >> events on a PMU, that's a minimum of 12.5 microseconds. > > Yeah, you mentioned that.. for those things we need some changes anyway, > since currently we install per-cpu counters using IPIs and expect the > pmu::enable() method to be synchronous (it has a return value). It would > be totally unacceptable to do 2.5ms pokes with IRQs disabled. > > The RR thing would be the easiest to solve, just let the timer wake up a > thread instead of doing the work itself, that's fully isolated to how > the pmu chooses to implement that. The above mentioned issue however > would be much more challenging to fix nicely. > >
Also some of perf_enable()/perf_disable() would have to be per PMU and not global like they are today. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Tue Jan 19, 12:41 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Andi Kleen
, (Tue Jan 19, 5:44 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Tue Jan 19, 6:49 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Andi Kleen
, (Wed Jan 20, 2:35 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Wed Jan 20, 6:34 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Wed Jan 20, 12:28 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Wed Jan 20, 2:33 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Wed Jan 20, 4:23 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Ingo Molnar
, (Thu Jan 21, 12:21 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Thu Jan 21, 1:36 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, stephane eranian
, (Thu Jan 21, 1:47 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Thu Jan 21, 1:59 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, stephane eranian
, (Thu Jan 21, 2:16 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, stephane eranian
, (Thu Jan 21, 2:43 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Thu Jan 21, 12:13 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Thu Jan 21, 12:28 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Ingo Molnar
, (Wed Jan 27, 3:28 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Wed Jan 27, 12:50 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Thu Jan 28, 3:57 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Thu Jan 28, 11:00 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Thu Jan 28, 12:06 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Thu Jan 28, 12:44 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Thu Jan 28, 3:08 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Fri Jan 29, 2:52 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Fri Jan 29, 4:05 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Sat Jan 30, 1:42 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Mon Feb 1, 12:39 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Mon Feb 1, 12:54 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Lin Ming
, (Tue Mar 30, 12:42 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Tue Mar 30, 9:49 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Tue Mar 30, 10:15 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, stephane eranian
, (Tue Mar 30, 2:28 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Tue Mar 30, 3:12 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Tue Mar 30, 4:11 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, stephane eranian
, (Wed Mar 31, 6:43 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Peter Zijlstra
, (Wed Mar 31, 7:01 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, stephane eranian
, (Wed Mar 31, 7:13 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Maynard Johnson
, (Wed Mar 31, 8:49 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units
, Corey Ashford
, (Wed Mar 31, 10:50 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Fortier,Vincent [Montreal]
2.6.21.5 june 30th to july 1st date hang?
Jeff Dike
[ PATCH 2/6 ] UML - Formatting fixes around os_{read_write}_file callers
Liam Girdwood
[PATCH 07/13] regulator: regulator test harness
Oleg Nesterov
Re: Getting the new RxRPC patches upstream
Stefan Seyfried
Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18
linux-netdev
:
Arnaud Ebalard
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0
Jan Engelhardt
Re: [PATCH iptables] extension: add xt_cpu match
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Sebastian Andrzej Siewior
[PATCH 8/8] net/emergency: remove locking from reycling pool if emergncy pools are...
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
git
:
Jakub Narebski
Re: git on MacOSX and files with decomposed utf-8 file names
Brandon Casey
Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the def...
Christian Couder
[PATCH 1/3] rev-parse: add test script for "--verify"
Ramkumar Ramachandra
Re: [GSoC update] git-remote-svn: The final one
Junio C Hamano
Re: git-rm isn't the inverse action of git-add
openbsd-misc
:
Joachim Schipper
Re: UVC Webcams
Florin Andrei
SOLVED [was: firewall is very slow, something's wrong]
Todd Alan Smith
Re: Microsoft gets the Most Secure Operating Systems award
Neal Hogan
Re: Need Advice: Thinkpad T60 or T61?
Sam Fourman Jr.
Re: Real men don't attack straw men
git-commits-head
:
Linux Kernel Mailing List
ACPI: Disable ARB_DISABLE on platforms where it is not needed
Linux Kernel Mailing List
m68knommu: add read_barrier_depends() and irqs_disabled_flags()
Linux Kernel Mailing List
[MTD] Add mtd panic_write function pointer
Linux Kernel Mailing List
[ARM] pxa: remove duplicate select statements from Kconfig
Linux Kernel Mailing List
mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER()
Colocation donated by:
Syndicate