public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Tom Wijsman <TomWij@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: Packages up for grabs
Date: Sun, 16 Jun 2013 23:24:27 +0200	[thread overview]
Message-ID: <20130616232427.063566d4@TOMWIJ-GENTOO> (raw)
In-Reply-To: <pan$c5bfa$8f5960ce$86320c08$2d133f6f@cox.net>

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

On Sun, 16 Jun 2013 19:33:53 +0000 (UTC)
Duncan <1i5t5.duncan@cox.net> wrote:

> TL;DR: SSDs help. =:^)

TL;DR: SSDs help, but they don't solve the underlying problem. =:-(

I have one; it's great to help make my boot short, but it isn't really
a great improvement for the Portage tree. Better I/O isn't a solution
to computational complexity; it doesn't deal with the CPU bottleneck.

Sadly, an improvement to the CPU as good as the switch from HDD to SSD,
I'm yet to see such a hardware improvement. Maybe if we stack the
transistors into the third dimension, something Intel was working on.

> Quite apart from the theory and question of making the existing code 
> faster vs. a new from-scratch implementation, there's the practical 
> question of what options one can actually use to deal with the
> problem /now/.

Don't rush it: Do you know the problem well? Does the solution
properly deal with it? Is it still usable some months / years from now?

> FWIW, one solution (particularly for folks who don't claim to have 
> reasonable coding skills and thus have limited options in that
> regard) is to throw hardware at the problem.

Improvements in algorithmic complexity (exponential) are much bigger
than improvements you can achieve by buying new hardware (linear).

> I recently upgraded my main system to SDD. ... SNIP ... Between that
> and the 6-core bulldozer[3] I upgraded to last year, I'm quite happy
> with portage's current performance, ... SNIP ...

Ironically, you don't even fully use the CPU, but only one core of it;
I'm glad you have a 6-core processor, but to Portage it is a 1-core
during dependency tree calculation.

Portage becomes slower at a faster rate than your hardware get faster;
this will continue to be that way until you make Portage benefit of
it, or failing that you would need to come up with an alternative PM.

I didn't get my short boot from upgrading hardware alone; quite the
opposite, it was rather the results of the efforts spent on it.

> ---
> [1] I'm running ntp and the initial ntp-client connection and time
> sync takes ~12 seconds a lot of the time, just over the initial 10
> seconds down, 50 to go, trigger on openrc's 1-minute timeout.

Why do you make your boot wait for NTP to sync its time?

How could hardware make this time sync go any faster?

> [2] ... SNIP ... runs ~1 hour ... SNIP ...

Sounds great, but the same thing could run in much less time. I have
worse hardware, and it doesn't take much longer than yours do; so, I
don't really see the benefits new hardware bring to the table. And that
HDD to SSD change, that's really a once in a lifetime flood.

> [3] Also relevant, 16 gigs RAM, PORTAGETMPDIR on tmpfs.

Sounds all cool, but think about your CPU again; saturate it...

Building the Linux kernel with `make -j32 -l8` versus `make -j8` is a
huge difference; most people follow the latter instructions, without
really thinking through what actually happens with the underlying data.
The former queues up jobs for your processor; so the moment a job is
done a new job will be ready, so, you don't need to wait on the disk.

Something completely different; look at the history of data mining,
today's algorithms are much much faster than those of years ago.

Just to point out that different implementations and configurations have
much more power in cutting time than the typical hardware change does.

Though, this was pretty much OT; we're talking about the dependency tree
calculation, not about emerging which is rather a result of building
(eg. your compiler) than it has anything to do with the package manager.

PS: A take home thought: What if the hardware designers decided to not
R&D storage, then we wouldn't have a SSD; same story, different level.
Another level higher; we have physics, maybe CERN can improve hardware?
But when will that happen? Can we rely and wait on that to happen?

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : TomWij@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  parent reply	other threads:[~2013-06-16 21:27 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-16  9:49 [gentoo-dev] Packages up for grabs Pacho Ramos
2013-06-16 12:48 ` Dirkjan Ochtman
2013-06-16 13:55   ` Brian Dolbec
2013-06-16 14:44     ` Tom Wijsman
2013-06-16 17:09       ` Brian Dolbec
2013-06-16 17:21         ` Pacho Ramos
2013-06-16 17:27           ` hasufell
2013-06-16 18:28             ` Tom Wijsman
2013-06-16 18:21           ` Brian Dolbec
2013-06-16 18:23           ` Tom Wijsman
2013-06-16 19:33             ` [gentoo-dev] " Duncan
2013-06-16 19:43               ` Andreas K. Huettel
2013-06-16 21:24               ` Tom Wijsman [this message]
2013-06-16 21:38                 ` Ciaran McCreesh
2013-06-16 22:07                   ` Tom Wijsman
2013-06-16 22:20                     ` Ciaran McCreesh
2013-06-24 15:27                 ` Duncan
2013-06-24 23:18                   ` Tom Wijsman
2013-06-25  6:16                     ` Duncan
2013-06-16 19:43             ` [gentoo-dev] " Ciaran McCreesh
2013-06-16 21:57             ` Zac Medico
2013-06-16 22:15               ` Ciaran McCreesh
2013-06-16 21:13     ` Tim Harder
2013-06-17  0:52 ` Rafael Goncalves Martins
2013-06-17  5:16 ` Sergey Popov
2013-06-17  5:25   ` Brian Harring
2013-06-17 20:32 ` vivo75
  -- strict thread matches above, loose matches on Subject: below --
2018-03-10 13:12 Pacho Ramos
2018-03-10 23:53 ` [gentoo-dev] " Michael Palimaka
2017-04-27 10:58 [gentoo-dev] " Dirkjan Ochtman
2017-06-28  9:19 ` [gentoo-dev] " Dirkjan Ochtman
2017-03-26 19:50 [gentoo-dev] " aidecoe
2017-03-27  8:13 ` [gentoo-dev] " Marek Szuba
2016-08-07  9:26 [gentoo-dev] " Pacho Ramos
2016-08-07 15:50 ` [gentoo-dev] " Michael Palimaka
2016-08-06 14:39 Felix Janda
2016-08-06 16:04 ` Peter Stuge
2016-08-06 16:22   ` Michał Górny
2016-08-06 19:28     ` Peter Stuge
2016-08-06 20:47       ` Rich Freeman
2016-08-06 20:55         ` Michał Górny
2016-08-06 22:32           ` Rich Freeman
2016-08-06 21:12       ` Peter Stuge
2016-08-07  6:48         ` Michał Górny
2016-08-07  7:38           ` Consus
2016-08-07 13:24             ` james
2016-08-07 13:32               ` Kent Fredric
2016-08-07 14:06                 ` Alan McKinnon
2016-08-07 14:46                   ` Alec Ten Harmsel
2016-08-07 17:36                   ` james
2016-08-07 20:04                     ` Alan McKinnon
2016-08-07 20:48                       ` Patrick Lauer
2016-08-07 22:29                         ` james
2016-08-07 21:49                       ` james
2016-08-08  3:22                         ` Kent Fredric
2016-08-08  5:26                           ` james
2016-08-08  4:33                             ` Kent Fredric
2016-08-08  5:43                               ` Kent Fredric
2016-08-07 17:24                 ` james
2016-08-07 16:21                   ` Ciaran McCreesh
2016-08-07 17:59                     ` james
2016-08-07 14:09               ` Consus
2016-08-07 17:44                 ` james
2016-08-07 14:47               ` Rich Freeman
2016-08-07 17:47                 ` james
2016-08-07 17:49                   ` Rich Freeman
2016-08-07 19:33                     ` james
2016-08-07  4:04       ` Kent Fredric
2016-06-02 15:42 [gentoo-dev] " james
2016-06-03 17:02 ` [gentoo-dev] " Justin Bronder
2016-06-03 18:41   ` james
2014-11-24  1:17 [gentoo-dev] " hasufell
2014-11-24  3:08 ` Daniel Campbell
2014-11-26  9:15   ` Yixun Lan
2014-11-27  9:51     ` Daniel Campbell
2014-12-03 16:34       ` [gentoo-dev] " Harvey
2014-12-04  6:17         ` Daniel Campbell
2014-11-11 14:59 [gentoo-dev] " Pavlos Ratis
2014-11-14  3:02 ` Tom Wijsman
2014-12-01 11:00   ` Pacho Ramos
2015-01-07 14:06     ` Pacho Ramos
2015-01-08  1:29       ` Andrew Savchenko
2015-01-08  9:28         ` [gentoo-dev] " Duncan
2015-01-08 10:12           ` Duncan
2013-06-16 10:03 [gentoo-dev] " Pacho Ramos
2013-06-16 10:24 ` [gentoo-dev] " Pacho Ramos
2013-06-16  9:31 [gentoo-dev] " Pacho Ramos
2013-06-16 12:19 ` gmt
2013-06-16 12:27   ` Pacho Ramos
2013-06-16 13:02     ` gmt
2013-06-16 13:22       ` [gentoo-dev] " Michael Palimaka
2013-01-20 10:30 [gentoo-dev] " Pacho Ramos
2013-01-20 19:15 ` [gentoo-dev] " Mike Gilbert
2012-03-01 22:17 [gentoo-dev] " Markos Chandras
2012-03-06  4:40 ` [gentoo-dev] " Ryan Hill
2011-01-06 12:17 [gentoo-dev] " Christian Faulhammer
2011-01-06 12:32 ` Dirkjan Ochtman
2011-01-12  9:24   ` [gentoo-dev] " Christian Faulhammer
2011-01-06 17:34 ` [gentoo-dev] " Sebastian Pipping
2011-01-07  8:49   ` [gentoo-dev] " Christian Faulhammer
2011-01-07 16:39     ` Sebastian Pipping
2011-01-07 18:57       ` Christian Faulhammer
2010-10-10 14:45 [gentoo-dev] " Markos Chandras
2010-10-10 16:13 ` [gentoo-dev] " Diego Elio Pettenò
2010-10-12  0:52   ` Jeroen Roovers
2010-10-12  6:01     ` Duncan
2010-10-12 17:17       ` Tomás Touceda
2009-02-11 18:02 [gentoo-dev] " Santiago M. Mola
2009-02-12  3:12 ` [gentoo-dev] " Ryan Hill
2008-10-31 20:42 [gentoo-dev] packages " Daniel Drake
2008-11-09  8:39 ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
2008-07-20  6:44 [gentoo-dev] Packages " Christian Faulhammer
2008-07-20 17:01 ` Alexis Ballier
2008-07-21  6:27   ` [gentoo-dev] " Christian Faulhammer
2008-07-20 18:21 ` [gentoo-dev] " Thomas Anderson
2008-07-21  6:27   ` [gentoo-dev] " Christian Faulhammer
2008-05-31  5:09 [gentoo-dev] packages " Mike Frysinger
2008-05-31  8:05 ` Donnie Berkholz
2008-05-31  9:13   ` [gentoo-dev] " Tiziano Müller
2008-05-31 14:35 ` [gentoo-dev] " Philip Webb
2008-05-31 17:04   ` Thilo Bangert
2008-05-31 17:05     ` [gentoo-dev] " Ali Polatel
2008-05-31 15:33 ` Ali Polatel
2008-06-02 14:57 ` Diego 'Flameeyes' Pettenò
2008-06-02 19:47 ` Gunnar Wrobel
2008-06-02 20:45   ` Joe Peterson
2008-06-02 23:59     ` Joe Peterson
2008-05-28  7:03 [gentoo-dev] Packages " Krzysiek Pawlik
2008-06-05 20:57 ` [gentoo-dev] " Tiziano Müller
2007-12-25 18:19 [gentoo-dev] " Christian Heim
2007-12-26 10:16 ` Gilles Dartiguelongue
2007-12-26 15:39   ` [gentoo-dev] " Bernd Steinhauser
2008-01-24 15:30 ` Ali Polatel
2007-09-05 17:15 [gentoo-dev] " Chris Gianelloni
2007-09-05 17:44 ` [gentoo-dev] " Christian Faulhammer

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=20130616232427.063566d4@TOMWIJ-GENTOO \
    --to=tomwij@gentoo.org \
    --cc=gentoo-dev@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