Bug 294721
Summary: | Provide lvmsar-style I/O statistics in lvm2 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Scott Crenshaw <crenshaw> | ||||
Component: | lvm2 | Assignee: | Bryn M. Reeves <bmr> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Corey Marthaler <cmarthal> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.1 | CC: | agk, coughlan, djansa, dwysocha, heinzm, jbrassow, joe.thornber, nperic, prajnoha, prockai, riek, sghosh, tao, zkabelac | ||||
Target Milestone: | beta | Keywords: | FutureFeature | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 586189 611818 1189089 (view as bug list) | Environment: | |||||
Last Closed: | 2015-10-12 15:41:45 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 249706 | ||||||
Bug Blocks: | 611818, 697866, 756082, 1056252 | ||||||
Attachments: |
|
Description
Rob Kenna
2007-09-18 13:58:53 UTC
Created attachment 462144 [details]
Old kernel patch
*** Bug 586189 has been marked as a duplicate of this bug. *** *** Bug 611818 has been marked as a duplicate of this bug. *** This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Since we are unable to provide this feature at this time, it has been proposed for the next release of Red Hat Enterprise Linux. Simple python prototype here that provides iostat functionality for logical volumes (including breaking down by segment or arbitrarily sized areas): http://git.engineering.redhat.com/git/users/breeves/lvmstat.git/ The intent is to add iostats support to libdm/dmsetup first and to then extend the LVM2 reporter to also include these fields (and allow us to build additional tools like lvmsar/lvmsadc and PCP integration on top of that). Looking at the LVM1 implementations of lvmsar and lvmsadc they are quite simple; lvmsadc records a timestamp then for each LV a summary line with the name and allocated extent count followed by a table (in LE order) of per-LE read/write IO counters. As with sysstat sadc this is expected to be run from a cron job to build up a series of periodic samples. The lvmsar command then takes this raw data and formats it into human-readable output. I'm not sure it makes sense to provide direct equivalents of this in LVM2; the dm-statistics support is considerably more flexible and complete (richer set of event counters and greater control for specifying regions of a device to be monitored). Since lvmsadc/lvmsar have not been available since RHEL3 it seems unlikely that anyone is relying on the specific output formats they provide. Anyway: the initial plan is to extend device-mapper reporting to be able to report stats values and to then make use of this from the LVM2 reporting tools. Once we have something working here we can consider whether other compatibility formats (beyond iostat) are worthwhile. |