Date: Fri, 4 Mar 2016 11:02:08 +0300 From: Alexey Tarasov <me@lexasoft.ru> To: current@freebsd.org Cc: =?utf-8?B?0KLQsNGA0LDRgdC+0LIg0JDQu9C10LrRgdC10LnigI4KINCS0Lg=?= =?utf-8?B?0LrRgtC+0YDQvtCy0LjRhw==?= <me@lexasoft.ru> Subject: Virtio network: poor performance with KVM hypervisor (latest Proxmox) Message-ID: <AA6E727D-5178-4253-86E2-49365E3699C5@lexasoft.ru>
next in thread | raw e-mail | index | archive | help
--Apple-Mail=_192845DF-E756-483E-A746-24A0BBA8486B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi all!=20 I am using the latest Proxmox 4.1 with all updates installed.=20 I have several VM's with FreeBSD guests and 1 VM with Ubuntu 14 (all = KVM).=20 Host system file download speed: 60 MBps.=20 FreeBSD guest download speed: 2 MBps on virtio network with TSO enabled, = 5-9 MBps with TSO disabled; 12 MBps on e1000 network.=20 Ubuntu guest: 60 MBps with virtio.=20 I've tried the following:=20 1) Different FreeBSD versions: 9.3, 10.2, 10.3-BETA3.=20 2) Different TSO settings, enabling/disabling RXCSUM.=20 3) Different TSO settings on host system.=20 The best results I got described above :(=20 Does anyone have any ideas how to get full network performance inside = FreeBSD guests?=20 -- Alexey Tarasov (\__/)=20 (=3D'.'=3D)=20 E[: | | | | :]=D0=97=20 (")_(") --Apple-Mail=_192845DF-E756-483E-A746-24A0BBA8486B Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILKDCCBT4w ggQmoAMCAQICEGM37e7QrPrTTQE5t15vU6owDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCSUwx FjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g QXV0aG9y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A1UEChMNU3RhcnRDb20gTHRkLjEpMCcGA1UECxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBB dXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0Q29tIENsYXNzIDMgQ2xpZW50IENBAhBjN+3u0Kz6000B Obdeb1OqMA0GCSqGSIb3DQEBAQUABIIBAJuyrYfyx2EnMgmyqxYqeun30bfxViQxaij25agQuBPs NAOntFSXF+80spL3xNXQ6+grW6DeLeDlGvIkqeFi3N3OWSrQitDU/TQ9ZJdLZRXWjy9dsQYwVj+F dMxiCL7p0nFKH1D8hoRFVVsIRA7jStQe+0ChZ7oez7iRwXxUZrcXS3YC/E2fEGLrybmEdAL2OpIS L1eZC/5BGWtIfpk1QrejQeGc0GMsReSvWfEjBsjpMx3Fh08otW3mvm7A5G5Z7wq4va+xiYAmjxmD 2+41x6xwwr6Uf5WdFE167LR4ER8FfTpmE7r9saTCtcvQqXqEymH0FhuuDL6ysgNHHuV5RnUAAAAA AAA= --Apple-Mail=_192845DF-E756-483E-A746-24A0BBA8486B--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AA6E727D-5178-4253-86E2-49365E3699C5>