Skip to contentSkip to conversation

Again about SMP-host supporting

Qemu-devel Георгий Войт 2 participants 6 messages Jun 18, 2008 – Jun 22, 2008

lore
Share & tools
lore
#0 lore raw

At first:
Dear Developers!!! You make great and very usable solution! Very big thx!!!!!!!!!!!!
So:
I have a question:
is there in roadmap/TODO some plans about old (or not very old)
SMP-hosts supporting? I mean - will qemu work not only on one core/CPU without HW acceleration (kvm) ??? Can you make for each virtual CPU standalone qemu thread? 1 VurtualCPU - 1 qemu host thread; 2 VurtualCPU - 2 qemu host threads; etc ? I have P3 SMP machine, so it without intel VT technology on each CPU, so i can run qemu only on one CPU and KVM module can't be inseted... :(
So, could you say me something about it?
George.

#1 lore raw

2008/6/19 Георгий Войт <[email protected]>:

Quoted 6 lines

At first:
Dear Developers!!! You make great and very usable solution! Very big thx!!!!!!!!!!!!
So:
I have a question:
is there in roadmap/TODO some plans about old (or not very old)

Quoted 9 lines

SMP-hosts supporting? I mean - will qemu work not only on one core/CPU without HW acceleration (like kvm) ??? Can you make for each virtual CPU standalone qemu thread? 1 VurtualCPU - 1 qemu host thread; 2 VurtualCPU - 2 qemu host threads; etc ? I have P3 SMP machine, so it without intel VT technology on each CPU, so i can run qemu only on one CPU and KVM module can't be inserted... :(
So, could you say me something about it?
George.

COULD SOMEONE SAY ME SOMETHING ABOUT IT?

#2 lore raw

Георгий,

Am 22.06.2008 um 10:23 schrieb Георгий Войт:

Quoted 7 lines

2008/6/19 Георгий Войт <[email protected]>:
is there in roadmap/TODO some plans about old (or not very
old) SMP-hosts supporting? I mean - will qemu work not only on one core/CPU without HW acceleration (like kvm) ??? Can you make for each virtual CPU standalone qemu thread? 1 VurtualCPU - 1 qemu host thread; 2 VurtualCPU - 2 qemu host threads; etc ? I have P3 SMP machine, so it without intel VT technology on each CPU, so i can run qemu only on one CPU and KVM module can't be inserted... :(
So, could you say me something about it?

George.
COULD SOMEONE SAY ME SOMETHING ABOUT IT?

Writing all-caps won't make the devs in the know more responsive to such a general question.

Of course in theory it can be done. The problem is that it requires synchronization between the threads, and the previous attempts to do this reportedly resulted in code slower than the current single-threaded version. See the list archives for details.

If you have a good idea to tackle this, feel free to contribute a patch.

As for the emulation speed, if you're running Linux maybe you can use the kqemu module.

Andreas

#3 lore raw
In reply to Георгий Войт

22 июня 2008 г. 12:23 пользователь Георгий Войт <[email protected]> написал:

Quoted 28 lines

2008/6/19 Георгий Войт <[email protected]>:

Quoted 6 lines

At first:
Dear Developers!!! You make great and very usable solution! Very big thx!!!!!!!!!!!!
So:
I have a question:
is there in roadmap/TODO some plans about old (or not very old)

Quoted 9 lines

SMP-hosts supporting? I mean - will qemu work not only on one core/CPU without HW acceleration (like kvm) ??? Can you make for each virtual CPU standalone qemu thread? 1 VurtualCPU - 1 qemu host thread; 2 VurtualCPU - 2 qemu host threads; etc ? I have P3 SMP machine, so it without intel VT technology on each CPU, so i can run qemu only on one CPU and KVM module can't be inserted... :(
So, could you say me something about it?
George.

Writing all-caps won't make the devs in the know more responsive to such a general question.

Of course in theory it can be done. The problem is that it requires synchronization between the threads, and the previous attempts to do this reportedly resulted in code slower than the current single-threaded version. See the list archives for details.

Quoted 7 lines

If you have a good idea to tackle this, feel free to contribute a patch.

As for the emulation speed, if you're running Linux maybe you can use the kqemu module.

Andreas

Ok Andreas, thank you very much for your reply =) Sorry about writing all in caps-lock, i just thinking, that nobody couldn't answer to me... By the way,
i wish to use windows as guest, so can't using kqemu acceleration =( I
will try to find in archive version with smp support =) I have SMP with more than 2 CPU's without HW acceleration support, so , maybe this version will be more speedly, then single-threaded version?

George.

#4 lore raw

Am 22.06.2008 um 20:30 schrieb Георгий Войт:

Quoted 9 lines

22 июня 2008 г. 12:23 пользователь Георгий Войт <[email protected]> написал:

2008/6/19 Георгий Войт <[email protected]>:
As for the emulation speed, if you're running Linux maybe you can use the kqemu module.

Andreas

i wish to use windows as guest, so can't using kqemu acceleration =(

Sorry I was unclear, it depends on the host OS, not on the guest. Linux, Solaris, FreeBSD should work as kqemu hosts, though I have no experience with it.

Andreas

#5 lore raw
In reply to Георгий Войт
Quoted 7 lines

Andreas

Quoted 1 line

As for the emulation speed, if you're running Linux maybe you can use the

Quoted 2 lines

kqemu module.

Quoted 9 lines

Andreas

i wish to use windows as guest, so can't using kqemu acceleration =(

Sorry I was unclear, it depends on the host OS, not on the guest. Linux, Solaris, FreeBSD should work as kqemu hosts, though I have no experience with it.
Andreas

Ok Andreas, i use Linux as host and windows as guest, but as i understand, kqemu module work only if it inserted on both (host and guest) OS's... So, i tried to use kqemu only on host Linux, but no result... maybe it work on seconds faster, but it's thread still uses only one CPU, or , as i saw in htop, it's single thread jump between CPU's.... Now i will writing mail to Paul Brook, he makes a prototype of qemu with multi-thread support.
George.