Page table size is determined by multiplying number of pages with page table entry size and why not by multiplying with number of pages with page size
why page table size is not determined not by multiplying with number of pages with page size?
98 Views Asked by BadBoy At
1
There are 1 best solutions below
Related Questions in MEMORY-MANAGEMENT
- Polars with Rust: Out of Memory Error when Processing Large Dataset in Docker Using Streaming
- how is strncpy able to copy from source to empty destination?
- Mallocing int* inside of int** gives unexpected integer values in the first and sometimes second allocation
- How to prevent R from slowing down in long analysis besides freeing up memory?
- React Navigation: Navigate into page, increase RAM, navigate back and RAM stays high
- Java Memory UTF-16 Vs UTF-8
- How to protect a page so that it cannot be write in mips arch?
- How does pre-allocating a pool of SocketAsyncEventArgs objects upfront improve the performance of a server application in c#
- Finding total RAM consumption of process, including swap
- How do special libraries in C cause memory allocation to fail or interact improperly?
- Does CLR add overhead fields to type which value is null?
- How do I improve the performance of this C# code - looping through a DataTable and building a Dictionary?
- Numpy memmap still using RAM instead of disk while doing vector operation
- Does the Direct Memory Access (DMA) interfere with the execution of user program execution?
- How to read and process big csv file fast and keep memory usage low in java?
Related Questions in OPERATING-SYSTEM
- the end of the I/O operation is notified to the system by an interrupt.how much system time do the mentioned operations occupy?
- Problem on CPU scheduling algorithms in OS
- OS-wide text autocomplete service with popup
- mkssecreenshotmgr taking a screenshot
- How to prevent app from crashing on android emulator
- Is there a function to end a child process?
- Swapping a healthy and unallocated partition in Windows 10
- ubuntu OS : Why my battery is completely drained of in just 2 hours in suspend mode
- 1 filenames = [] 2 ----> 3 for file in os.zipfile('images.zip'):
- Worth it to access data by blocks on modern OS/hardware?
- How does outlook disable screenshot
- How can I enable my app to access a specific partition directory for reading and writing without showing popup to user?
- Exception of type 'System.Exception' was thrown. Error in Cosmos Project
- Maximum CPU Voltage reading
- Java: get username from uid
Related Questions in PAGING
- Performance degradation in Asynchronous paging
- How can I test my api response for pagination?
- ExtJS Modern 7.0 combobox with paging how to set value?
- How to do Sorting and paging in ASP.NET MVC C# with a built int SQL database
- Understanding paging and fetching instructions from memory
- Who and how generate the virtual/logical addresses? Confusion if it's the compiler, the linker, the loader
- What is the behavior of mstatus.GVA bit in two stage paging when vsatp.MODE=BARE?
- Address translation of a instruction of multiple bytes
- What are the roles of PAT and PCD bit in CR3? What exactly they do?
- What is the role of HS level sstatus.MXR in two stage paging when hgatp.MODE=BARE?
- How To Declare Flow<PagingData<Data>> as Variable
- RISC-V paging: what decides the way the Dirty and Accessed bits are managed?
- Nonfactors mvcgrid paging server side problems
- How is the physical address of the page table calculated from page directory
- Correlation between ActiveMQ Artemis paging and message priority
Related Questions in PAGE-TABLES
- Effective Access Time
- Can a process have more then 1 page tables?
- Is a process' page table mapped to Kernel address space?
- Pages In Virtual Address Space Equation
- If a virtual memory page is executable, does it imply that it is readable?
- 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?
- Will an x86_64 CPU notice that a page-table entry has changed to not-present while setting the dirty flag in the PTE?
- does a large, overcommitted mmap create many page table entries?
- How prompt is x86 at setting the page dirty bit?
- x86 cr3 and linux swqpper_pg_dir
- Operating System: Memory management multilevel paging concept
- aarch64 MMU translation table
- Find physical address from logical address given page table
- Total memory for page tables & Number of pages (from the movie The Social Network)
- How to update the PMD and PTE tables of page-table by allocating or relocating memory?
Related Questions in PAGE-SIZE
- Crystal Report Page Size
- Flow Document Paper Size
- Scale up or scale down report generated as pdf
- How to get PDF file metadata 'Page Size' using Python?
- Rails: How to print model's details to A4 PDF page?
- How to remove grid view pagesize?
- Finding SC_PAGE_SIZE using Python in Windows
- How can I get the web page size programmatically?
- How to find out the Page Download Time/Size in IE?
- SQLite: Optimal PAGE_SIZE
- Save edited pdf Page in A4 size using itext
- Getting PDF page length
- Itext - a5 page size is the vertical half of a4
- change stimulsoft report page size to equal text object field control width
- Creating custom sized PDFs from MS Excel using VBA Macros
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 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?
You might be confused about what is a page and what is a frame(memory division done in main memory). Hope an example will be helpful for you to understand.
Lets say you have a process having size 1KB and your main memory size is 1MB. To place your process into main memory, you need to classify the process into page so that each page in the process will be placed in a frame in the main memory [So page size == frame size]
Let your page size = frame size = 32B = 25B
Then the total number of pages in the process is 1KB/32B = (210B) / 25B
which is 25
And the total number of frames in the main memory is 1MB/32B = (220B) / 25B
which is 215
Now we need to place the 25 process pages in 215 memory frames. Page table will help us here.
Page table will have 25 entries (representing each page), and each of that entry will be filled with the frame number where the corresponding page will be located.
Since we have 215 frames in main memory, we need 15 bits to represent a frame number.
So the total page size will be
25 * 15 = 480Bytes
Additional Notes
Note 1 : In the framed example since we got page table size greater than a page size ,we need to use multi level paging
Note 2: In real life scenario, The page table size might not be simply 15 bits. Instead some additional information will be provided for each of the page table entry.