Recent questions tagged memory-management

1 1 vote
1 1 answer
1.1k
1.1k views
Consider a paging system with the page table stored in memory.a. If a memory reference takes 50 nanoseconds, how long does a paged memory reference take ?b. If we add $TL...
1 1 vote
1 1 answer
883
883 views
Consider a logical address space of $256$ pages with a $4-KB$ page size, mapped onto a physical memory of $64$ frames.$a$. How many bits are required in the logical addre...
0 0 votes
0 0 answers
499
499 views
What is the maximum amount of physical memory ?
1 1 vote
1 1 answer
3.1k
3.1k views
The BTV operating system has a $21-bit$ virtual address, yet on certain embedded devices, it has only a $16-bit$ physical address. It also has a $2-KB$ page size. How man...
1 1 vote
1 1 answer
5.0k
5.0k views
Assuming a $1$ $KB$ page size, what are the page numbers and offsets for the following address references (provided as decimal numbers):$a. 3085$$b. 42095$$c. 215201$$d. ...
0 0 votes
0 0 answers
538
538 views
Program binaries in many systems are typically structured as follows. Code is stored starting with a small, fixed virtual address, such as $0$. The code segment is follow...
0 0 votes
0 0 answers
430
430 views
Explain why address space identifiers ($ASIDs$) are used.
0 0 votes
0 0 answers
404
404 views
Compare paging with segmentation with respect to how much memory the address translation structures require to convert virtual addresses to physical addresses.
1 1 vote
0 0 answers
733
733 views
Although Android does not support swapping on its boot disk, it is possible to set up a swap space using a separate SD nonvolatile memory card. Why would Android disallow...
0 0 votes
0 0 answers
378
378 views
Explain why mobile operating systems such as iOS and Android do not support swapping ?
0 0 votes
0 0 answers
435
435 views
On a system with paging, a process cannot access memory that it does not own. Why ? How could the operating system allow access to other memory ? Why should it or should ...
0 0 votes
0 0 answers
703
703 views
Compare the memory organization schemes of contiguous memory allocation, pure segmentation, and pure paging with respect to the following issues:$a$. External fragmentati...
1 1 vote
2 2 answers
4.5k
4.5k views
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 such allo...
2 2 votes
1 1 answer
658
658 views
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$, $best-fit$, and $worst-fit...
0 0 votes
0 0 answers
1.1k
1.1k views
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 to combine mul...
0 0 votes
0 0 answers
285
285 views
Explain the difference between internal and external fragmentation.
0 0 votes
0 0 answers
455
455 views
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 storage key) associated with it....
0 0 votes
0 0 answers
634
634 views
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 that ...
0 0 votes
0 0 answers
519
519 views
Describe a mechanism by which one segment could belong to the address space of two different processes.
1 1 vote
0 0 answers
507
507 views
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 amount of time...
1 1 vote
1 1 answer
490
490 views
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...
0 0 votes
2 2 answers
599
599 views
0 0 votes
0 0 answers
342
342 views
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 fetch) or data (data fet...
0 0 votes
0 0 answers
316
316 views
Name two differences between logical and physical addresses.
0 0 votes
1 answers 1 answer
779
779 views
The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined byInstruction Set Architecturepage sizephysica...
2 2 votes
1 1 answer
1.0k
1.0k views
1 1 vote
2 2 answers
1.4k
1.4k views
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 ta...
2 2 votes
1 1 answer
2.1k
2.1k views
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) ?
0 0 votes
1 1 answer
571
571 views
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 pag...