Bug 2104407
| Summary: | RFE: support to get thread-pool-max/thread-pool-min by domstats | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Han Han <hhan> |
| Component: | libvirt | Assignee: | Virtualization Maintenance <virt-maint> |
| libvirt sub component: | General | QA Contact: | Virtualization Bugs <virt-bugs> |
| Status: | CLOSED WONTFIX | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | coli, mprivozn, pkrempa, qinwang, virt-maint |
| Version: | 9.1 | Keywords: | FutureFeature |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-07-12 07:53:34 UTC | Type: | Feature Request |
| 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: | 2104404 | ||
| Bug Blocks: | |||
|
Description
Han Han
2022-07-06 07:50:00 UTC
The thread pool limits is in fact configuration of a VM and not really a statistic. I don't think this is a worthwhile addition to domain statistics which is mainly focused on data that depends on the running parameters of the VM Yeah, I don't see much value in reporting min/max values. If anything, then maybe the current size of the pool? And even then the interpretation of the number is doubtful. I mean, imagine min=1 max=10 and you'll find out that the current value is 10. Does it mean the iothread's pool is under pressure and has a lot of requests to process? No. At some point it decided to spawn 10 threads (maybe there was a spike in requests), but now there's no request to process at all. Or complete opposite and the iothread might indeed be the bottleneck. Han, could you please expand on why you think these values should be reported? (In reply to Michal Privoznik from comment #3) > Yeah, I don't see much value in reporting min/max values. If anything, then > maybe the current size of the pool? And even then the interpretation of the > number is doubtful. I mean, imagine min=1 max=10 and you'll find out that > the current value is 10. Does it mean the iothread's pool is under pressure > and has a lot of requests to process? No. At some point it decided to spawn > 10 threads (maybe there was a spike in requests), but now there's no request > to process at all. Or complete opposite and the iothread might indeed be the > bottleneck. > > Han, could you please expand on why you think these values should be > reported? This idea comes when I find the properties thread-pool-max/thread-pool-min cannot be queried by domstats. Now I agree that reporting the current size of the pool is more useful. But that's the thing I tired to explain in comment 3. What information can an user deduct from the current size of the pool? As noted in Comment #2, domain configuration shouldn't really be mirrored in statistics and per Comment #3, reporting of current size of the pool is not a useful statistic. (In reply to Michal Privoznik from comment #5) > But that's the thing I tired to explain in comment 3. What information can > an user deduct from the current size of the pool? Sorry for the late update. I am not clear. |