From: Gerhard Wiesinger <lists@wiesinger.com>
To: Avi Kivity <avi@redhat.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] Re: QEMU-KVM and video performance
Date: Thu, 22 Apr 2010 07:44:58 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.2.00.1004220738320.10066@bbs.intern> (raw)
In-Reply-To: <4BCF655F.1080602@redhat.com>
On Wed, 21 Apr 2010, Avi Kivity wrote:
> On 04/21/2010 09:39 PM, Jamie Lokier wrote:
>> Avi Kivity wrote:
>>
>>> Writes to vga in 16-color mode don't change set a memory location to a
>>> value, instead they change multiple memory locations.
>>>
>> While code is just writing to the VGA memory, not reading(*) and not
>> touching the VGA I/O register that control the write latches, is it
>> possible in principle to swizzle the format around in memory to make
>> regular writes work?
>>
>
> Not in software. We can map pages, not cross address lines.
>
>> (*) Reading should be ok for some settings of the write latches, I
>> think.
>>
>> I wonder if guests of interest behave like that.
>>
>
> Guests that use 16 color vga are usually of little interest.
>
I tested 256 color modes.
>>>> Is this a case where TCG would run significantly faster for code blocks
>>>> that have been detected to access the VGA memory?
>>>>
>>> Yes.
>>>
>> $ date
>> Wed Apr 21 19:37:38 2015
>> $ modprobe ktcg
>>
>
> That's why the vmware software vmm was faster than the hardware vmm for the
> initial iterations of vmx.
>
On VMWare Server 2.0: same picture:
Calling INT10h interrupts is fast, Writing to VGA Memory is also very slow
(1.0MB/s). Can one switch to the old software vmm in VMWare?
That was one of the reasons why I was looking for alternatives for
graphical DOS programs. Overall summary so far:
1.) QEMU without KVM: Problem with 286 DOS Extender instruction set, but
fast VGA
2.) QEMU with KVM: 286 DOS Extender apps ok, but slow VGA memory
performance
3.) VMWare Server 2.0 under Linux, application ok, but slow VGA memory
performance
4.) Virtual PC: Problems with 286 DOS Extender
5.) Bochs: Works well, but very slow.
Looks like that VMWare Server and QEMU with KVM maybe have the same
architectural problems going through the whole slow chain from Guest OS to
virtualization layer for VGA writes.
Thnx.
Ciao,
Gerhard
--
http://www.wiesinger.com/
next prev parent reply other threads:[~2010-04-22 5:45 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-19 19:14 [Qemu-devel] QEMU-KVM and video performance Gerhard Wiesinger
2010-04-21 8:59 ` [Qemu-devel] " Avi Kivity
2010-04-21 10:08 ` Jamie Lokier
2010-04-21 10:49 ` Avi Kivity
2010-04-21 18:14 ` Gerhard Wiesinger
2010-04-21 20:49 ` Avi Kivity
2010-04-22 5:37 ` Gerhard Wiesinger
2010-04-22 6:57 ` Avi Kivity
2010-04-21 18:39 ` Jamie Lokier
2010-04-21 20:51 ` Avi Kivity
2010-04-21 21:19 ` Jamie Lokier
2010-04-22 5:44 ` Gerhard Wiesinger [this message]
2010-05-12 10:34 ` Jamie Lokier
2010-04-21 18:09 ` Gerhard Wiesinger
2010-04-21 18:33 ` Jamie Lokier
2010-04-21 18:50 ` Gerhard Wiesinger
2010-04-21 18:53 ` Jamie Lokier
2010-04-21 19:08 ` Gerhard Wiesinger
2010-04-21 21:30 ` Jamie Lokier
2010-04-22 6:12 ` Gerhard Wiesinger
2010-05-12 10:23 ` Jamie Lokier
2010-04-21 20:56 ` Avi Kivity
2010-04-22 6:04 ` Gerhard Wiesinger
2010-04-22 7:03 ` Avi Kivity
2010-05-09 19:35 ` Gerhard Wiesinger
2010-05-10 7:32 ` Avi Kivity
2010-05-12 6:14 ` Gerhard Wiesinger
2010-05-12 6:39 ` Avi Kivity
2011-02-18 7:32 ` [Qemu-devel] Re: QEMU-KVM and video performance - Update Gerhard Wiesinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.00.1004220738320.10066@bbs.intern \
--to=lists@wiesinger.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).