Can a dual processor machine with a 32 bit os address a maximum of 4Gb or 8Gb of memory?

6

Am I right in thinking that each processor can independently address 4GB, so the answer is 8Gb?

Does the same hold true for a dual-core?

AndyM

Posted 2008-12-23T09:21:41.950

Reputation:

Its the OS not the hardware that has the limit, Explanation here...http://www.asisupport.com/ts_4GB_memory_info.htm

– Moab – 2010-10-07T20:34:16.783

Each processor can independently address way more than 4GB. But that doesn't matter because the nature of SMP systems is that both processors must have exactly the same view of memory. The S in SMP means 'symmetric'. The limitation is from the OS, not the processor -- it cannot address more than 4GB. – David Schwartz – 2011-08-29T00:08:37.577

Answers

8

The answer is 4GB as they have a shared address space - the processors can both see the same 4GB of RAM. It is a bit more complicated than that with Xeons and others with MMU's that support wider physical address spaces. This stackoverflow post describes this type of MMU, which does make an appearance on 32 bit xeon chips.

ConcernedOfTunbridgeWells

Posted 2008-12-23T09:21:41.950

Reputation: 1 814

...and on other (non x86) architectures, there are configurations where memory is NOT shared and thus 2 processors with 32-bit address buses could see 8GB instead of 4GB... – Brian Knoblauch – 2008-12-23T12:53:33.127

Are you talking about shared nothing architectures in general or something specific? – ConcernedOfTunbridgeWells – 2008-12-23T14:18:16.123

4

You may also want to look up how Physical Address Extension can be used to access more memory on 32 bit systems.

SmacL

Posted 2008-12-23T09:21:41.950

Reputation: 172

1

Actually, as I understand it, it's less on x86 some operating systems (like Windows) because there's a hardware I/O memory hole at the top; you actually end up with about 3.4 GiB of your 4 GiB addressable.

Lawrence Dol

Posted 2008-12-23T09:21:41.950

Reputation: 1 946

That's OS and hardware dependent. The processor does not require that. However, Windows and the other mainstream OS's do leave that open for hardware frame buffers and other devices. – Brian Knoblauch – 2008-12-23T12:54:25.263

0

The limitation comes from the OS, not the processor. The OS can only manage a 4GB address space.

David Schwartz

Posted 2008-12-23T09:21:41.950

Reputation: 58 310