Bug 2110559
| Summary: | logconv.pl - Use a higher threshold for wtime, optime and etime in the Recommendations section. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Têko Mihinto <tmihinto> |
| Component: | 389-ds-base | Assignee: | LDAP Maintainers <idm-ds-dev-bugs> |
| Status: | NEW --- | QA Contact: | LDAP QA Team <idm-ds-qe-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.3 | CC: | idm-ds-dev-bugs, mreynolds, vashirov |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 9.4 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Têko Mihinto
2022-07-25 15:54:03 UTC
I can not reproduce this. The code shows it only logs a recommendation is it's greater than 0:
if (sprintf("%.2f", $wtimeAvg) > 0){
print "\n $recCount. Your average wtime is $wtimeAvg, you may want to investigate this performance problem.\n";
$recCount++;
}
Here is my output from logconv:
...
...
Average wtime (wait time): 0.000558868
Average optime (op time): 0.024036543
Average etime (elapsed time): 0.024593760
...
...
----- Recommendations -----
1. You have a significant difference between binds and unbinds. You may want to investigate this difference.
2. You have a significant difference between file descriptors taken and file descriptors returned. You may want to investigate this difference.
Cleaning up temp files...
Done.
Hi Mark, I can reproduce this behavior with RHDS 11.5 on RHEL 8.6 $ cat /etc/redhat-release Red Hat Enterprise Linux release 8.6 (Ootpa) $ $ rpm -qa | grep 389-ds-base-1 389-ds-base-1.4.3.29-3.module+el8dsrv+14615+a86efbbf.x86_64 $ $ logconv.pl -V single_conn.txt | tail -5 1. Your average wtime is 0.00896149, you may want to investigate this performance problem. Cleaning up temp files... Done. $ |