All of lore.kernel.org
 help / color / mirror / Atom feed
* Questions about profiling ceph
@ 2016-11-22 19:42 Victor Denisov
  2016-11-22 20:00 ` Piotr Dałek
  0 siblings, 1 reply; 3+ messages in thread
From: Victor Denisov @ 2016-11-22 19:42 UTC (permalink / raw)
  To: ceph-devel

Hello ceph developers,

I'm learning how to profile ceph and came across this page:
http://docs.ceph.com/docs/giant/rados/troubleshooting/cpu-profiling/

The page suggests to use oprofile. I compiled oprofile version
1.1.0(http://oprofile.sourceforge.net/faq/), but it doesn't have
opcontrol binary.

Am I doing something wrong? Is it an outdated procedure for profiling?
Is there a newer one?

Thanks,
Victor.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Questions about profiling ceph
  2016-11-22 19:42 Questions about profiling ceph Victor Denisov
@ 2016-11-22 20:00 ` Piotr Dałek
  2016-11-22 23:05   ` Mark Nelson
  0 siblings, 1 reply; 3+ messages in thread
From: Piotr Dałek @ 2016-11-22 20:00 UTC (permalink / raw)
  To: Victor Denisov; +Cc: ceph-devel

On Tue, Nov 22, 2016 at 11:42:48AM -0800, Victor Denisov wrote:
> Hello ceph developers,
> 
> I'm learning how to profile ceph and came across this page:
> http://docs.ceph.com/docs/giant/rados/troubleshooting/cpu-profiling/
> 
> The page suggests to use oprofile. I compiled oprofile version
> 1.1.0(http://oprofile.sourceforge.net/faq/), but it doesn't have
> opcontrol binary.
> 
> Am I doing something wrong? Is it an outdated procedure for profiling?
> Is there a newer one?

Well, they actually noted (in the faq you linked) that opcontrol is a
legacy tool. And the cpu profiling guide is for "Giant" Ceph release
(also quite legacy).
Anyway, operf + opreport tandem is sufficient for me and I'm sure it
will be enough for you.

-- 
Piotr Dałek
branch@predictor.org.pl
http://blog.predictor.org.pl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Questions about profiling ceph
  2016-11-22 20:00 ` Piotr Dałek
@ 2016-11-22 23:05   ` Mark Nelson
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Nelson @ 2016-11-22 23:05 UTC (permalink / raw)
  To: Piotr Dałek, Victor Denisov; +Cc: ceph-devel

On 11/22/2016 02:00 PM, Piotr Dałek wrote:
> On Tue, Nov 22, 2016 at 11:42:48AM -0800, Victor Denisov wrote:
>> Hello ceph developers,
>>
>> I'm learning how to profile ceph and came across this page:
>> http://docs.ceph.com/docs/giant/rados/troubleshooting/cpu-profiling/
>>
>> The page suggests to use oprofile. I compiled oprofile version
>> 1.1.0(http://oprofile.sourceforge.net/faq/), but it doesn't have
>> opcontrol binary.
>>
>> Am I doing something wrong? Is it an outdated procedure for profiling?
>> Is there a newer one?
>
> Well, they actually noted (in the faq you linked) that opcontrol is a
> legacy tool. And the cpu profiling guide is for "Giant" Ceph release
> (also quite legacy).
> Anyway, operf + opreport tandem is sufficient for me and I'm sure it
> will be enough for you.
>

I like perf myself:

sudo perf record --call-graph dwarf -F99 -p <ceph daemon pid>
sudo perf report

Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-22 23:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-22 19:42 Questions about profiling ceph Victor Denisov
2016-11-22 20:00 ` Piotr Dałek
2016-11-22 23:05   ` Mark Nelson

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.