# Memory - Physical Address Space (Physical Memory)

The physical address space is the total number of uniquely-addressable physical address (memory locations) at a physical level (ie in the ram) and not logical (ie virtual)

This is the total processor’s physical address space and is linear.

## Type

There is two memory model where a memory address maps into the physical address space:

## CPU

• Intel 64 architecture supports physical address space greater than 64 GBytes;
• The actual physical address size of IA-32 processors is implementation specific. In 64-bit mode, there is architectural support for 64-bit linear address space. However, processors supporting Intel 64 architecture may implement less than 64-bits (see Section 3.3.7.1). The linear address space is mapped into the processor physical address space through the PAE paging mechanism.

## Maximum Size

The maximum size of the physical memory is limited by:

Calculation Example:

CPU word size Address bus size Number of memory locations Memory Storage by location Addressable memory space
32 bit 32-bit $2^{32} = 4,294,967,296$ 1 byte $4,294,967,296/1024/1024/1024 = 4$ GB
64-bit (8 bytes) 64-bit $2^{64}$ 1 byte $2^{64}/1024/1024/1024=17,179,869,184$ Gb. It is a 11-digit number in Gb
8-bit 20-bit (e.g. Intel 8086) $2^{20} = 1,048,576$ 1 byte 1 Mib
36-bit 18-bit $2^{18} = 262,144$ 1 word $262,144 . 36 = 1,179,648 bytes = 1152 KB = 1,... MiB$

32-bit computers use some workarounds to be able to address more than 4Gb of Ram by adding:

• extra registers
• and extra bits into the addressing portion.

This, however, still does not allow for processes to be able to freely address more than 4Gb of RAM.

Discover More

The address bus to transmit the address (location information). When a processor needs to read or write to a memory location, it specifies that memory location on the address bus (the value to be read...

In a linear address space, memory appears to a program as a single, continuous address space. An address for any byte in linear address space is called a linear address. One Linear address corresponds...

The range of memory that can be addressed is called an address space. It is the total number of uniquely-addressable memory locations Same as in memory. ? The whole set of physical address...
Memory - Page Fault Exception

A page fault occurs when the (kernel|processor) needs a page, finds it doesn't exist in physical memory because it has been paged-out, and re-reads it in from disk. Page fault in process...

Memory - Random-access memory (RAM)

RAM (Random-access memory) known also as physical memory is a component of the the primary memory The word RAM is often associated with volatile types of memory (such as DRAM memory modules), where the...
Memory - Segment

A memory segment is the division structure of the segmented memory model. The physical address spec (physical memory) of the primary memory is divide by segment. See virtual memoryvirtual segment ...