Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netkvm: Add a case for packet loss when slowly reusing memory buffers #4247

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

heywji
Copy link
Contributor

@heywji heywji commented Jan 7, 2025

Under various conditions, when the host-to-device packet rate is high, we lose packets in QEMU due to a lack of guest-allocated buffers. Look also at virtio-win/kvm-guest-drivers-windows#1012

ID: 2405

Signed-off-by: wji [email protected]

@heywji heywji changed the title Add a case for packet loss when slowly reusing memory buffers netkvm: Add a case for packet loss when slowly reusing memory buffers Jan 7, 2025
@heywji
Copy link
Contributor Author

heywji commented Jan 8, 2025

depends on avocado-framework/avocado-vt#4045

@heywji heywji force-pushed the KVMAUTOMA-2405 branch 2 times, most recently from 0dfb874 to d1b7c9e Compare January 10, 2025 09:40
Under various conditions, when the host-to-device packet rate is high, we lose
packets in QEMU due to a lack of guest-allocated buffers. Look also at
virtio-win/kvm-guest-drivers-windows#1012

Signed-off-by: wji <[email protected]>
@heywji
Copy link
Contributor Author

heywji commented Jan 14, 2025

@leidwang, call you to review this patch again. Thanks in advance.

Test result:

1-Host_RHEL.m10.u0.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2019.x86_64.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_threads.q35 Finshed 2025-01-14 00:31:42 2025-01-14 00:44:10 PASS 747.58115
2-Host_RHEL.m10.u0.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2019.x86_64.io-github-autotest-qemu.netkvm_buffer_shortage.q35 Finshed 2025-01-14 00:44:10 2025-01-14 01:05:00 PASS 1250.003384
Summary: 
Finshed=2, PASS=2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant