From owner-freebsd-current@freebsd.org Mon Mar 29 04:36:30 2021 Return-Path: Delivered-To: freebsd-current@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 F14A55BB9A2 for ; Mon, 29 Mar 2021 04:36:30 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F80CL1r92z4YwL for ; Mon, 29 Mar 2021 04:36:29 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-lj1-f174.google.com with SMTP id a1so14415218ljp.2 for ; Sun, 28 Mar 2021 21:36:29 -0700 (PDT) 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=iInj4hzCvvOd4CvF3N4rTI5Pcffx9IEI5rEkJIkWZ1s=; b=l8mQDQN2pFmv2iNTxp0/R0OzhumK0yb51M/+kZUg16WmDOT5yt4SSMdK61jtgT8Vg/ bjIbEqlnsA2w99zUqRtbWQ2TXbCEQG/xGY/vTg2EW9z38Jc17EKEguA5Qxxb1Dk6MnP+ MilJvSoqtJIQ0V1MRcNDkFrrjLpSlfFtt1YCTOGA/Dxq6uFEtpemH1Ua+SrLndltN0do Y0F1n84MxinOgYkxXZ3vCY7bpQXOceauunHinRlS1eb4FFE0wPTFuRODnvca2Uyb7wWP zfGGcmZEQMHzLLXNwHSRpp2GQxVY0hk9QSOIRczP1GoEAN+65AzYC6SUM1lnNLlbll+w QcIQ== X-Gm-Message-State: AOAM533i2v8YpqDH2fKHiYlu9c1NlLDl6/gosREOHgP53qgKtCmHK40r VV0n+/5HGjt1kD3cT1jVv70y34zL1EU= X-Google-Smtp-Source: ABdhPJyW1N/6yKjRmwFbxFFzBFE7xO8LWlPOiPgvz6w9XW0uxJ234Xb5mJA0Zj48UMwDkEk9HbY0Cw== X-Received: by 2002:a2e:5714:: with SMTP id l20mr16820193ljb.201.1616992588158; Sun, 28 Mar 2021 21:36:28 -0700 (PDT) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com. [209.85.167.43]) by smtp.gmail.com with ESMTPSA id t200sm1762575lff.280.2021.03.28.21.36.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 28 Mar 2021 21:36:27 -0700 (PDT) Received: by mail-lf1-f43.google.com with SMTP id o126so16488862lfa.0 for ; Sun, 28 Mar 2021 21:36:27 -0700 (PDT) X-Received: by 2002:a19:ae11:: with SMTP id f17mr16063829lfc.532.1616992587456; Sun, 28 Mar 2021 21:36:27 -0700 (PDT) MIME-Version: 1.0 References: <2766233C-3CC7-4B02-95AB-7555A60FFD81@samsco.org> <9c49b2b1-6c49-410b-fbb2-a3b73618b01c@gmail.com> <20210327050411.GS15485@mailx.dglawrence.com> <5f4c94c2-df08-60ca-4dfc-31364fb444be@madpilot.net> <1b3605eb-388e-283b-d907-67058ea62c0a@madpilot.net> <20210329013713.GA52047@mailx.dglawrence.com> In-Reply-To: <20210329013713.GA52047@mailx.dglawrence.com> From: Gleb Popov Date: Mon, 29 Mar 2021 07:36:00 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: 13.0 RC4 might be delayed To: David G Lawrence Cc: FreeBSD Current X-Rspamd-Queue-Id: 4F80CL1r92z4YwL X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.208.174 as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.208.174:from]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[209.85.208.174:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.174:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.174:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 04:36:31 -0000 On Mon, Mar 29, 2021 at 4:37 AM David G Lawrence via freebsd-current < freebsd-current@freebsd.org> wrote: > > > On 27/03/21 06:04, David G Lawrence via freebsd-current wrote: > > >>> On Fri, Mar 26, 2021 at 1:01 PM Graham Perrin < > grahamperrin@gmail.com> > > >>> wrote: > > >>> > > >>>> On 26/03/2021 03:40, The Doctor via freebsd-current wrote: > > >>>>> ??? if people are having issues with ports like ??? > > >>>> > > >>>> If I'm not mistaken: > > >>>> > > >>>> * 13.0-RC3 seems to be troublesome, as a guest machine, with > > >>>> emulators/virtualbox-ose 6.1.18 as the host > > >>>> > > >>>> * no such trouble with 12.0-RELEASE-p5 as a guest. > > >>>> > > >>>> I hope to refine the bug report this weekend. > > >>>> > > >>> > > >>> Had nothing but frequent guest lockups on 6.1.18 with my Win7 > system. > > >>> That > > >>> was right after 6.1.18 was put into ports. Fell back to legacy (v5) > and > > >>> will try again shortly to see if it's any better. > > >> > > >> Kevin, > > >> > > >> ?????? Make sure you have these options in your /etc/sysctl.conf : > > >> > > >> vfs.aio.max_buf_aio=8192 > > >> vfs.aio.max_aio_queue_per_proc=65536 > > >> vfs.aio.max_aio_per_proc=8192 > > >> vfs.aio.max_aio_queue=65536 > > >> > > >> ?????? ...otherwise the guest I/O will random hang in VirtualBox. > This > > >> issue was > > >> mitigated in a late 5.x VirtualBox by patching to not use AIO, but > the > > >> issue > > >> came back in 6.x when that patch wasn't carried forward. > > > > > > Sorry I lost that patch. Can you point me to the patch? Maybe it can > be > > > easily ported. > > > > > > > I found the relevant commit. Please give me some time for testing and > > I'll put this patch back in the tree. > > If you're going to put that patch back in, then AIO should probably be > made an option in the port config, as shutting AIO off by default will > have a significant performance impact. Without AIO, all guest IO will > be become synchronous. > Are you sure about that? Without AIO, VBox uses a generic POSIX backend, which is based on pthread, I think.