This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1325363 - multithreaded clients with concurrent pmNewContext suffer deadlocks or low performance
multithreaded clients with concurrent pmNewContext suffer deadlocks or low pe...
Status: NEW
Product: Fedora
Classification: Fedora
Component: pcp (Show other bugs)
25
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: pcp-maint
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-08 10:29 EDT by Frank Ch. Eigler
Modified: 2017-08-23 11:13 EDT (History)
7 users (show)

See Also:
Fixed In Version: pcp-3.11.2-2.fc24 pcp-3.11.2-1.fc22 pcp-3.11.2-2.fc23 pcp-3.11.3-1.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-09 16:19:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
test program for forthcoming fix (2.28 KB, text/plain)
2016-04-08 10:29 EDT, Frank Ch. Eigler
no flags Details

  None (edit)
Description Frank Ch. Eigler 2016-04-08 10:29:48 EDT
Created attachment 1145152 [details]
test program for forthcoming fix

While parallelizing pmmgr's scanning logic, ran into a roadblock within libpcp, namely pmNewContext holding libpcp throughout its operation.  This means that opens to remote PM_CONTEXT_HOST's that are unreachable or slow serialize the client program, even if itself multithreaded.

A test case that demonstrates much better performance with a multithreaded pmNewContext (I have a prototype) shows outright deadlocks with current libpcp, not even just sloth.  Attaching test case.  Invoke with

  % ./multithread10 localhost localhost
Comment 1 Frank Ch. Eigler 2016-04-09 19:35:47 EDT
Patches posted to pcpfans.git for review via
http://oss.sgi.com/pipermail/pcp/2016-April/010171.html
Comment 2 Fedora Update System 2016-04-28 22:53:24 EDT
pcp-3.11.2-1.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-394320f755
Comment 3 Fedora Update System 2016-04-29 13:21:53 EDT
pcp-3.11.2-2.fc24 has been pushed to the Fedora 24 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-2016-bad5995fe9
Comment 4 Fedora Update System 2016-04-29 21:50:05 EDT
pcp-3.11.2-1.el5 has been pushed to the Fedora EPEL 5 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-EPEL-2016-394320f755
Comment 5 Fedora Update System 2016-04-29 22:23:02 EDT
pcp-3.11.2-1.fc22 has been pushed to the Fedora 22 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-2016-f8f919a355
Comment 6 Fedora Update System 2016-04-29 22:23:42 EDT
pcp-3.11.2-2.fc23 has been pushed to the Fedora 23 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-2016-53282a0c5a
Comment 7 Fedora Update System 2016-05-08 20:04:43 EDT
pcp-3.11.2-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2016-05-10 13:53:06 EDT
pcp-3.11.2-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2016-05-10 13:59:38 EDT
pcp-3.11.2-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 10 Fedora Update System 2016-06-18 02:17:40 EDT
pcp-3.11.3-1.el5 has been pushed to the Fedora EPEL 5 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-EPEL-2016-4745f3e292
Comment 11 Frank Ch. Eigler 2016-06-21 06:57:15 EDT
The multithreading improvement patches have not been merged into 3.11.3.
Comment 12 Fedora Update System 2016-07-09 16:19:09 EDT
pcp-3.11.3-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
Comment 13 Jan Kurik 2016-07-26 00:16:51 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Note You need to log in before you can comment on or make changes to this bug.