🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #275

Re: Dual processors ?

#275
From: Floyd Davidson
Date: Sun, 05 Jan 2003 16:07
28 lines
2257 bytes
Christopher Browne <cbbrowne@acm.org> wrote:
>After a long battle with technology,Floyd Davidson <floyd@ptialaska.net>, an earthling, wrote:
>>   >make clean;time make bzImage
>>
>> The above command ran in 2 minutes and 37 seconds, while
>>
>>   >make clean;time make -j2 MAKE='make -j2' bzImage
>>
>> ran in 1 minute 28 seconds.
>>
>> Basically, by taking advantage of both cpu's the compile was 1.8
>> times as fast.
>
>You /might/ discover that "-j3" or "-j4" would provide a little better
>performance, still, as it means that extra processes can get a bit of
>CPU bandwidth when other processes are waiting for I/O to complete.
>That does happen with kernel compilation.

Not likely.  Note that what I did is almost the same as

   make MAKE='make -j4' bzImage

Except it works in two subdirectories at once when the top level
make is given a -j2 option.

-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 floyd@barrow.com
Technical Details
Message-ID: <87smw7vavs.fld@barrow.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1
References: <pan.2003.01.03.13.58.10.249319@iprimus.com.au> <av578p$c8s17$1@ID-99293.news.dfncis.de> <av5qtf$tcf$1@lust.ihug.co.nz> <fbf82913.0301040421.1a35bdfa@posting.google.com> <3E178C63.7040901@netscape.net> <3E179C22.40306@iprimus.com.au> <8765t45jcu.fld@barrow.com> <av9df2$d4vpg$2@ID-125932.news.dfncis.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114381,acfea8e5e9ff6f15
X-Google-Attributes: gid114381,public
X-Google-Thread: 102b32,acfea8e5e9ff6f15
X-Google-Attributes: gid102b32,public
X-Google-Thread: 102983,acfea8e5e9ff6f15
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 2003-01-05 08:35:29 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1
From: Floyd Davidson <floyd@ptialaska.net>
Newsgroups: aus.computers.linux,comp.os.linux.hardware,aus.ads.forsale.computers.used
Subject: Re: Dual processors ?
Date: 05 Jan 2003 07:07:03 -0900
Organization: __________
Lines: 28
Sender: floyd@barrow.com
Message-ID: <87smw7vavs.fld@barrow.com>
References: <pan.2003.01.03.13.58.10.249319@iprimus.com.au> <av578p$c8s17$1@ID-99293.news.dfncis.de> <av5qtf$tcf$1@lust.ihug.co.nz> <fbf82913.0301040421.1a35bdfa@posting.google.com> <3E178C63.7040901@netscape.net> <3E179C22.40306@iprimus.com.au> <8765t45jcu.fld@barrow.com> <av9df2$d4vpg$2@ID-125932.news.dfncis.de>
NNTP-Posting-Host: p-358.newsdawg.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: gnus 5.8.3/XEmacs 21.1.9/Linux