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] Idea: Small Address Spaces

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Idea: Small Address Spaces
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Tue, 05 Apr 2005 20:52:22 -0700
Delivery-date: Wed, 06 Apr 2005 03:52:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4251D3DC.8040309@xxxxxxx>
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>
References: <4251D3DC.8040309@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20050302)
Jacob Gorm Hansen wrote:
hi,

in the cases where users (like me) wish to run Xen with MPI on Ethernets or similar, and don't care too much about driver isolation, I am thinking of trying to apply Jochen Liedtke's old 'small address spaces' hack, to see if I can improve domU I/O performance.

My idea is to reserve some additional virtual address space below Xen, e.g. at 0xF0000000, and map the kernel part of dom0* there permanently. The user space part of dom0 I would map as normal from 0 - 0xC0000000, to avoid relinking dom0 applications. I would use the segments to keep the domUs below 0xF0000000. In this way, TLB flushes should only be necessary when dom0 exits to user space, not when handling interrupts or when domUs are asking for I/O.

Hmmm turns out this is pretty hard to do without relinking userspace, as naturally the linux0 likes to peek and poke user-space addresses itself, as does Xen.

I guess what I could do (my original plan actually, before I got too clever for my own good), would be to squeeze userspace into the permanent mapping as well, and then have a relinked busybox or similar in there, instead of a full, standard Linux disto.

Jacob

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

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