🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5235

Re: process in memory

#5235
From: Norm Jaffe
Date: Mon, 19 Sep 2005 18:42
43 lines
3252 bytes
I just performed an regular batch compile of our project, which has a 
moderately large number of files,
on a dual processor system - while watching activity using the task manager.
It shows that _both_ processors are very active during the 'make'; there may 
be 'wasted' cycles, due to Windows XP
taking idle time, but it's not the case that one processor does nothing 
while the other is doing compiles.
In fact, they both have the same utilization curves, and peak at the same 
times.

Have you looked at your CPU usage during compiles, either with the IDE or 
using batch files?

Norm
"Jonathan Benedicto" <incorrect@no.server> wrote in message 
news:432f0452$1@newsgroups.borland.com...
> "Ed Mulroy" <dont_email_me@bitbuc.ket> wrote in message 
> news:432efebb$1@newsgroups.borland.com...
>> So have your program launch the compiler instead of launching make.exe.
>
> My app is actually run by make. When someone uses my app, they change the 
> line in the makefile "BCC32 = bcc32" to "BCC32 = mtbcc32". Then, make 
> calls my app "thinking" that it is bcc32, so my app gets a command line 
> like this: mtbcc32 CompilerOptions File1 File2 etc.
>
>> Now have your program launch bcc32 twice in this way:
>>
>> bcc32 +TheOpts.cfg @1stListFile.txt
>> bcc32 +TheOpts.cfg @2ndListFile.txt
>>
>> Each instance of bcc32.exe will compile all files listed in the 
>> redirected text file whose name it is given.
>
> The problem I have with this, is that maybe the first file will contain on 
> average the faster units to compile, and the second file contains the 
> longer files to compile. What would happen in this case, is that the first 
> instance finishes first, and so half of a twin processor machine would be 
> unused until the second instance finished. So, my idea was to have the two 
> compiler instances that are "fed" files as fast as they finish compiling 
> them, thereby using full-power until all the files were built.
>
> Jonathan
> 
Technical Details
Message-ID: <432f05fc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <432a4ce3@newsgroups.borland.com> <432e5ed4$1@newsgroups.borland.com> <432ec891$2@newsgroups.borland.com> <janti1t9p5e1mv6f62e5flrqu6ffh5s5jk@4ax.com> <432ee858$1@newsgroups.borland.com> <432ef7d7$5@newsgroups.borland.com> <432efb87$3@newsgroups.borland.com> <432efebb$1@newsgroups.borland.com> <432f0452$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,81249344387d138e
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Norm Jaffe" <mail@aurelsystems.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <432a4ce3@newsgroups.borland.com> <432e5ed4$1@newsgroups.borland.com> <432ec891$2@newsgroups.borland.com> <janti1t9p5e1mv6f62e5flrqu6ffh5s5jk@4ax.com> <432ee858$1@newsgroups.borland.com> <432ef7d7$5@newsgroups.borland.com> <432efb87$3@newsgroups.borland.com> <432efebb$1@newsgroups.borland.com> <432f0452$1@newsgroups.borland.com>
Subject: Re: process in memory
Date: Mon, 19 Sep 2005 11:42:19 -0700
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 154.20.48.229
Message-ID: <432f05fc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1127155196 154.20.48.229 (19 Sep 2005 11:39:56 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail