Skip to contentSkip to conversation

Does the -smp option use threads?

Qemu-devel Jonathan Kalbfeld 4 participants 5 messages Apr 27, 2007 – Sep 10, 2007

lore
Share & tools
lore
#0 lore raw

Suppose I run QEMU on a T1000 with an 8-way CPU and I tell it to simulate 8x SMP. WIll it spawn a separate thread for each dynamic translation activity?

jonathan

Signature · 3 lines
--
Jonathan Kalbfeld
+1 323 620 6682
#1 lore raw
Quoted 3 lines · Jonathan Kalbfeld

Suppose I run QEMU on a T1000 with an 8-way CPU and I tell it to simulate 8x SMP. WIll it spawn a separate thread for each dynamic translation activity?

No. qemu is single-threaded.

Paul

#2 lore raw

Do you have plan to multi-thread?

2007/4/28, Paul Brook <[email protected]>:

Quoted 13 lines · Jonathan Kalbfeld
Quoted 1 line

Suppose I run QEMU on a T1000 with an 8-way CPU and I tell it to

simulate

Quoted 2 lines

8x SMP. WIll it spawn a separate thread for each dynamic translation activity?

No. qemu is single-threaded.

Paul

#3 lore raw

Is it means qemu simulate 8x smp in a single-thread,and the 8 virtual cpus cannot excute dynamic translation parallel?
If use a single-thread simulate a virtual cpu,maybe the simulated cpus can excute parallel.

Quoted 19 lines · Wang Cheng Yeh

Do you have plan to multi-thread?

2007/4/28, Paul Brook <[email protected]>:

Quoted 13 lines · Jonathan Kalbfeld
Quoted 1 line

Suppose I run QEMU on a T1000 with an 8-way CPU and I tell it to

simulate

Quoted 2 lines

8x SMP. WIll it spawn a separate thread for each dynamic translation activity?

No. qemu is single-threaded.

Paul

Signature · 2 lines
View this message in context: http://www.nabble.com/Does-the--smp-option-use-threads--tf3660173.html#a12593118
Sent from the QEMU - Dev mailing list archive at Nabble.com.