* Performance of 32-bit PAE vs. 64-bit kernel regarding 16-bit instruction
@ 2011-04-04 13:40 Andreas Bollhalder
2011-04-05 8:18 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Bollhalder @ 2011-04-04 13:40 UTC (permalink / raw)
To: kvm
Hello
Does anyone have some advises regarding running a 16-bit executable in a
virtualized 32-bit OS under KVM ? Would it be better to run a 32-bit linux
kernel with PAE or a 64-bit kernel on the host ?
I imagine that KVM has to emulate all 16-bit instruction of a VM if
running under a 64-bit host kernel. If using a 32-bit kernel, KVM could be
able to use the vm86 mode for 16-bit instructions.
I know that PAE should be obsolete. But in my special case, I would use a
host with 16 GB of RAM running different 32-bit VMs executing 16-bit
binaries.
Thanks for your inputs.
Andreas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Performance of 32-bit PAE vs. 64-bit kernel regarding 16-bit instruction
2011-04-04 13:40 Performance of 32-bit PAE vs. 64-bit kernel regarding 16-bit instruction Andreas Bollhalder
@ 2011-04-05 8:18 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2011-04-05 8:18 UTC (permalink / raw)
To: Andreas Bollhalder; +Cc: kvm
On 04/04/2011 04:40 PM, Andreas Bollhalder wrote:
> Hello
>
> Does anyone have some advises regarding running a 16-bit executable in a
> virtualized 32-bit OS under KVM ? Would it be better to run a 32-bit linux
> kernel with PAE or a 64-bit kernel on the host ?
It doesn't matter. 64-bit is slightly preferable.
> I imagine that KVM has to emulate all 16-bit instruction of a VM if
> running under a 64-bit host kernel. If using a 32-bit kernel, KVM could be
> able to use the vm86 mode for 16-bit instructions.
No, in both cases kvm uses whatever mode the guest asks for.
> I know that PAE should be obsolete. But in my special case, I would use a
> host with 16 GB of RAM running different 32-bit VMs executing 16-bit
> binaries.
>
With 16GB of RAM 64-bit is the way to go.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-05 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-04 13:40 Performance of 32-bit PAE vs. 64-bit kernel regarding 16-bit instruction Andreas Bollhalder
2011-04-05 8:18 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox