|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] SWIOMMU redundant copies?
To: |
Keir Fraser <keir.fraser@xxxxxxxxxxxxx> |
Subject: |
Re: [Xen-devel] SWIOMMU redundant copies? |
From: |
"Stephen C. Tweedie" <sct@xxxxxxxxxx> |
Date: |
Fri, 14 Mar 2008 16:34:30 +0000 |
Cc: |
Stephen Tweedie <sct@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Delivery-date: |
Fri, 14 Mar 2008 09:35:02 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<C40057B2.15064%keir.fraser@xxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Organization: |
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903 |
References: |
<C40057B2.15064%keir.fraser@xxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Hi,
On Fri, 2008-03-14 at 16:26 +0000, Keir Fraser wrote:
> Yes, the swiotlb check could be relaxed. Do we really do many mergeable
> page-straddling I/Os in practice though? I would expect most block I/O to be
> scattered by the page cache.
I would, too --- but it appears to be a genuine issue at boot time at
least, when the page cache has not yet become too fragmented.
I'm still trying to understand the corner cases involved. Some
hardware seems to have more trouble than others --- it could well be
special-case sg segments such as DMA drain buffers which are causing the
trouble for those, in which case doing the copy for every map_sg() will
potentially be a significant problem. (MarkMC hit that same problem
bringing the dom0 patches onto 2.6.25 which has reworked drain buffer
code.)
--Stephen
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|