compiling multithreaded apps
Bryan
brakeb at gmail.com
Thu Oct 18 23:12:03 PDT 2007
On 10/19/07, Colby W. <colbyw at gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/18/07, Bryan <brakeb at gmail.com> wrote:
> > I have a new Intel Core Duo, and I notice that many of the apps I use
> > seem to favor only one processor. If I built an app with gcc, can I
> > make compile an app so that it utilizes both processors, or am I out
> > of luck?
> >
>
> Which kernel are you using? SMP is, IIRC, not available with the
> default kernel (bsd), you'll need to use the bsd.mp kernel in order to
> utilize multiple processors/cores.
>
Yes, I am using bsd.mp. But if I use a program like Audacity, I find
that it uses only one processor, while the other lies at nearly 100%
idle.
I'd like to be able to compile, or set a switch, that allows me to
utilize the second processor in programs like mplayer, or audacity,
since these often require lots of CPU when decoding/encoding video
from DVD, or in the case of Audacity, creation and editing of large
sound files.
> See also, http://openbsd.org/i386.html
>
> --- Colby
More information about the Openbsd-newbies
mailing list