Skip to contentSkip to conversation

Qemu-devel Digest, Vol 22, Issue 46

Qemu-devel Julian Chesterfield 4 participants 4 messages Jan 21, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · Julian Chesterfield
Quoted 1 line

My understanding is that Qemu does not support hyperthreading in the

host

Quoted 1 line

OS.

You mean guest OS, right?

Actually I was thinking about the host!

Quoted 4 lines

It shouldn't make a different if the host OS
uses it
or not.

Excuse my ignorance but is this because there is no potential for parallelising tasks in qemu to take advantage of idle CPU cycles?

- Julian

#2 lore raw
Quoted 4 lines · Julian Chesterfield

On Fri, Jan 21, 2005 at 03:52:43PM +0000, Julian Chesterfield wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

My understanding is that Qemu does not support hyperthreading in the

host

Quoted 1 line

OS.

You mean guest OS, right?

Actually I was thinking about the host!

Why???

Hyperthreading, or even true SMP, has no effect on qemu whatsoever.

Quoted 9 lines
Quoted 5 lines

It shouldn't make a different if the host OS
uses it
or not.

Excuse my ignorance but is this because there is no potential for parallelising tasks in qemu to take advantage of idle CPU cycles?

I don't know about "potential" ... it is possible, but afaik it isn't done currently in qemu.

Quoted 10 lines

- Julian

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#3 lore raw
In reply to Julian Chesterfield
Quoted 7 lines · Julian Chesterfield
Quoted 3 lines

It shouldn't make a different if the host OS
uses it
or not.

Excuse my ignorance but is this because there is no potential for parallelising tasks in qemu to take advantage of idle CPU cycles?

In theory you could put CPU and system emulation in separate threads. In practice I suspect the synchronisation overhead outweighs the (small) benefit that hyperthreading gives you. I'm not even sure it's give any significant benefit on real SMP systems.

Simulating multiple cpu SMP guest system on a SMP host cpus would be interesting, but that's a whole new thing.

Paul

#4 lore raw
Quoted 1 line · Paul Brook

Simulating multiple cpu SMP guest system on a SMP host cpus would be interesting, but that's a whole new thing.

I plan to add it someday, but x86 virtualization seems more important now. For SMP, some work is needed to render the virtual CPU core thread safe (I would like that each virtual CPU use the same translated code cache).

Fabrice.