From owner-freebsd-xen@freebsd.org Tue Jun 25 12:40:43 2019 Return-Path: Delivered-To: freebsd-xen@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 17F4215CB7EC; Tue, 25 Jun 2019 12:40:43 +0000 (UTC) (envelope-from christian.marcos@gmail.com) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA74588CE8; Tue, 25 Jun 2019 12:40:41 +0000 (UTC) (envelope-from christian.marcos@gmail.com) Received: by mail-io1-xd34.google.com with SMTP id e5so3356414iok.4; Tue, 25 Jun 2019 05:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CTbeuJEDDFN3dGYCFzDdWmUXc0xwIMcg1uqPYm4jGBI=; b=NM6mEBNgS0b98g9xzfd6SFaGRX16Y3gYlPjM4cFgQJuij3boYCGlYeiSBCSG1TK3RG m18E7CK5PDbarnowhslP0+baWcNj9vXmtYkWvlDYEdsyuYKC5aOJFfboXz56CVbp6J1M zK2TUtXGWGKNs+RGw40OeXJ5X9udneH6OlsSPdjoX6mM//CS9xpVil3Q/VDhPu280T5O hPgwEluvqw9agKYqDoMiavgiMti8LTWox/sGLVwJ7fEOcPpuBey66/H5HUb/m5wGyT1u jbXmOrBJtVMXM5K/X0S2CR2cbGsLrLxP4FbYzXkyfQS80iswyafNww1FsYi7Ug+Wo8Fv Bv2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CTbeuJEDDFN3dGYCFzDdWmUXc0xwIMcg1uqPYm4jGBI=; b=ny6k72LImxO8QDuA+01zBveNjo7h/quv1ysa6DmRBbEcCaqfFaDp28K0tjsmC57OQt wnn+rOqoC/K/n+gCV0UsWUeiCjDrnAOdRC0/xcNcMP2o6jed55ePUVq+Z1bd5xaTwuxJ W3iIP+7sW1zH2ra311/YO/DymcC40CQleEeM2YKmNRW8m+lDTIXusVcX0RVeTJeDBZ10 ELeLOxgJktSl3EJtANBb6QPNj57k7uebe2tkHAeQMAbQnIczVHU6HDFHqYeLJUDbW7q6 lX7Z3+F/qjLjK9Cqbi89n1ZU1tauqDwZZcwLTMSLG8KcozWRuiF1Xz9rfYIYyxiWWjnq OJSw== X-Gm-Message-State: APjAAAUS8XEnF1SizyUEQkfFU4EnUwS3zo2dS7FU3j9WxN7Pb4i4aW6n m4oNOwETiUyG9I7XoSrYbzg9mh0ljoniSxoJdjmFceIG X-Google-Smtp-Source: APXvYqyU2kj5bMuTpL1ByLV1DhYTPyEdE0/5svZ1kA2vDqGFVKuodC5XJfXk4cUku6NT0F/4EIdtFZxK52aIb59X2zQ= X-Received: by 2002:a5e:a710:: with SMTP id b16mr23053160iod.38.1561466440695; Tue, 25 Jun 2019 05:40:40 -0700 (PDT) MIME-Version: 1.0 References: <12994df1-f847-ec92-aae8-43a32e59385f@darco.dk> <20190625082103.qiiz2cikrauaqlas@MacBook-Air-de-Roger.local> In-Reply-To: From: Christian M Date: Tue, 25 Jun 2019 14:40:29 +0200 Message-ID: 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 To: Eugene Grosbein Cc: freebsd-xen@freebsd.org, freebsd-net@freebsd.org X-Rspamd-Queue-Id: CA74588CE8 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=NM6mEBNg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of christianmarcos@gmail.com designates 2607:f8b0:4864:20::d34 as permitted sender) smtp.mailfrom=christianmarcos@gmail.com X-Spamd-Result: default: False [-6.54 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[4.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.60)[ip: (-7.50), ipnet: 2607:f8b0::/32(-3.14), asn: 15169(-2.33), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.93)[-0.926,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2019 12:40:43 -0000 I've disabled them all on both VM's with FreeBSD 12.0-RELEASE (ifconfig xn0 -txcsum -rxcsum -lro -tso), and also tried disabling everything for the VIF via XCP-ng earlier. It made no difference unfortunately. Den tis 25 juni 2019 kl 14:08 skrev Eugene Grosbein : > 25.06.2019 18:55, Christian M wrote: > > > Please note the > > extremely uneven throughput for test 2 below. It's almost like the > > throughput increased when running tcpdump simultaneously. > > Generally this indicates broken "hardware" offload for some features > like txcsum/rxcsum/vlan_hwcsum/vlan_hwtagging etc. > > Some of them may be automatically disabled while interface is put in > promiscuous mode > by running tcpdump and enabled back after tcpdump terminated. > > You should look at "options" line in the output of ifconfig for the > interface > and manually disable offloads (look for ifconfig(8) manual for details). > They retry tests without tcpdump running. > >