2005-02-15 03:19:14

by YhLu

[permalink] [raw]
Subject: X86_64 kernel support MAX memory.

Andi,

How much is max RAM 2.6.11 x86_64 support on AMD64?
64G or 128G?

YH


2005-02-15 12:08:06

by Andi Kleen

[permalink] [raw]
Subject: Re: X86_64 kernel support MAX memory.

On Mon, Feb 14, 2005 at 07:32:42PM -0800, YhLu wrote:
> Andi,
>
> How much is max RAM 2.6.11 x86_64 support on AMD64?
> 64G or 128G?

46bits in theory (64TB), however current CPUs only support
upto 40bits (AMD) or 36bits (Intel). There is some other
code that is also limited to 40bits right now like AGP
or IOMMU or MTRR, that is all due to hardware limitations.

-Andi

2005-02-15 18:35:49

by YhLu

[permalink] [raw]
Subject: RE: X86_64 kernel support MAX memory.

I got a system with 8 way Opteron. Every CPU has 16G memory.

2.6 kernel x86_64, it will crash when it start the Fifth node.

YH

> -----Original Message-----
> From: Andi Kleen [mailto:[email protected]]
> Sent: Tuesday, February 15, 2005 4:08 AM
> To: YhLu
> Cc: [email protected]
> Subject: Re: X86_64 kernel support MAX memory.
>
> On Mon, Feb 14, 2005 at 07:32:42PM -0800, YhLu wrote:
> > Andi,
> >
> > How much is max RAM 2.6.11 x86_64 support on AMD64?
> > 64G or 128G?
>
> 46bits in theory (64TB), however current CPUs only support
> upto 40bits (AMD) or 36bits (Intel). There is some other
> code that is also limited to 40bits right now like AGP or
> IOMMU or MTRR, that is all due to hardware limitations.
>
> -Andi
>

2005-02-15 20:29:48

by Andi Kleen

[permalink] [raw]
Subject: Re: X86_64 kernel support MAX memory.

On Tue, Feb 15, 2005 at 10:49:05AM -0800, YhLu wrote:
> I got a system with 8 way Opteron. Every CPU has 16G memory.
>
> 2.6 kernel x86_64, it will crash when it start the Fifth node.

The kernel has been successfully booted on 8 CPU Opteron systems before.
Most likely it is something specific to your system.

-Andi

2005-02-15 22:20:50

by YhLu

[permalink] [raw]
Subject: RE: X86_64 kernel support MAX memory.

If only use 64G RAM, it works well.

YH

> -----Original Message-----
> From: Andi Kleen [mailto:[email protected]]
> Sent: Tuesday, February 15, 2005 12:15 PM
> To: YhLu
> Cc: [email protected]
> Subject: Re: X86_64 kernel support MAX memory.
>
> On Tue, Feb 15, 2005 at 10:49:05AM -0800, YhLu wrote:
> > I got a system with 8 way Opteron. Every CPU has 16G memory.
> >
> > 2.6 kernel x86_64, it will crash when it start the Fifth node.
>
> The kernel has been successfully booted on 8 CPU Opteron
> systems before.
> Most likely it is something specific to your system.
>
> -Andi
>

2005-02-15 22:44:11

by Andi Kleen

[permalink] [raw]
Subject: Re: X86_64 kernel support MAX memory.

On Tue, Feb 15, 2005 at 02:34:17PM -0800, YhLu wrote:
> If only use 64G RAM, it works well.

Are you sure the RAM is not broken? The more you have of it
the more likely one DIMM is bad.

Otherwise debug it. What's the oops dump?

-Andi

2005-02-15 22:46:20

by YhLu

[permalink] [raw]
Subject: RE: X86_64 kernel support MAX memory.

It passed the memtest86+ 3.1a

No oops dump, it just restart the system.

YH

> -----Original Message-----
> From: Andi Kleen [mailto:[email protected]]
> Sent: Tuesday, February 15, 2005 2:42 PM
> To: YhLu
> Cc: [email protected]
> Subject: Re: X86_64 kernel support MAX memory.
>
> On Tue, Feb 15, 2005 at 02:34:17PM -0800, YhLu wrote:
> > If only use 64G RAM, it works well.
>
> Are you sure the RAM is not broken? The more you have of it
> the more likely one DIMM is bad.
>
> Otherwise debug it. What's the oops dump?
>
> -Andi
>

2005-02-15 22:58:50

by Andi Kleen

[permalink] [raw]
Subject: Re: X86_64 kernel support MAX memory.

On Tue, Feb 15, 2005 at 02:57:14PM -0800, YhLu wrote:
> It passed the memtest86+ 3.1a

Are you sure it even tests the full 128GB? Traditionally PAE only
supports 64GB.

>
> No oops dump, it just restart the system.

At what point exactly? You probably have a serial
console. What are the last lines.

That could well be an ECC error. You can see if mcelog
logs something after reboot (kernel should preserve
machine check events)

Or you could switch around the DIMMs of the CPUs for
testing.

-Andi

2005-02-15 23:19:05

by YhLu

[permalink] [raw]
Subject: RE: X86_64 kernel support MAX memory.

Thanks.

I will test 64G on node 4-7 only or 64G on node 0-3.

YH

> -----Original Message-----
> From: Andi Kleen [mailto:[email protected]]
> Sent: Tuesday, February 15, 2005 2:55 PM
> To: YhLu
> Cc: [email protected]
> Subject: Re: X86_64 kernel support MAX memory.
>
> On Tue, Feb 15, 2005 at 02:57:14PM -0800, YhLu wrote:
> > It passed the memtest86+ 3.1a
>
> Are you sure it even tests the full 128GB? Traditionally PAE
> only supports 64GB.
>
> >
> > No oops dump, it just restart the system.
>
> At what point exactly? You probably have a serial console.
> What are the last lines.
>
> That could well be an ECC error. You can see if mcelog logs
> something after reboot (kernel should preserve machine check events)
>
> Or you could switch around the DIMMs of the CPUs for testing.
>
> -Andi
>