Recent questions tagged memory-management

563
views
0 answers
0 votes
Compare the memory organization schemes of contiguous memory allocation, pure segmentation, and pure paging with respect to the following issues:$a$. External ... $b$. Internal fragmentation$c$. Ability to share code across processes
3.4k
views
2 answers
1 votes
Most systems allow a program to allocate more memory to its address space during execution. Allocation of data in the heap segments of programs is an example of ... ?$a$. Contiguous memory allocation$b$. Pure segmentation$c$. Pure paging
404
views
1 answers
2 votes
Given six memory partitions of $300$ $KB$, $600$ $KB$, $350$ $KB$, $200$ $KB$, $750$ KB$ and $125$KB$ (in order), how would the $first-fit$, ... and $375$ $KB$ (in order) ? Rank the algorithms in terms of how efficiently they use memory.
922
views
0 answers
0 votes
Consider the following process for generating binaries. A compiler is used to generate the object code for individual modules, and a linkage editor is used ... linkage editor to facilitate the memory-binding tasks of the linkage editor ?
157
views
0 answers
0 votes
Explain the difference between internal and external fragmentation.
346
views
0 answers
0 votes
In the IBM/370, memory protection is provided through the use of keys. A key is a 4-bit quantity. Each 2-K block of memory has a key (the ... of processes$d$. Multiprogramming with a variable number of processes$e$. Paging$f$.Segmentation
516
views
0 answers
0 votes
Sharing segments among processes without requiring that they have the same segment number is possible in a dynamically linked segmentation system.a. Define a system ... to be shared without requiring that the page numbers be the same.
391
views
0 answers
0 votes
Describe a mechanism by which one segment could belong to the address space of two different processes.
372
views
0 answers
1 votes
What is the effect of allowing two entries in a page table to point to the same page frame in memory? Explain how this effect could be used to decrease the ... What effect would updating some byte on the one page have on the other page ?
340
views
1 answers
1 votes
Consider a logical address space of $64$ pages of $1,024$ words each, mapped onto a physical memory of $32$ frames.$a$. How many bits are there in the logical address ?$b$. How many bits are there in the physical address ?
283
views
2 answers
0 votes
234
views
0 answers
0 votes
Consider a system in which a program can be separated into two parts: code and data. The $CPU$ knows whether it wants an instruction (instruction ... be shared among different users. Discuss the advantages and disadvantages of this scheme.
169
views
0 answers
0 votes
Name two differences between logical and physical addresses.
533
views
1 answers
0 votes
The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined byInstruction Set Architecturepage sizephysical ... above question is ISA ??Please explain the concept behind it
689
views
1 answers
2 votes
803
views
2 answers
1 votes
How much memory is used for page tables, when there are $10$ process running in the system with the below details?Virtual Address space: $1GB$Page size: $1KB$Each page table ... of $2^{14}$ physical pages.$10$ MB$20$ MB$30$ MBNone of these
1.2k
views
1 answers
2 votes
If there is 2 or more level paging for processes, is it possible to have more than 1 page fault while accessing any single addressable unit(byte or word) ?
314
views
0 answers
0 votes
Consider a computer system with $32-$ bit virtual addressing and page size of sixty-four kilobytes. The computer system has one-level page table per process with each ... $None of the above$7$5$
289
views
0 answers
0 votes
Consider the following $\text{C}$ function executed in an $\text{OS}$ with paging where the page size is $4$ ... $ misses during the execution of the for loop?$2048$2$0$1$
643
views
1 answers
0 votes
Assume a memory access to main memory on a cache miss takes $30 \; \text{ns}$ and a memory access to the cache (on a cache hit ) takes $3 \; \text{ns}.$ If $80 \%$ ... $9 \text{ns}$4.4 \text{ns}$2.2 \text{ns}$
5.1k
views
1 answers
0 votes
Physical address is(A) The logical address added by the value in re-locatable registers(B) Re location register – logical address(C) Re location address + relocation register(D) None of these
1.4k
views
1 answers
4 votes
Assume a program has just referenced an address in virtual memory. Which of the following scenario cannot occur?TLB miss with no page faultTLB hit and page replacementTLB miss and page faultTLB hit with no page fault
1.5k
views
2 answers
2 votes
A computer system consists of infinitely large primary memory storage capacity. In other words the physical address space exceeds the logical address ... memory concept can be used to give multiprogramming capability to system
2.7k
views
1 answers
8 votes
Consider a system with paging-based memory management, whose architecture allows for a $4\text{GB}$ virtual address space for processes. The size of logical pages and physical frames is ... text{GB} + 4 \text{KB}$4 \text{MB} + 4 \text{GB}$
805
views
0 answers
1 votes
Consider five memory partitions of size $100 \text{ KB }, 500 \text{ KB }, 200 \text{ KB }, 450 \text{ KB and } 600 \text{ KB }$ in same order. If ... in sameNone of the above Answer given by ME: Option $(B)$My answer: Option $(D)$
1.9k
views
0 answers
0 votes
Consider a system which has 2 level paging.The page table is divided into 2K pages and each page is having 4K entries.Memory is word addressable and Physical address ... or I am poor at multi-level paging?(Please tell where I went wrong)
1.4k
views
1 answers
0 votes
for memory overhead in Multi level paging, for innermost table only 1 page size shall be counted na? and NOT the complete page table size?please explain the concept, thanks!