Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344027 - app-emulation/qemu-kvm-0.13.0-r2: enable use of large jumbo frames
Summary: app-emulation/qemu-kvm-0.13.0-r2: enable use of large jumbo frames
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-03 21:11 UTC by Andreas Steinmetz
Modified: 2012-09-10 02:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Steinmetz 2010-11-03 21:11:15 UTC
When using vde and large jumbo frames (mtu ~ 4K or larger) networking hangs. This is not only true for the stated qemu-kvm version but for earlier versions, too.


Reproducible: Always

Steps to Reproduce:
1. Use vde and do a nfs boot of the guest with rsize=8192,wsize=8192,tcp
2. Change the mtu of the guest to e.g. 9000
3. Do some network action on the guest that triggers the use of a jumbo frame.
Actual Results:  
Networking hangs and thus the root nfs is no longer accessible. Thus the guest system hangs.

It looks suspiciously as the mtu is silently kept at 1500. Frames appearing on the host vde tap interface look like this.


Expected Results:  
No problems at all :-)

See the following for a proposed fix for an older qemu version (don't think this is enough):

http://www.mail-archive.com/qemu-devel@nongnu.org/msg18766.html

Using tap and bridging directly instead of using vde works with larger mtus. BTW, the guest network is virtio based in both cases.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2011-02-22 21:02:59 UTC
Has this seen anymore upstream traction?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2011-05-26 00:42:15 UTC
Has this patch been resubmitted to upstream and gotten any feedback?
Comment 3 Stefan Behte (RETIRED) gentoo-dev Security 2011-06-20 23:17:04 UTC
I checked: it's not upstream yet.
Comment 4 Stefan Behte (RETIRED) gentoo-dev Security 2012-01-30 18:00:02 UTC
The patch is still not upstream. I suggest that you ping upstream about it.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2012-09-10 02:22:34 UTC
Jumbo frames (65k) work great using virtio. I don't use VDE so I can't speak for it but this really needs to go to qemu.org upstream.