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:22:12 +0000
Message-ID: <20080927162212.GG22333@altlinux.org> (raw)
In-Reply-To: <20080917211057.GB32624@wo.int.altlinux.org>

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

On Thu, Sep 18, 2008 at 01:10:57AM +0400, Dmitry V. Levin wrote:
> On Wed, Sep 17, 2008 at 09:51:41PM +0300, Michael Shigorin wrote:
> > On Wed, Sep 17, 2008 at 03:58:18PM +0400, Dmitry V. Levin wrote:
> > > > нужно переложить в 4.1 из Sisyphus (#17086,#16496)
> > > > festvox_cstr_us_awb_arctic_multisyn-1.0-alt2.src.rpm
> > > > festvox_cstr_us_jmk_arctic_multisyn-1.0-alt2.src.rpm
> > > > festvox_nitech_us_arctic_hts_voices-1.96-alt1.src.rpm
> > > > festvox_msu_ru_nsh_clunits --
> > > > тяжелые пакеты, по 100-150 Mb каждый, pure data, без зависимостей.
> > > > Из-за этого не хочется гнать их опять через incoming.
> > > Если вопрос только в толщине канала, могу дать доступ на сервер
> > > с локальным доступом к репозиторию.
> > 
> > Бишь лучше пересобрать с gz/bz, залить в /i/S и предложить перенести.
> 
> Не надо так делать.
> Пусть пакеты в Сизифе (особенно крупногабаритные) будут пожаты lzma.

JFYI,

$ 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 мог бы получиться ещё почти вдвое меньше по размеру.

Кроме того, видно, что потенциал lzma сжатия ещё не исчерпан (текущая
опция "сильного" сжатия фактически ограничивается требованием памяти для
распаковки; для "lzma -5" требуется 2+1M, далее потребление памяти
удваивается, так что для распаковки "lzma -8" потребуется 16+1M).

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

  parent reply	other threads:[~2008-09-27 16:22 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 [this message]
2008-09-27 16:30         ` Alexey Tourbin
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=20080927162212.GG22333@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