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

[Xen-devel] xen console output delay

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xen console output delay
From: "Dan Kuebrich" <dan.kuebrich@xxxxxxxxx>
Date: Thu, 13 Mar 2008 20:26:16 -0400
Delivery-date: Thu, 13 Mar 2008 17:26:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=J4EVKOq9+rvy8ZcLg199QZiEucg7FkjOD7tEEMRjm70=; b=j0DpCndY7EDHAp43Ooujx3pP8350OXwLCgKKegBvr3Qlj7+Mye6qevZRD/7BEcsciaiA7xoCElRXUTmv5kn6/s0hn7D2LtapmjienpOS8M9LPUx5v2dDBe+DX1Qm7KcmcRe+kTcrUNh5WtGMnykViU7gJJl2LZOLhaMtKbSq5BY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=b5sZKgAwzTGXc+4orTM4jyQZ2a/LcBrRIYeJVKQqkFJTqKtmg3GDqIQ8vHLF/ewJ7tdskGQ68sdFgp+F6w95diJLZihgtkfgI2QTCWzqrpLxIgaoegNsfZ4RAnZWJTgQ5AxLuLKi1KEd5IUItwO1uDlyd5J4jc0mZtOVzLjAcYM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello all,

I am working on writing a console driver for an OS on Xen and am running into a strange delay regarding console output.  I am using the ring buffer (not the hypercall) for output, and signaling with HYPERVISOR_event_channel_op after every character is written.

The delay seems to occur _only_sometimes_ after a character is output.  I have tracked it using GDB and noted that the delay happens after the characters are put into the ring buffer and the event channel is notified.  Sometimes, the character appears instantly in the console output.  Other times, it takes several seconds to show up.

I am using the standard xenconsole reader.  Is there some sort of time-based buffering that occurs in the console output buffer?

The result I would like to achieve is latency-free console output.

Thanks,
dan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>