Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obTPb-00058C-Pp for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Sep 2022 21:07:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1obTPa-0003kv-Na for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Sep 2022 21:07:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obTPa-0003km-BD for pgsql-hackers@lists.postgresql.org; Thu, 22 Sep 2022 21:07:10 +0000 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1obTPW-0005Kp-Uo for pgsql-hackers@lists.postgresql.org; Thu, 22 Sep 2022 21:07:09 +0000 Received: by mail-il1-x131.google.com with SMTP id d14so4508550ilf.2 for ; Thu, 22 Sep 2022 14:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=6sDfBMwBg64/hWUk+DAnu+RkY5xmrEE0WxKKvlM+yWI=; b=MtrPkHk9NAR3eNmYUz+A8tSdmnxvAI3QDnxo0vzUsGrT4CItx8JnVpvgCV+vbD8dit p/wov2ccnO7PtlaSfz75cG0C8hjicXzbPJ4NYoeErnqqkFK9gno7YokflMGUHhCdmZBj g/K/IIayjpniJbkQ79u/t9Zw2sERJx9GALfMTr1ov6Yvs8CI8qFLsIRi0tp6UV3bMtxS ksqXr/3XezzPW0JGEaKSg3jUrbVPfgp4WP0bhIYKRvON5+sDxLDCsn425IaRGKmz08+l Y4upw7Qt0uKnf8tehTEtcK8qSkmESOGbXh1ucG32X+n6291d47TtAJ2d8T01NlHo3KzJ nBDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=6sDfBMwBg64/hWUk+DAnu+RkY5xmrEE0WxKKvlM+yWI=; b=I0KIMgHxxvXMCDn8CFybCvZixLAsxjLZ/1GykSNifUS43xFcOhjuIAsxfBV0CKq0hX mZJPFalDWleK2u/JzJUnez/PnDFipTPvhkuFqPL5tfDR5sXQjTzeQuXcxlNVot+Yv3W9 uTDDWBc0sIbzqq0Exh7PSwyDbvYi2lnyFtc+2lEBVoEG+CmnK0kZyQJkas6ZLRqfppQy 9dfbaEoi4sS2PwTOCZeQknyyL4UYsyetijBIHCQ8Y+lhZqG9uhX6dgFE8UuAf0eX/OfH /8+i1qqKMjZeU+Rk08JQ+Ww/KXtANXmhcfvxuIOktMSUw6/SzuhL6nQcQpiQbj0yu2e6 ehYw== X-Gm-Message-State: ACrzQf2RW2D9deL9ac58Ht73Ve4ZipTsNyNOjyKJ2wV0ll/kC/o2sHGz MH5Nx08yMM5nibSeFYFI/UHa3A== X-Google-Smtp-Source: AMsMyM5i/5Ycu68/BN/a8TBlHpH3SC4OWNsmEmvQRyQM5bGJvFWQmC+Sj2RmvHZih7wHeUN9Bn4MwQ== X-Received: by 2002:a05:6e02:2189:b0:2f1:92d4:6b22 with SMTP id j9-20020a056e02218900b002f192d46b22mr2459093ila.210.1663880824835; Thu, 22 Sep 2022 14:07:04 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id bc9-20020a0566383cc900b00349deda465asm2594499jab.39.2022.09.22.14.07.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Sep 2022 14:07:04 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 08C93800800; Thu, 22 Sep 2022 16:07:02 -0500 (CDT) Date: Thu, 22 Sep 2022 16:07:02 -0500 From: Justin Pryzby To: Andres Freund Cc: Andrew Dunstan , Thomas Munro , pgsql-hackers@lists.postgresql.org, Noah Misch , Michael Paquier , Anastasia Lubennikova , Tom Lane , Robert Haas , Melanie Plageman , Peter Eisentraut , Daniel Gustafsson Subject: Re: CI and test improvements Message-ID: <20220922210702.GR31833@telsasoft.com> References: <20220708002232.GF13040@telsasoft.com> <20220623193125.GB22452@telsasoft.com> <20220528153741.GK19626@telsasoft.com> <20220828144447.GA21897@telsasoft.com> <20220828160752.l5l66k3eptokzhzj@awork3.anarazel.de> <20220828171029.GO2342@telsasoft.com> <20220828212802.r6eymfffrgr3lxxt@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220828212802.r6eymfffrgr3lxxt@awork3.anarazel.de> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Aug 28, 2022 at 02:28:02PM -0700, Andres Freund wrote: > > > > @@ -71,8 +69,6 @@ task: > > > > fingerprint_key: ccache/freebsd > > > > reupload_on_changes: true > > > > > > > > - # Workaround around performance issues due to 32KB block size > > > > - repartition_script: src/tools/ci/gcp_freebsd_repartition.sh > > > > create_user_script: | > > > > pw useradd postgres > > > > chown -R postgres:postgres . > > > > -- > > > > > > What's the story there - at some point that was important for performance > > > because of the native block size triggering significant read-modify-write > > > cycles with postres' writes. You didn't comment on it in the commit message. > > > > Well, I don't know the history, but it seems to be unneeded now. > > It's possible it was mainly needed for testing with aio + dio. But also > possible that an upgrade improved the situation since. Maybe freebsd got faster as a result of the TAU CPUs? https://mobile.twitter.com/cirrus_labs/status/1534982111568052240 I noticed because it's been *slower* the last ~24h since cirrusci disabled TAU, as Thomas commit mentioned. https://twitter.com/cirrus_labs/status/1572657320093712384 For example this CF entry: https://cirrus-ci.com/github/postgresql-cfbot/postgresql/commitfest/39/3736 https://cirrus-ci.com/task/4670794365140992 5m36s - 4days ago https://cirrus-ci.com/task/4974926233862144 5m25s - 3days ago https://cirrus-ci.com/task/5561409034518528 5m29s - 2days ago https://cirrus-ci.com/task/6432442008469504 9m19s - yesterday CF_BOT's latest tasks seem to be fast again, since 1-2h ago. https://cirrus-ci.com/build/5178906041909248 9m1s https://cirrus-ci.com/build/4593160281128960 5m8s https://cirrus-ci.com/build/4539845644124160 5m22s The logs for July show when freebsd started "being fast": https://cirrus-ci.com/github/postgresql-cfbot/postgresql/commitfest/38/3708 https://cirrus-ci.com/task/6316073015312384 10m25s Jul 13 https://cirrus-ci.com/task/5662878987452416 5m48s Jul 15 Maybe that changed in July rather than June because the TAU CPUs were still not available in every region/zone (?) https://cloud.google.com/compute/docs/regions-zones/ I have no idea if the TAU CPUs eliminate/mitigate the original performance issue you had with AIO. But they have such a large effect on freebsd that it could now be the fastest task, if given more than 2 CPUs. -- Justin