bigphysarea patch on xen capable linux
Forwarding to xen-devel
Quoted 28 lines · Kashmira. K.
From: Kashmira. K. <[email protected]>
Subject: bigphysarea patch on xen capable linux
To: [email protected]
Date: Tuesday, January 5, 2010, 1:31 PM
Hello Xen ExpertsI am trying to port a linux application or rather a user mode linux driver (not built into the kernel) to Xen capable linux. This will be running in Dom0. This user mode driver used the linux pigphysarea patch to allocate large (over 1Gig) physically contiguous memory.
I have two questions:
1. Is the bigphysarea patch supported on Xen capable linux? If not what is the maximum physically contiguous memory Xen provides.
2. If I were to run my application in DomU instead of Dom0, can the bigphysarea patch be used then.
Thanks in advance.
Kashmira
Quoted 4 lines
Quoted 1 line
Quoted 1 line
"Kashmira. K." <[email protected]> 08.01.10 02:10 >>>
1. Is the bigphysarea patch supported on Xen capable linux? If not what is the maximum physically contiguous memory Xen provides.
2Mb is the maximum you can create.
Quoted 2 lines
2. If I were to run my application in DomU instead of Dom0, can the bigphysarea patch be used then.
In a fully virtualized DomU this should be possible (unless you imply to be able to use 1G pages).
Jan
Hi Jan,
I looked at the linux code xen_create_contiguous_region(). It appears the 2MB limit comes from the #define MAX_CONIG_ORGER 9. Could that be modified to get more than 2MB.
If not would you have other suggestions of how I can I get around 500M or more of physically contiguous memory on Xen in Dom0 linux.
Thanks
Kashmira
Quoted 24 lines · Jan Beulich
From: Jan Beulich <[email protected]>
Subject: Re: [Xen-devel] Fw: bigphysarea patch on xen capable linux
To: "Kashmira. K." <[email protected]>
Cc: [email protected]
Date: Tuesday, January 12, 2010, 12:53 AMQuoted 1 line
Quoted 1 line
Quoted 1 line
"Kashmira. K." <[email protected]>
08.01.10 02:10 >>>
Quoted 3 lines
1. Is the bigphysarea patch supported on Xen capable linux? If not what is the maximum physically contiguous memory Xen provides.
2Mb is the maximum you can create.
Quoted 1 line
2. If I were to run my application in DomU instead of
Dom0,
Quoted 1 line
can the bigphysarea patch be used then.
In a fully virtualized DomU this should be possible (unless you imply to
be able to use 1G pages).Jan
You can increase MAX_CONTIG_ORDER and then it could work. The cost is a larger kernel image size for the enlarged static arrays defined immediately above xen_create_contiguous_region().
-- Keir
Quoted 47 lines · Kashmira. K.
Hi Jan,
I looked at the linux code
xen_create_contiguous_region(). It appears the 2MB limit comes from the #defineMAX_CONIG_ORGER9. Could that be modified to get more than 2MB.If not would you have other suggestions of how I can I get around 500M or more of physically contiguous memory on Xen in Dom0 linux.
Thanks
KashmiraQuoted 14 lines · Jan Beulich
From: Jan Beulich <[email protected]>
Subject: Re: [Xen-devel] Fw: bigphysarea patch on xen capable linux
To: "Kashmira. K." <[email protected]>
Cc: [email protected]
Date: Tuesday, January 12, 2010, 12:53 AMQuoted 1 line
Quoted 1 line
Quoted 1 line
"Kashmira. K." <[email protected]>
08.01.10 02:10 >>>
Quoted 3 lines
1. Is the bigphysarea patch supported on Xen capable linux? If not what is the maximum physically contiguous memory Xen provides.
2Mb is the maximum you can create.
Quoted 1 line
2. If I were to run my application in DomU instead of
Quoted 10 lines
Dom0,
Quoted 1 line
can the bigphysarea patch be used then.
In a fully virtualized DomU this should be possible (unless you imply to
be able to use 1G pages).Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel