Skip to contentSkip to conversation

more than 16 GB in a 32 Bit dom0

DISCUSSION Daniel Bauer 4 participants 13 messages Feb 8, 2011 – Feb 10, 2011

lore
Share & tools
lore
#0 lore raw

Hi @all,

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16 GB RAM, but I don't find were to enable more. Starting linux without XEN shows the whole memory. Is there still no solution?

I don't have the possibility to upgrade the server to 64 bit.

Thanks
Daniel

#1 lore raw
Quoted 7 lines · Daniel Bauer

Hi @all,

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16 GB RAM, but I don't find were to enable more. Starting linux without XEN shows the whole memory. Is there still no solution?

I don't have the possibility to upgrade the server to 64 bit.

Then no.

-- Keir

Quoted 8 lines

Thanks
Daniel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Hi Keir,

From: "Keir Fraser"

Quoted 8 lines · Daniel Bauer
Quoted 5 lines

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16 GB RAM, but I don't find were to enable more. Starting linux without XEN shows the whole memory. Is there still no solution?

I don't have the possibility to upgrade the server to 64 bit.

Then no.

maybe a silly question, but who sets this limit? IMHO xen, because a "normal" bigmem kernel accepts upto 64 GB RAM. Is there really no switch to increase the RAM under a 32 bit kernel?

Thanks a lot
Daniel

#3 lore raw
Quoted 9 lines · Daniel Bauer

Hi Keir,

From: "Keir Fraser"

Quoted 6 lines · Daniel Bauer
Quoted 5 lines

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16 GB
RAM, but I don't find were to enable more. Starting linux without XEN shows the whole memory. Is there still no solution?

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

I don't have the possibility to upgrade the server to 64 bit.

Then no.

maybe a silly question, but who sets this limit? IMHO xen, because a "normal" bigmem kernel accepts upto 64 GB RAM. Is there really no switch to increase the RAM under a 32 bit kernel?

The limitation is due to the 32 bit hypervisor, not the kernel.

In my experience a 32 bit (PAE) kernel running on a 64 bit hypervisor works just fine with up to 32GB. In theory up to 160GB is possible in the hypervisor<->PAE-kernel ABI but the kernel tends to run out of lowmem in the 50-60GB range depending on your .config -- this true of native too.

Ian.

#4 lore raw

From: "Ian Campbell"

Quoted 10 lines · Daniel Bauer
Quoted 9 lines

From: "Keir Fraser"

Quoted 8 lines · Daniel Bauer
Quoted 6 lines

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16 GB
RAM, but I don't find were to enable more. Starting linux without XEN shows the whole memory. Is there still no solution?

I don't have the possibility to upgrade the server to 64 bit.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Then no.

maybe a silly question, but who sets this limit? IMHO xen, because a "normal" bigmem kernel accepts upto 64 GB RAM. Is there really no switch to increase the RAM under a 32 bit kernel?

The limitation is due to the 32 bit hypervisor, not the kernel.

I know, but I don't find the switch to configure more RAM than 16 GB. I thought that XEN limits it to 16 GB and I could change it and recompile everything.

Quoted 5 lines

In my experience a 32 bit (PAE) kernel running on a 64 bit hypervisor works just fine with up to 32GB. In theory up to 160GB is possible in the hypervisor<->PAE-kernel ABI but the kernel tends to run out of lowmem in the 50-60GB range depending on your .config -- this true of native too.

It will be great if I could use 48 GB.

Ciao
Daniel

#5 lore raw
Quoted 20 lines · Daniel Bauer

From: "Ian Campbell"

Quoted 19 lines · Daniel Bauer
Quoted 17 lines

From: "Keir Fraser"

Quoted 11 lines · Daniel Bauer
Quoted 8 lines

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16
GB
RAM, but I don't find were to enable more. Starting linux without XEN
shows the whole memory. Is there still no solution?

I don't have the possibility to upgrade the server to 64 bit.

Then no.

maybe a silly question, but who sets this limit? IMHO xen, because a "normal" bigmem kernel accepts upto 64 GB RAM. Is there really no switch
to increase the RAM under a 32 bit kernel?

Quoted 5 lines
Quoted 1 line

The limitation is due to the 32 bit hypervisor, not the kernel.

I know, but I don't find the switch to configure more RAM than 16 GB. I thought that XEN limits it to 16 GB and I could change it and recompile everything.

There is no switch, 16GB is a fundamental limitation of the 32 bit hypervisor.

Ian.

#6 lore raw
In reply to Daniel Bauer
Quoted 27 lines · Daniel Bauer

From: "Ian Campbell"

Quoted 12 lines · Daniel Bauer
Quoted 11 lines

From: "Keir Fraser"

Quoted 10 lines · Daniel Bauer
Quoted 8 lines

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16
GB
RAM, but I don't find were to enable more. Starting linux without XEN
shows the whole memory. Is there still no solution?

I don't have the possibility to upgrade the server to 64 bit.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Then no.

maybe a silly question, but who sets this limit? IMHO xen, because a "normal" bigmem kernel accepts upto 64 GB RAM. Is there really no switch
to increase the RAM under a 32 bit kernel?

The limitation is due to the 32 bit hypervisor, not the kernel.

I know, but I don't find the switch to configure more RAM than 16 GB. I thought that XEN limits it to 16 GB and I could change it and recompile everything.

Quoted 8 lines
Quoted 5 lines

In my experience a 32 bit (PAE) kernel running on a 64 bit hypervisor works just fine with up to 32GB. In theory up to 160GB is possible in the hypervisor<->PAE-kernel ABI but the kernel tends to run out of lowmem in the 50-60GB range depending on your .config -- this true of native too.

It will be great if I could use 48 GB.

Hopefully you have realized having 48 GB of RAM on a 32bit Linux (no matter virtualized or not) will make it almost unusable? That's because you're running out of lowmem.

-- Pasi

#7 lore raw

From: "Pasi Kärkkäinen"
[...]

Quoted 4 lines

Hopefully you have realized having 48 GB of RAM on a 32bit Linux (no matter virtualized or not) will make it almost unusable? That's because you're running out of lowmem.

how do I see if this problem occurs? I run my ESXi 3.5 server on this boxes and don't find any issues ...

Thank you
Daniel

#8 lore raw
In reply to Daniel Bauer
Quoted 8 lines · Daniel Bauer

Hi @all,

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16 GB RAM, but I don't find were to enable more. Starting linux without XEN shows the whole memory. Is there still no solution?

I don't have the possibility to upgrade the server to 64 bit.

You can run 64bit hypervisor (xen.gz) with a 32bit PAE dom0 Linux kernel. Maybe that's an option for you..

That allows you to use all the available memory for VMs, and dedicate some memory (say, 1GB) for a 32bit dom0.

-- Pasi

#9 lore raw

Hallo Pasi,

From: "Pasi Kärkkäinen"

Quoted 10 lines · Daniel Bauer
Quoted 6 lines

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16 GB RAM, but I don't find were to enable more. Starting linux without XEN shows the whole memory. Is there still no solution?

I don't have the possibility to upgrade the server to 64 bit.

You can run 64bit hypervisor (xen.gz) with a 32bit PAE dom0 Linux kernel. Maybe that's an option for you..

if it works, why not! But what are the issues about this solution?

Quoted 2 lines

That allows you to use all the available memory for VMs, and dedicate some memory (say, 1GB) for a 32bit dom0.

sounds really good, I'll try this asap.

Thank you
Daniel

#10 lore raw
Quoted 9 lines · Daniel Bauer

Hallo Pasi,

From: "Pasi Kärkkäinen"

Quoted 6 lines · Daniel Bauer
Quoted 5 lines

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16 GB
RAM, but I don't find were to enable more. Starting linux without XEN shows the whole memory. Is there still no solution?

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

I don't have the possibility to upgrade the server to 64 bit.

You can run 64bit hypervisor (xen.gz) with a 32bit PAE dom0 Linux kernel.
Maybe that's an option for you..

if it works, why not! But what are the issues about this solution?

None really.

It's certainly preferable to run a 64 bit hypervisor whenever possible but running a 32 bit domain 0 is a very reasonable configuration.

It's the default for XCP and XenServer for example and works quite well there.

Quoted 2 lines
Quoted 2 lines

That allows you to use all the available memory for VMs, and dedicate some memory (say, 1GB) for a 32bit dom0.

It also allows you to run a mixture of 32 and 64 bit guests.

Ian.

#11 lore raw

Hi Ian,

From: "Ian Campbell"

Quoted 22 lines · Daniel Bauer
Quoted 7 lines

From: "Pasi Kärkkäinen"

Quoted 6 lines · Daniel Bauer
Quoted 5 lines

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16 GB
RAM, but I don't find were to enable more. Starting linux without XEN shows the whole memory. Is there still no solution?

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

I don't have the possibility to upgrade the server to 64 bit.

You can run 64bit hypervisor (xen.gz) with a 32bit PAE dom0 Linux kernel.
Maybe that's an option for you..

if it works, why not! But what are the issues about this solution?

None really.

It's certainly preferable to run a 64 bit hypervisor whenever possible but running a 32 bit domain 0 is a very reasonable configuration.

Quoted 7 lines

It's the default for XCP and XenServer for example and works quite well there.

Quoted 2 lines
Quoted 2 lines

That allows you to use all the available memory for VMs, and dedicate some memory (say, 1GB) for a 32bit dom0.

It also allows you to run a mixture of 32 and 64 bit guests.

I just tried it now, but the system doesn't boot. The reason why I can't upgrade to 64 bit is, that the server is only a 32 bit box (HP ProLiant DL760 G2, 8 x 3 GHz Xeon, 64 GB RAM). IMHO I need a 64 Bit CPU to run the 64 bit xen.gz, or?

Thanks
Daniel

#12 lore raw
Quoted 35 lines · Daniel Bauer

Hi Ian,

From: "Ian Campbell"

Quoted 32 lines · Daniel Bauer
Quoted 9 lines

From: "Pasi Kärkkäinen"

Quoted 8 lines · Daniel Bauer
Quoted 7 lines

I've read in many posts, that XEN limits the 32 bit PAE kernel to 16
GB
RAM, but I don't find were to enable more. Starting linux without XEN
shows the whole memory. Is there still no solution?

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

I don't have the possibility to upgrade the server to 64 bit.

You can run 64bit hypervisor (xen.gz) with a 32bit PAE dom0 Linux kernel.
Maybe that's an option for you..

if it works, why not! But what are the issues about this solution?

None really.

It's certainly preferable to run a 64 bit hypervisor whenever possible but running a 32 bit domain 0 is a very reasonable configuration.

It's the default for XCP and XenServer for example and works quite well
there.

Quoted 3 lines
Quoted 3 lines

That allows you to use all the available memory for VMs, and dedicate
some memory (say, 1GB) for a 32bit dom0.

Quoted 6 lines
Quoted 1 line

It also allows you to run a mixture of 32 and 64 bit guests.

I just tried it now, but the system doesn't boot. The reason why I can't upgrade to 64 bit is, that the server is only a 32 bit box (HP ProLiant DL760 G2, 8 x 3 GHz Xeon, 64 GB RAM). IMHO I need a 64 Bit CPU to run the 64 bit xen.gz, or?

Er, yeah, you need a 64 bit processor.

Quoted 9 lines

Thanks
Daniel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel