From nobody Sun Aug 13 16:04:09 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RP2RN1vr8z4mK9R for ; Sun, 13 Aug 2023 16:04:48 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RP2RM3smbz4Ldv for ; Sun, 13 Aug 2023 16:04:47 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=HsY6tYXh; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2a00:1450:4864:20::22a as permitted sender) smtp.mailfrom=odhiambo@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2b9fa64db41so51377501fa.1 for ; Sun, 13 Aug 2023 09:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691942685; x=1692547485; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=0/aWiJFr8JDO97HlWdCAsOrpa3DuF2Q8uI72TEcFMgk=; b=HsY6tYXhPkeMJ4quyieqn/B2oFYxc+Ik0pTa4EiDZQgknIjVa3xKMZ0abb7sHytwpU jBSvTiEwNcz8FbjoMPyHLGGtVGCRu5tsMQxLQbeUlFjLFePEcQ9rde4dV0GS7xrLrjhM f043dXguCobTOT5Xe0E3xdoXYMbHA5rsEuffkOsTEeOjpY8BsGb1O3jVFzMnH6JjanXD kxMnHxKUFJ0NSYIoXtuxHkigWNV5N8qXm+eviowffqmnK0yAdgjhmTJ9eZFmQjmi354H SK3tr4GLYXZfxwgcMNlqOFGnuQccQNVnl5zBgZNnmLMboTJS7B0OxAVrTibdukl/hn83 0ESA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691942685; x=1692547485; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0/aWiJFr8JDO97HlWdCAsOrpa3DuF2Q8uI72TEcFMgk=; b=C4uUh2Gdtj89eWeIVFzI9pQlgVW/Q9opJGYkTweLDjuiB9U67qHFAeF4CKDZU7OptG MzzCR3A37v95tzCEK/Gjb+5zevx6F36Sr7T/1YKvOxIL293pspoGCMfB/l6rf/x16SBf LCAEy54ksnjkgxXmqA0kTV+l3J1px5AHXFRulTSYapMcZIrE3j6hYrwJ1dDCmysu4sbJ hBaIuNjb9AupmUthNx1oCvcyVBI3VTZUK2hs6C7qWeVw+CB/UjJuE/rUJhsjSwnD/6IO KHpOQIZs2bUPDP3MjEDDV9R2t6MdrGm8ifk5sIwO83ihX/pxhn7c0CkA8SHyChWndH0z /o0g== X-Gm-Message-State: AOJu0Yy0c7f1JrAy4Es4KKngKo6qqj7Gqba7eqRwdkXM7uv2wNAEHDdM /8dWMI33aSEdAv6t1IysO3m2OVYY7DgQB7tCrIV27OI1IasPgg== X-Google-Smtp-Source: AGHT+IFoz3c3HfvtK5MRgmypXnd1b4FEc9ED+gbBCsvgrSxVKl42Edr6id8Uhs3pC3PskrVc/9eU9VQSc51TP+no4t8= X-Received: by 2002:a2e:7301:0:b0:2b9:a28d:6495 with SMTP id o1-20020a2e7301000000b002b9a28d6495mr5317522ljc.9.1691942684949; Sun, 13 Aug 2023 09:04:44 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 From: Odhiambo Washington Date: Sun, 13 Aug 2023 19:04:09 +0300 Message-ID: Subject: bhyve VM not getting as much upload bandwidth as the host To: freebsd-virtualization@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b7848c0602d01aa0" X-Spamd-Result: default: False [-3.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.95)[-0.950]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22a:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4RP2RM3smbz4Ldv --000000000000b7848c0602d01aa0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello all, I am still new to virtualization (using bhyve) and wanted to see if I can get some help towards making headway with certain aspects. I am running a Debian12 VM under bhyve and I am wondering why it doesn't get as much upload bandwidth as the main host when I run speedtest: From inside the VM: wash@debian12$ speedtest-cli Retrieving speedtest.net configuration... Testing from XXXXXX (x.x.x.x)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Zuku (Nairobi) [0.16 km]: 6.798 ms Testing download speed......................................................................= .......... Download: 48.31 Mbit/s Testing upload speed......................................................................= ................................ Upload: 0.42 Mbit/s From the Host: [16:03 ~ ]$ speedtest-cli Retrieving speedtest.net configuration... Testing from XXXXXXXX (x.x.x.x)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Zuku (Nairobi) [0.16 km]: 2.493 ms Testing download speed......................................................................= .......... Download: 47.91 Mbit/s Testing upload speed......................................................................= ................................ Upload: 48.38 Mbit/s --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --000000000000b7848c0602d01aa0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

I am still new to virtualiza= tion (using bhyve) and wanted to see if I can get some help towards making = headway with certain aspects.

I am running a Debia= n12 VM=C2=A0under bhyve and I am wondering why it doesn't get as much u= pload bandwidth as the main host when I run speedtest:

F= rom inside the VM:

wash@debian12$ speedtest-cli
Retrieving=C2=A0<= a href=3D"http://speedtest.net/" target=3D"_blank">speedtest.net=C2=A0c= onfiguration...
Testing from XXXXXX (x.x.x.x)...
Retrieving=C2=A0speedtest.net=C2=A0serv= er list...
Selecting best server based on ping...
Hosted by Zuku (Nai= robi) [0.16 km]: 6.798 ms
Testing download speed........................= ........................................................
Download: 48.31= Mbit/s
Testing upload speed............................................= ..........................................................
Upload: 0.42 = Mbit/s

From the Host:
[16:03 ~ ]$ speedtest-cli
Retrieving=C2= =A0speedtest.net=C2= =A0configuration...
Testing from XXXXXXXX (x.x.x.x)...
Retrieving=C2= =A0speedtest.net=C2= =A0server list...
Selecting best server based on ping...
Hosted by Zu= ku (Nairobi) [0.16 km]: 2.493 ms
Testing download speed.................= ...............................................................
Download= : 47.91 Mbit/s
Testing upload speed.....................................= .................................................................
Upload= : 48.38 Mbit/s


--
Best regards,
Odhiambo WASHI= NGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.",=C2=A0egrep -v '^$|^= .*#'=C2=A0=C2=AF\_(=E3=83=84)_/=C2=AF<= span style=3D"font-size:12.8px">=C2=A0:-)
[How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/smart-questions.html]
--000000000000b7848c0602d01aa0--