From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Оптимизируем hasher для работы с фиксированным репозиторием. II.
Date: Tue, 8 Sep 2020 19:14:38 +0300
Message-ID: <20200908161438.GA3252@dad.imath.kiev.ua> (raw)
In-Reply-To: <20200908150137.GA29502@altlinux.org>
On Tue, Sep 08, 2020 at 06:01:37PM +0300, Dmitry V. Levin wrote:
> Я думаю, что поддержка $unchecked_initroot_cache, которая была реализована
> весной прошлого года в hasher-1.3.36, предназначена для решения именно
> этой задачи. Эта оптимизация используется в install check на сборочнице.
>
> Пример использования:
> unchecked_initroot_cache="$(sed '/^task[[:space:]]\+/!d;s///;q' /path/to/Sisyphus/files/list/task.info)"
предназначена, но решает ли?
1) в таком виде это хак для сборочницы.
Реализация завязана на cookie файл, который обычным
hasher не создается. Тем более нет опции пользователя.
Будет ли работать этот хак в дистрибутивной сборочнице,
для всяческих карманов?
2) в моем форке hasher-1.3.34 было 2 патча, там в 2-х
местах происходила потеря времени. Один из патчей
похоже, эквивалентен unchecked_initroot_cache,
только с опцией пользователя. Второй надо будет
отребазить на свежий hasher, посмотреть, что получится.
Дмитрий, вы проводили benchmarks, на сколько сокращается время?
Есть ли еще существенная разница сo cpio --extract ?
И хотелось бы нормальную ручку. --fixed-repository критиковали,
--force-cache может быть?
Будет высокоуровневая ручка, можно будет не торопясь провести
отладку, улучшить тайминги, интерфейс ведь уже меняться не будет.
--
I V
next prev parent reply other threads:[~2020-09-08 16:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-08 0:12 Igor Vlasenko
2020-09-08 10:03 ` Andrey Savchenko
2020-09-08 10:15 ` Michael Shigorin
2020-09-08 11:30 ` Igor Vlasenko
2020-09-08 12:18 ` Alexey V. Vissarionov
2020-09-08 14:37 ` Igor Vlasenko
2020-09-08 14:39 ` Anton Farygin
2020-09-08 14:54 ` Paul Wolneykien
2020-09-08 14:55 ` Anton Farygin
2020-09-08 15:01 ` Dmitry V. Levin
2020-09-08 15:09 ` Anton Farygin
2020-09-08 19:05 ` [devel] hasher unchecked_initroot_cache Dmitry V. Levin
2020-09-08 21:28 ` Igor Vlasenko
2020-09-08 16:14 ` Igor Vlasenko [this message]
2020-09-08 16:38 ` [devel] Оптимизируем hasher для работы с фиксированным репозиторием. II Gleb Fotengauer-Malinovskiy
2020-09-08 17:15 ` Igor Vlasenko
2020-09-08 19:11 ` Dmitry V. Levin
2020-09-09 5:21 ` Andrey Savchenko
2020-09-09 9:24 ` Dmitry V. Levin
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=20200908161438.GA3252@dad.imath.kiev.ua \
--to=vlasenko@imath.kiev.ua \
--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