Bug 673083

Summary: LVM: Run-Time Regression for LVM commands in RHEL5.6.
Product: Red Hat Enterprise Linux 5 Reporter: Omri Hochman <ohochman>
Component: lvm2Assignee: Milan Broz <mbroz>
Status: CLOSED ERRATA QA Contact: Corey Marthaler <cmarthal>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.6CC: abaron, agk, bsarathy, cpelland, dwysocha, fnadge, heinzm, iheim, jbrassow, ovirt-maint, prajnoha, prockai, pvrabec, sghosh
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.02.74-6.el5 Doc Type: Bug Fix
Doc Text:
This field is the basis of the errata or release note for this bug. It can also be used for change logs. The Technical Note template, known as CCFR, is as follows: Cause What actions or circumstances cause this bug to present. Consequence What happens when the bug presents. Fix What was done to fix the bug. Result What now happens when the actions or circumstances above occur. Note: this is not the same as the bug doesn’t present anymore.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 10:50:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 673986    

Description Omri Hochman 2011-01-27 11:16:33 UTC
LVM: Run-Time Regression for LVM commands in RHEL5.6. 

Two hosts working in the same environment, against same storage machine, but with different lvm version. the host with the newer LVM version (lvm2-2.02.74-5.el5) provide slower Run-time results for lvm commands ('pvs'. 

- Attached log file 'pvs -vvvv' output.

'time pvs' using - lvm2-2.02.56-8.el5_5.6:
******************************************
real    0m1.137s
user    0m0.050s
sys     0m0.168s


'time pvs' using - lvm2-2.02.74-5.el5:
***************************************
real    0m9.409s
user    0m0.442s
sys     0m1.175s

Note:
*******
- hosts connected to 56 devices on NEXENTA storage 
(multipath -ll | grep NEXENTA| wc -l  = 56) .  
- This issue causes hosts with lvm2-2.02.74-5.el5 to fail on timeout on VDSM  'connectStoragePool' (RHEVM)

Comment 4 Omri Hochman 2011-01-27 12:46:57 UTC
After downgraded to 'lvm2-2.02.56-8.el5_5.6', the problematic host commands return much faster:

time pvs:
real    0m1.098s
user    0m0.060s
sys     0m0.120s

Comment 9 Milan Broz 2011-01-29 00:18:56 UTC
Fixed in lvm2-2.02.74-6.el5.

Comment 15 Florian Nadge 2011-05-26 15:31:44 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
This field is the basis of the errata or release note for this bug. It can also be used for change logs.

The Technical Note template, known as CCFR, is as follows:

Cause
    What actions or circumstances cause this bug to present.
Consequence
    What happens when the bug presents.
Fix
    What was done to fix the bug.
Result
    What now happens when the actions or circumstances above occur.
    Note: this is not the same as the bug doesn’t present anymore.

Comment 16 errata-xmlrpc 2011-07-21 10:50:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1071.html

Comment 17 errata-xmlrpc 2011-07-21 12:29:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1071.html