Bug 1724288
Summary: | Wrong wait calculation for collectl-dm-sD and collectl-sD in /etc/pcp/pmrep/pmrep.conf | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexandros Panagiotou <apanagio> |
Component: | pcp | Assignee: | Mark Goodwin <mgoodwin> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 29 | CC: | brolley, fche, lberk, mgoodwin, myllynen, nathans |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pcp-4.3.3-1 pcp-4.3.4-1.fc30 pcp-4.3.4-1.fc29 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-20 01:48:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alexandros Panagiotou
2019-06-26 16:32:24 UTC
Hello, One more note about the collectl-dm-sD report in pmrep.conf: The width of hinv.map.dmname is set to 4. This fits dm-3 but truncates dm-35 making it look like dm-3. Probably setting it to 6 is safer. Regards, Alexandros Hi Alexandros, I agree your proposed formula change is correct: wait.formula = (delta(disk.dev.read_rawactive) + delta(disk.dev.write_rawactive)) / (delta(disk.dev.read) + delta(disk.dev.write)) Since we already have disk.dev.total_rawactive and disk.dev.total, it can be simplified to: wait.formula = delta(disk.dev.total_rawactive) / delta(disk.dev.total) So I will make that change, thanks! Will also update the global derived metrics definitions for disk.{dev,dm,md}.await since these are also incorrect. Regards Fixed with the following upstream commit for pcp-4.3.3-1 : commit c119577d449868e45268bacad670e9a6b5dd9a7a Author: Mark Goodwin <mgoodwin> Date: Fri Jun 28 12:18:18 2019 +1000 pmrep: fix wait.formula for collectl-dm-sD and collectl-sD Resolves: Fedora BZ #1724288 wait = r_wait + w_wait is incorrect, see BZ #1724288. Instead use the disk.*.total (reads + writes) metrics to derive the total average wait time. Fixed in both pmrep.conf and derived iostat.conf. QA tested for groups derive, pmrep and pmiostat. FEDORA-2019-4076c8c0d7 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4076c8c0d7 FEDORA-2019-cdb6bafc6d has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-cdb6bafc6d pcp-4.3.3-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-4076c8c0d7 pcp-4.3.3-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-cdb6bafc6d Hello Marc, Thanks for the very quick response on this one. I'm far from being an expert on the metrics that are collected, so I certainly trust you more than myself. Do you think it makes sense to also make the field for hinv.map.dmname wider in collectl-dm-sD? It is a different thing, so strictly speaking it should be a different BZ, but I think it is a fairly trivial presentation issue, thus mentioning it here. As is right now, with only 4 characters, it truncates device names (e.g. dm-35 will appear as dm-3 which can be surprising at a first look). 6 would probably be better - I guess dm device names with more than 3 digits are quite rare. I'm not sure if this applies to other reports or tools. Regards, Alexandros (In reply to Alexandros Panagiotou from comment #8) > Hello Marc, > Thanks for the very quick response on this one. I'm far from being an expert > on the metrics that are collected, so I certainly trust you more than > myself. Do you think it makes sense to also make the field for > hinv.map.dmname wider in collectl-dm-sD? It is a different thing, so > strictly speaking it should be a different BZ, but I think it is a fairly > trivial presentation issue, thus mentioning it here. As is right now, with > only 4 characters, it truncates device names (e.g. dm-35 will appear as dm-3 > which can be surprising at a first look). 6 would probably be better - I > guess dm device names with more than 3 digits are quite rare. I'm not sure > if this applies to other reports or tools. > Hi Alexandros, yes definitely makes sense to increase the column width to avoid truncating the DM name. I made that change too, as part of the same commit, see upstream c119577d44986 : https://github.com/performancecopilot/pcp/commit/c119577d449868e45268bacad670e9a6b5dd9a7a Regards Hello, Indeed, I must have been blind when I was checking that the other day. Thanks! Alexandros FEDORA-2019-97183bed56 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-97183bed56 FEDORA-2019-44b383ec91 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-44b383ec91 pcp-4.3.4-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-97183bed56 pcp-4.3.4-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-44b383ec91 pcp-4.3.4-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. pcp-4.3.4-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |