public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrew Savchenko <bircoph@gmail.com>
To: gentoo-user@lists.gentoo.org
Cc: Mick <michaelkintzios@gmail.com>
Subject: Re: [gentoo-user] Re: Portage performance dropped considerably
Date: Sat, 1 Feb 2014 01:18:21 +0400	[thread overview]
Message-ID: <20140201011821.5d386f29024e40bd6bcc4ed5@gmail.com> (raw)
In-Reply-To: <201401311913.45133.michaelkintzios@gmail.com>

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

On Fri, 31 Jan 2014 19:13:21 +0000 Mick wrote:
> On Friday 31 Jan 2014 19:03:05 Andrew Savchenko wrote:
> > On Sun, 26 Jan 2014 20:30:19 +0200 Alan McKinnon wrote:
[...]
> > > I'm willing to give up 4 minutes while emerge runs so I don't have to
> > > spend many more minutes right afterwards doing manually the very shit
> > > that software is very good at. Whether portage is a complete pile of
> > > dogshit software or not is beside the point. Even if it is, my 4 minutes
> > > still buys me lots <shrug>
> > 
> > 4 minutes are expendable but... on Atom N270 (my laptop) emerge
> > -DNuav world takes 40 (yes, forty) minutes to build dependency tree
> > with sqlite cache enabled and 60 minutes without sqlite. System was
> > pretty old (not updated aside from GLSA updates for a year). And this
> > 40 minutes repeated many times since USE flag clashes and dependency
> > resolution failures. So I spent may day, damn whole day(!) for the
> > sake to just start compiling (distcc is my friend here).
> 
> Out of interest what fs are you running portage on?  I changed an old box from 
> reiserfs to ext4 and couldn't believe the speed up I got.

I use ext4. In my case the problem is in CPU usage and Atom N270 is
pretty weak these days. On this box HDD is fast and NCQ capable,
memory is enough (2GB for 32bit setup). During dependencies
calculation all 100% of time is spent in the python process. CPU is
slightly overclocked (as much as SHE allows). There is nothing more
that I can do here as an admin of this host. (Gentoo setup itself is
complicated with >2200 packages.)

IMO the only way to improve this issue (without throwing good working
hardware in the window) is to rewrite dependency resolution code in
some highly optimized pure C library (probably with some asm code)
and to use this library via some python binding from portage. But I
suppose algorithm itself should be reviewed first.

Best regards,
Andrew Savchenko

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

  reply	other threads:[~2014-01-31 21:19 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-26 14:35 [gentoo-user] Portage performance dropped considerably Nikos Chantziaras
2014-01-26 14:44 ` hasufell
2014-01-26 14:50 ` [gentoo-user] " Remy Blank
2014-01-26 15:24 ` eroen
2014-01-26 17:42   ` Alan McKinnon
2014-01-26 18:04     ` hasufell
2014-01-26 18:30       ` Alan McKinnon
2014-01-26 18:41         ` hasufell
2014-01-26 19:22           ` Alan McKinnon
2014-01-26 20:44             ` ny6p01
2014-01-27  5:03               ` Alan McKinnon
2014-01-27  9:27               ` Neil Bothwick
2014-01-26 23:26           ` William Hubbs
2014-01-26 23:36             ` Andreas K. Huettel
2014-01-27  0:44               ` Andreas K. Huettel
2014-01-27 11:44             ` hasufell
2014-01-28  1:34               ` Martin Vaeth
2014-01-28  3:19                 ` hasufell
2014-01-28 17:45                   ` Martin Vaeth
2014-01-28 18:07                     ` hasufell
2014-01-29 14:24                       ` Kerin Millar
2014-01-28  0:41             ` Walter Dnes
2014-01-28  1:42               ` Martin Vaeth
2014-01-28  4:02                 ` Walter Dnes
2014-01-31 19:03         ` Andrew Savchenko
2014-01-31 19:13           ` Mick
2014-01-31 21:18             ` Andrew Savchenko [this message]
2014-01-31 22:12               ` Alan McKinnon
2014-02-02  9:40                 ` Andrew Savchenko
2014-02-03 10:55                   ` Martin Vaeth
2014-02-03 11:57                     ` Greg Turner
2014-02-03 13:17                       ` Martin Vaeth
2014-01-26 19:29       ` Volker Armin Hemmann
2014-01-26 19:45         ` Alan McKinnon
2014-01-26 20:10           ` Volker Armin Hemmann
2014-01-27  9:30         ` Neil Bothwick
2014-01-27 11:59       ` Tanstaafl
2014-01-27 13:06         ` Alan McKinnon
2014-01-27 13:57           ` hasufell
2014-01-27 21:48             ` Neil Bothwick
2014-01-27 21:54               ` hasufell
2014-01-27 22:57                 ` Neil Bothwick
2014-01-27 23:35                   ` hasufell
2014-01-28  1:35                     ` Neil Bothwick
2014-02-03 14:04                   ` Pandu Poluan
2014-02-03 14:16                     ` Alan McKinnon
2014-02-03 16:38                       ` Pandu Poluan
2014-02-04  5:12                         ` Martin Vaeth
2014-01-28  1:50           ` Martin Vaeth
2014-01-30  3:50           ` hasufell
2014-01-30 18:15             ` [gentoo-user] " Stroller
2014-01-31 20:08               ` hasufell
2014-01-26 19:28     ` [gentoo-user] " Volker Armin Hemmann
2014-01-26 19:55       ` Alan McKinnon
2014-01-27 12:06         ` Helmut Jarausch
2014-01-27 21:56           ` Stefan G. Weichinger
2014-01-26 15:53 ` [gentoo-user] " Mariusz Ceier
2014-01-31 17:23   ` Andrew Savchenko
2014-01-26 16:06 ` Florian Philipp
2014-01-26 16:15   ` hasufell
2014-01-26 17:52     ` Florian Philipp
2014-01-26 18:16 ` covici
2014-03-07 19:36 ` Tom Wijsman
  -- strict thread matches above, loose matches on Subject: below --
2014-01-26 15:09 Greg Turner
2014-01-26 15:32 ` [gentoo-user] " eroen

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=20140201011821.5d386f29024e40bd6bcc4ed5@gmail.com \
    --to=bircoph@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=michaelkintzios@gmail.com \
    /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