From: Jeff Johnson <jeff.johnson@aeoncomputing.com>
To: linux-kernel@vger.kernel.org
Subject: 2.6 diskstats and 4096 sector block devices?
Date: Fri, 13 May 2016 12:15:30 -0700 [thread overview]
Message-ID: <c1bb56a2-c916-0bf2-96fd-017a8cc3bbd3@aeoncomputing.com> (raw)
Greetings,
I am analyzing output in /proc/diskstats for block devices that have a
4096B physical and logical sector size. 4KN or 4K-native disk drives.
8 33 sdc1 1289 0 10312 5893 3258606 53 1668254992 16804002 31
583987 16807101
Fields 3 and 7 are sectors read and written respectively. For operations
on a 4KN device should fields 3 and 7 be interpreted as number of 4K
sectors written (total transferred = N * 8) or is each 4K sector
operation reflected as 8 ticks to N?
I am expecting 1MB transfers to the device and using 'delta[field7] /
delta[field5]' getting 128 which would point to diskstats handling
everything in terms of 512B operations.
To multiply by 8 or not to multiply by 8, that is the question.. :-)
Thanks,
--Jeff
------------------------------
Jeff Johnson
Co-Founder
Aeon Computing
jeff.johnson "dot" aeoncomputing.com
www.aeoncomputing.com
4170 Morena Boulevard, Suite D - San Diego, CA 92117
High-performance Computing / Lustre Filesystems / Scale-out Storage
reply other threads:[~2016-05-13 19:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=c1bb56a2-c916-0bf2-96fd-017a8cc3bbd3@aeoncomputing.com \
--to=jeff.johnson@aeoncomputing.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®