Bug 575796
| Summary: | performance issue of system.get_name API call | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Tomas Lestach <tlestach> |
| Component: | API | Assignee: | Tomas Lestach <tlestach> |
| Status: | CLOSED ERRATA | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 530 | CC: | cperry, dsglaser, jhutar, pnovotny, tao, xdmoon |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-11-18 08:29:31 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: | |||
| Bug Blocks: | 518253 | ||
|
Description
Tomas Lestach
2010-03-22 13:11:01 UTC
I've rewritten the API call to get the result faster. spacewalk.git: fa743bdce5b02aeed0b0a0d52b0fe0a1fbb6433a test case fix belongs to this change spacewalk.git: 69b9b47e4a71fcca2e52e5b0c1c52bc1266b6770 Cannot reproduce. I test it on several machines (archs i386/x86_64/s390x), but the API call times are very similar. Measurement results from my tests: Duration of: system.get_memory: 2.858413s, system.get_name: 3.273204s Duration of: system.get_memory: 5.997070s, system.get_name: 5.263084s Duration of: system.get_memory: 10.025141s, system.get_name: 13.187664s After chat with Tomas Lestach I must change the testing procedure little bit to be able reproduce the bug. The issue is apparent only when the system.getName() method is called on larger number of systems, not many times on single system. Verified. Results *before* errata update: Total systems: 100 Duration of: system.get_memory: 1.270379s, system.get_name: 16.700067s *after* errata update: Total systems: 100 Duration of: system.get_memory: 1.511934s, system.get_name: 1.701833s *** Bug 639363 has been marked as a duplicate of this bug. *** 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-2010-0897.html |