Physical and Logical Memory

Please explain me clearly the concept of physical and logical memory in computer?

Replies

  • anandkumarjha
    anandkumarjha
    Whats In Name
    Please explain me clearly the concept of physical and logical memory in computer?
    suppose any application wants its one one instruction to be executed by the CPU,then it says to CPU about it.Further CPU checks for that application's size. Suppose that application has the size from 1 to 250.the only thing what that application knows is that its size is of 250,that is its ligical memory
    whereas when the CPU checks for the memory space available for that application to occur,it finds that the main memory ranging from 1 to 500 is already alloted for the other works which CPU is taking care of,so what it does is it allots the memory ranging from 501 to 750 for that application.that'a the physical memory.
  • Reya
    Reya
    It was rightly explained by anand..
    Say an 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.
  • Whats In Name
    Whats In Name
    So,they are the same memory space; just different from different perspective,right?
  • rishi0922
    rishi0922
    Well I wan't to know that is execution of any program or software depends upon the logical memory ?
  • Reya
    Reya
    i didnt get you..

You are reading an archived discussion.

Related Posts

Hello CEans what is meant by IP address of switch,and port number and how does it works??please explain
I am very interested in doing image processing projects using Matlab. How do I go about learning them???I know some basic Matlab. I will be very happy if someone could...
I just saw the thread on Crazy T-shirt Contest held in 2008.Here I have designed one hope you like this. T-shirt Front :My Crazy Heart is enough to become an...
Which are the softwares used for ELECTRICAL NETWORKS??? Hey Friends, Please suggest me some software and if you have any manual u can provide it here too...... Regards, VIPUL
Hey Friends, Please help me in deciding which network to use at my Home Group. Give me your suggestion Please. Regards, Vipul