Want this question answered?
Physical Address refers to Storage location on Physical Memory wheres Logical Addressing is used by Memory Managing Programs to refers addresses from Physical Memory and Virtual Memory.
Yes. This is the fundamental premise of paged or virtual memory - that you can have more logical memory than physical memory.
physical memory is the actual sticks of memory that you put inside your computer. it is generally faster than logical memory. logical memory is similar to physical memory except imagine all the data on the memory chips on a file in your hard drive. it is usually much slower than physical memory, and it can even damage your hard drive if used in excess. (read/write times increase so the hard drive disk heads have to move faster/more often which puts more wear and tear on the hard drive)
- An MMU (memory management unit) generates physical address. - A CPU (central processing unit) generates a logical address.
explain the logical& physical memory
A logical (or virtual) address is a reference to a memory location independent of the current assignment of data to memory; a translation must be made to a physical address before the memory access can be achieved. A relative address is the address expressed as a location relative to some known point, usually the beginning of the program. A physical address, or absolute address, is an actual location in main memory.
Logical address is the address generated by the CPU (from the perspective of a program that is running) whereas physical address (or the real address) is the address seen by the memory unit and it allows the data bus to access a particular memory cell in the main memory. All the logical addresses need to be mapped in to physical addresses before they can be used by the MMU. Physical and logical addresses are same when using compile time and load time address binding but they differ when using execution time address binding.
In computer architectures, a logical address is the address at which a memory location appears to reside from the perspective of an executing application program. This may be different from the physical address due to the operation of a memory management unit (MMU) between the CPU and the memory bus. Physical memory may be mapped to different logical addresses for various purposes. For example, the same physical memory may appear at two logical addresses and if accessed by the program at one address, data will pass through the processor cache whereas if it is accessed at the other address, it will bypass the cache.
•Relocation •Protection •Sharing •Logical organisation •Physical organisation
A logical unit of data is a virtual representation of data while a physical unit of data is the actual storage of data on a physical device. The logical unit of data is how data is organized and manipulated from a software perspective, while the physical unit of data is how data is stored on hardware such as disks or memory.
- An MMU (memory management unit) generates physical address. - A CPU (central processing unit) generates a logical address.
4 pages -> 2^2 bits 1024 bytes -> 2^10 bits 64 frames -> 2^6 bits Therefore: Logical memory = 2+10=12 bits Physical memory = 10 +6 =16 bits