Re: [perfmon2] How to reset sampling buffer before it overflows?

2010-11-23 Thread xudi
> 2010/11/22 : >> hi, >> >> I am writing my own app using the libpfm 3.10 API (interface v2.x) on a >> X86 system. >> >> I setup a sampling context for the target-process to sample every 1 >> million insts retired. Traditionally, I should wait for the buffer >> overflow message and process with th

[perfmon2] How to reset sampling buffer before it overflows?

2010-11-22 Thread xudi
hi, I am writing my own app using the libpfm 3.10 API (interface v2.x) on a X86 system. I setup a sampling context for the target-process to sample every 1 million insts retired. Traditionally, I should wait for the buffer overflow message and process with the sampling buffer and then restart. Bu

Re: [perfmon2] [libpfm4] how to turn off sampling period randomization

2010-10-26 Thread xudi
ected" sampling periods randomization (as stated in the header of the source code). Am I right? Thank you! > Hi, > > On Wed, Oct 20, 2010 at 12:09 PM, xudi wrote: >> hi all, >> >> ��I am new to libpfm v4.�� I read the example code "task_smpl.c", which &g

[perfmon2] [libpfm4] how to turn off sampling period randomization

2010-10-20 Thread xudi
hi all, I am new to libpfm v4. I read the example code "task_smpl.c", which uses random sampling periods, but I didn't find any explicit statement to turn this feature on. So, how to turn off sampling period randomization? I am using the official Linux 2.6.35 kernel. Thanks. 2010-10-20

[perfmon2] Weird sampling result on Xeon E5410 CPU

2010-10-12 Thread xudi
Hi all, I'm working with a system with Xeon E5410 processors. The Linux kernel version is 2.6.27, and libpfm/pfmon v3.6 (released on 2008-10-13). The pfmon command line I used was: pfmon --smpl-outfile=x --with-header --smpl-module=compact --follow-all --reset-non-smpl-periods --overflow-blo

[perfmon2] Possibility of getting COMPLETE cache access trace using PEBS

2010-07-20 Thread xudi
Hi all, I am wondering if I can get continuous sampling about every L2$ access with PEBS on Xeon E5410 processor. PEBS feature records the value of general registers on sample points, so I can get the data address trace of L2$ access with disassembly. The naive way is to set the L2$ access event

Re: [perfmon2] pfmon_error_on_Montecito_processor

2009-04-15 Thread xudi
ly comment out the SAL call code be safe? 2009-04-16 xudi 发件人: stephane eranian 发送时间: 2009-04-14 03:49:33 收件人: xudi 抄送: perfmon2-devel 主题: Re: [perfmon2]pfmon_error_on_Montecito_processor Hi, I am puzzled by what you are experiencing with the HT off test. This leads me to bel

Re: [perfmon2] pfmon_error_on_Montecito_processor

2009-04-10 Thread xudi
rnel do you use? And can you send me your linux .config file? 发件人: xudi 发送时间: 2009-04-10 19:21:02 收件人: eranian 抄送: perfmon2-devel 主题: Re: [perfmon2]pfmon_error_on_Montecito_processor Yes, I DO turn off the threads using EFI shell, not ELILO. Sorry for my typo. The cmdline is :> cp

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

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] pfmon error on Montecito processor

2009-04-09 Thread xudi
ld perfmon v2.0 with linux 2.6.9, all 12 PMCs can be accessed even I trun on hyper-threading. ps: I built the new kernel with flag CONFIG_PERFMON=y CONFIG_PERFMON_DEBUG=y CONFIG_IA64_PERFMON_COMPAT=y CONFIG_IA64_PERFMON_MONTECITO=m What else should I do? > stephane eranian > 2009-04-03

Re: [perfmon2] pfmon error on Montecito processor

2009-04-02 Thread xudi
If I did the correct thing that you mean, no output for "pfmon/tests/pfdbg --on --printk" and the result of pfmon cmdline not change > 2009/4/2 : >> >> Yes. for example: >> pfmon -e >> L3_READS_ALL_MISS:M:E:S:I,back_end_bubble_all,be_exe_bubble_all,l2d_references_reads,L3_READS_ALL_ALL:M:E:S:I,L

Re: [perfmon2] pfmon error on Montecito processor

2009-04-02 Thread xudi
Yes. for example: pfmon -e L3_READS_ALL_MISS:M:E:S:I,back_end_bubble_all,be_exe_bubble_all,l2d_references_reads,L3_READS_ALL_ALL:M:E:S:I,L3_READS_ALL_HIT:M:E:S:I,L2D_OZQ_CANCELS0_FILL_ST_CONF,l1dtlb_transfer,l2dtlb_misses,dtlb_inserts_hpw,er_mem_read_out_hi,er_mem_read_out_lo ls That's 12 events

[perfmon2] pfmon error on Montecito processor

2009-04-02 Thread xudi
Hi all: Now I'm using a dual-core Itanium2 processor with perfmon kernel 2.81, pfmlib and pfmon V3.7. I have used pfmon3.2 with kernel 2.0 for long time. I updated the perfmon kernel to 2.81 recently and now I get problems. When I count for more than 6 events with pfmon, I get the error message "c

[perfmon2] switch event set on PMD overflow

2009-02-23 Thread xudi
hi all, I am using perfmon kernel v2.6 with pfmlib v3.5. Can I switch event sets on overflow of a specific PMD register? On sample mode, I would like to switch event sets when the sample-based event PMD overflow. I guess one solution is set the size of sampling buffer to only one entry, and I

Re: [perfmon2] (no subject)

2008-08-06 Thread xudi
thank you very much! it works well now 2008-08-06 xudi 发件人: stephane eranian 发送时间: 2008-08-06 11:21:51 收件人: xudi 抄送: 主题: Re: Re: [perfmon2] (no subject) On Tue, Aug 5, 2008 at 7:16 PM, xudi <[EMAIL PROTECTED] > wrote: > hi, > Is that mean when using PFM_FL_NOTIF

[perfmon2] (no subject)

2008-08-04 Thread xudi
Thank You 2008-08-05 xudi - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two