All of lore.kernel.org
 help / color / mirror / Atom feed
* compiling a non-pae dom0 on a dell r710 with too much ram
@ 2010-05-06 23:00 Mike Sun
  2010-05-06 23:35 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Sun @ 2010-05-06 23:00 UTC (permalink / raw)
  To: xen-devel

Hi,

I've got a brand spankin new dell r710 with loads of memory on it,
except that I really want it to behave more like an older machine with
only 4G of RAM.  I've been trying to compile a dom0 without PAE for it
and can't seem to have much success.  I've constantly modified the
kernel config to turn off PAE and it either gets clobbered when I do a
make build-linux-2.6.18 or something.  Any ideas?

Mike

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: compiling a non-pae dom0 on a dell r710 with too much ram
  2010-05-06 23:00 compiling a non-pae dom0 on a dell r710 with too much ram Mike Sun
@ 2010-05-06 23:35 ` Jeremy Fitzhardinge
  2010-05-06 23:50   ` Mike Sun
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2010-05-06 23:35 UTC (permalink / raw)
  To: Mike Sun; +Cc: xen-devel

On 05/06/2010 04:00 PM, Mike Sun wrote:
> I've got a brand spankin new dell r710 with loads of memory on it,
> except that I really want it to behave more like an older machine with
> only 4G of RAM.  I've been trying to compile a dom0 without PAE for it
> and can't seem to have much success.  I've constantly modified the
> kernel config to turn off PAE and it either gets clobbered when I do a
> make build-linux-2.6.18 or something.  Any ideas?
>   

Xen doesn't support non-PAE 32 bit PV operation.  If you want to limit
memory, boot with dom0_mem=4G, and turn off HIGHMEM.

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: compiling a non-pae dom0 on a dell r710 with too much ram
  2010-05-06 23:35 ` Jeremy Fitzhardinge
@ 2010-05-06 23:50   ` Mike Sun
  2010-05-07  0:05     ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Sun @ 2010-05-06 23:50 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: xen-devel

I'm working with Xen 3.2.2 so I believe it does support PAE 32-bit PV operation

On Thu, May 6, 2010 at 7:35 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> On 05/06/2010 04:00 PM, Mike Sun wrote:
>> I've got a brand spankin new dell r710 with loads of memory on it,
>> except that I really want it to behave more like an older machine with
>> only 4G of RAM.  I've been trying to compile a dom0 without PAE for it
>> and can't seem to have much success.  I've constantly modified the
>> kernel config to turn off PAE and it either gets clobbered when I do a
>> make build-linux-2.6.18 or something.  Any ideas?
>>
>
> Xen doesn't support non-PAE 32 bit PV operation.  If you want to limit
> memory, boot with dom0_mem=4G, and turn off HIGHMEM.
>
>    J
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: compiling a non-pae dom0 on a dell r710 with too much  ram
  2010-05-06 23:50   ` Mike Sun
@ 2010-05-07  0:05     ` Jeremy Fitzhardinge
  2010-05-07  0:09       ` Mike Sun
  2010-05-07  0:51       ` Mike Sun
  0 siblings, 2 replies; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2010-05-07  0:05 UTC (permalink / raw)
  To: Mike Sun; +Cc: xen-devel

On 05/06/2010 04:50 PM, Mike Sun wrote:
> I'm working with Xen 3.2.2 so I believe it does support PAE 32-bit PV operation
>   

Yes, it seems to have been dropped in 3.3.

Which kernel are you using?  I think all recent kernels have also
dropped support for non-PAE PV operation, so you would probably have to
go back to a kernel of that era to get non-PAE support.

But I'm not really sure what relevance PAE has to what you really want
to test.  Limited memory is a side-effect of non-PAE operation, but if
that's what you're concerned about you can easily limit memory size
(either by telling Xen to only use 4G of the system's memory, or by
limiting dom0 to 4G).

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: compiling a non-pae dom0 on a dell r710 with too much ram
  2010-05-07  0:05     ` Jeremy Fitzhardinge
@ 2010-05-07  0:09       ` Mike Sun
  2010-05-07  0:25         ` Jeremy Fitzhardinge
  2010-05-07  0:51       ` Mike Sun
  1 sibling, 1 reply; 9+ messages in thread
From: Mike Sun @ 2010-05-07  0:09 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: xen-devel

It's based off the 2.6.18.8 kernel.  Reason I can't have PAE is
because I had written some code a while back that touched shadow page
table stuff and I made changes assuming PAE wasn't being used.  I
don't think my code will work with PAE turned on.

On Thu, May 6, 2010 at 8:05 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> On 05/06/2010 04:50 PM, Mike Sun wrote:
>> I'm working with Xen 3.2.2 so I believe it does support PAE 32-bit PV operation
>>
>
> Yes, it seems to have been dropped in 3.3.
>
> Which kernel are you using?  I think all recent kernels have also
> dropped support for non-PAE PV operation, so you would probably have to
> go back to a kernel of that era to get non-PAE support.
>
> But I'm not really sure what relevance PAE has to what you really want
> to test.  Limited memory is a side-effect of non-PAE operation, but if
> that's what you're concerned about you can easily limit memory size
> (either by telling Xen to only use 4G of the system's memory, or by
> limiting dom0 to 4G).
>
>    J
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: compiling a non-pae dom0 on a dell r710 with too much  ram
  2010-05-07  0:09       ` Mike Sun
@ 2010-05-07  0:25         ` Jeremy Fitzhardinge
  2010-05-07  0:46           ` Mike Sun
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2010-05-07  0:25 UTC (permalink / raw)
  To: Mike Sun; +Cc: xen-devel

On 05/06/2010 05:09 PM, Mike Sun wrote:
> It's based off the 2.6.18.8 kernel.  Reason I can't have PAE is
> because I had written some code a while back that touched shadow page
> table stuff and I made changes assuming PAE wasn't being used.  I
> don't think my code will work with PAE turned on.
>   

Well that makes sense.  But are you running PV or HVM?   How does shadow
come into this?

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: compiling a non-pae dom0 on a dell r710 with too much ram
  2010-05-07  0:25         ` Jeremy Fitzhardinge
@ 2010-05-07  0:46           ` Mike Sun
  0 siblings, 0 replies; 9+ messages in thread
From: Mike Sun @ 2010-05-07  0:46 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: xen-devel

it was for migration code that uses shadows in both PV and HVM mode.

On Thu, May 6, 2010 at 8:25 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> On 05/06/2010 05:09 PM, Mike Sun wrote:
>> It's based off the 2.6.18.8 kernel.  Reason I can't have PAE is
>> because I had written some code a while back that touched shadow page
>> table stuff and I made changes assuming PAE wasn't being used.  I
>> don't think my code will work with PAE turned on.
>>
>
> Well that makes sense.  But are you running PV or HVM?   How does shadow
> come into this?
>
>    J
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: compiling a non-pae dom0 on a dell r710 with too much ram
  2010-05-07  0:05     ` Jeremy Fitzhardinge
  2010-05-07  0:09       ` Mike Sun
@ 2010-05-07  0:51       ` Mike Sun
  2010-05-07  0:57         ` Jeremy Fitzhardinge
  1 sibling, 1 reply; 9+ messages in thread
From: Mike Sun @ 2010-05-07  0:51 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: xen-devel

> But I'm not really sure what relevance PAE has to what you really want
> to test.  Limited memory is a side-effect of non-PAE operation, but if
> that's what you're concerned about you can easily limit memory size
> (either by telling Xen to only use 4G of the system's memory, or by
> limiting dom0 to 4G).

How would tell Xen to only use 4G of the system's memory?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: compiling a non-pae dom0 on a dell r710 with too much ram
  2010-05-07  0:51       ` Mike Sun
@ 2010-05-07  0:57         ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2010-05-07  0:57 UTC (permalink / raw)
  To: Mike Sun; +Cc: xen-devel

On 05/06/2010 05:51 PM, Mike Sun wrote:
>> But I'm not really sure what relevance PAE has to what you really want
>> to test.  Limited memory is a side-effect of non-PAE operation, but if
>> that's what you're concerned about you can easily limit memory size
>> (either by telling Xen to only use 4G of the system's memory, or by
>> limiting dom0 to 4G).
>>     
> How would tell Xen to only use 4G of the system's memory?
>   

Put "mem=4G" on its command line.

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-05-07  0:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 23:00 compiling a non-pae dom0 on a dell r710 with too much ram Mike Sun
2010-05-06 23:35 ` Jeremy Fitzhardinge
2010-05-06 23:50   ` Mike Sun
2010-05-07  0:05     ` Jeremy Fitzhardinge
2010-05-07  0:09       ` Mike Sun
2010-05-07  0:25         ` Jeremy Fitzhardinge
2010-05-07  0:46           ` Mike Sun
2010-05-07  0:51       ` Mike Sun
2010-05-07  0:57         ` Jeremy Fitzhardinge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.