www.webdeveloper.com
Results 1 to 4 of 4

Thread: virtual memory

  1. #1
    Join Date
    Apr 2005
    Posts
    16

    virtual memory

    Hi there... i have a qns on virtual memory....

    Imagine a computer system that contains physical main memory of 1 Gigabyte and a 64bit address space. You can assume that a memory cell is one byte(8bits) long.

    1. How many bits are needed to address the physical main memory?
    2. How many memory cells can be addressed with the given 64bit address
    space? how many petabyte(2^50) can be addressed?

  2. #2
    Join Date
    Nov 2003
    Posts
    655
    1. 30
    2. 2^64; 2^14

  3. #3
    Join Date
    Apr 2005
    Posts
    16

    virtual memory

    What's the working for the answers? how did u get tht answer?

  4. #4
    Join Date
    Nov 2003
    Posts
    655
    1. A GB is 2^30 bytes. Addressing is a matter of powers of 2. A 0 bit address could only address 1 location (2^0 = 1); 1 bit allows 2 locations (2^1 = 2), etc.
    2. See above; 64 bits - 50 bits = 14 bits, so that gives you 2^14 chunks of 2^50 bytes (or 2^64 / 2^50 = 2^14)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles