linux-btrace.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Moyer <jmoyer@redhat.com>
To: Stephen Bates <sbates@raithlin.com>
Cc: linux-btrace@vger.kernel.org,  axboe@kernel.dk
Subject: Re: [PATCH v1 0/1] Add an option to stop blktrace based on events recorded
Date: Tue, 21 Jan 2025 16:45:44 -0500	[thread overview]
Message-ID: <x49sepbon7b.fsf@segfault.usersys.redhat.com> (raw)
In-Reply-To: Z41Z6VXqDfXlIO1h@snoc-beelink.cn.shawcable.net

Stephen Bates <sbates@raithlin.com> writes:

> Hi Jeff
>
>> Can you expand on the use case?  Why is the number of events a useful
>> parameter?
>>
>> Thanks,
>> Jeff
>
> I am working on tying blktrace into a prometheus exporter so I can
> monitor block-level activity across a fleet of storage servers. I
> don't want to overload either the storage server CPUs or the exporter
> itself when the server is under high load so I want to avoid using the
> time-based argument for blktrace.
>
> If I have access to an events based option I can run this knowing that
> in high-load situations I will not be capturing many, many IO and
> perhaps slowing down the server in the process.
>
> Does that make sense?

Yes, thanks for the clarification.  Originally I thought you might be
using the number of events as a proxy for the size of data collected.
I'm still not sure how a user would reason about how many events is too
many (or enough), but that's a not a problem for blktrace to figure out.

I'll reply to the patch with my comments.

Cheers,
Jeff


      reply	other threads:[~2025-01-21 21:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-21 22:00 [PATCH v1 0/1] Add an option to stop blktrace based on events recorded Stephen Bates
2025-01-14 14:29 ` Jeff Moyer
2025-01-19 20:00   ` Stephen Bates
2025-01-21 21:45     ` Jeff Moyer [this message]

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=x49sepbon7b.fsf@segfault.usersys.redhat.com \
    --to=jmoyer@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=linux-btrace@vger.kernel.org \
    --cc=sbates@raithlin.com \
    /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;
as well as URLs for NNTP newsgroup(s).