From: Cyrill Gorcunov <gorcunov@gmail.com>
To: Jaswinder Singh Rajput <jaswinderlinux@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Lin Ming <ming.m.lin@intel.com>
Subject: Re: Performance Events hangs with Intel P4 system
Date: Fri, 14 May 2010 10:23:27 +0400 [thread overview]
Message-ID: <AANLkTimVmlPfRFu8Wo2KL1pyF6qtTSQriawvrKcsMe9Y@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinbrhuGqHss_aML3EAccOq792GUZtqzzjQqzG6I@mail.gmail.com>
On Friday, May 14, 2010, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> On Friday, May 14, 2010, Jaswinder Singh Rajput
> <jaswinderlinux@gmail.com> wrote:
>> Hello Cyrill,
>>
>> On Fri, May 14, 2010 at 8:49 AM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
>>> On Friday, May 14, 2010, Jaswinder Singh Rajput
>>> <jaswinderlinux@gmail.com> wrote:
>>>> Hello,
>>>>
>>>> I am testing Performance Events on P4 with HT:
>>>>
>>>> [ 0.002243] Performance Events: Netburst events, Netburst P4/Xeon PMU driver.
>>>> [ 0.002432] ... version: 0
>>>> [ 0.002545] ... bit width: 40
>>>> [ 0.002659] ... generic registers: 18
>>>> [ 0.002772] ... value mask: 000000ffffffffff
>>>> [ 0.002887] ... max period: 0000007fffffffff
>>>> [ 0.003004] ... fixed-purpose events: 0
>>>> [ 0.003118] ... event mask: 000000000003ffff
>>>>
>>>> dmesg : http://userweb.kernel.org/~jaswinder/P4_HT/dmesg-2634-rc7-tip.txt
>>>> config : http://userweb.kernel.org/~jaswinder/P4_HT/config-2634-rc7-tip.txt
>>>>
>>>> [jaswinder@ht perf]$ ./perf stat -e cycles ls > /dev/null
>>>>
>>>> Performance counter stats for 'ls':
>>>>
>>>> <not counted> cycles
>>>>
>>>> 0.003447053 seconds time elapsed
>>>>
>>>> [jaswinder@ht perf]$ ./perf stat -e cycles,instructions ls > /dev/null
>>>>
>>>> Performance counter stats for 'ls':
>>>>
>>>> <not counted> cycles
>>>> 1862188 instructions # 0.000 IPC (scaled
>>>> from 54.91%)
>>>>
>>>> 0.003419230 seconds time elapsed
>>>>
>>>> [jaswinder@ht perf]$ ./perf stat -e
>>>> cycles,instructions,cache-references ls > /dev/null
>>>>
>>>> <<this dumps on screen and hangs the systems>>
>>>>
>>>> How can I fix this problem.
>>>>
>>>> Thanks,
>>>> --
>>>> Jaswinder Singh.
>>>>
>>>
>>> thanks for testing. Is there any issue in dmesg for first two perf
>>> calls before it hangs?
>>
>> There is no issue in dmesg for first two perf calls.
>>
>>> And is there a chance for screen dump (photo or
>>> netconsole)?
>>>
>>
>> Here is netconsole :
>>
>> [jaswinder@ht perf]$ ./perf stat -e
>> cycles,instructions,cache-references ls > /dev/null
>>
>> Message from syslogd@ht at May 14 09:39:32 ...
>> kernel:[ 314.908284] general protection fault: 0000 [#1] PREEMPT SMP
>>
>> Message from syslogd@ht at May 14 09:39:32 ...
>> kernel:[ 314.908296] last sysfs file:
>> /sys/class/net/eth1/statistics/collisions
>>
>> Message from syslogd@ht at May 14 09:39:32 ...
>> kernel:[ 314.908346] Process ls (pid: 2726, ti=edac2000
>> task=ed9eb240 task.ti=edac2000)
>>
>> Message from syslogd@ht at May 14 09:39:32 ...
>> kernel:[ 314.908349] Stack:
>>
>> Message from syslogd@ht at May 14 09:39:32 ...
>> kernel:[ 314.908387] Call Trace:
>>
>> Message from syslogd@ht at May 14 09:39:32 ...
>> kernel:[ 314.908549] Code: cb 89 d1 e8 89 c7 13 00 8b 75 dc 8b 45 e4
>> 8b 55 d0 23 15 68 37 58 c1 8b b6 c4 00 00 00 01 75 f0 f7 d8 8b 4d f0
>> 23 05 64 37 58 c1 <0f> 30 8b 45 dc e8 a4 63 06 00 8b 45 ec 83 c4 30 5b
>> 5e 5f 5d c3
>>
>> Message from syslogd@ht at May 14 09:39:32 ...
>> kernel:[ thanks Jaswinder, i'll take a look, meanwhile if you get a chance to
> test latest -tip/master it would be great
>
it's found that we have problem in cache events, we're working on
that, thanks for report!
next prev parent reply other threads:[~2010-05-14 6:23 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-13 22:17 Jaswinder Singh Rajput
2010-05-14 3:19 ` Cyrill Gorcunov
2010-05-14 4:25 ` Jaswinder Singh Rajput
2010-05-14 4:29 ` Cyrill Gorcunov
2010-05-14 6:23 ` Cyrill Gorcunov [this message]
2010-05-14 7:52 ` Jaswinder Singh Rajput
2010-05-14 8:41 ` Cyrill Gorcunov
2010-05-14 10:04 ` Cyrill Gorcunov
2010-05-14 10:46 ` Cyrill Gorcunov
2010-05-14 10:56 ` Lin Ming
2010-05-14 11:56 ` Ingo Molnar
2010-05-14 12:07 ` Cyrill Gorcunov
2010-05-14 13:52 ` Cyrill Gorcunov
2010-05-14 14:52 ` Cyrill Gorcunov
2010-05-14 16:22 ` Jaswinder Singh Rajput
2010-05-14 16:28 ` Cyrill Gorcunov
2010-05-14 16:36 ` Jaswinder Singh Rajput
2010-05-14 16:40 ` Cyrill Gorcunov
2010-05-14 17:48 ` Jaswinder Singh Rajput
2010-05-14 18:01 ` Cyrill Gorcunov
2010-05-14 18:33 ` Jaswinder Singh Rajput
2010-05-14 17:30 ` Cyrill Gorcunov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimVmlPfRFu8Wo2KL1pyF6qtTSQriawvrKcsMe9Y@mail.gmail.com \
--to=gorcunov@gmail.com \
--cc=jaswinderlinux@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ming.m.lin@intel.com \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®