public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin-apps@cygwin.com
Subject: Re: scallywag / cygport not pulling lzip
Date: Fri, 8 Jan 2021 11:09:32 -0700	[thread overview]
Message-ID: <d514e8d5-93cc-6c16-523e-00114ce1e9f4@SystematicSw.ab.ca> (raw)
In-Reply-To: <87a6tj9wst.fsf@Rainer.invalid>

On 2021-01-08 10:13, Achim Gratz wrote:
> Brian Inglis writes:
>>> Yeah, perhaps lzip should be a dependency of cygport.
> 
> Since it promises to enable it's use, yes.  I wouldn't mind to add a
> dependency to tar also.

I would support that for technical reasons alone, although hoped for uptake of 
lzip across GNU or by other projects has been limited to the package itself and 
others by the same developer, as its goals of providing archive redundancy and 
recoverability have been obviated by reliable network links and larger storage 
sizes.

>> ...and zstd as Achim is working on that.
> 
> That dependency has already been added to tar, so there is no need to do
> anything special.
> 
> [as you could hav seen by looking at any of the recent CI logs]
> 
>> I do not think we should encourage use of lower compression ratio
>> packages in cygport and calm, and their libraries in setup.
>> It appears zstd gives up compression to gain faster decompression with
>> less memory which may be advantageous for loading a kernel, but less
>> optimal for MBs of base packages.
> 
> That difference is in the order of 3% over the full distribution at the
> highest compression setting and roughly 5% is you use a compression
> setting that is about as slow as xz.  The installation time on the other
> hand is dramatically shorter with zstd.

Do we know what the frequency weighted difference is on bandwidth of packages 
actually downloaded?
I am more concerned with mirror providers (and also the lack of them) especially 
those with limited resources, and those in marginal locations and circumstances, 
for whom download time and charges may override other considerations, and 
perhaps prevent them (or many) from accessing or taking full advantage of 
available software.
I doubt the unarchiving time difference is more than a blip in the total time 
required to *download* *AND* install any package, greatly outweighed by the 
download time difference, unless you are on a big pipe to a nearby mirror.
[I take into consideration that it used to be cheaper to dialup NIST ACTS 
Colorado to set the time, than anywhere in Canada, and downloads did not become 
reasonably affordable until I could get network access from a local dialup.] ;^>

>> Perhaps consideration should also be given to setting appropriate
>> compression defaults in cygport for all supported package compressors
>> e.g. GZIP=-9, XZ_OPT=-7 which does not increase the memory required
>> from the default -6 but improves compression, ZSTD_CLEVEL=19 and
>> ZSTD_NBTHREADS=`nproc` perhaps?
> 
> It is relatively useless to have zstd run with multiple threads in
> compression mode since a lot of what takes time there is inherently
> single threaded.  It already does use an I/O thread to keep the data
> pipes fed unless you specifically forbid that.

That is valid consideration indeed as suggested.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

  reply	other threads:[~2021-01-08 18:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08  7:38 Marco Atzeri
2021-01-08 13:23 ` ASSI
2021-01-08 13:58   ` Marco Atzeri
2021-01-08 14:21     ` Jon Turney
2021-01-08 16:52       ` Brian Inglis
2021-01-08 17:13         ` Achim Gratz
2021-01-08 18:09           ` Brian Inglis [this message]
2021-01-08 19:11             ` Achim Gratz
2021-01-11 22:05               ` Brian Inglis
2021-01-12 16:28                 ` Brian Inglis
2021-01-12 19:46                   ` ASSI
2021-01-09 19:08           ` Achim Gratz
2022-08-14 19:07 Hannes Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d514e8d5-93cc-6c16-523e-00114ce1e9f4@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).