From owner-freebsd-net@freebsd.org Thu Jul 4 10:01:15 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD05F15CF07C; Thu, 4 Jul 2019 10:01:14 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from smtp.krpservers.com (smtp.krpservers.com [62.13.128.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.krpservers.com", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C1C389786; Thu, 4 Jul 2019 10:01:13 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from [10.12.30.106] (host165-120-77-244.range165-120.btcentralplus.com [165.120.77.244]) (authenticated bits=0) by smtp.krpservers.com (8.15.2/8.15.2) with ESMTPSA id x64A17tj077015 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Jul 2019 11:01:08 +0100 (BST) (envelope-from kpielorz_lst@tdx.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tdx.co.uk; s=krpdkim; t=1562234468; bh=HxfnP60J9LwjAJkxy43aDndOxikiCS4w20sTfNeHk/o=; h=Date:From:To:Subject; b=lamkrcvRiHn4S/nr/4QKsbkczOPewQ9YrGQg0zpWO9aEVG91JeehkvoABE4JwQpzE MyW6Z4I99m2+XoaTs4ntcOtzQC1mOz9hLI5vjYNXH0RRXYwV64uklUL1rOpdKg/Png hCUQcaTVW3CtHlDYz1zf/i03Og+XQ1SgS1u+Esqes0MwS0Rx6ur6RYh8WhqYH1Mxaj TqXRufbhjwiJ/DUipkDle4s4HuB6BiAc5eOm/8Hu6ZcpAIYqGackw3fLLs599gRLZd Y6MAlUZRUnldFJMsS7yWJl8YKXV7CRiqJ8p/ikmFsoT/MUqFuZYoFqegtaWR7Iim9A w4TszpTWVZUMQ== Date: Thu, 04 Jul 2019 11:00:56 +0100 From: Karl Pielorz To: Christian M cc: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , freebsd-xen@freebsd.org, Eugene Grosbein , freebsd-net@freebsd.org Subject: Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer Message-ID: <9BAF7DF10B3842D6ADEE168D@[10.12.30.106]> In-Reply-To: References: <9c377fe7-5546-9e0b-fac9-076dd094cbac@grosbein.net> <47bb1bfe-ac39-78d3-c9b9-17ff1896e0ec@grosbein.net> <20190627101901.3szaaxhp4xzjiay5@MacBook-Air-de-Roger.local> <20190704072354.6ycduisiidz5iy2x@Air-de-Roger> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Rspamd-Queue-Id: 5C1C389786 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tdx.co.uk header.s=krpdkim header.b=lamkrcvR; dmarc=pass (policy=none) header.from=tdx.co.uk; spf=pass (mx1.freebsd.org: domain of kpielorz_lst@tdx.co.uk designates 62.13.128.145 as permitted sender) smtp.mailfrom=kpielorz_lst@tdx.co.uk X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[tdx.co.uk:s=krpdkim]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:smtp.krpservers.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_IP_LITERAL(0.50)[]; DKIM_TRACE(0.00)[tdx.co.uk:+]; MX_GOOD(-0.01)[cached: mx0.krpservers.com]; DMARC_POLICY_ALLOW(-0.50)[tdx.co.uk,none]; NEURAL_HAM_SHORT(-0.42)[-0.419,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.37)[asn: 60969(-1.78), country: GB(-0.09)]; ASN(0.00)[asn:60969, ipnet:62.13.128.0/24, country:GB]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jul 2019 10:01:15 -0000 --On 04 July 2019 10:59 +0200 Christian M wrote: > From my tests I found that 10.4-RELEASE was as fast as you could expect > (>10Gbit/s), then something changed in 11.0-RELEASE and carried on and got > even worse in 12.0-RELEASE. Would it not be a good idea to begin there > (10.4 -> 11.0), and try to identify what changes could impact the > performance drop so significantly? This is perhaps a much harder task than > it sounds for someone that knows nothing about what changes was made, and > how difficult it would be to identify what changes actually could be > relevant. Just a thought. Looking at FreeBSD source - there doesn't appear to be a lot that has changed (at least in sys/xen) even from 10.4 through to 12 - certainly nothing networking I can see (unless I'm using svn log 'wrong', or there's other xen stuff within FreeBSD I should be looking at). So this could be caused by other changes that have happened with the OS over that time. If I get time - I'll see if I can follow the thread and setup a similar test system here, to be fair we've not had a performance issue with Xen Networking (as nothing we do needs the performance - yet). We've been much more plagued by packet weirdness which virtio has fixed. Even if I can re-create things here - it may only be an "oh yeah, so it is" moment. -Kp