Recent questions tagged virtual-memory

137
views
0 answers
0 votes
A system with 2-level page table, the frame size is 4KB; the address register is 32 bits, the row size of the page table is 4 bytes; the address register is divided into (p1, p2, ... Select one:(0, 1, 256)(1, 0, 256)(2, 0, 256)(0, 2, 256)
142
views
0 answers
1 votes
The 32-bit Linux kernel supports a maximum of 32768 processes in the process table, and the kernel is allocated 1,073,741,824 (1 GiB) of the virtual ... allocated to each process at a minimum, with the maximum number of processes running?
3.2k
views
1 answers
1 votes
Which of the following tasks is/are the responsibility/responsibilities of the memory management unit $\text{(MMU)}$ in a system with paging-based memory management ... to write to a page marked with read-only permission in the page table
4.1k
views
2 answers
6 votes
Consider a $32$-bit system with $4 \mathrm{~KB}$ page size and page table entries of size $4$ bytes each. Assume $1 \mathrm{~KB}=2^{10}$ bytes. The OS ... two levels of the page table of the process.The value of $\text{X+Y}$ is ___________.
3.5k
views
3 answers
2 votes
Consider a memory management system that uses a page size of $2 \mathrm{~KB}$. Assume that both the physical and virtual addresses start from $0$. ... format) corresponding to the virtual address $2500$ (in decimal format) is ___________.
328
views
1 answers
0 votes
we have 8 pages (each side 32B) to store in physical memory of 2^32 bits how many bits are required to identify each page , according to me 3 bits are required but that is wrong plz explain why
522
views
1 answers
5 votes
Consider a virtual memory system that uses paging. Virtual and physical addresses are both $32$ ... {0x00875b65}$\textsf{0x00875}$Translation is not possible as per the given page table
771
views
1 answers
4 votes
Consider a system with $4 \mathrm{~GB}$ of physical memory and $64 \mathrm{~GB}$ of Virtual Memory. The page size is $4 \mathrm{~KB}$. Recall that the ... PTEs.How many pages does our page table occupy if we have a single-level page table?
189
views
1 answers
1 votes
A system is supported with virtual memory. Consider two statements below.$\text{S1 :}$ Two processes reading from the same physical address will access the same contents. ... $\text{S1}$ nor Statement $\text{S2}$
214
views
1 answers
1 votes
With $\text{64 bit}$ virtual addresses, a $\text{4 KB}$ page and $\text{16 GB}$ of RAM, an inverted page table requires _____$2$ million entries$4$ million entries$512$ thousand entries$1$ million entries
13.0k
views
2 answers
11 votes
Consider a computer system with $57$-bit virtual addressing using multi-level tree-structured page tables with $\mathrm{L}$ levels for virtual to physical address ... levels occupies $8$ bytes.The value of $\mathrm{L}$ is ______________.
508
views
1 answers
0 votes
OS
By default the memory address starts with 0. But they have considered from 1.What should I consider when nothing is mentioned?
373
views
0 answers
0 votes
For problems where the options are not given, like this kinda questions should I consider hierarchical access or simultaneous access. I know that ... be preferred but the solution for this is described using simultaneous access.
1.9k
views
1 answers
2 votes
Consider a virtual memory system where, physical memory = 4GB page size = 4KB, page table entry size = 4B and 45-bit virtual address. Assume every page table ... table entry size is 4B then how many levels of page tables would be required.
457
views
1 answers
0 votes
What is the relationship between paging and virtual memory?A Virtual memory came before pagingB When pages are created in disks, it is called a virtual ... memory can never be implemented without paging D Both have the same concepts
354
views
1 answers
2 votes
1.6k
views
2 answers
0 votes
If a processor has 32-bit virtual address, 28-bit physical address, 2 kb pages. How many bits are required for the virtual, physical page number?17, 2121, 176, 10NoneThe answer given is b. 21, 17
568
views
3 answers
0 votes
Memory mapping table is used to(a) Translate virtual address to physical address(b) Translate physical address to virtual address(c) Both(d) None
1.2k
views
1 answers
0 votes
Consider the following segment table:Segment Base Length0 220 6001 2300 202 90 1003 1320 ... What are the physical addresses for the following logical addresses? 0, 4301, 103, 802, 500
537
views
1 answers
0 votes
Can anyone explain how are these two things connected (i) Virtual Memory (part of HDD, acting as RAM) and (ii) Virtual Address Space (Logical Address, generated by CPU during compilation), and where exactly is this Logical Address stored?
1.2k
views
1 answers
1 votes
Can anyone diagrammatically explain what is the difference between Page size vs Page table entry size in a page table?
999
views
2 answers
1 votes
Suppose that a machine has 42-bit virtual addresses and 32-bit physical addresses.{a} How much RAM can the machine support (each byte of RAM must be ... is the advantage of using a two-level page table over single-level page table?