| From | Sent On | Attachments |
|---|---|---|
| Adam Strohl | Nov 4, 1999 1:26 pm | |
| Scott Myron | Nov 4, 1999 2:08 pm | |
| Adam Serediuk | Nov 4, 1999 3:33 pm | |
| Rodney W. Grimes | Nov 4, 1999 4:01 pm | |
| Adam Serediuk | Nov 4, 1999 4:05 pm | |
| Oliver Fromme | Nov 4, 1999 4:06 pm | |
| David Scheidt | Nov 4, 1999 5:46 pm | |
| Darryl Okahata | Nov 4, 1999 6:03 pm | |
| Daniel O'Connor | Nov 4, 1999 6:09 pm | |
| Tom Embt | Nov 4, 1999 6:29 pm | |
| David Scheidt | Nov 4, 1999 8:22 pm | |
| Rodney W. Grimes | Nov 4, 1999 11:54 pm | |
| Rodney W. Grimes | Nov 4, 1999 11:59 pm | |
| Vincent Poy | Nov 5, 1999 12:10 am | |
| Adam Strohl | Nov 5, 1999 5:52 am | |
| Adam Strohl | Nov 5, 1999 5:54 am | |
| Adam Strohl | Nov 5, 1999 6:35 am | |
| Eric J. Schwertfeger | Nov 5, 1999 8:44 am | |
| Darryl Okahata | Nov 5, 1999 10:09 am | |
| Darryl Okahata | Nov 5, 1999 10:21 am | |
| Rodney W. Grimes | Nov 5, 1999 10:29 am | |
| Rodney W. Grimes | Nov 5, 1999 10:46 am | |
| Eric J. Schwertfeger | Nov 5, 1999 10:47 am | |
| Rodney W. Grimes | Nov 5, 1999 11:02 am | |
| Darryl Okahata | Nov 5, 1999 11:16 am | |
| Oliver Fromme | Nov 5, 1999 11:26 am | |
| Jakub Klausa | Nov 5, 1999 2:50 pm | |
| Mike Smith | Nov 5, 1999 2:55 pm | |
| Mike Smith | Nov 5, 1999 4:30 pm | |
| Kevin Street | Nov 5, 1999 4:30 pm | |
| Mike Meyer | Nov 5, 1999 4:42 pm | |
| Darryl Okahata | Nov 5, 1999 5:26 pm | |
| Tamiji Homma | Nov 5, 1999 5:30 pm | |
| Adam Strohl | Nov 5, 1999 5:40 pm | |
| Mike Smith | Nov 5, 1999 5:45 pm | |
| Tamiji Homma | Nov 5, 1999 6:08 pm | |
| Mike Smith | Nov 5, 1999 6:10 pm | |
| Kevin Street | Nov 5, 1999 7:14 pm | |
| Vallo Kallaste | Nov 6, 1999 2:28 am | |
| Tommy Hallgren | Nov 6, 1999 3:56 am | |
| sth...@nethelp.no | Nov 6, 1999 12:38 pm | |
| sth...@nethelp.no | Nov 7, 1999 1:08 pm | |
| Mike Smith | Nov 8, 1999 9:41 am | |
| Jakub Klausa | Nov 10, 1999 10:56 am | |
| Mike Smith | Nov 11, 1999 8:47 am |
| Subject: | Re: Dual Celeron + FreeBSD? | |
|---|---|---|
| From: | Kevin Street (str...@iname.com) | |
| Date: | Nov 5, 1999 7:14:50 pm | |
| List: | org.freebsd.freebsd-smp | |
Mike Smith <mi...@smith.net.au> writes:
Under 40 minutes is very hard on a current intel architecture box; the 4-way Xeon 400/256 that we have here will do about 39 even on -current as of a couple of weeks ago, with everything except $DESTDIR on an MFS.
To go much faster will require more memory bandwidth, or possibly faster CPUs with more cache (not so sure about that part).
... 2384.21 real 2809.03 user 1337.21 sys elapsed 0:39:42 busy 86.95%
Ok, so I cheated with -DNOPROFILE and I have a somewhat modified bsd.subdir.mk that parallelizes some subdir builds in the "building everything" phase of the make. This is with a dual 466 Celeron, 128M 66Mhz FSB, no overclocking, Abit BP6. I'm using -pipe in /etc/make.conf and /usr/src, /usr/obj and /tmp are all on a striped vinum volume that resides on 2 IBM 9G 7200RPM SCSI drives with softupdates.
So stop cheating. I can get it down to a few hundredths of a second if I rewrite make thus:
void main(void) { return(0); }
heh, I thought you'd get grumpy when I posted that :) Ok, without the -DNOPROFILE it's 44:03
I really had 2 points: 1) Dual Celeron's do work pretty well given a good workload
2) Your assertion that we need more memory bandwidth to go much faster on the buildworld - I disagree, or at least I think we have not wrung all the SMP performance out of build world that we should. One big problem with make -j N is that it does ok at parallelizing the compile of large subdirectories with lots of C modules since it starts many compiles at once. The link step seriallizes however, which means that the 2nd (& 3rd and 4th) cpus sit mostly idle. The same thing happens when building small subdirs with only one, or a few, c modules. And when the build moves between subdirs it seriallizes while it interprets the make file and sets up the parallel compiles etc.
The net result on my system is that the build runs at about 70% cpu utilization overall, ie I get a max of 140% of the single cpu. Actually less because of the SMP overhead. By some relatively simple tweaking of the build rules, starting multiple subdir makes in parallel, we can get much better parallelization since while one subdir is seriallizing, the others can be running on the other cpus. With my experimental version I'm getting the average cpu up to about 87% ie getting about 178% of the single cpu. Actually the last half of the buildworld runs at about 100% utilization. The first half (building the tools and some libs) is still seriallized quite a bit since I have not tinkered with that part yet.
-- Kevin Street str...@iname.com
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message





