From: Jody McIntyre <scjody@sun.com>
To: Gabor Gombas <gombasg@sztaki.hu>
Cc: linux-raid@vger.kernel.org, neilb@suse.de
Subject: Re: [RFC patch 1/1] Track raid5/6 statistics.
Date: Thu, 27 Nov 2008 08:52:48 -0500 [thread overview]
Message-ID: <20081127135248.GD29919@clouds> (raw)
In-Reply-To: <20081127114748.GE14570@boogie.lpds.sztaki.hu>
Hi Gabor,
On Thu, Nov 27, 2008 at 12:47:48PM +0100, Gabor Gombas wrote:
> Are these values useful for mere mortals trying to create a RAID array
> best suited for a specific workload, or are these only useful for people
> hacking on the RAID code?
I believe the average administrator could understand what most (if not
all) of the statistics mean, but doing something about it might require
a developer or at least someone with a bit of RAID experience. In our
use, we get customers to report the values to us then make tuning
suggestions (more likely) or provide a patch.
> If the former, then I'd suggest to use sysfs (something like
> /sys/block/<dev>/md/statistics, similar to
> /sys/class/net/<dev>/statistics). If the latter, then debugfs would be
> better.
I was thinking about your first suggestion but note that there is also
/proc/diskstats as well as /sys/block/<dev>/stat. The advantage of
having everything in one file is that you only have to open one file
when gathering statistics on many arrays, and /proc/mdstat already
exists as a precedent. I could add individual array statistics files as
well if useful.
I'm also going to investigate tracepoints as suggested by Dan, so all
this is subject to change :)
Cheers,
Jody
>
> Gabor
>
> --
> ---------------------------------------------------------
> MTA SZTAKI Computer and Automation Research Institute
> Hungarian Academy of Sciences
> ---------------------------------------------------------
next prev parent reply other threads:[~2008-11-27 13:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-26 19:04 [RFC patch 0/1] Lustre RAID 5/6 patches scjody
2008-11-26 19:04 ` [RFC patch 1/1] Track raid5/6 statistics scjody
2008-11-26 21:50 ` Dan Williams
2008-11-27 13:45 ` Jody McIntyre
2008-11-28 21:14 ` Dan Williams
2008-11-27 11:47 ` Gabor Gombas
2008-11-27 13:52 ` Jody McIntyre [this message]
2008-11-27 17:15 ` Gabor Gombas
2008-11-27 18:29 ` Jody McIntyre
2008-11-27 19:21 ` Mr. James W. Laferriere
2008-11-28 17:21 ` Bill Davidsen
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=20081127135248.GD29919@clouds \
--to=scjody@sun.com \
--cc=gombasg@sztaki.hu \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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 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.