I was given a question in a quiz "A process size is 2^6+^2^12+2^23 bytes and total memory size of system is 4GB page size is 4k, how many page tables are there how many page directories and pages ? Assume that initially all memory was free ? How to solve this ?
Can a process have more then 1 page tables?
483 Views Asked by Waqar Ul Khaf At
1
There are 1 best solutions below
Related Questions in VIRTUAL-MEMORY
- about "preprocessing" in PintOS compiling(C programming), There are 2-questions for referencing headers and incomplete type error
- Why are pre-allocated stacks expensive, given 64-bit virtual memory?
- Using page-table remapping to avoid data-copying during array-reallocation
- Is there a better way in Linux to query a memory mapping than text parsing /proc/self/maps?
- Converting virtual address to real address - in hexadecimal
- Can AWS Sagemaker training instances swap virtual memory to disk?
- Is it possible to write at virtual 0x0 on a classical OS?
- How does a TLB manage memory translation for addresses that cross page boundaries?
- Using psutil.virtual_memory() to calculated the memory consumption of a module within a program
- Who and how generate the virtual/logical addresses? Confusion if it's the compiler, the linker, the loader
- Number of segments that can be in main memory at certain instant
- What is the difference Between 'Dirty Memory' and 'Dirty Size' in iOS VM Tracker?
- Allocate region of virtual address space upfront
- Assumptions about dwPageSize on different systems
- How is the physical address of the page table calculated from page directory
Related Questions in PAGE-TABLES
- Using page-table remapping to avoid data-copying during array-reallocation
- In x86_64 architecture, if I modify a PTE in the page table, when will it be sync to TLB?
- The kernel linux's lookup_address function in x86 returns NULL when debugging a specific case of Page Fault
- Understanding paging and fetching instructions from memory
- What is the purpose of recursive page tables?
- does a large, overcommitted mmap create many page table entries?
- Will an x86_64 CPU notice that a page-table entry has changed to not-present while setting the dirty flag in the PTE?
- Let's say we have a 32-bit system, or 64-bit system, or even 128-bit system. What's the size of each page table entry?
- Is there any way to keep the dirty bit in x86 page tables coherent without TLB invalidates?
- How Linux uses 3-level page tables for x86 CPUs with only 2-level page tables?
- What is the reason to extend page-directory-pointer-table base address in cr3 from 20 to 27 bits in AMD64 legacy mode (PAE)?
- Calculating total page table size of a process (with pid) in 4-level x64-64 linux machine using/proc/pid/maps and /proc/pid/pagemap
- Physical pages offset check
- Rocket Chip - Access Exception on Page Table Walk
- Multi-level page table in OS
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes, some systems use multiple page tables. On the VAX, e.g., each process has three page tables.
Entirely system specific
Entirely system specific. Some systems do not even use page directories.
Add the page size to the process size and divide by the page size.