Bug 536656 (RHQ-984)
Summary: | optimize our usage of sigar objects | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | John Mazzitelli <mazz> |
Component: | Plugin Container | Assignee: | John Mazzitelli <mazz> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Corey Welton <cwelton> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | Keywords: | Improvement |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://jira.rhq-project.org/browse/RHQ-984 | ||
Whiteboard: | |||
Fixed In Version: | 1.2 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Mazzitelli
2008-10-15 19:29:00 UTC
This can be a performance impact on servers that have large core counts or where sigar has to work harder to find the proper counts. Fixed by using SigarProxyCache... caching data for only 1 second, but should help with some of the tight loop accesses. Otherwise the main value is the cpuinfo not having to be reloaded for each new Sigar(). this broke the ability to turn on/off native system on the fly at runtime. Start the agent with --nonative Type "native --os". Then "native --enable" Then "native --os" again. The output should be different (because the values are different coming from Sigar than from Java). svn rev2050 fixes it revs 2048 and 2050 implement this QA Verified, the native --enable/--disable and all associated functionality works correctly. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-984 This bug relates to RHQ-1750 |