Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How long does "Verifying /usr/portage" take?
Date: Fri, 06 Jul 2018 20:23:52
Message-Id: a693636d-48e1-d3dc-e77a-9c4db354f5e7@gmail.com
In Reply to: Re: [gentoo-user] How long does "Verifying /usr/portage" take? by R0b0t1
1 R0b0t1 wrote:
2 > On Fri, Jul 6, 2018 at 2:16 PM, Dale <rdalek1967@×××××.com> wrote:
3 >> Grant Edwards wrote:
4 >>> Now that the public key stuff is working again (knock on wood), I'm
5 >>> curious if it's usual for an emerge --sync to take 10-15 minutes
6 >>> longer than it used due to the "Verifying /usr/portage" step.
7 >>>
8 >>> On some systems (with fewer packages installed) it only takes a minute
9 >>> or less. But, on my "main" desktop system it takes 10-15 minutes every
10 >>> time. During the verify step, the emerge process is only using about
11 >>> 5% of the CPU, and my system is running 80% or more idle.
12 >>>
13 >>
14 >> I haven't timed mine yet but that sounds about like mine here. I'm not
15 >> sure what the bottleneck is but I have a four core AMD CPU running at
16 >> 3.2GHz with 16GBs of ram and SATA spinning rust drives. While I'm glad
17 >> to have the added security measures, it does add a significant amount of
18 >> time to the update process, the tree not the compile part. We all know
19 >> the compile part can get big. lol
20 >>
21 >> I guess like everything else, we'll just have to get used to it. People
22 >> will hack a ham sandwich if they can and can get something from it.
23 >> That would be mustard on mine. Some may like Mayo, which is fine too.
24 >> ;-)
25 >>
26 > Run a program with `strace -c` to get statistics on time spent in
27 > system calls. It will be disk IO.
28 >
29 >
30
31
32 I was thinking my drive light was on a lot during that time but wasn't
33 sure.  I used to go to the kitchen and get something to drink and a
34 snack and it be ready when I came back.  I guess now I can cook a light
35 meal and come back and it be ready.  Maybe I will lose a few pounds
36 because of this, looking for something positive in this besides the
37 obvious security improvements.  :? 
38
39 Either way, it takes longer but given the status of hackers, we really
40 need this.  It seems github sort of shined a light on what can happen
41 even if it is noticed pretty quick. 
42
43 Dale
44
45 :-)  :-)