From nobody Fri Dec 13 21:35:12 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y92gf1BRFz5g9fy for ; Fri, 13 Dec 2024 21:35:26 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y92gd53RGz4cWK for ; Fri, 13 Dec 2024 21:35:25 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-6efa1e49ef0so19794227b3.2 for ; Fri, 13 Dec 2024 13:35:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1734125725; x=1734730525; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NodF4jHBRl1xkNj6JOGuLSji/Q9wOn4SDIQw1fkQdS0=; b=Y+VEav3NJ4+0bRxNOkq78IsZdNq1oM2uGXbtfZOwpvwgERdC1q2hCzxNYMKfmDrQtM aYx3DktFXgWY9cysgBr3gLcXy8NqQ5ioTIILirz05bspZwik/TczEkPIOdRJEcZ45eWU EA0nLgv/fUW3O87U7Bt589Rv3RBhv6Y8iggCBmPjC5+L/dU631eufqqdjS5Ke2w//L/j pT+HOxyUhZECHKH4i/x9859TRvKZZ8ZnTHOcYQoegTpYtpIwod1ywVrhiGi7f47ANVq0 NXcsqX9vmGYoKS4wLbNMk39MP7LyZUn4aJ45FzM8WDhYWbzBZL3TGM9704L56A0twnLW wYBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734125725; x=1734730525; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NodF4jHBRl1xkNj6JOGuLSji/Q9wOn4SDIQw1fkQdS0=; b=F8QZShE3bcOOFHEXPKlTMg4o7MucWNbIB0NBcYS2BKKKoxFTnA4jK9hxsLKc9OkOJW Ixj4vG0iktkdkx3oWMU1MKZf57wTR4ksFq5eCpI/Jnkiwe4qWfcg9akaerM7Xty6AmNw cFtdQqKHx/k5YeK3tB2bsncsN3A7gyYubuxMCBiSIdlYctupyiCNEmpw/buTUPv++IVA EBKZxdkYPtmS28z5vnIBnp09+2hWb3QLtTPkYE39xZJ8/mnRTE8kHUD3PdItBmy6rbcj +nTubQmWs8mHKo3VuSCYXEBHE/tzSX5CoBqDRVkH0dzMZKWTV9S+VlpELsj7N7GmD66G rRuA== X-Gm-Message-State: AOJu0Yxh9wxtFS95KoWOm+R65hcH34zTCcJAsmoRVqE+f0xeAVOOVQ2/ 7DN4IL+PBe49ROk5UzUAMOW+FwKhck/D/oKwFYR263wG6xg/QfdINAE6oQVmu9zgmvljbiA3MBQ = X-Gm-Gg: ASbGncvM7XH/hTt3MtmS5fbMYQMqLyy9372DgiOwwZXKTeIAWZI/E+CZD6s9Eu0qpFc YqcZQBKZmCEG86AmrnqMKGmEd9G6u9ROOoeyKA5kMZSFYO/Mbl+y9HN/LmN6FMBRHjqnxuAxvaM mp3tJksEoRpYj/zeac/WO6qmq9b7bJMREiGeJaiCUgqk4BKO8Y82WeHKINfRB8hOBYpH7nZhej6 dd/UvLCIrBz1uwkor1vB2Xw4QMT8+QE5pzjgNa0N5loGikA7HDNCTl3LQGUDqgZsR3bYCNZnWQZ BZNl1A3MvSDSw+P9DQ== X-Google-Smtp-Source: AGHT+IGc7zNia7xNkugVyBTKHtWWMVhLhUtkcKVN5xZ/cAjvQWVHciah5PaEVMnMZnOeeiAh0FaXHQ== X-Received: by 2002:a05:690c:64c6:b0:6ef:593e:285c with SMTP id 00721157ae682-6f279adcd82mr48490007b3.3.1734125724861; Fri, 13 Dec 2024 13:35:24 -0800 (PST) Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com. [209.85.128.182]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6f2890c8094sm1006587b3.91.2024.12.13.13.35.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Dec 2024 13:35:24 -0800 (PST) Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-6f27c47b4e6so8242827b3.0; Fri, 13 Dec 2024 13:35:24 -0800 (PST) X-Received: by 2002:a05:690c:25c8:b0:6f0:237e:fc4c with SMTP id 00721157ae682-6f279b0b711mr40740077b3.12.1734125723660; Fri, 13 Dec 2024 13:35:23 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Fri, 13 Dec 2024 22:35:12 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Switching release media dist sets to .tzst (tar + zstd)? To: Ed Maste Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Y92gd53RGz4cWK X-Spamd-Bar: ---- On Fri, Dec 13, 2024 at 10:16=E2=80=AFPM Ed Maste wrot= e: > I have been reviewing parts of the release artifact build process, > including ISO and memstick images, and came across the distribution > sets (e.g., base.txz, src.txz) used by the installer to populate new > file systems. I=E2=80=99d like to discuss switching these to .tzst (tar + > zstd) compression. Why? > While I haven=E2=80=99t yet conducted detailed benchmarks comparing zstd = and > xz specifically for this use case, here are some initial > considerations: Benchmarks would be nice know what is the time-space benefit :-) > Pros of zstd: > - Faster compression and decompression speeds. > - Aligns with the compression method used for FreeBSD packages. > > Cons of zstd: > - Somewhat larger compressed file sizes. > - Requires updates to tools that interact with distribution sets. > - May have limited availability on some other operating systems (?). Seems like more cons than pros at first glance and even more in depth? > Feedback Requested: > Is there support for this idea? Are there objections to pursuing this? > Are there other factors I should consider, especially compatibility conce= rns? Not much clear benefit for a large (compatibility) breaking change on many levels, sounds like a NO GO :D --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info