* QEMU- 1CPU for guest while more cores used on host?
@ 2012-07-04 14:35 robert.kucera
2012-07-04 14:47 ` Javier Guerra Giraldez
0 siblings, 1 reply; 4+ messages in thread
From: robert.kucera @ 2012-07-04 14:35 UTC (permalink / raw)
To: kvm
Beginner's question: Got a host with KVM and two Opterons (2cpux16cores=32cores). Trying to virtualize some ancient intranet Redhat servers that cannot be upgraded due to some ancient scripts that would have to be rewritten (last upgrade was at least ten years ago). Of course amd-v+KVM is impossible to be used, but works well under built-in qemu. As the guest is only capable of using one CPU=one core, there is no point in giving this virtual machine more than one core(=cpu). However, as the only one core has got quite poor performance, my question is: Since Qemu is full software virtualization (without use of amd-v), is it somehow possible to have one cpu for guest while it would use more cores on the host? So that qemu process would be capable of using more than one core while guest would
still see one cpu?
I don't know if this is even technically possible. If so, could you please give me a hint what keywords should I look for or even better some example?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: QEMU- 1CPU for guest while more cores used on host?
2012-07-04 14:35 QEMU- 1CPU for guest while more cores used on host? robert.kucera
@ 2012-07-04 14:47 ` Javier Guerra Giraldez
[not found] ` <20120704214416.8A3EEC83@centrum.cz>
0 siblings, 1 reply; 4+ messages in thread
From: Javier Guerra Giraldez @ 2012-07-04 14:47 UTC (permalink / raw)
To: robert.kucera; +Cc: kvm
1: no. what you're asking can't be done. if it was possible, every
chipmaker would implement it in silicon to create über-fast
single-processors on top of multicore chips.
2: why do you think "course amd-v+KVM is impossible to be used" ?? it
does work very well
--
Javier
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: QEMU- 1CPU for guest while more cores used on host?
[not found] ` <20120704214416.8A3EEC83@centrum.cz>
@ 2012-07-04 19:59 ` Javier Guerra Giraldez
2012-07-12 9:41 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: Javier Guerra Giraldez @ 2012-07-04 19:59 UTC (permalink / raw)
To: robert.kucera, kvm
On Wed, Jul 4, 2012 at 2:44 PM, <robert.kucera@centrum.cz> wrote:
> Thank you very much for your explanation, it makes sense :-)
>
>>2: why do you think "course amd-v+KVM is impossible to be used" ?? it does work very well
> Not for me, it is some old RedHat version that fails on boot under KVM, but works well (but slow) under Qemu. It is even unable to use more cores, so the limit in this case is one-core per guest for me.
1: kvm does work, and very well on AMD chips. "of course amd-v+KVM
is impossible to be used" is plain wrong
2: if an old OS doesn't work under kvm, but does under qemu, then you
can fiddle with kvm's cpu emulation flags. try "kvm -cpu ?" to see
what's available.
--
Javier
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: QEMU- 1CPU for guest while more cores used on host?
2012-07-04 19:59 ` Javier Guerra Giraldez
@ 2012-07-12 9:41 ` Avi Kivity
0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2012-07-12 9:41 UTC (permalink / raw)
To: Javier Guerra Giraldez; +Cc: robert.kucera, kvm
On 07/04/2012 10:59 PM, Javier Guerra Giraldez wrote:
> On Wed, Jul 4, 2012 at 2:44 PM, <robert.kucera@centrum.cz> wrote:
>> Thank you very much for your explanation, it makes sense :-)
>>
>>>2: why do you think "course amd-v+KVM is impossible to be used" ?? it does work very well
>> Not for me, it is some old RedHat version that fails on boot under KVM, but works well (but slow) under Qemu. It is even unable to use more cores, so the limit in this case is one-core per guest for me.
>
> 1: kvm does work, and very well on AMD chips. "of course amd-v+KVM
> is impossible to be used" is plain wrong
>
> 2: if an old OS doesn't work under kvm, but does under qemu, then you
> can fiddle with kvm's cpu emulation flags. try "kvm -cpu ?" to see
> what's available.
What version is it?
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-07-12 9:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 14:35 QEMU- 1CPU for guest while more cores used on host? robert.kucera
2012-07-04 14:47 ` Javier Guerra Giraldez
[not found] ` <20120704214416.8A3EEC83@centrum.cz>
2012-07-04 19:59 ` Javier Guerra Giraldez
2012-07-12 9:41 ` Avi Kivity
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.