From owner-freebsd-virtualization@freebsd.org Sun Aug 16 21:01:12 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 197B63C6260 for ; Sun, 16 Aug 2020 21:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BV8jM6Jt1z3Ytk for ; Sun, 16 Aug 2020 21:01:11 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8DADA3C625E; Sun, 16 Aug 2020 21:01:11 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8CD1B3C6360 for ; Sun, 16 Aug 2020 21:01:11 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BV8jM0dTLz3Z7K for ; Sun, 16 Aug 2020 21:01:11 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DC23F160A5 for ; Sun, 16 Aug 2020 21:01:10 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 07GL1A18098790 for ; Sun, 16 Aug 2020 21:01:10 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07GL1Apu098788 for virtualization@FreeBSD.org; Sun, 16 Aug 2020 21:01:10 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202008162101.07GL1Apu098788@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 16 Aug 2020 21:01:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Aug 2020 21:01:12 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 240945 | [hyper-v] [netvsc] hn network driver incorrectly 1 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Mon Aug 17 01:04:20 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5B33C37AAC8 for ; Mon, 17 Aug 2020 01:04:20 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (1.212.52.36.ap.yournet.ne.jp [36.52.212.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BVG5t6jBMz410Z for ; Mon, 17 Aug 2020 01:04:17 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [36.52.212.1]) by kx.truefc.org (8.15.2/8.15.2) with ESMTP id 07H148Tm059096; Mon, 17 Aug 2020 10:04:08 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202008170104.07H148Tm059096@kx.truefc.org> Date: Mon, 17 Aug 2020 10:04:07 +0900 From: KIRIYAMA Kazuhiko To: freebsd-virtualization@freebsd.org Cc: kiri@truefc.org Subject: Re: Why qemu-system-aarch64 so late to process ? In-Reply-To: <202008110123.07B1NChc032219@kx.truefc.org> References: <202008110123.07B1NChc032219@kx.truefc.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1597626259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wTt+sy4N2b5CyBtV+JDjvLOXI9S7IXC1RCDLlhnHF8Q=; b=DD3VyNU041XKI5K2n6T8ozTJokhrb7DvXgEXscmXAKjzUg5wfjxMQDNrCPTi7OdslQDh7m vity66/bgyECMfA4Ny8a3QyXdDLyeiA1AgIiR0N/eVbSa5x1aPiz7Io5XVz5WjJKDIKLzu /2phoVlOGjjltq4A+CiyCfQwq1+ETEIFo8ehSBVOeXyrS4ptKAbg9PiIKDhIIKytJVsWco t5PclGJ5me53U8t/CffyX7xp6BfgpK+Td82dB2xPDs9Ie2Zk35e9Uf4pl8Wmf89BYo9SA2 n12F943ByxJes1PC0eB2eiS6KSSnZW585RFzE48YooVxIS4fBGcaPld4VGcvOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1597626259; a=rsa-sha256; cv=none; b=LOVe4eOqUaUC/X7NxXKt3vAy+GeFQDLukxE7jeAsS1CQzDp8dmSNC2Ov6y7Z05EF5gQRQu qPk9KeU3UBMDRjjsVwu8YXpewZ/His5dewE0nUCp0VoArj8UFMySDtKD8YQfWRyt2Bfz5F 19GhkLgv9NhpEqwM6yKmYYaOOsT9U1eq6Kqkkrpiu1TcNAFtZ/OcGkiBgVy3/dZ3hRUfUn 61Em58kcTu9ZNqcRZ3krlFFL4Tz0Zp6uy691jFVMHzqHBNaiGdKPQzfiWkizyIYo8I2n+K xWPvqevEd28vZHVxe3HJflgQZJjvghCCkkH3UH+OCSj55mOcS6KdBb881dAvBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of kiri@truefc.org has no SPF policy when checking 36.52.212.1) smtp.mailfrom=kiri@truefc.org X-Rspamd-Queue-Id: 4BVG5t6jBMz410Z X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kiri@truefc.org has no SPF policy when checking 36.52.212.1) smtp.mailfrom=kiri@truefc.org X-Spamd-Result: default: False [2.15 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_SIGNED(0.00)[i=1]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[truefc.org]; NEURAL_SPAM_MEDIUM(0.03)[0.030]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.42)[-0.422]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.45)[0.448]; RCVD_COUNT_ONE(0.00)[1]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10013, ipnet:36.52.208.0/21, country:JP]; SUBJECT_ENDS_QUESTION(1.00)[]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2020 01:04:20 -0000 Hi Disk access performance is about 10 times between bhyve and qemu: root@jdtpkxb:~ # diskinfo -vt vtbd0p2 vtbd0p2 512 # sectorsize 31138512896 # mediasize in bytes (29G) 60817408 # mediasize in sectors 131072 # stripesize 20480 # stripeoffset 3785 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. # Disk descr. BHYVE-438B-D187-47E7 # Disk ident. # Attachment No # TRIM/UNMAP support Unknown # Rotation rate in RPM Seek times: Full stroke: 250 iter in 0.019028 sec = 0.076 msec Half stroke: 250 iter in 0.018842 sec = 0.075 msec Quarter stroke: 500 iter in 0.032337 sec = 0.065 msec Short forward: 400 iter in 0.027096 sec = 0.068 msec Short backward: 400 iter in 0.027531 sec = 0.069 msec Seq outer: 2048 iter in 0.106816 sec = 0.052 msec Seq inner: 2048 iter in 0.113622 sec = 0.055 msec Transfer rates: outside: 102400 kbytes in 0.080248 sec = 1276044 kbytes/sec middle: 102400 kbytes in 0.062225 sec = 1645641 kbytes/sec inside: 102400 kbytes in 0.062555 sec = 1636959 kbytes/sec root@jdtpkxb:~ # gpart show vtbd0 => 40 67108784 vtbd0 GPT (32G) 40 1024 1 freebsd-boot (512K) 1064 60817408 2 freebsd-ufs (29G) 60818472 6290352 3 freebsd-swap (3.0G) root@jdtpkxb:~ # root@lpbkpkx:~ # diskinfo -vt vtbd0p2 vtbd0p2 512 # sectorsize 31138512896 # mediasize in bytes (29G) 60817408 # mediasize in sectors 0 # stripesize 272650240 # stripeoffset 60334 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. # Disk descr. # Disk ident. # Attachment No # TRIM/UNMAP support Unknown # Rotation rate in RPM Seek times: Full stroke: 250 iter in 0.127904 sec = 0.512 msec Half stroke: 250 iter in 0.126985 sec = 0.508 msec Quarter stroke: 500 iter in 0.285858 sec = 0.572 msec Short forward: 400 iter in 0.206051 sec = 0.515 msec Short backward: 400 iter in 0.201722 sec = 0.504 msec Seq outer: 2048 iter in 1.050497 sec = 0.513 msec Seq inner: 2048 iter in 1.019406 sec = 0.498 msec Transfer rates: outside: 102400 kbytes in 0.505535 sec = 202558 kbytes/sec middle: 102400 kbytes in 0.620144 sec = 165123 kbytes/sec inside: 102400 kbytes in 0.615600 sec = 166342 kbytes/sec root@lpbkpkx:~ # gpart show vtbd0 => 40 67108784 vtbd0 GPT (32G) 40 532480 1 freebsd-boot (260M) 532520 60817408 2 freebsd-ufs (29G) 61349928 5758896 3 freebsd-swap (2.7G) root@lpbkpkx:~ # Does it caused by disk cache ? On Tue, 11 Aug 2020 10:23:12 +0900, KIRIYAMA Kazuhiko wrote: > > Hi, all > > I'm working on qemu-system-aarch64 and try to build > packages, but it's too late to compile stuffs. I've compare > to bhyve package building procedure, then about 70 times > later than bhyve one. I don't know why so much late on > qemu-system-aarch64. > > Following results are devel/binutils package building > process between bhyve and qemu-system-aarch64. > > === devel/binutils package building (bhyve) === > > VM environments: > > root@vm:~ # cat /vm/jdtpkxb/jdtpkxb.conf > loader="bhyveload" > cpu=4 > memory=8GB > network0_type="virtio-net" > network0_switch="local" > disk0_type="virtio-blk" > disk0_name="disk0.img" > storage=32G > memory=8G > cpu=4 > uuid="200bdead-cd7e-11ea-8cb7-0cc47ab3cfd4" > network0_mac="58:9c:fc:02:0f:18" > root@vm:~ # tail -35 /vm/jdtpkxb/vm-bhyve.log > Jul 27 06:24:14: [primary disk dev: file] > Jul 27 06:24:14: initialising network device tap1 > Jul 27 06:24:14: setting mtu of tap1 to 9000 > Jul 27 06:24:14: adding tap1 -> vm-local (local addm) > Jul 27 06:24:14: bring up tap1 -> vm-local (local addm) > Jul 27 06:24:14: booting > Jul 27 06:24:14: bhyveload -c /dev/nmdm-jdtpkxb.1A -m 8GB -e autoboot_delay=3 -d /vm/jdtpkxb/disk0.img jdtpkxb > Jul 27 06:24:18: [bhyve options: -c 4 -m 8GB -AHP -U 200bdead-cd7e-11ea-8cb7-0cc47ab3cfd4 -u] > Jul 27 06:24:18: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,virtio-blk,/vm/jdtpkxb/disk0.img -s 5:0,virtio-net,tap1,mac=58:9c:fc:02:0f:18] > Jul 27 06:24:18: [bhyve console: -l com1,/dev/nmdm-jdtpkxb.1A] > Jul 27 06:24:18: starting bhyve (run 1) > Jul 28 21:44:41: bhyve exited with status 1 > Jul 28 21:44:41: destroying network device tap1 > Jul 28 21:44:42: stopped > Aug 10 09:58:51: initialising > Aug 10 09:58:51: [loader: bhyveload] > Aug 10 09:58:51: [cpu: 4] > Aug 10 09:58:51: [memory: 8GB] > Aug 10 09:58:51: [hostbridge: standard] > Aug 10 09:58:51: [com ports: com1] > Aug 10 09:58:51: [uuid: 200bdead-cd7e-11ea-8cb7-0cc47ab3cfd4] > Aug 10 09:58:51: [utctime: yes] > Aug 10 09:58:51: [debug mode: no] > Aug 10 09:58:51: [primary disk: disk0.img] > Aug 10 09:58:51: [primary disk dev: file] > Aug 10 09:58:51: initialising network device tap2 > Aug 10 09:58:51: setting mtu of tap2 to 9000 > Aug 10 09:58:51: adding tap2 -> vm-local (local addm) > Aug 10 09:58:51: bring up tap2 -> vm-local (local addm) > Aug 10 09:58:51: booting > Aug 10 09:58:51: bhyveload -c /dev/nmdm-jdtpkxb.1A -m 8GB -e autoboot_delay=3 -d /vm/jdtpkxb/disk0.img jdtpkxb > Aug 10 09:58:54: [bhyve options: -c 4 -m 8GB -AHP -U 200bdead-cd7e-11ea-8cb7-0cc47ab3cfd4 -u] > Aug 10 09:58:54: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,virtio-blk,/vm/jdtpkxb/disk0.img -s 5:0,virtio-net,tap2,mac=58:9c:fc:02:0f:18] > Aug 10 09:58:54: [bhyve console: -l com1,/dev/nmdm-jdtpkxb.1A] > Aug 10 09:58:54: starting bhyve (run 1) > root@vm:~ # > > Package building process in VM: > > root@jdtpkxb:~ # top -bd1 > last pid: 54340; load averages: 2.91, 1.23, 0.61 up 0+05:28:59 15:27:58 > 37 processes: 5 running, 32 sleeping > CPU: 0.3% user, 0.0% nice, 0.2% system, 0.1% interrupt, 99.4% idle > Mem: 208M Active, 125M Inact, 838M Wired, 692M Buf, 6749M Free > Swap: 3071M Total, 3071M Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 54299 root 1 75 0 154M 108M RUN 0 0:01 10.99% cc > 54315 root 1 74 0 124M 84M CPU3 3 0:01 8.98% cc > 54323 root 1 74 0 157M 113M CPU2 2 0:01 0.00% cc > 16066 root 1 20 0 21M 9828K select 0 0:01 0.00% sshd > 624 ntpd 1 20 0 21M 6420K select 2 0:01 0.00% ntpd > 54339 root 1 73 0 132M 87M CPU1 1 0:01 0.00% cc > 17898 root 1 52 0 19M 7540K wait 2 0:00 0.00% sh > 16070 root 1 52 0 19M 7372K wait 1 0:00 0.00% sh > 665 root 1 20 0 18M 7036K select 0 0:00 0.00% sendmail > 52975 root 1 52 0 13M 3596K select 0 0:00 0.00% gmake > 672 root 1 20 0 13M 2832K nanslp 0 0:00 0.00% cron > 495 root 1 20 0 13M 2836K select 1 0:00 0.00% syslogd > 25104 root 1 52 0 15M 4592K wait 3 0:00 0.00% gmake > 25091 root 1 52 0 15M 4332K wait 3 0:00 0.00% gmake > 23169 root 1 52 0 13M 3200K wait 2 0:00 0.00% make > 761 root 1 20 0 14M 4448K pause 3 0:00 0.00% tcsh > 52886 root 1 52 0 13M 3492K wait 0 0:00 0.00% gmake > 728 root 1 39 0 21M 9440K select 3 0:00 0.00% sshd > > root@jdtpkxb:~ # uname -a > FreeBSD jdtpkxb 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r363381M: Thu Jul 23 22:48:19 JST 2020 root@msrvkxb:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64 > root@jdtpkxb:~ # svnlite info /usr/ports > Path: /usr/ports > Working Copy Root Path: /usr/ports > URL: http://svn.freebsd.org/ports/head > Relative URL: ^/head > Repository Root: http://svn.freebsd.org/ports > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 > Revision: 542063 > Node Kind: directory > Schedule: normal > Last Changed Author: glewis > Last Changed Rev: 542063 > Last Changed Date: 2020-07-12 11:13:27 +0900 (Sun, 12 Jul 2020) > > root@jdtpkxb:~ # > > Package building result: > > :===> Building binutils-2.33.1_2,1 start 2020.08.10 15:25:33 > Updating database digests format: .......... done > Checking integrity... done (0 conflicting) > Deinstallation has been requested for the following 233 packages (of 0 packages in the universe): > : > (snip) > : > install -m 0644 /var/ports/work/var/ports/jdtpkxb/devel/binutils/work-native/binutils-2.33.1/includ > e/plugin-api.h /var/ports/work/var/ports/jdtpkxb/devel/binutils/work-native/stage/usr/local/include/ > /bin/rm -f /var/ports/work/var/ports/jdtpkxb/devel/binutils/work-native/stage/usr/local/include/ansi > decl.h > /usr/bin/sed -i.bak '/#include "ansidecl.h"/d' /var/ports/work/var/ports/jdtpkxb/devel/binutils/work > -native/stage/usr/local/include/bfd.h > ====> Compressing man pages (compress-man) > ===> Building package for binutils-2.33.1_2,1 > :<=== Building binutils-2.33.1_2,1 end 2020.08.10 15:32:44 (00:07:11) > > > === devel/binutils package building (qemu-system-aarch64) === > > VM environments: > > root@vm:~ # cat /vm/lpbkpkx/lpbkpkx.conf > loader="qemu-system-aarch64" > machine=arm64 > machine_arc=aarch64 > cpu=4 > memory=8GB > network0_type="virtio-net-device" > network0_switch="local" > disk0_type="virtio-blk-device" > disk0_name="disk0.img" > storage=32G > qemu_telnet_port="5044" > qemu_monitor_port="5045" > ssh_host="192.168.1.233" > ssh_port="22" > network0_mac="58:9c:fc:0b:1d:a6" > uuid="7f22b8ab-c0bd-11ea-a00d-0cc47ab3cfd4" > root@vm:~ # tail -35 /vm/lpbkpkx/vm-bhyve.log > Aug 10 09:58:38: setting mtu of tap1 to 9000 > Aug 10 09:58:38: adding tap1 -> vm-local (local addm) > Aug 10 09:58:38: bring up tap1 -> vm-local (local addm) > Aug 10 09:58:38: booting > Aug 10 09:58:38: [qemu standard options: -machine virt -cpu cortex-a57 -smp 4 -m 8G -name lpbkpkx -uuid 7f22b8ab-c0bd-11ea-a00d-0cc47ab3cfd4] > Aug 10 09:58:38: [qemu block device options: -device virtio-blk-device,drive=hd0 -drive if=none,format=raw,file=/vm/lpbkpkx/disk0.img,id=hd0] > Aug 10 09:58:38: [qemu display options: -nographic] > Aug 10 09:58:38: [qemu network options: -netdev tap,id=net0,ifname=tap1 -device virtio-net-device,netdev=net0,mac=58:9c:fc:0b:1d:a6] > Aug 10 09:58:38: [qemu debug/expert options: -monitor telnet::5045,server,nowait,nodelay -serial telnet::5044,server,nowait,nodelay -bios /vm/.config/QEMU_EFI.fd] > Aug 10 09:58:38: starting qemu (run 1) > Aug 10 10:04:16: qemu exited with status 0 > Aug 10 10:04:16: destroying network device tap1 > Aug 10 10:04:16: stopped > Aug 10 10:04:29: initialising > Aug 10 10:04:29: [uefi: QEMU_EFI.fd] > Aug 10 10:04:29: [cpu: cortex-a57] > Aug 10 10:04:29: [smp: 4] > Aug 10 10:04:29: [memory: 8GB] > Aug 10 10:04:29: [hostbridge: standard] > Aug 10 10:04:29: [uuid: 7f22b8ab-c0bd-11ea-a00d-0cc47ab3cfd4] > Aug 10 10:04:29: [utctime: yes] > Aug 10 10:04:29: [debug mode: no] > Aug 10 10:04:29: [primary disk: disk0.img] > Aug 10 10:04:29: [primary disk dev: file] > Aug 10 10:04:29: initialising network device tap1 > Aug 10 10:04:29: setting mtu of tap1 to 9000 > Aug 10 10:04:29: adding tap1 -> vm-local (local addm) > Aug 10 10:04:29: bring up tap1 -> vm-local (local addm) > Aug 10 10:04:29: booting > Aug 10 10:04:29: [qemu standard options: -machine virt -cpu cortex-a57 -smp 4 -m 8G -name lpbkpkx -uuid 7f22b8ab-c0bd-11ea-a00d-0cc47ab3cfd4] > Aug 10 10:04:29: [qemu block device options: -device virtio-blk-device,drive=hd0 -drive if=none,format=raw,file=/vm/lpbkpkx/disk0.img,id=hd0] > Aug 10 10:04:29: [qemu display options: -nographic] > Aug 10 10:04:29: [qemu network options: -netdev tap,id=net0,ifname=tap1 -device virtio-net-device,netdev=net0,mac=58:9c:fc:0b:1d:a6] > Aug 10 10:04:29: [qemu debug/expert options: -monitor telnet::5045,server,nowait,nodelay -serial telnet::5044,server,nowait,nodelay -bios /vm/.config/QEMU_EFI.fd] > Aug 10 10:04:29: starting qemu (run 1) > root@vm:~ # > > Package building process in VM: > > root@lpbkpkx:~ # top -bd1 > last pid: 31159; load averages: 4.48, 4.58, 4.37 up 0+06:07:42 16:12:45 > 36 processes: 5 running, 31 sleeping > CPU: 4.3% user, 0.0% nice, 7.4% system, 0.9% interrupt, 87.5% idle > Mem: 33M Active, 329M Inact, 406M Wired, 302M Buf, 7203M Free > Swap: 2812M Total, 2812M Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 31123 root 1 85 0 0B 16K CPU1 1 0:04 43.46% cc > 30320 root 1 80 0 13M 3180K RUN 2 0:17 30.18% sh > 31137 root 1 81 0 87M 51M CPU0 0 0:03 29.49% cc > 31109 root 1 52 0 85M 49M wait 3 0:02 8.79% cc > 25892 root 1 52 0 13M 3760K wait 2 0:39 3.66% sh > 873 admin 1 21 0 20M 9224K select 2 0:01 1.76% sshd > 26808 root 1 52 0 13M 3640K wait 2 0:36 1.37% sh > 878 root 1 21 0 14M 4376K pause 0 0:02 1.07% tcsh > 8761 root 1 20 0 20M 9652K select 0 0:22 0.88% sshd > 28889 root 1 52 0 13M 3100K select 0 0:05 0.88% gmake > 769 ntpd 1 20 0 21M 5896K select 3 0:34 0.10% ntpd > 18670 root 1 52 0 13M 3408K wait 1 0:51 0.00% sh > 10643 root 1 52 0 16M 7076K wait 0 0:16 0.00% sh > 8765 root 1 52 0 16M 6928K wait 3 0:11 0.00% sh > 810 root 1 20 0 17M 6440K select 3 0:09 0.00% sendmail > 817 root 1 20 0 13M 2712K nanslp 0 0:03 0.00% cron > 575 root 1 20 0 13M 2712K select 1 0:02 0.00% syslogd > 15754 root 1 35 0 15M 4456K select 2 0:02 0.00% gmake > > root@lpbkpkx:~ # uname -a > FreeBSD lpbkpkx 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r362853: Thu Jul 2 04:21:45 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 > root@lpbkpkx:~ # > > Package building result: > > :===> Building binutils-2.33.1_2,1 start 2020.08.10 15:25:20 > Updating database digests format: .......... done > Checking integrity... done (0 conflicting) > Deinstallation has been requested for the following 16 packages (of 0 packages in the universe): > : > (snip) > : > install -m 0644 /var/ports/work/var/ports/lpbkpkx/devel/binutils/work-native/binutils-2.33.1/include/plugin-api.h /var/ports/work/var/ports/lpbkpkx/devel/binutils/work-native/stage/usr/local/include/ > /bin/rm -f /var/ports/work/var/ports/lpbkpkx/devel/binutils/work-native/stage/usr/local/include/ansidecl.h > /usr/bin/sed -i.bak '/#include "ansidecl.h"/d' /var/ports/work/var/ports/lpbkpkx/devel/binutils/work-native/stage/usr/local/include/bfd.h > ====> Compressing man pages (compress-man) > ===> Building package for binutils-2.33.1_2,1 > :<=== Building binutils-2.33.1_2,1 end 2020.08.10 23:26:11 (08:00:51) > > > Best Regards > > --- > Kazuhiko Kiriyama > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@freebsd.org Mon Aug 17 15:56:43 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 080303B62DD for ; Mon, 17 Aug 2020 15:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BVdvZ6XRcz3bpW for ; Mon, 17 Aug 2020 15:56:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DE9A93B5FEE; Mon, 17 Aug 2020 15:56:42 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE5AE3B5E54 for ; Mon, 17 Aug 2020 15:56:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BVdvZ5dznz3c5n for ; Mon, 17 Aug 2020 15:56:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A23AD23352 for ; Mon, 17 Aug 2020 15:56:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 07HFugk2057888 for ; Mon, 17 Aug 2020 15:56:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07HFuguH057887 for virtualization@FreeBSD.org; Mon, 17 Aug 2020 15:56:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 225579] CPU usage in top command not matching with VMWare Host's esxtop command's vCPU output Date: Mon, 17 Aug 2020 15:56:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Feedback Timeout X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2020 15:56:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225579 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |avg@FreeBSD.org Resolution|--- |Feedback Timeout Status|New |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Aug 18 06:29:54 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A0EBD3B069C for ; Tue, 18 Aug 2020 06:29:54 +0000 (UTC) (envelope-from aleksandr.fedorov@itglobal.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BW1H63jZsz4n8h for ; Tue, 18 Aug 2020 06:29:54 +0000 (UTC) (envelope-from aleksandr.fedorov@itglobal.com) Received: by mailman.nyi.freebsd.org (Postfix) id 7F5C33B0235; Tue, 18 Aug 2020 06:29:54 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7F22E3B069B for ; Tue, 18 Aug 2020 06:29:54 +0000 (UTC) (envelope-from aleksandr.fedorov@itglobal.com) Received: from relay02.itglobal.com (relay02.itglobal.com [46.243.181.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BW1H54Bgtz4nSV for ; Tue, 18 Aug 2020 06:29:53 +0000 (UTC) (envelope-from aleksandr.fedorov@itglobal.com) X-Virus-Scanned: by SpamTitan at itglobal.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=itglobal.com; s=relay; t=1597732187; bh=IuXX7OIQfcGv+Ld1mL4DmDV5P2rEmGYTzCs6bbdcHrg=; h=From:To:Subject:Date:References:In-Reply-To; b=Eoxy9R40T3IwRuSf4D1jSXqbyByziRqQrrIwmSwuGenSQwPBRQ1JAiWnt21sFtqOB mJBzn53NxQGLzvDI+EdOg4LqT+vWJyhC2BvVq12ANSfTEBe+RdPRpPkIzM98Ptl6/I +2ReYKfbgs3ieHNmmJ2b085o/kqYdn//sS3OUIaxxGNuVjvXu1z9UX7WXVIu/FXqh4 fI2euoGpHuhDIy6ir1Rei9Lzi2EV6bQBM8iUbJ7sRaBrKjhYLejueVwNGImiTgz6uB W+UbMj8DwAcWwwwpN7JLTySZWnX34PKUFmPZsaLZKqRVAmRSp7OE2MRJX76H4N+SaD OCOIplDVoJ7fw== From: "Fedorov, Aleksandr" To: "moridin@mm.st" , "virtualization@freebsd.org" Subject: RE: bhyve/e1000: sigbus if using renamed interface Thread-Topic: bhyve/e1000: sigbus if using renamed interface Thread-Index: AQHWcVjKOPFNAv4H7E25qQIEPluE0ak9bNMw Date: Tue, 18 Aug 2020 06:29:47 +0000 Message-ID: <89001bc656eb463cb40566a63f3bea82@itglobal.com> References: <862bb8c6-5c6a-8ced-d9c3-0302336a9816@mm.st> In-Reply-To: <862bb8c6-5c6a-8ced-d9c3-0302336a9816@mm.st> Accept-Language: ru-RU, en-US Content-Language: ru-RU X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.78.78.31] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1597732194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=4oo3tymnASQSc+UuSoTFa/z4vHRf0J3qj/mO/L1feaY=; b=TAy7ix0dGNW2A3t3EREupjdoBspeo2WdsKY6XbcdHRd63pVnvCEUZDKyYR0NH5Wq2gwLCx ejQvSUF2TxX1RXa0zV2b1MNWMcWfO5t7oytOIl8l9EHsy9aRrBNffG169X5whZbFY1w6Bf ZFrerQtEpVqkfMNTb2IwbNKx/E548gq11lkAG9yjyK7E7fJFIX63cJ+9lvYVQwwWdAJiGO H5Dv7q9sv7yibLyA2XYwKQlt5MZxG5vmMC8zH/Fgoa2FexEeKBQXQrsNodoACrT3ACamoJ ziMAUbKrjv7j4a226zwl6St4fwx9pDKk9Ou74rewvUlehAKpbab7vKKdq32leg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1597732194; a=rsa-sha256; cv=none; b=JouA3MlF/UTNKrzkJS+PfHV7BaQ3fnPAHs5znxIJxOAsjpVgxxiZeQ1ol0XRbqxUcuBprw fxW+g3ruoR10TejRIJ1wfDL9dVXMe4OVeIahCQEWBztk6taqeUqrQ3SB0Q4ybK2iNAqBkc hk53v5W6WzcpkxeYiy5psMwP3TpWdArhYIkq52IV/ROuzJ+84rk+MJ2NnMC72d3oS6w/dW m8SztvkZOg0ybNXyvShuhgnQGcHThmM2mdx2rxCv+Pgtr5caBBc65UTGUrJWrj/OB6eTHl yFWhcHWeBxHhOkuM88R+NtDb86eGwgyl/1RSlrieRqoFvPQj3hIuHEPK6rGoZw== ARC-Authentication-Results: i=1; relay02.itglobal.com; x-trusted-ip=pass X-Rspamd-Queue-Id: 4BW1H54Bgtz4nSV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=itglobal.com header.s=relay header.b=Eoxy9R40; dmarc=pass (policy=none) header.from=itglobal.com; spf=pass (mx1.freebsd.org: domain of aleksandr.fedorov@itglobal.com designates 46.243.181.6 as permitted sender) smtp.mailfrom=aleksandr.fedorov@itglobal.com X-Spamd-Result: default: False [-3.43 / 15.00]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[itglobal.com,none]; R_DKIM_ALLOW(-0.20)[itglobal.com:s=relay]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.99)[-0.994]; MIME_GOOD(-0.10)[text/plain]; ARC_SIGNED(0.00)[i=1]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[itglobal.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[46.243.181.6:from]; NEURAL_HAM_SHORT(-0.44)[-0.438]; TO_DN_EQ_ADDR_ALL(0.00)[]; FREEMAIL_TO(0.00)[mm.st,freebsd.org]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209974, ipnet:46.243.181.0/24, country:RU]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2020 06:29:54 -0000 What is the FreeBSD version? The main problem is that bhyve supports various network backends: tap, netm= ap / vale, netgraph. And the tap backend is selected using the "tap" prefix. So, it is currently= not possible to use the renamed tap interface. Maybe we should thinking about introducing an additional parameter: bhyve ... -s2,e1000,tap,dev=3Dvm1 -----Original Message----- From: owner-freebsd-virtualization@freebsd.org On Behalf Of moridin@mm.st Sent: Thursday, August 13, 2020 12:52 PM To: virtualization@freebsd.org Subject: bhyve/e1000: sigbus if using renamed interface Steps to reproduce: # ifconfig create tap1 name vm1 # bhyve -s0,hostbridge -s1,lpc -s2,e1000,vm1 -lbootrom,/usr/local/share/uef= i-firmware/BHYVE_UEFI.fd test zsh: bus error (core dumped) Getting this in 2 different places in code, though the reason must be the s= ame? Program terminated with signal SIGBUS, Bus error. #0 cond_signal_common (cond=3D0x800e47088) at /usr/src/lib/libthr/thread/thr_cond.c:444 444 if (pshared || cvp->__has_user_waiters =3D=3D 0) [Current thread is 1 (LWP 101895)] (gdb) bt #0 cond_signal_common (cond=3D0x800e47088) at /usr/src/lib/libthr/thread/thr_cond.c:444 #1 _thr_cond_signal (cond=3D0x800e47088) at /usr/src/lib/libthr/thread/thr_cond.c:551 #2 0x0000000000237dff in e82545_tx_thread (param=3D0x800e47000) at /usr/src/usr.sbin/bhyve/pci_e82545.c:1493 #3 0x000000080062207b in thread_start (curthread=3D0x800e12500) at /usr/src/lib/libthr/thread/thr_create.c:292 #4 0x0000000000000000 in ?? () Program terminated with signal SIGBUS, Bus error. #0 _mutex_owned (curthread=3D0x800e12500, mp=3D0x5a5a5a5a5a5a5a5a) at /usr/src/lib/libthr/thread/thr_mutex.c:1169 1169 if (PMUTEX_OWNER_ID(mp) !=3D TID(curthread)) [Current thread is 1 (LWP 101809)] (gdb) bt #0 _mutex_owned (curthread=3D0x800e12500, mp=3D0x5a5a5a5a5a5a5a5a) at /usr/src/lib/libthr/thread/thr_mutex.c:1169 #1 0x000000080062d848 in cond_wait_common (cond=3D, mutex= =3D0x800e47018, abstime=3D0x0, cancel=3D1) at /usr/src/lib/libthr/thread/thr_cond.c:372 #2 0x000000080062dc61 in __thr_cond_wait (cond=3D0x800e12500, mutex=3D0x5a5a5a5a5a5a5a5a) at /usr/src/lib/libthr/thread/thr_cond.c:395 #3 0x0000000000237e39 in e82545_tx_thread (param=3D0x800e47000) at /usr/src/usr.sbin/bhyve/pci_e82545.c:1494 #4 0x000000080062207b in thread_start (curthread=3D0x800e12500) at /usr/src/lib/libthr/thread/thr_create.c:292 #5 0x0000000000000000 in ?? () _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/m= ailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org" From owner-freebsd-virtualization@freebsd.org Fri Aug 21 07:53:57 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3FB413B69A1 for ; Fri, 21 Aug 2020 07:53:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BXv0j13VHz4ZfB for ; Fri, 21 Aug 2020 07:53:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 242B73B6BE3; Fri, 21 Aug 2020 07:53:57 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 23F2D3B6A99 for ; Fri, 21 Aug 2020 07:53:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BXv0j06LHz4ZyN for ; Fri, 21 Aug 2020 07:53:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DB6DD221E1 for ; Fri, 21 Aug 2020 07:53:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 07L7ruoi022197 for ; Fri, 21 Aug 2020 07:53:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07L7rurj022196 for virtualization@FreeBSD.org; Fri, 21 Aug 2020 07:53:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 248494] if_vmx(4) duplicate packets in netmap mode Date: Fri, 21 Aug 2020 07:53:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2020 07:53:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248494 --- Comment #7 from commit-hook@FreeBSD.org --- A commit references this bug: Author: vmaffione Date: Fri Aug 21 07:52:57 UTC 2020 New revision: 364451 URL: https://svnweb.freebsd.org/changeset/base/364451 Log: MFC r363996 iflib: netmap: don't increment ifl_cidx on the wrong free list Netmap only uses free list 0 to keep it consistent with its one-to-one mapping between each netmap ring and a device RX (or TX) queue. However, the current iflib_netmap_rxsync() routine was mistakenly updating the ifl_cidx field of both free lists. PR: 248494 Changes: _U stable/12/ stable/12/sys/net/iflib.c --=20 You are receiving this mail because: You are the assignee for the bug.=