Bug 2079670
| Summary: | Failed to run netperf tool with "-c" parameter when boot a win2022 guest with "-smp > 32" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Yiqian Wei <yiwei> |
| Component: | virtio-win | Assignee: | Marek Kedzierski <mkedzier> |
| virtio-win sub component: | others | QA Contact: | Wenkang Ji <wji> |
| Status: | NEW --- | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | coli, jinzhao, juzhang, leidwang, leiyang, mkedzier, nilal, virt-maint, vkuznets, vrozenfe, wji, xiagao |
| Version: | 9.1 | Flags: | leidwang:
needinfo?
(mkedzier) |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| 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
Yiqian Wei
2022-04-28 04:11:29 UTC
In short: Netperf tool uses older Windows API to get the number of CPUs and undocumented API to get information about the performance of each CPU. Because older API has a limitation - if there are over 32 CPUs it always returns 32, I fixed the problem by using a newer API function to read the number of CPUs. To keep backward compatibility, the newer function is used only when is available. Pool request for netperf is here: https://github.com/HewlettPackard/netperf/pull/69 Still hit this issue on virtio-win-prewhql-0.1-230. kernel-5.14.0-205.el9.x86_64 qemu-kvm-7.1.0-5.el9.x86_64 seabios-bin-1.16.0-4.el9.noarch edk2-ovmf-20220826gitba0e0e4c6a-2.el9.noarch virtiofsd-1.4.0-1.el9.x86_64 (In reply to xiagao from comment #11) > Still hit this issue on virtio-win-prewhql-0.1-230. > > kernel-5.14.0-205.el9.x86_64 > qemu-kvm-7.1.0-5.el9.x86_64 > seabios-bin-1.16.0-4.el9.noarch > edk2-ovmf-20220826gitba0e0e4c6a-2.el9.noarch > virtiofsd-1.4.0-1.el9.x86_64 Hi, Did you get a fixed version of netperf from my repo? Thanks, Marek Hi Marek. As we discussed before,we also need to fix this issue on netserver.exe. Do you have any update about this bug? Thanks in advance! Thanks, Leidong Hi Marek, Could you please setup ITR and DTM for this bug? Thanks, Leidong Still hit this issue on virtio-win-prewhql-0.1-236. kernel-5.14.0-284.11.1.el9_2.x86_64 qemu-kvm-7.2.0-14.el9_2.x86_64 seabios-bin-1.16.1-1.el9.noarch edk2-ovmf-20221207gitfff6d81270b5-9.el9_2.noarch virtiofsd-1.5.0-1.el9.x86_64 |