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] Small address spaces patch for Xen

To: Jacob Gorm Hansen <jacobg@xxxxxxx>
Subject: Re: [Xen-devel] Small address spaces patch for Xen
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Fri, 29 Apr 2005 14:45:27 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 29 Apr 2005 21:48:22 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4272A7ED.1020108@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: <4272A7ED.1020108@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20050302)
Jacob Gorm Hansen wrote:
Hi,

attached is my patch for xen and xenlinux to enable small address spaces. To use this, you will need a purpose-built user space for dom0, available through the link below. Unpack this in an empty partition, on a ramdisk, or export it as an nfsroot. Remember to add init=/linuxrc to your dom0 kernel commandline.


And by the way, if you have HT please remember to run xen with the 'noht' option if you want to see anything change.

Also, in xen/arch/x86/domain.c, if you #define the symbol SW_PERF, you will get periodic printk's telling you how many TLB flushes you save with this print:

printk("tot %d free %d update %d flush %d\n",sw_total, sw_free, sw_update, sw_flush);

'tot' is the total amount of context switches, 'update' is the number of pgd-cache updates (memcpys), and 'flush' is the total amount of TLB flushes.

'free' is total/2, and not really interesting as the other half is also free.

Jacob

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

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