Bug 219129
Summary: | virtio net performance degradation between Windows and Linux guest in kernel 6.10.3 | ||
---|---|---|---|
Product: | Virtualization | Reporter: | Anton Kuleshov (anton.wd) |
Component: | kvm | Assignee: | virtualization_kvm |
Status: | NEW --- | ||
Severity: | normal | CC: | alexucu, anton.wd, carnil, christian, i-am-not-a-robot, info, jftucker, jordan, kernel, paolo, rjgolo, vedran |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: |
Description
Anton Kuleshov
2024-08-06 09:16:52 UTC
Likely caused by e269d79c7d35aa3808b1f3c1737d63dab504ddc8, fixed by 89add40066f9ed9abe5f7f886fe5789ff7e0c50e Any idea when this fix will show up in a released kernel? No that is not yet clear, but I have proposed it's inclusion to the stable kernels a few days ago: https://lore.kernel.org/all/60bc20c5-7512-44f7-88cb-abc540437ae1@heusel.eu This doesn't seem to be fixed in 6.10.4 just yet, at least on Arch's default kernel variant. Yes this is expected as the patch has not yet been included in the stable series 😅 I'll wait for a bit and poke the thread again. https://github.com/jwhited/tun-einval-repro/blob/main/main.go contains a simplified reproduction of the issue. This writes a GSO_TCPv4 packet to a TUN device w/GSO=1240 and 2 equal length segments. The write returns EINVAL with e269d79c7d35aa3808b1f3c1737d63dab504ddc8 absent the fix in 89add40066f9ed9abe5f7f886fe5789ff7e0c50e. The patch made it to the 6.10 and 6.6 stable queues :) Thank you! On 8/14/24 03:24, bugzilla-daemon@kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=219129 > > --- Comment #7 from Christian Heusel (christian@heusel.eu) --- > The patch made it to the 6.10 and 6.6 stable queues :) > I can confirm that performance has been restored with 6.10.5 on my Linode instance. I was wondering why it was suddenly failing to connect to update servers due to extremely slow downloads or timeouts and now everything is OK. Report on the regressions list: https://lore.kernel.org/regressions/ZsyMzW-4ee_U8NoX@eldamar.lan/T/#m390d6ef7b733149949fb329ae1abffec5cefb99b And a downstream report in Debian: https://bugs.debian.org/1079684 Fix is queued up for 6.1 now aswell, thanks @carnil! https://lore.kernel.org/all/2024082741-crease-mug-f658@gregkh https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-6.1/net-drop-bad-gso-csum_start-and-offset-in-virtio_net_hdr.patch The degraded network performance also seems to be a problem in kernel 5.15.165. Should I file a new bug report? |