[rescue] Dual Processors and applications

Mike Johnson mike at enoch.org
Tue May 7 12:45:19 CDT 2002


Brian Dunbar [Brian.Dunbar at plexus.com] wrote:
> Scenario:
> A dual processor Unix box (sun or hp).  An application (CAD tool) that was
> not specifically optimized for dual processors.  Will the app take
advantage
> of the dual processors?

App, no.  OS, yes.  If the app is a single, monolithic process, and it
doesn't fork of any children, then there's no way it can use both CPUs.
The OS can certainly switch the app to the CPU that's least busy
(depending on how the OS schedules), but the app can't use both CPUs at
the same time.  However, since there's all sorts of other things going
on on a Unix system at the time, some benefit will be seen.

Now, if this app spawns multiple processes, the processes will be spread
across the CPUs.

Really, it depends on the particular app.

Mike
--
"Let the power of Ponch compel you!  Let the power of Ponch compel you!"
   -- Zorak on Space Ghost

GNUPG Key fingerprint = ACD2 2F2F C151 FB35 B3AF  C821 89C4 DF9A 5DDD 95D1
GNUPG Key = http://www.enoch.org/mike/mike.pubkey.asc

[demime 0.99c.1 removed an attachment of type application/pgp-signature]



More information about the rescue mailing list