Gentoo Archives: gentoo-user

From: Dale <dalek@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Are multiple emerges safe?
Date: Sun, 29 Jan 2006 19:08:43
Message-Id: 43DD1177.9060108@exceedtech.net
In Reply to: Re: [gentoo-user] Are multiple emerges safe? by Alexander Skwar
1 Alexander Skwar wrote:
2
3 >Michael Sullivan wrote:
4 >
5 >
6 >
7 >>Keep in mind though that multiple emerges will share resources, so each
8 >>process may lose speed...
9 >>
10 >>
11 >
12 >Something that I always wondered about - does it
13 >actually *lose* speed? IOW: Is it, *IN* *TOTAL*
14 >slower to do multiple emerges in parallel compared
15 >to doing them sequentially?
16 >
17 >Alexander Skwar
18 >
19 >
20
21
22 I'm no guru for sure but here is my $.02 worth. Let's say emerge one
23 takes ten minutes and emerge two takes 30 minutes. If you have a single
24 CPU machine I would think that if both were started at the same time,
25 the both of them would take 40 minutes. So in my theory, "emerge one &&
26 emerge two" should be the same as doing seperately. Of course, emerge
27 one would finish first but while emerge one is working it will slow down
28 emerge two as well. This is assuming they have the same nice settings
29 of course.
30
31 Now if you have a dually or quad CPU rig, that may vary depending on the
32 compile times and a few other things.
33
34 I would also think that one emerge would speed up the compile for
35 example when the other is waiting on the data to/from a drive as well.
36 So it may make it a little faster. I wonder of there is a good way to
37 measure this.
38
39 My worthless $0.02 worth.
40
41 Dale
42 :-)
43
44 --
45 To err is human, I'm most certainly human.
46
47 I have four rigs:
48
49 1: Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives. Named Smoker
50 2: Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive. Named Swifty
51 3: Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB drive. Named Pokey
52 4: Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive. Named Putput
53
54 All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.
55
56 --
57 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Are multiple emerges safe? Allan Gottlieb <gottlieb@×××.edu>