Messages in this thread | | | Date | Fri, 12 Dec 2008 13:45:45 -0600 | From | "Chris Friesen" <> | Subject | Re: [patch] Performance Counters for Linux, v3 |
| |
stephane eranian wrote:
> What happens in the following test case: > > - 2-way system (cpu0, cpu1) > > - on cpu0, two processes P1, P2, each self-monitoring and counting event E1. > Event E1 can only be measured on counter C1. > > - on cpu1, there is a cpu-wide session, monitoring event E1, thus using C1 > > - the scheduler decides to migrate P1 onto CPU1. You now have a > conflict on C1. > > How is this managed?
Prevent the load balancer from moving P1 onto cpu1?
Chris
| |