Look at it this way,
Say a application needs something computed by the CPU. That application says to the CPU, "I'm going to send you 500 pieces of data, so I need a space in the memory that is 500 pieces of data big." So the CPU takes a look at the memory. Initially there is room for 10,000 pieces of data, but because there are other processes already running the first 1 - 2,000 pieces are already taken up. The CPU says to himself from piece 2,000 to 2,500 is were all new data is going to go.
The physical memory is the address from 2,000 to 2,500.
Now the application doesn't realize that there are other processes that the CPU is taking care of. All it sees is the data 1- 500 pieces stored in the memory. This is logical memory.
When the application wants to run a piece of data of the 1-500, its says to the CPU run the piece 130. In reality 130 is not even a space in the memory that the CPU has set out for the application. Because remember it was originally 2,000-2500 that was set aside for the application. Piece 130 according to the applications logical memory is in reality piece 2130 in the physical memory. So when the CPU is receiving instructions from the application it has to translate the logical memory in to the physical memory and then back into the logical when replying to the application.
Physical memory is where your programs,pictures,and documents are stored in your computer. Logical memory is where the browser you are using just went to when you started it. Usually called RAM(random access memory)
Think of your brain
There is memory that records events. And there is the part of the brain that does stuff like math.
Logical
A physical address is concrete and never changes. It is set in memory. A logical address is made up of a base pointer and an offset.It keeps programs running parallel and not intertwining.
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.
explain the logical& physical memory
Physical memory is how much total memory your computer actually has. Available memory is what memory you have that is not being used.
The difference between virtual and physical memory is that virtual memory refers to memory space while physical memory are chips like RAM. The memory space for virtual memory is made by operating system when there is insufficient physical memory.
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.
1) Logical data structures are structures that emphasize on data relationships and how data is related from the view of the user. 2) Physical data structures are data models that emphasize on the use of efficiently and effectively storing data in memory.
Yes. This is the fundamental premise of paged or virtual memory - that you can have more logical memory than physical memory.
- An MMU (memory management unit) generates physical address. - A CPU (central processing unit) generates a logical address.
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)
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.