The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+18 votes

03. Choose the correct alternatives (more than one may be correct) and write the corresponding letters only:

(iii) The total size of address space in a virtual memory system is limited by:

  1. the length of MAR
  2. the available secondary storage
  3. the available main memory
  4. all of the above
  5. none of the above
asked in CO & Architecture by Veteran (59.5k points)
edited by | 2.1k views

3 Answers

+23 votes
Best answer

Answer is (a) and (b).

Virtual memory concept is independent of size of main memory and depends only on the availability of the secondary storage.

MAR holds the address generated by CPU and this obviously limits the total virtual memory address space.

answered by Active (3.3k points)
edited by

MAR contain memory address. On systems with no virtual memory this is physical address. On VM systems, this address is virtual address. MAR hold the address generated by CPU and if this is holding physical address, then virtual memory cannot exist.

Sir where its written in this document that mar contains virtual address??
Wt I know is that sir PC contain virtual address and before going to mar it shld be gone through men mangmnt unit for conversion. So sir how mar can contain VA? It is drctly connected to physical memory..ryt?

That part is not in that document. But CPU has no knowledge of actual address. And it is the CPU which writes to MAR. Hence, it should be virtual address. The below link makes this clear. 


@arjun sir consider this case if the mar register is of 32 bits so the address space contains all the 2^32 entries in the address space....but if in the secondary memory pages size are taken in such a way that there are less than 2^32.... that makes that the address space is only dependent on the MAR right? correct me if i am wrong
You mean entries in page table?

MAR is independent of physical memory on a VM system and this transparency is the job of VM.
i mean the addressable space (pages) can be varied from varying the page size of secondary memory, so it should depend on the secondary memory right rather than the MAR?
what is full form of MAR??
Memory address register
I think size of MAR is decided by the word length of the CPU.All internal registers of the cpu are of the word length of cpu.
applying the same argument but taking B = main memory and C = secondary memory.Total exclusive memory we've is B+C(we could design a scheme where one to one mapping is there).Then to say that we're only limited by secondary memory doesn't seem correct to.
+3 votes
Yes, it does. Say if 'n' address lines are there.. then a process can generate virtual address in the range from 0 to 2^n - 1 . So, this address space for a process is always limited by length of MAR. And if you consider as a whole, the total virtual address space must be a proper subset of Secondary Storage for obvious reasons that you cant create and save more pages than external storages, though it is flexible.
answered by Active (2.6k points)
+2 votes

By "Virtual Memory system", they mean "process or program which we store in RAM" (Physical memory system means RAM itself)

A) is TRUE because if MAR size is 32 bits ..then we cannot have a process of size more than 232 addressable units (say Bytes)... If we have (232 +1) bytes then one of the byte cannot be accessed  by CPU as MAR has only 32 bits instead of 33 bits ...

B) is TRUE because though we can have process of size more than the RAM size using Virtual Memory concept.. we cannot have a process of size more than Hard-disk size ... 

C) is FALSE because we can have a process of size more than RAM as we saw ... 

answered by Loyal (7k points)
edited by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

37,019 questions
44,592 answers
43,663 users