Skip to contentSkip to conversation

Maximum physical memory on i386 platform

DISCUSSION Ravi K 3 participants 3 messages Jan 2, 2002 – Jan 3, 2002 Memory management

lore
Share & tools
lore

Ravi K

author
#0 lore raw

Hi,
The configuration help for HIGHMEM feature on i386
platform states that 'Linux can use up to 64 Gigabytes of physical memory on x86 systems'. I see a problem with this:
- page structures needed to support 64GB would take
up 1GB memory (64 bytes per page of size 4k)
- but the kernel can only use 896MB memory, unless
PAGE_OFFSET is changed to a lower value
- enabling 64GB support does not automatically change
the value of PAGE_OFFSET
So how are the page structures created if a machine
has 64GB memory? Or is it necessary to change PAGE_OFFSET (to 0x80000000) in such a configuration?

Thanks,
Ravi.

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/

#1 lore raw
Quoted 7 lines · Ravi K

Hi,
The configuration help for HIGHMEM feature on i386
platform states that 'Linux can use up to 64 Gigabytes of physical memory on x86 systems'. I see a problem with this:
- page structures needed to support 64GB would take
up 1GB memory (64 bytes per page of size 4k)

64GB is physical memory, not virtual memory.

-hpa

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/

#2 lore raw
Quoted 11 lines · H. Peter Anvin
Quoted 7 lines · Ravi K

Hi,
The configuration help for HIGHMEM feature on i386
platform states that 'Linux can use up to 64 Gigabytes of physical memory on x86 systems'. I see a problem with this:
- page structures needed to support 64GB would take
up 1GB memory (64 bytes per page of size 4k)

Quoted 1 line

64GB is physical memory, not virtual memory.

And at approx. 64 bytes per strct page in mem_map, that's 1G worth of page structs, which is Ravi's point.

Cheers,

-- Joe
"I should like to close this book by sticking out any part of my neck
which is not yet exposed, and making a few predictions about how the problem of quantum gravity will in the end be solved." --- Physicist Lee Smolin, "Three Roads to Quantum Gravity"
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/