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

FS#1870 - OpenWrt bridge poor speed as HVM domU guest under XenServer 7.2 #8454

Closed
openwrt-bot opened this issue Sep 28, 2018 · 0 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

GektorUA:

Hardware:
Wireless Adapter QCA9880 (PCI passthrough to OpenWrt guest)
Paravirtualized Adapter Network Adapter of XenServer (Netfront PCI driver)

XenServer 7.2 (all updates installed)
Virtualized OpenWRT 18.06.1 (stable build, x86_64, as guest — HVM with PV drivers domU)

All configuration is simply done, and Wi-Fi works on OpenWRT, have add Paravirtualized Adapter (vswitch bridged with LAN interface of Xenserver), then add it in Wireless configuration in web interface to bridge it, and do some speed tests over WiFi connection (from other VM -> Virtual Ethernet bridget with WiFi -> WiFi client) - download is great (maximum as possible), but upload (from WiFi -> WiFi bridget with Virtual Ethernet -> other VM) is terrible - it's all time about 0.1-0.2 mbit (and TX packets is dropping on Paravirtualized Adapter Ethernet interface)!

Then i do some tests:

  1. Install samba on guest OpenWRT to test download/upload speeds - all is great, speeds about maximum of WiFi speed. So - WiFi works normal. Try to test download/upload from OpenWRT to Xen (over Virtualized Ethernet bridge) - and all is great, speeds about maximum about OpenWRT storage speed!

  2. Try routed network (NAT) on OpenWRT and speeds is better, but not good - download is about maximum of WiFi, upload about 4-10 mbit and very high unusual CPU usage.

  3. Use both - internal (Single-Server Private Network) and External Network (based on NIC) each of them works identical with low speed OpenWrt bridge bug.
    But when i make PCI Passthrought of Physical Ethernet NIC - it works without issues.

  4. I have installed in same environment CentOS 7.5 with hostapd (same bridget Virtual Ethernet with PCI Passthrought WiFi) and it works good without any issues of speeds and CPU usage is not noticeable at all.

  5. Then i compile kernel with full Xen guest support in kernel_menuconfig, but nothing changed.

So, it's looks like problems in OpenWRT bridge with Wireless and Xen virtual Ethernet (before, i have successfully get it to work with same hardware in Hyper-V without any problems). Maybe i need to configure OpenWRT bridge to work properly with Xen virtual Ethernet, but i did not found any information on the web about it.

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

No branches or pull requests

1 participant