From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 4904210ACB; Sun, 31 Aug 2025 10:54:22 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 2EA3A10A5F; Sun, 31 Aug 2025 10:54:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fout-a1-smtp.messagingengine.com (fout-a1-smtp.messagingengine.com [103.168.172.144]) by atuin.qyliss.net (Postfix) with ESMTPS id EDFFA10A58 for ; Sun, 31 Aug 2025 10:54:18 +0000 (UTC) Received: from phl-compute-08.internal (phl-compute-08.internal [10.202.2.48]) by mailfout.phl.internal (Postfix) with ESMTP id 3D7A1EC01D0; Sun, 31 Aug 2025 06:54:18 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Sun, 31 Aug 2025 06:54:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1756637658; x=1756724058; bh=sk0O8e+z0Z y4+FbJ4fJOXnM1Bj6nPKQ8qCFiV4dlj+Y=; b=Tcs7D6u5t8XtabmDxRFdw3p/5P WMcge/rd3k4tr8gAo4BLRbqlMjrhSTLkbieF3HCNqsjvH71kJWQuZc9SV8XHb6j5 nZD40YHWNl/Y3Q0/FlPGEUrp1dVmjkFu96d5Bv5gFGPc+OkOK4ANkatAABZTznFC rBVJtUrRr8MWFwvRubkyMaaLCQ9i1VkzbzxwRH5h+D3YfhnoGoi2cMnvB+hEXuS3 gQNYIL88Nrxnkh14nS8Xc0KjvyzVDrd6RVo8vNOFbWjcn07jqp59ldiaBcrjpETm tqLz6bInaQYAK+4q7W4QGPPAw5X9+DxqsurDzuod4z2Fzo+ZpZNkp//0bqTg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1756637658; x=1756724058; bh=sk0O8e+z0Zy4+FbJ4fJOXnM1Bj6nPKQ8qCF iV4dlj+Y=; b=e/SMHo1mRTx3VcW707TgpOZhn492M8xtsU1W3FygkkBRkCwdYC6 9LnKGfgNKRWK637r1NlTxgpNVjiiGBDOrlfVNEHRx0l4rOccEk88kR+GcvZpqAye D02vMWQd6HpZNEQe0LMijASt9EICMfvSqf6QgLM5L5Evf3n66X92qXYafrRi6SkO ZJHZWf8bo+Z/JsxgHlKvDG9TGveTcZ7x/jTWru5xzWT59DavBNZJY02QgAw2BsuE ixZKrdnP3Vh0qz6ri6lF/upcn1HWNE7qPCsKQKYeuGQ6X6McU5VBude3E9VA6kK9 PB4Z7rx4fptaqPvsHRxiZuqYS8EXu+r9JvQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddukeeltdekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvufgjfhffkfggtgesghdtreertddttdenucfhrhhomheptehlhihsshgrucft ohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepvdeuvdeivd ehhfeikedtvddvhefgheffleevueeigffgtdffffeujedujeejkeejnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdrih hspdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegu vghmihhosggvnhhouhhrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepuggvvhgvlhessh hpvggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 31 Aug 2025 06:54:17 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id C849F150F53B; Sun, 31 Aug 2025 12:54:06 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour , Spectrum OS Development Subject: Re: Speeding up image builds? In-Reply-To: References: Date: Sun, 31 Aug 2025 12:54:05 +0200 Message-ID: <873497zrqq.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: 46SR2NG7MC2CGGEV5U6PCZLN4XQIUCQZ X-Message-ID-Hash: 46SR2NG7MC2CGGEV5U6PCZLN4XQIUCQZ X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain Demi Marie Obenour writes: > I often find myself waiting for image builds to run. > What are some steps I can take to make them faster? > > Generally, I find that image builds are I/O bound (CPU usage > remains quite low), so one option would be to use a machine > with better I/O. What is the best option for this? Is this > something where thin provisioning (instead of thick > provisioning) causes a large performance penalty? Or is the > only solution to throw hardware at the problem? If the latter, > what would better hardware be? Okay, well, the absolute best thing we could do would be to write a vhost-user-blk backend that lazily populates an EROFS image as the disk is read from. Everything short of that is a compromise between effort and results. I tend to just wait, so I haven't looked too much into this. It is way faster on my Apple Silicon MacBook than any x86_64 system I've tried, but I couldn't tell you why. I've tried building on tmpfs in the past, but IIRC it didn't help much for me. Maybe it would for you though? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaLQpzQAKCRBbRZGEIw/w or8FAP9GT6WO8F5ABTfa01+/jgGMDSf4UWbx8aOebGlC4mlhvgEAwGzOjwd9PN6x CAAXfgzq8c2ZnzkcLIt+t1H1qfbdvAA= =8EoA -----END PGP SIGNATURE----- --=-=-=--