qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] How to map PCI memory into the VM without trapping
@ 2010-05-03 21:07 Frank Berreth
  2010-05-05 23:20 ` [Qemu-devel] " Frank Berreth
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Berreth @ 2010-05-03 21:07 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

Hello,

I am using a modified patch for the ivshmem device that was posted here
recently and discovered some performance issues with it. Essentially I
measure write performance into the PCI memory that is mapped into the VM as
really slow (about 60mb/sec). I assume that is because there is trapping on
each memory access (there are no handlers installed for handling read/write
access to that memory though). The device shows up in the guest as a UIO
device but I also tried accessing other PCI memory like the vga memory (16mb
from vga-pci.c) and it has similar performance (through
/sys/device/.../resource...).

My question is how I can map that memory into the VM so it doesn't get
trapped on in the normal use case. The mappings (registering PCI bar etc) is
done as in the patch submitted recently).

Thanks,
Frank.

[-- Attachment #2: Type: text/html, Size: 928 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-06 16:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03 21:07 [Qemu-devel] How to map PCI memory into the VM without trapping Frank Berreth
2010-05-05 23:20 ` [Qemu-devel] " Frank Berreth
2010-05-06 16:52   ` Cam Macdonell

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).