Send openlmi-reviews mailing list submissions to
openlmi-reviews(a)lists.fedorahosted.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.fedorahosted.org/mailman/listinfo/openlmi-reviews
or, via email, send a message with subject or body 'help' to
openlmi-reviews-request(a)lists.fedorahosted.org
You can reach the person managing the list at
openlmi-reviews-owner(a)lists.fedorahosted.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of openlmi-reviews digest..."
Today's Topics:
1. Review Request 827: [1/1] Account: Better return values for
methods (Roman Rakus)
2. Re: Review Request 827: [1/1] Account: Better return values
for methods (Michal Minar)
3. Re: Review Request 827: [1/1] Account: Better return values
for methods (Roman Rakus)
4. Review Request 830: completion [1/1] Completion: bash
completion for lmi shell (Roman Rakus)
_______________________________________________
openlmi-reviews mailing list
openlmi-reviews(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/openlmi-reviews
I tried to find out why our client scripts are so slow and I got quite
surprising results.
With default lmishell and https:// through loopback, I can get ~5-10
complete requests+responses/sec.
Bottleneck are:
1) lmishell - it did some unnecessary queries and it was promptly fixed
(http://reviewboard-openlmi.rhcloud.com/r/817/)
2) lmishell - it creates nice Python objects for everything and it takes
non-trivial amount of time (and memory), so I did my performance tests
with native pywbem. There is not much we can do about it, I can only
suggest to use lmishell for tasks, where performance is not that important.
2) pywbem - it opens new TCP connection for each request (rhbz#1004295)
and TLS takes some time to establish.
3) sblim-cmpi-base, it's really badly written and forks *a lot* for each
request it gets, e.g. they compute amount of swap by calling
system("cat /proc/swaps | awk '{print $3;}' | sed 1d");
Results with LMI_Account provider:
pywbem + https: 11 requests/sec.
pywbem + http: 21 req/sec
pywbem + unix socket: 25 req/sec
pegasus native C++ library + http: 25 req/sec
pegasus native C++ library + unix socket: 33 req/sec
Conclusions:
1) HTTPS decreases performance by 25%, I hope it gets much better when
rhbz#1004295 is fixed.
2) python decreases performance by another 25% (!), my wild guess is
that it's because their XML parser.
3) even with local unix socket and native c++ library, Pegasus takes
30ms to process one request.
Note that the tests were done on virtual HW and the amount of
requests/sec should be taken as relative measure.
Jan
Send openlmi-reviews mailing list submissions to
openlmi-reviews(a)lists.fedorahosted.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.fedorahosted.org/mailman/listinfo/openlmi-reviews
or, via email, send a message with subject or body 'help' to
openlmi-reviews-request(a)lists.fedorahosted.org
You can reach the person managing the list at
openlmi-reviews-owner(a)lists.fedorahosted.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of openlmi-reviews digest..."
Today's Topics:
1. Re: Review Request 814: exit [1/1] Account: Use return
CIM_RC_ERR_FAILED instead of exit(1) (Roman Rakus)
2. Review Request 819: openlmi-providers [1/1] Fix for
cim-schema > 2.33 (Radek Novacek)
3. Review Request 820: openlmi-networking [1/1] Fix for
cim-schema > 2.33 (Radek Novacek)
4. Re: Review Request 819: openlmi-providers [1/1] Fix for
cim-schema > 2.33 (Stephen Gallagher)
5. Re: Review Request 820: openlmi-networking [1/1] Fix for
cim-schema > 2.33 (Stephen Gallagher)
6. Re: Review Request 814: exit [1/1] Account: Use return
CIM_RC_ERR_FAILED instead of exit(1) (Jan Synacek)
7. Re: Review Request 820: openlmi-networking [1/1] Fix for
cim-schema > 2.33 (Radek Novacek)
8. Re: Review Request 819: openlmi-providers [1/1] Fix for
cim-schema > 2.33 (Radek Novacek)
9. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Robin Hack)
10. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Radek Novacek)
11. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Robin Hack)
12. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Robin Hack)
13. Re: Review Request 795: [1/1] Account: Added associative
thread locking. (Robin Hack)
14. Re: Review Request 795: [1/1] Account: Added associative
thread locking. (Robin Hack)
15. Re: Review Request 814: exit [1/1] Account: Use return
CIM_RC_ERR_FAILED instead of exit(1) (Roman Rakus)
16. Review Request 821: documentation [1/1] Account: Warn about a
bug (libuser) in documentation. (Roman Rakus)
17. Re: Review Request 821: documentation [1/1] Account: Warn
about a bug (libuser) in documentation. (Roman Rakus)
_______________________________________________
openlmi-reviews mailing list
openlmi-reviews(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/openlmi-reviews
Send openlmi-reviews mailing list submissions to
openlmi-reviews(a)lists.fedorahosted.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.fedorahosted.org/mailman/listinfo/openlmi-reviews
or, via email, send a message with subject or body 'help' to
openlmi-reviews-request(a)lists.fedorahosted.org
You can reach the person managing the list at
openlmi-reviews-owner(a)lists.fedorahosted.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of openlmi-reviews digest..."
Today's Topics:
1. Re: Review Request 793: doc [1/1] Account: Reflect delete
user changes in doc (Roman Rakus)
2. Review Request 807: openlmi-mof-register.py: Fix the
registration timestamp formatting (Tomas Smetana)
3. Re: Review Request 807: openlmi-mof-register.py: Fix the
registration timestamp formatting (Radek Novacek)
4. Review Request 808: [1/1] Account: Use constants for method
return values (Roman Rakus)
5. Re: Review Request 795: [1/1] Account: Added associative
thread locking. (Roman Rakus)
6. Re: Review Request 807: openlmi-mof-register.py: Fix the
registration timestamp formatting (Tomas Smetana)
7. Re: Review Request 731: journald: Add indications
(=?utf-8?b?VG9tw6HFoSBCxb5hdGVr?=)
8. Re: Review Request 808: [1/1] Account: Use constants for
method return values (Tomas Smetana)
9. Re: Review Request 734: journald: Use lmi logging
infrastructure for error messages (=?utf-8?b?VG9tw6HFoSBCxb5hdGVr?=)
10. Re: Review Request 808: [1/1] Account: Use constants for
method return values (Jan Safranek)
11. Re: Review Request 690: [1/1] journald: Basic provider
implementation (=?utf-8?b?VG9tw6HFoSBCxb5hdGVr?=)
12. Re: Review Request 759: journald: Map the PRIORITY field to
CIM_RecordForLog.PerceivedSeverity (=?utf-8?b?VG9tw6HFoSBCxb5hdGVr?=)
13. Re: Review Request 764: journald: Include process name and
PID in the message (=?utf-8?b?VG9tw6HFoSBCxb5hdGVr?=)
14. Re: Review Request 808: [1/1] Account: Use constants for
method return values (Roman Rakus)
15. Review Request 809: openlmi-tools [1/2] use NocaseDict
instead of dict where appropriate (Michal Minar)
16. Review Request 810: openlmi-tools [2/2] added
LMI_SoftwareVerificationJob to supported jobs (Michal Minar)
17. Review Request 813: openlmi-software(fix) [1/1] software:
fixed installation of rpm package from uri (Michal Minar)
18. Review Request 812: Account [2/2] Account: Remove unused code
(Roman Rakus)
19. Re: Review Request 813: openlmi-software(fix) [1/1] software:
fixed installation of rpm package from uri (Radek Novacek)
20. Re: Review Request 812: Account [2/2] Account: Remove unused
code (Radek Novacek)
21. Re: Review Request 812: Account [2/2] Account: Remove unused
code (Roman Rakus)
22. Re: Review Request 813: openlmi-software(fix) [1/1] software:
fixed installation of rpm package from uri (Michal Minar)
23. Re: Review Request 809: openlmi-tools [1/2] use NocaseDict
instead of dict where appropriate (Peter Hatina)
24. Re: Review Request 810: openlmi-tools [2/2] added
LMI_SoftwareVerificationJob to supported jobs (Peter Hatina)
25. Review Request 814: exit [1/1] Account: Use return
CIM_RC_ERR_FAILED instead of exit(1) (Roman Rakus)
26. Re: Review Request 809: openlmi-tools [1/2] use NocaseDict
instead of dict where appropriate (Michal Minar)
27. Re: Review Request 810: openlmi-tools [2/2] added
LMI_SoftwareVerificationJob to supported jobs (Michal Minar)
28. Review Request 815: Realmd: check for possible NULL
dereferences (Tomas Smetana)
29. Re: Review Request 815: Realmd: check for possible NULL
dereferences (=?utf-8?b?VG9tw6HFoSBCxb5hdGVr?=)
30. Re: Review Request 814: exit [1/1] Account: Use return
CIM_RC_ERR_FAILED instead of exit(1) (Jan Synacek)
31. Re: Review Request 815: Realmd: check for possible NULL
dereferences (Jan Synacek)
32. Re: Review Request 815: Realmd: check for possible NULL
dereferences (Tomas Smetana)
33. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Michal Minar)
34. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Robin Hack)
35. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Robin Hack)
36. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Radek Novacek)
37. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Robin Hack)
38. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Radek Novacek)
39. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Robin Hack)
40. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Radek Novacek)
41. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Jan Synacek)
42. Review Request 816: software(fix) [1/1] fixed getting
information about verification job (Michal Minar)
43. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Robin Hack)
44. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Radek Novacek)
45. Re: Review Request 805: [1/1] Service tests: Upstream test
for service profider from QA. (Jan Synacek)
46. Review Request 817: lmishell, fix lmi_isinstance class
fetching for root class (Peter Hatina)
47. Re: Review Request 817: lmishell, fix lmi_isinstance class
fetching for root class (Jan Safranek)
48. Re: Review Request 795: [1/1] Account: Added associative
thread locking. (Tomas Smetana)
_______________________________________________
openlmi-reviews mailing list
openlmi-reviews(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/openlmi-reviews