From: Rij <rij...@gm...> - 2009-04-28 16:35:37
|
Hello, I am trying to set up oprofile on CentOS5. I have a bunch of basic questions and I hope to get some answers here. Ok, my machine is a Xeon Quad Core E5405(2.0Ghz). When I run the command ophelp -r, it says: Core 2 Does this mean oprofile is not recognizing that there are 4 CPUs? |
From: Monthadar Al J. <mon...@gm...> - 2009-04-28 16:53:03
|
Hi, Your Xeon is based on Core 2, something like that I think. you can test by running Oprofile for a while, and then looking in /dev/oprofile/stats/cpuN if there are samples received in all 4 CPUs then it is fine. Br, On Tue, Apr 28, 2009 at 6:35 PM, Rij <rij...@gm...> wrote: > Hello, > > I am trying to set up oprofile on CentOS5. I have a bunch of basic > questions and I hope to get some answers here. > > Ok, my machine is a Xeon Quad Core E5405(2.0Ghz). > > When I run the command ophelp -r, it says: Core 2 > > Does this mean oprofile is not recognizing that there are 4 CPUs? > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > oprofile-list mailing list > opr...@li... > https://lists.sourceforge.net/lists/listinfo/oprofile-list > -- //Monthadar Al Jaberi |
From: Rij <rij...@gm...> - 2009-04-28 17:31:01
|
Not sure I understand that. I have a Xeon Quad Core which definitely has 4 cores. However, there are 2 dies with 2 cores per die. On Tue, Apr 28, 2009 at 9:53 AM, Monthadar Al Jaberi <mon...@gm...> wrote: > Hi, > > Your Xeon is based on Core 2, something like that I think. > > you can test by running Oprofile for a while, and then looking in > /dev/oprofile/stats/cpuN if there are samples received in all 4 CPUs > then it is fine. > > Br, > > On Tue, Apr 28, 2009 at 6:35 PM, Rij <rij...@gm...> wrote: >> Hello, >> >> I am trying to set up oprofile on CentOS5. I have a bunch of basic >> questions and I hope to get some answers here. >> >> Ok, my machine is a Xeon Quad Core E5405(2.0Ghz). >> >> When I run the command ophelp -r, it says: Core 2 >> >> Does this mean oprofile is not recognizing that there are 4 CPUs? >> >> ------------------------------------------------------------------------------ >> Register Now & Save for Velocity, the Web Performance & Operations >> Conference from O'Reilly Media. Velocity features a full day of >> expert-led, hands-on workshops and two days of sessions from industry >> leaders in dedicated Performance & Operations tracks. Use code vel09scf >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> _______________________________________________ >> oprofile-list mailing list >> opr...@li... >> https://lists.sourceforge.net/lists/listinfo/oprofile-list >> > > > > -- > //Monthadar Al Jaberi > |
From: Monthadar Al J. <mon...@gm...> - 2009-04-28 17:45:00
|
if you run Oprofile for example like this: sudo opcontrol --start runs some program sudo opcontrol --stop then you can 'cat' into /dev/oprofile/stats/cpuN like: cat /dev/oprofile/stats/cpu0/* It will show you if core 0 did receive any samples. The same thing goes for the other three CPUs. You see Core 2 here means an architecture, not a specific processor. Hope this helps. Br, On Tue, Apr 28, 2009 at 7:31 PM, Rij <rij...@gm...> wrote: > Not sure I understand that. > > I have a Xeon Quad Core which definitely has 4 cores. However, there > are 2 dies with 2 cores per die. > > On Tue, Apr 28, 2009 at 9:53 AM, Monthadar Al Jaberi > <mon...@gm...> wrote: >> Hi, >> >> Your Xeon is based on Core 2, something like that I think. >> >> you can test by running Oprofile for a while, and then looking in >> /dev/oprofile/stats/cpuN if there are samples received in all 4 CPUs >> then it is fine. >> >> Br, >> >> On Tue, Apr 28, 2009 at 6:35 PM, Rij <rij...@gm...> wrote: >>> Hello, >>> >>> I am trying to set up oprofile on CentOS5. I have a bunch of basic >>> questions and I hope to get some answers here. >>> >>> Ok, my machine is a Xeon Quad Core E5405(2.0Ghz). >>> >>> When I run the command ophelp -r, it says: Core 2 >>> >>> Does this mean oprofile is not recognizing that there are 4 CPUs? >>> >>> ------------------------------------------------------------------------------ >>> Register Now & Save for Velocity, the Web Performance & Operations >>> Conference from O'Reilly Media. Velocity features a full day of >>> expert-led, hands-on workshops and two days of sessions from industry >>> leaders in dedicated Performance & Operations tracks. Use code vel09scf >>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >>> _______________________________________________ >>> oprofile-list mailing list >>> opr...@li... >>> https://lists.sourceforge.net/lists/listinfo/oprofile-list >>> >> >> >> >> -- >> //Monthadar Al Jaberi >> > -- //Monthadar Al Jaberi |
From: Rij <rij...@gm...> - 2009-04-28 18:01:56
|
Alright. I tried that. And there are 4 subdirectories that were created - cpu0 .. cpu3. So I guess this is working just fine. Thanks for your help. Now on to the next question. I am setting some configuration parameters using opcontrol. For example, I set the --image option. When I do opcontrol --status, this setting shows up. However, when I set the option --session-dir and then do a --status, my --session-dir doesn't show. Why is that? Thanks, Rij On Tue, Apr 28, 2009 at 10:44 AM, Monthadar Al Jaberi <mon...@gm...> wrote: > if you run Oprofile for example like this: > > sudo opcontrol --start > runs some program > sudo opcontrol --stop > > then you can 'cat' into /dev/oprofile/stats/cpuN like: > > cat /dev/oprofile/stats/cpu0/* > > It will show you if core 0 did receive any samples. The same thing > goes for the other three CPUs. > > You see Core 2 here means an architecture, not a specific processor. > Hope this helps. > > Br, > > On Tue, Apr 28, 2009 at 7:31 PM, Rij <rij...@gm...> wrote: >> Not sure I understand that. >> >> I have a Xeon Quad Core which definitely has 4 cores. However, there >> are 2 dies with 2 cores per die. >> >> On Tue, Apr 28, 2009 at 9:53 AM, Monthadar Al Jaberi >> <mon...@gm...> wrote: >>> Hi, >>> >>> Your Xeon is based on Core 2, something like that I think. >>> >>> you can test by running Oprofile for a while, and then looking in >>> /dev/oprofile/stats/cpuN if there are samples received in all 4 CPUs >>> then it is fine. >>> >>> Br, >>> >>> On Tue, Apr 28, 2009 at 6:35 PM, Rij <rij...@gm...> wrote: >>>> Hello, >>>> >>>> I am trying to set up oprofile on CentOS5. I have a bunch of basic >>>> questions and I hope to get some answers here. >>>> >>>> Ok, my machine is a Xeon Quad Core E5405(2.0Ghz). >>>> >>>> When I run the command ophelp -r, it says: Core 2 >>>> >>>> Does this mean oprofile is not recognizing that there are 4 CPUs? >>>> >>>> ------------------------------------------------------------------------------ >>>> Register Now & Save for Velocity, the Web Performance & Operations >>>> Conference from O'Reilly Media. Velocity features a full day of >>>> expert-led, hands-on workshops and two days of sessions from industry >>>> leaders in dedicated Performance & Operations tracks. Use code vel09scf >>>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >>>> _______________________________________________ >>>> oprofile-list mailing list >>>> opr...@li... >>>> https://lists.sourceforge.net/lists/listinfo/oprofile-list >>>> >>> >>> >>> >>> -- >>> //Monthadar Al Jaberi >>> >> > > > > -- > //Monthadar Al Jaberi > |