WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] linux-2.6.18: improve floppy behavior

To: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] linux-2.6.18: improve floppy behavior
From: "Jan Beulich" <JBeulich@xxxxxxxx>
Date: Wed, 12 Oct 2011 10:54:24 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 12 Oct 2011 02:55:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E947961.1050604@xxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4E9463C1020000780005ABE9@xxxxxxxxxxxxxxxxxxxx> <4E947961.1050604@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> On 11.10.11 at 19:14, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
> On 10/11/2011 06:41 AM, Jan Beulich wrote:
>> Timing is significantly different from native both because Xen traps
>> I/O port accesses and since DMA use is not possible (without intrusive
>> changes). Due to the overhead of trapped port accesses, I/O is already
>> slow enough (and Xen doesn't run on very old hardware anyway), so the
>> situation can easily be improved by not enforcing REALLY_SLOW_IO.
>>
>> This doesn't completely address the issue - Xen just cannot guarantee
>> scheduling of a particular vCPU with a maximum latency of about 80us
>> (needed for the default FIFO threshold value of 10). The only complete
>> solution would require making ISA DMA usable on Xen.
> 
> Just out of curiosity, was this in response to a real bug report or
> something?

Indeed, it was, and I was immediately able to repro the problem. Floppy
access, at least on newer kernels (it got reported against 2.6.32.x), did
at best work very sluggishly. 2.6.16.x kernels (on Xen 3.2.x) worked
fine even without the change iirc, and while I recall that I even tried
running the older kernel on newer Xen, I'm not entirely sure anymore
that the problem was really tied to the heavier I/O port access overhead
in newer Xen.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>