public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Александр Берсенев" <bay@hackerdom.ru>
To: gentoo-soc@lists.gentoo.org
Subject: [gentoo-soc] rfc: reducing the time of "Calculating dependencies" phase project.
Date: Fri, 26 Apr 2013 00:58:11 +0600	[thread overview]
Message-ID: <CAPomEdyQSFjvvBrbEfO1g_9uOc0cAZy1S8kFc=51bYVnfQmhqw@mail.gmail.com> (raw)

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

Hello,

my name is Alexander Bersenev, I am postgraduate of Institute of
Mathematics
and Mechanics(Russia).
I want to propose a project for GSoC 2013 and ask what do you think about
it.

In short: I want to reduce the "Calculating dependencies" phase of emerge.

On my notebook "emerge -pv bash" command takes 40 secs to calculate a deps.
If I launch it again, it take about 40 secs again(a have a lot of RAM, so
there was no HDD usage).

Of course, quick cprofile profiling showed no places to optimize because
such optimizations already have been made.

The main idea is add some caching layers(more high-level, than in
/usr/portage/metadata/md5-cache/). The main goal is to find and eliminate
repeated computations between "emerge" runs.

As part of work I plan to examine approaches of other pkg managers(yum,
aptitude).

I heard from Donnie Berkholz in IRC about pkgcore project. He said it works
faster in practice. But it has some problems with EAPI5 support.

What is better: actualize a pkgcore code or try to dig into portage? Or it
is
the bad ideas at all?

----
Some info about me:
- github: https://github.com/alexbers/
- twitter: https://twitter.com/alex_bers
- I was participated in GSoC 2011 with Autodep(auto dependency checker)
project.
- I administer ~250 nodes cluster in Institute of Mathematics and Mechanics
- I use Gentoo as my primary OS since 2007.
- I interested in computer security. Participated in Defcon CTF(Las Vegas)
  and in Nuit du Hack CTF(Paris, won 4000 euro) as member of Hackerdom
team.
  Also we organize RuCTF and RuCTFE annual competitions, which likely are
  the biggest in Russia(http://ructf.org/index.en.html).

----

Best,
Alexander Bersenev

[-- Attachment #2: Type: text/html, Size: 2421 bytes --]

             reply	other threads:[~2013-04-25 18:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25 18:58 Александр Берсенев [this message]
2013-04-26  1:17 ` [gentoo-soc] rfc: reducing the time of "Calculating dependencies" phase project Zac Medico
2013-04-26 11:43   ` Александр Берсенев
2013-04-26 15:59     ` Zac Medico
2013-04-27  0:19       ` James Cloos
2013-04-27  5:29         ` Александр Берсенев
2013-04-27 19:23           ` Александр Берсенев

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='CAPomEdyQSFjvvBrbEfO1g_9uOc0cAZy1S8kFc=51bYVnfQmhqw@mail.gmail.com' \
    --to=bay@hackerdom.ru \
    --cc=gentoo-soc@lists.gentoo.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
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