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] xm dmesg and performance on serial port

To: kuas <ku4s@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xm dmesg and performance on serial port
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 25 Oct 2004 19:13:44 +0100
Cc: xen-devel-ml <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 26 Oct 2004 03:17:24 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 25 Oct 2004 02:30:14 EDT." <417C9D76.70400@xxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> Hello,
> 
> I might only have configuration problem, but I couldn't find any docs 
> that could relate to the problem. The command: 'xm dmesg' seems to stop 
> buffering any output after a while. I have to enable serial port to get 
> the output bigger than the buffer. I don't know how big the buffer or if 
> it's circular? Is there anyway to fix this behavior?

It's a circular buffer which you can change the size of
(CONSOLE_RING_SIZE in xen/drivers/char/console.c).

> The second question I have since I have to enable the serial line. 
> Considering the speed of the serial line is very slow. Would that affect 
> the performance of XEN than just buffering the output (for 'xm dmesg')? 
> I do have to output some messages when a certain event occurs. Will 
> enabling more consoles (serials, vga, tty)  slow the performance by default?

Yes the serial line will be the bottleneck if producing lost of
console output in DOM0. It's much slower than placing Xen's output in
the ring, or writing it to VGA.

> Just by reading the XEN papers, XEN has a way to register asynchronous 
> events to the domains. Would it be better in terms of performance to 
> send the event messages to a particular domain (e.g: Domain 0) using the 
> asynchronous mechanism and have the domain kernel to handle the messages 
> as XEN events.

Batching events and sending them to DOM0 for storage will be much
faster than sending them over a serial line.

 -- Keir


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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