Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Rik van Riel

On Mon, 14 May 2001, Jeff Golds wrote:

> Oh I get it NOW.  "Off" means the docs are just plain "off".

It is ... "off" means we do 1GB-128MB = 896MB of memory.
It would be cool if one of you two could update the docs ;)

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to [EMAIL PROTECTED] (spam digging piggy)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread H. Peter Anvin

Brian Gerst wrote:
> >
> > It seems obvious once you know why the limits are there.  The 1 GB
> > limit (actually 1024-128 MB = 896 MB) is a software limit; the 4 GB
> > and 64 GB limits are hardware limits and are exact.
> 
> Even with the 4GB and 64GB options, some physical address space has to
> be reserved for memory mapped I/O.
> 

Oh, right.  It's not just virtual address space.  Geez, I'm being really
dense today :)

-hpa

-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Brian Gerst

"H. Peter Anvin" wrote:
> 
> Followup to:  <[EMAIL PROTECTED]>
> By author:Rik van Riel <[EMAIL PROTECTED]>
> In newsgroup: linux.dev.kernel
> >
> > On Mon, 14 May 2001, Wayne Whitney wrote:
> > > In mailing-lists.linux-kernel, you wrote:
> > >
> > > > You need to compile highmem support into the kernel if you want to
> > > > use more than 890 MB of RAM, set it to maximum 4GB for best
> > > > performance...
> > >
> > > On a similar note, what is the maximum physical memory supported
> > > by the 4GB option?
> >
> > Ummm, 4GB maybe? ;)
> >
> 
> It seems obvious once you know why the limits are there.  The 1 GB
> limit (actually 1024-128 MB = 896 MB) is a software limit; the 4 GB
> and 64 GB limits are hardware limits and are exact.

Even with the 4GB and 64GB options, some physical address space has to
be reserved for memory mapped I/O.

--
Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Mohammad A. Haque

Rik van Riel wrote:
> Where did you get the mythical "1GB" option?
> 
> Last I looked we had "off", "4GB" and "64GB" ;)

We do .. under 2.4.x

In 2.2.x we have 1 Gb and 2 GB ... 2.2.19 at least
-- 

=
Mohammad A. Haque  http://www.haque.net/ 
   [EMAIL PROTECTED]

  "Alcohol and calculus don't mix. Project Lead
   Don't drink and derive." --Unknown  http://wm.themes.org/
   [EMAIL PROTECTED]
=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Jeff Golds

Rik van Riel wrote:
> 
> On Mon, 14 May 2001, Jeff Golds wrote:
> 
> > Ahh, it's totally obvious.  1 GB option = 890 MB, 4 GB option =
> > 4GB.  Can I assume a linear relation and get 66.2 MB when I
> > select the 64 MB option?
> 
> Where did you get the mythical "1GB" option?
> 
> Last I looked we had "off", "4GB" and "64GB" ;)
> 

Good try, except:

If you are compiling a kernel which will never run on a machine with
more than 1 Gigabyte total physical RAM, answer "off" here (default
choice and suitable for most users). This will result in a "3GB/1GB"
split: 3GB are mapped so that each process sees a 3GB virtual memory  
space and the remaining part of the 4GB virtual memory space is used
by the kernel to permanently map as much physical memory as
possible.

If the machine has between 1 and 4 Gigabytes physical RAM, then
answer "4GB" here.



1 GB is not more than 1 GB so "off" is the correct choice, according to the docs.

Oh I get it NOW.  "Off" means the docs are just plain "off".

-Jeff


-- 
Jeff Golds
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Rik van Riel

On Mon, 14 May 2001, Jeff Golds wrote:

> Ahh, it's totally obvious.  1 GB option = 890 MB, 4 GB option =
> 4GB.  Can I assume a linear relation and get 66.2 MB when I
> select the 64 MB option?

Where did you get the mythical "1GB" option?

Last I looked we had "off", "4GB" and "64GB" ;)

cheers,

Rik
--
Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml

Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/
http://www.conectiva.com/   http://distro.conectiva.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread H. Peter Anvin

Followup to:  <[EMAIL PROTECTED]>
By author:Rik van Riel <[EMAIL PROTECTED]>
In newsgroup: linux.dev.kernel
>
> On Mon, 14 May 2001, Wayne Whitney wrote:
> > In mailing-lists.linux-kernel, you wrote:
> >
> > > You need to compile highmem support into the kernel if you want to
> > > use more than 890 MB of RAM, set it to maximum 4GB for best
> > > performance...
> >
> > On a similar note, what is the maximum physical memory supported
> > by the 4GB option?
> 
> Ummm, 4GB maybe? ;)
> 

It seems obvious once you know why the limits are there.  The 1 GB
limit (actually 1024-128 MB = 896 MB) is a software limit; the 4 GB
and 64 GB limits are hardware limits and are exact.

IMO we should rename the 1 GB option!

-hpa
-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Jeff Golds

Jeff Golds wrote:
> 
> Rik van Riel wrote:
> >
> > On Mon, 14 May 2001, Wayne Whitney wrote:
> > > In mailing-lists.linux-kernel, you wrote:
> > >
> > > > You need to compile highmem support into the kernel if you want to
> > > > use more than 890 MB of RAM, set it to maximum 4GB for best
> > > > performance...
> > >
> > > On a similar note, what is the maximum physical memory supported
> > > by the 4GB option?
> >
> > Ummm, 4GB maybe? ;)
> >
> > Rik
> 
> Ahh, it's totally obvious.  1 GB option = 890 MB, 4 GB option = 4GB.  Can I assume a 
>linear relation and get 66.2 MB when I select the 64 MB option?
> 
> ;)
> 
> -Jeff
> 

That's GB not MB =P

-Jeff


-- 
Jeff Golds
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Jeff Golds

Rik van Riel wrote:
> 
> On Mon, 14 May 2001, Wayne Whitney wrote:
> > In mailing-lists.linux-kernel, you wrote:
> >
> > > You need to compile highmem support into the kernel if you want to
> > > use more than 890 MB of RAM, set it to maximum 4GB for best
> > > performance...
> >
> > On a similar note, what is the maximum physical memory supported
> > by the 4GB option?
> 
> Ummm, 4GB maybe? ;)
> 
> Rik

Ahh, it's totally obvious.  1 GB option = 890 MB, 4 GB option = 4GB.  Can I assume a 
linear relation and get 66.2 MB when I select the 64 MB option?

;)

-Jeff

-- 
Jeff Golds
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Rik van Riel

On Mon, 14 May 2001, Wayne Whitney wrote:
> In mailing-lists.linux-kernel, you wrote:
>
> > You need to compile highmem support into the kernel if you want to
> > use more than 890 MB of RAM, set it to maximum 4GB for best
> > performance...
>
> On a similar note, what is the maximum physical memory supported
> by the 4GB option?

Ummm, 4GB maybe? ;)

Rik
--
Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml

Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/
http://www.conectiva.com/   http://distro.conectiva.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Wayne Whitney

In mailing-lists.linux-kernel, you wrote:

> You need to compile highmem support into the kernel if you want to
> use more than 890 MB of RAM, set it to maximum 4GB for best
> performance...

On a similar note, what is the maximum physical memory supported by
the 4GB option?

Cheers, Wayne

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Rik van Riel

On Mon, 14 May 2001, Jeff Golds wrote:

> I installed the 2.4.4 kernel on a dual P3-733 system with 1 GB
> of ECC RAM and found that /proc/meminfo reports back only 899MB
> of RAM.

> Anyone know what is going on with 2.4.4?

-EUSER  (User Error)

You need to compile highmem support into the kernel if you
want to use more than 890 MB of RAM, set it to maximum 4GB
for best performance...

regards,

Rik
--
Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml

Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/
http://www.conectiva.com/   http://distro.conectiva.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 2.4.4 kernel reports wrong amount of physical memory

2001-05-14 Thread Alan Cox

> I installed the 2.4.4 kernel on a dual P3-733 system with 1 GB of ECC RAM and found 
>that /proc/meminfo reports back only 899MB of RAM.  The 2.4.2 kernel (with RedHat 
>patches from the 7.1 release) worked fine as did the 2.4.0 kernel (with RedHat 
>patches from the 7.0 release).#

Built it with 4GB support. 1Gb actually works out at about 900Mb and possibly
wants renaming..
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/