ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] 4.1 obstacle: who will suffer?
Date: Sat, 27 Sep 2008 16:30:43 +0000
Message-ID: <20080927163043.GH22333@altlinux.org> (raw)
In-Reply-To: <20080927162212.GG22333@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]

On Sat, Sep 27, 2008 at 04:22:12PM +0000, Alexey Tourbin wrote:
> $ du -hs glibc-locales-2.5.1-alt7.x86_64.rpm
> 5.5M    glibc-locales-2.5.1-alt7.x86_64.rpm
> $ rpm -qp --qf '%{PAYLOADCOMPRESSOR} %{PAYLOADFLAGS}\n' glibc-locales-2.5.1-alt7.x86_64.rpm
> lzma 2
> $ rpm2cpio glibc-locales-2.5.1-alt7.x86_64.rpm |wc -c
> 59561580
> $ rpm2cpio glibc-locales-2.5.1-alt7.x86_64.rpm |gzip -9 |wc -c
> 13146656
> $ rpm2cpio glibc-locales-2.5.1-alt7.x86_64.rpm |bzip2 |wc -c
> 10698481
> $ rpm2cpio glibc-locales-2.5.1-alt7.x86_64.rpm |lzma -2 |wc -c
> 5200645
> $ rpm2cpio glibc-locales-2.5.1-alt7.x86_64.rpm |lzma -5 |wc -c
> 2776880
> $ rpm2cpio glibc-locales-2.5.1-alt7.x86_64.rpm |lzma -8 |wc -c
> 1859862
> $
> 
> Пакет glibc прошёл в Сизиф в обход incoming, и было использовано
> "быстрое" сжатие "lzma -2" (по умолчанию в rpm) вместо "сильного" сжатия
> "lzma -5" (по умолчанию в incoming).  Как видно, "быстрое" сжатие даёт
> больше преимущество по сравнению с gzip и bzip2; но при "сильном" сжатии
> пакет glibc-locales мог бы получиться ещё почти вдвое меньше по размеру.

Точнее, на треть меньше:

$ perl -le 'print 1-1859862/2776880'
0.330233211373916
$

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-09-27 16:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-17  8:36 Igor Vlasenko
2008-09-17  8:44 ` Ildar Mulyukov
2008-09-17  8:49   ` Igor Vlasenko
2008-09-17  8:52 ` Stanislav Ievlev
2008-09-17 11:22 ` Vitaly Ostanin
2008-09-17 11:58 ` Dmitry V. Levin
2008-09-17 18:51   ` Michael Shigorin
2008-09-17 21:10     ` Dmitry V. Levin
2008-09-18  7:04       ` Michael Shigorin
2008-09-27 16:22       ` Alexey Tourbin
2008-09-27 16:30         ` Alexey Tourbin [this message]
2008-09-27 16:32           ` Alexey Tourbin
2008-09-18 11:18   ` Igor Vlasenko

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=20080927163043.GH22333@altlinux.org \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git