* RE: Oprofile on sibyte 2.4.18 kernel
@ 2006-04-11 21:42 Mark E Mason
2006-04-11 22:24 ` Ralf Baechle
0 siblings, 1 reply; 8+ messages in thread
From: Mark E Mason @ 2006-04-11 21:42 UTC (permalink / raw)
To: Shanthi Kiran Pendyala (skiranp), Ralf Baechle; +Cc: linux-mips
Hello,
FYI: don't use the oprofile tools tarball - use the latest from the CVS
site on sourceforge. The last tarball on the website is more than a bit
out of date.
I'll follow up on your other questions in a separate email (in a little
while....).
/Mark
>
> #1: I looked at oprofile-0.9.1 and it lists this event for SB1 in the
> events/mips/sb1 directory
> --------------------------------------------------------------
> ----------
> ---
> event:10 counters:1,2,3 um:zero minimum:500
> name:DCACHE_FILLED_SHD_NONC_EXC :Dcache is filled (shared, nonc,
> exclusive)
> ----------------------------------------------------------------
>
> However this doesn't have an equivalent performance source
> Listed in the sibyte manual (table 33 system performance
> counter sources).
Are you looking in Sb1-UM100-RDS.pdf? This is in table 95 in my copy,
on page 96/97 (section 11). Also note that the table isn't in order --
event #10 appears on the top of the 2nd page. It's logical grouping,
not numeric.
> #2: how does the mapping from event numbers to performance
> sources work for sibyte ?
>
> I looked at the op_model_mipsxx.c file in the 2.6 CVS tree
> and the macro it uses doesn't seem to match the format
> specified for perf_cnt_cfg register in sibyte.
Are you using the kernel from CVS instead of git? The SB1 oprofile
support didn't turn up in the kernel until sometime mid-January, and is
only available through the git version (the CVS version of the kernel is
long out of date).
HTH,
Mark
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Oprofile on sibyte 2.4.18 kernel
@ 2006-04-11 23:29 Mark E Mason
0 siblings, 0 replies; 8+ messages in thread
From: Mark E Mason @ 2006-04-11 23:29 UTC (permalink / raw)
To: Shanthi Kiran Pendyala (skiranp); +Cc: linux-mips
Hello,
> -----Original Message-----
> From: Shanthi Kiran Pendyala (skiranp) [mailto:skiranp@cisco.com]
> Sent: Tuesday, April 11, 2006 4:09 PM
> To: Mark E Mason
> Cc: linux-mips
> Subject: RE: Oprofile on sibyte 2.4.18 kernel
>
> Hi Mark,
>
> Thx for the info.
>
> The doc I have has the title 1250_1125-UM100-RDS.pdf. I went
> back to docsafe And looked for the sb1-um100-rds.pdf doc that
> you mention.
Ah - got it. What you're looking at here is the table for the SOC
performance counters, which aren't currently supported by oprofile. If
you compare the two, the SOC performance counters deal with activity on
the system Z-bus, the core performance counters deal with processor
cycles, instruction execution, L1 cache activity and the like.
> I thought sb1 is the core and if two of these cores are
> present it is labelled 1250 and If only one is present it is
> marketed as 1125 ? Is my understanding wrong ?
This is correct. From the documentation port of view, all of the "core
stuff" is in the SB1-UM100-RDS.pdf manual, the "SOC stuff" is in the
1250_1125_UM100-RDS.pdf manual. At this point, oprofile only supports
the core performance counters.
>
> Let me look at this document and see if it answers my questions.
>
> Also, yes I was looking at 2.6 git tree, not the CVS tree as
> I said below.. Sorry about That.
Not a problem. Please let us know if you have any more questions.
Thanks,
Mark
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Oprofile on sibyte 2.4.18 kernel
@ 2006-04-11 23:09 Shanthi Kiran Pendyala (skiranp)
0 siblings, 0 replies; 8+ messages in thread
From: Shanthi Kiran Pendyala (skiranp) @ 2006-04-11 23:09 UTC (permalink / raw)
To: Mark E Mason; +Cc: linux-mips
Hi Mark,
Thx for the info.
The doc I have has the title 1250_1125-UM100-RDS.pdf. I went back to
docsafe
And looked for the sb1-um100-rds.pdf doc that you mention.
I thought sb1 is the core and if two of these cores are present it is
labelled 1250 and
If only one is present it is marketed as 1125 ? Is my understanding
wrong ?
Let me look at this document and see if it answers my questions.
Also, yes I was looking at 2.6 git tree, not the CVS tree as I said
below.. Sorry about
That.
Shanthi kiran
>-----Original Message-----
>From: Mark E Mason [mailto:mark.e.mason@broadcom.com]
>Sent: Tuesday, April 11, 2006 2:42 PM
>To: Shanthi Kiran Pendyala (skiranp); Ralf Baechle
>Cc: linux-mips
>Subject: RE: Oprofile on sibyte 2.4.18 kernel
>
>Hello,
>
>FYI: don't use the oprofile tools tarball - use the latest
>from the CVS site on sourceforge. The last tarball on the
>website is more than a bit out of date.
>
>I'll follow up on your other questions in a separate email (in
>a little while....).
>
>/Mark
>
>>
>> #1: I looked at oprofile-0.9.1 and it lists this event for SB1 in the
>> events/mips/sb1 directory
>> --------------------------------------------------------------
>> ----------
>> ---
>> event:10 counters:1,2,3 um:zero minimum:500
>> name:DCACHE_FILLED_SHD_NONC_EXC :Dcache is filled (shared, nonc,
>> exclusive)
>> ----------------------------------------------------------------
>>
>> However this doesn't have an equivalent performance source Listed in
>> the sibyte manual (table 33 system performance counter sources).
>
>Are you looking in Sb1-UM100-RDS.pdf? This is in table 95 in
>my copy, on page 96/97 (section 11). Also note that the table
>isn't in order -- event #10 appears on the top of the 2nd
>page. It's logical grouping, not numeric.
>
>> #2: how does the mapping from event numbers to performance sources
>> work for sibyte ?
>>
>> I looked at the op_model_mipsxx.c file in the 2.6 CVS tree and the
>> macro it uses doesn't seem to match the format specified for
>> perf_cnt_cfg register in sibyte.
>
>Are you using the kernel from CVS instead of git? The SB1
>oprofile support didn't turn up in the kernel until sometime
>mid-January, and is only available through the git version
>(the CVS version of the kernel is long out of date).
>
>HTH,
>Mark
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Oprofile on sibyte 2.4.18 kernel
@ 2006-04-11 1:55 Shanthi Kiran Pendyala (skiranp)
0 siblings, 0 replies; 8+ messages in thread
From: Shanthi Kiran Pendyala (skiranp) @ 2006-04-11 1:55 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips
Hi Ralf,
Thanks for the reply.
>Correct. So if at all you would have to rip oprofile from the
>2.6 kernel and bolt that code back into the old kernel which
>would seem doable. The MIPS bits certainly don't rely on much
>2.6 infrastructure.
#1: I looked at oprofile-0.9.1 and it lists this event for SB1 in the
events/mips/sb1 directory
------------------------------------------------------------------------
---
event:10 counters:1,2,3 um:zero minimum:500
name:DCACHE_FILLED_SHD_NONC_EXC :Dcache is filled (shared, nonc,
exclusive)
----------------------------------------------------------------
However this doesn't have an equivalent performance source
Listed in the sibyte manual (table 33 system performance counter
sources).
#2: how does the mapping from event numbers to performance sources work
for sibyte ?
I looked at the op_model_mipsxx.c file in the 2.6 CVS tree and the macro
it uses doesn't seem to match the
format specified for perf_cnt_cfg register in sibyte.
What am I missing ?
Thx
Kiran
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Oprofile on sibyte 2.4.18 kernel
@ 2006-04-10 17:37 Mark E Mason
0 siblings, 0 replies; 8+ messages in thread
From: Mark E Mason @ 2006-04-10 17:37 UTC (permalink / raw)
To: Shanthi Kiran Pendyala (skiranp), linux-mips
Hello Shanthi,
The Sibyte group at broadcom has a set profiling tools for Linux 2.4
which provide basically the same functionality as oprofile. Simply
contact your FAE or email sibyte-software@broadcom.com to get a copy.
Thanks,
Mark Mason
mason@broadcom.com
> -----Original Message-----
> From: linux-mips-bounce@linux-mips.org
> [mailto:linux-mips-bounce@linux-mips.org] On Behalf Of
> Shanthi Kiran Pendyala (skiranp)
> Sent: Friday, April 07, 2006 1:39 PM
> To: linux-mips
> Subject: Oprofile on sibyte 2.4.18 kernel
>
> Hi,
>
> Did anyone port oprofile to 2.4.x kernel on sibyte ?.
>
> Looking over the mailing list threads it looks like it has
> been given up as a lost cause.
>
> But business reasons require us to work with 2.4.18 kernel
> for the next
> 9-12 months and
> We really would like explore a port.
>
> Or are there other tools that I can use ?
>
> Thank you
> Shanthi kiran
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Oprofile on sibyte 2.4.18 kernel
@ 2006-04-07 20:38 Shanthi Kiran Pendyala (skiranp)
2006-04-07 23:20 ` Ralf Baechle
0 siblings, 1 reply; 8+ messages in thread
From: Shanthi Kiran Pendyala (skiranp) @ 2006-04-07 20:38 UTC (permalink / raw)
To: linux-mips
Hi,
Did anyone port oprofile to 2.4.x kernel on sibyte ?.
Looking over the mailing list threads it looks like it has been given up
as a lost cause.
But business reasons require us to work with 2.4.18 kernel for the next
9-12 months and
We really would like explore a port.
Or are there other tools that I can use ?
Thank you
Shanthi kiran
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Oprofile on sibyte 2.4.18 kernel
2006-04-07 20:38 Shanthi Kiran Pendyala (skiranp)
@ 2006-04-07 23:20 ` Ralf Baechle
0 siblings, 0 replies; 8+ messages in thread
From: Ralf Baechle @ 2006-04-07 23:20 UTC (permalink / raw)
To: Shanthi Kiran Pendyala (skiranp); +Cc: linux-mips
On Fri, Apr 07, 2006 at 01:38:54PM -0700, Shanthi Kiran Pendyala (skiranp) wrote:
> Did anyone port oprofile to 2.4.x kernel on sibyte ?.
>
> Looking over the mailing list threads it looks like it has been given up
> as a lost cause.
Correct. So if at all you would have to rip oprofile from the 2.6 kernel
and bolt that code back into the old kernel which would seem doable. The
MIPS bits certainly don't rely on much 2.6 infrastructure.
> But business reasons require us to work with 2.4.18 kernel for the next
> 9-12 months and We really would like explore a port.
You at least want a newer 2.4 variant; 2.4.18 is now over 4 years old, is
from before the point where 2.4 really became stable and contains a number
of security revelant holes.
> Or are there other tools that I can use ?
Gprof, perfex 2 - not sure if the MIPS port of it was ever published though.
But nothing really that provides the same kind of information as oprofile.
Ralf
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-04-12 14:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11 21:42 Oprofile on sibyte 2.4.18 kernel Mark E Mason
2006-04-11 22:24 ` Ralf Baechle
-- strict thread matches above, loose matches on Subject: below --
2006-04-11 23:29 Mark E Mason
2006-04-11 23:09 Shanthi Kiran Pendyala (skiranp)
2006-04-11 1:55 Shanthi Kiran Pendyala (skiranp)
2006-04-10 17:37 Mark E Mason
2006-04-07 20:38 Shanthi Kiran Pendyala (skiranp)
2006-04-07 23:20 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.