Re: [perfmon2] pfmon_error_on_Montecito_processor

2009-04-10 Thread xudi
Note that on my original system using perfmon v2.0 with linux 2.6.9, all PMCs can be accessed even I turn on the multithreading. So maybe I miss something while configuring the linux kernel before building it? I used the old .config file but with no luck. Which version of linux&perfmon kernel d

Re: [perfmon2] pfmon error on Montecito processor

2009-04-10 Thread xudi
Yes, I DO turn off the threads using EFI shell, not ELILO. Sorry for my typo. The cmdline is :> cpuconfig threads off :> reset Now I have 8 processor and the physical ID of them are: 0,0,1,1,2,2,3,3 So these are 8 cores on 4 dual-core chips. stephane eranian 2009-04-10 18:25:34 xudi perf

Re: [perfmon2] pfmon error on Montecito processor

2009-04-10 Thread stephane eranian
Hi, you're hitting the same errata handling code. The kernel thinks you still have threads on or that they can be enabled at runtime. To actually disable threads, and if I recall correctly, you must use cpuconfig at the EFI shell prompt. You must do something like: fs0:> cpuconfig threads off Th

Re: [perfmon2] pfmon error on Montecito processor

2009-04-10 Thread xudi
please find the log in attachment. Yes, now I have 8 processors through my 4 Montecito CPU. When hyper-threading is on, I have 16 of them. stephane eranian 2009-04-10 16:26:57 xudi perfmon2-devel Re: [perfmon2] pfmon error on Montecito processor Hi, Now re-enable debugging, via:

Re: [perfmon2] Perfmon2 on KVM?

2009-04-10 Thread stephane eranian
Hi John, Perfmon2 cannot work as is on top of KVM, unless they have added some PMU virtualization support. On Fri, Apr 10, 2009 at 1:25 AM, john spurling wrote: > Hello, > > Should Perfmon2 be expected to work under Linux's KVM? I'm running the > latest Perfmon2 patch applied to the Ubuntu Jaun

Re: [perfmon2] pfmon error on Montecito processor

2009-04-10 Thread stephane eranian
Hi, Now re-enable debugging, via: echo 1 >/sys/kernel/perfmon/debug echo 0 >/proc/sys/kernel/printk_ratelimit capture the debug messages from /var/log/messages and send them to me. If you've turned off threads, you should see half the number of CPUs in /proc/cpcuinfo. On Thu, Apr 9, 20