Re: [Qemu-devel] Using multiple cores in qemu was Re: threads on qemu

2008-01-21 Thread C.W. Betts

I'm just trying to think of ways to improve, so don't hurt me too much.

What about splitting up the CPU and other functions into their own threads? 
The CPU emulation is probably the biggest thing that uses the CPU, the 
second biggest the display(?).


From reading the past e-mails, the only thing that might stop this from 
working is the virtual timing, right?  In what way could this be fixed, and 
will it make qemu faster?
- Original Message - 
From: "William Pearson" <[EMAIL PROTECTED]>

To: 
Sent: Monday, January 21, 2008 10:59 AM
Subject: [Qemu-devel] Using multiple cores in qemu was Re: threads on qemu



>
Still, is there a way to make qemu take advantage of multiple cores? 
They
are pretty commonplace in new computers (is there any selling computer 
that

doesn't have multiple cores?).


It depends on what you want to do. You could always run two or more
copies of qemu and set up a small networked cluster of the
architecture you want to emulate. Each emulator should go on to a
different core. Might be useful when compiling things in qemu or doing
other processor bound tasks.

 Will Pearson









[Qemu-devel] Using multiple cores in qemu was Re: threads on qemu

2008-01-21 Thread William Pearson
>
> Still, is there a way to make qemu take advantage of multiple cores?  They
> are pretty commonplace in new computers (is there any selling computer that
> doesn't have multiple cores?).

It depends on what you want to do. You could always run two or more
copies of qemu and set up a small networked cluster of the
architecture you want to emulate. Each emulator should go on to a
different core. Might be useful when compiling things in qemu or doing
other processor bound tasks.

  Will Pearson