ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: repocop test for %{get_version ...} is disabled.
Date: Mon, 27 Aug 2012 20:05:30 +0400
Message-ID: <20120827160530.GB18053@altlinux.org> (raw)
In-Reply-To: <20120824175243.GA22472@t60p.mithraen.ru>

On Fri, Aug 24, 2012 at 09:52:44PM +0400, Денис Смирнов wrote:
> AT> rpm-dir работает таким образом, что каждый раз заново сканирует все пакеты
> AT> в каталоге, причем из-за readahead(2) это означает, что каждый раз
> AT> считывается 128K, т.е. 32 страницы, несмотря на то, что заголовок пакета
> AT> может быть намного меньше.  Я пробовал отрубить readahead в lib/package.c,
> AT> не знаю работает или нет.
> 
> А почему rpm-dir работает именно так, а не строит индекс аналогично
> остальным при apt-get update? Это баг или фича?

А как он должен работать, куда он должен сохранить тебе построенный
индекс, даже если он привязывается, допустим, к mtimte каталога rpm-dir?
В том-то и смысл, что каталог сканируется на лету, и часто это быстрее,
чем поддержка отдельного состояния каталога.


      parent reply	other threads:[~2012-08-27 16:05 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-22 19:56 Igor Vlasenko
2012-08-22 20:53 ` Alexey Tourbin
2012-08-22 21:16   ` Michael Shigorin
2012-08-22 21:29     ` Dmitry V. Levin
2012-08-23  6:09   ` Igor Vlasenko
2012-08-23  7:42     ` Alexey Tourbin
2012-08-23  8:22       ` Igor Vlasenko
2012-08-23 10:33   ` Sergey V Turchin
2012-08-23 13:03     ` Alexey Tourbin
2012-08-23 15:26       ` Sergey V Turchin
2012-08-24  0:40         ` Alexey Tourbin
2012-08-24 10:47           ` Sergey V Turchin
2012-08-22 21:11 ` Денис Смирнов
2012-08-22 21:29   ` Alexey Tourbin
2012-08-22 23:24     ` Alexey Tourbin
2012-08-23  5:03     ` Денис Смирнов
2012-08-23  6:06       ` Alexey Tourbin
2012-08-23  8:04         ` Michael Shigorin
2012-08-23  8:58           ` Alexey Tourbin
2012-08-23 10:48             ` Michael Shigorin
2012-08-23 16:38         ` Денис Смирнов
2012-08-24  0:52           ` Alexey Tourbin
2012-08-24  4:12             ` Денис Смирнов
2012-08-24 14:13               ` Alexey Tourbin
2012-08-24 17:52                 ` Денис Смирнов
2012-08-27 11:02                   ` Ildar Mulyukov
2012-08-27 16:05                   ` Alexey Tourbin [this message]

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=20120827160530.GB18053@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