On 3/5/07, John Fultz <[EMAIL PROTECTED]> wrote:
> > 3) Can Q take advantage of multiprocessor hosts?
>
> Any program which is multi-threaded can take advantage of multiple processors 
> or
> multiple cores. Jason and John added some limited support for threads in 0.95,
> but I believe this is only for separating UI and computational work, which
> doesn't really work a second processor or core very much. But more threading
> work is planned. Jason or John could comment specifically.

I think it was Jason and Matt who did this, not me. As John says,
there is already some benefit from threading. By putting the UI and
the simming stuff in separate threads, we make sure that the UI gets
enough computing time to respond to our mouse clicks etc.

I don't often run two instances of the Quackle UI, but in testing and
generating stats I sometimes run two copies of Quackle on my MacBook
at a command line, and the second one doesn't slow the first one down.
So when we make the simulator multi-threaded so that it can sim on two
or more processors in parallel, it should be about NumberOfProcessors
times faster.

John O'Laughlin

Reply via email to