From owner-freebsd-current@freebsd.org Mon Mar 29 06:04:42 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 8ABCE5BD2DA for ; Mon, 29 Mar 2021 06:04:42 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (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 4F82954THbz4dnG; Mon, 29 Mar 2021 06:04:41 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x32f.google.com with SMTP id 91-20020a9d08640000b0290237d9c40382so11193217oty.12; Sun, 28 Mar 2021 23:04: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=1InJbKmMse/5DDxMGdqJptXO26Je67INOMPesNi96y4=; b=gAnRsKyoIBKs4JmVBUrAtdfosI/MFE+Sem+ZXEXPPfCDCz60MahecJxyX2KcE46jkJ vajxtsctTrLSjyZkN0tJMxLwSu9YL3UVakOcErXiJOU/JwgzwsmqYkUUMHKxjie9dZ7G n0zydvBczJ68dXDx7RyTrl4Oytc1zD31YkxFulmTbzo8dnKVZOVm4jNAMccYCri1KLkG wFOSQ5IeIC4dJR/q37XZx62PzDZwa/i8Bk39pFZ8XWSXWpA6ZpX9Hh1BoUr7kqhGsGek 6U5bVKg/75KNC1mSBZQSzlNH/u9UTvHE2Fz0C9WEV7rGUbVecyE8s03hCmqj7f2EcbwH NiAQ== 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=1InJbKmMse/5DDxMGdqJptXO26Je67INOMPesNi96y4=; b=YOQNRw0qwEc/KuPEwL2qhsfkI28/u9CI0t2xSjbcuq48CAP52W6m+MEDjO8H8ktnCP bkzs9m2lTpHPiZ97TGyEnXnBm0VQGZtAvYgz6WUcSkIK8j7z6FURytNDK+WHsG/mt1/W 9AZW9EG5CpZ1xTUiMlOV9CuqcZYTnbTZm93zaZptmUJ3WfODh5nIpDIC+rKwaJ/t8T7K 3AkCRrELiA4ZCaQ8HDetBI5vv/Dn2XdU85HU3z8Zm6IrvglXE4kPN/a04y8TFL3QWpD5 AbcWcmLeMdsn43lks5ASlsGHcafKlK6KqSve7EkYkMEoSyXXSHm4NnV4W4+laYR+I0Bv scoQ== X-Gm-Message-State: AOAM533gcuR5ZqM8pH7LOCJp20yfw6tJEZ3vBH+/XTOh4N6VsFt4HU8x l4KpjcQ50DuXwUZrgQ5fFipEunH55VlsXlMFUN2s6m9rg2/81g== X-Google-Smtp-Source: ABdhPJxbfYJphtlgXpxYtDn0CjjgT941c4PkT50Z0GYbhKM5xoFFgCPwfOvSsdYle054WFw/TSn6LMGhi1aIMpTM0IQ= X-Received: by 2002:a05:6830:1e14:: with SMTP id s20mr22462235otr.199.1616997879921; Sun, 28 Mar 2021 23:04:39 -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: From: Kevin Oberman Date: Sun, 28 Mar 2021 23:04:19 -0700 Message-ID: Subject: Re: 13.0 RC4 might be delayed To: Gleb Popov Cc: David G Lawrence , FreeBSD Current X-Rspamd-Queue-Id: 4F82954THbz4dnG X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=gAnRsKyo; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::32f as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.70 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::32f:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::32f:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32f:from]; RCVD_COUNT_TWO(0.00)[2]; 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 06:04:42 -0000 On Sun, Mar 28, 2021 at 9:36 PM Gleb Popov wrote: > 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. > At least VirtualBax without AIO has some serious performance issues without AIO. At least a Win7 guest does on certain operations. I would really prefer better aio values. I don't recall who suggested those to me, but I took them and made them more reasonable, but I am sure they are not close to optimal and I don't understand their use well enough to get them right. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683