Re: 4GB memory and Intel Dual-Core system
From: Eric W. Biederman
Date: Fri Oct 28 2005 - 11:10:34 EST
"Alejandro Bonilla" <abonilla@xxxxxxxxxxxxxxxxx> writes:
> On Fri, 28 Oct 2005 09:29:34 -0600, Eric W. Biederman wrote
>> "Alejandro Bonilla" <abonilla@xxxxxxxxxxxxxxxxx> writes:
>>
>> >> so there is no way to give me back the "lost" memory. Is it possible
>> >> that another motherboard might help?
>> >
>> > AFAIK, No. AMD and Intel will always do the same thing until we all move to
>> > real IA64.
>>
>> IA64 inherits this part of the architecture from x86, so no magic
>> fix. This is a fundamentally a chipset limitation, not an
>> architectural bug.
>
> Probably, but if they add a function to support this, then is a Fix, else it
> would have been there all the time.
It is an optimization. Most chipsets have a hole from XXX-4GB where
you can't put memory. In most configurations the hole is only a couple
of megabytes. Although with PCI-E I think it is now typically about 512M
because of the memory mapped PCI-E config space.
If you put in more that 4G the memory usually shows up at 4G and keeps going.
With memory hoisting that many recent chipsets implement you can see the
memory that would normally be covered by the mmio hole someplace about
4G, so you don't loose any memory in that situation.
Now that I think about it that explains why memory was missing on the
system with PCI-E the memory mapped PCI-E config space was out there
covering it up.
>> rev-E amd64 cpus from AMD all have memory hoisting support,
>> as do all server chipsets from Intel for the last several years.
>
> Not according to the link I provided since we started the conversation. But
> they have done tweaks to start "supporting" all this memory.
I have been writing BIOS's for the last 5 years, on Intel and on AMD boards.
I know exactly what the situation is for the boards and chipsets I
have been dealing with. I actually find it mildly surprising that
desktop boards don't handle this yet.
>> To avoid this you just need a good chipset and a good BIOS implementation.
>> Any recent server board should be fine. Hopefully the desktop boards
>> will catch up soon.
>
> I doubt it, Intel is slowly moving to 64bit so applications and OS can catch
> up in the future to leave 32bit behind. (Probably)
???
What has this to do with 32bit and 64bit. x86_64 (aka amd64+em64t) is
the 64bit desktop architecture, and that is what I am talking about.
Basically everything is 64bit now, the only question is how well does
the chipset and BIOS support your memory configuration.
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/