Virtual memory is something that can be indexed by CPU alone, a 32 bit architecture is capable of generating 2^32 locations(say byte addressable machine then 2^32 bytes=4GB). Surely we can use demand paging if process size is bigger than RAM, but what if the process size is bigger than virtual memory itself ? Surely, you can again use demand paging, but my question is, how can CPU locate any bytes greater than 2^32 ? Say program is written has size of 5GB, how does cpu index the bytes greater than 5GB ? It can only generate locations till 4GB.
How do you index any location of a program whose size is bigger than the virtual memory?
61 views Asked by SpawN At
0
There are 0 answers
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 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 DEMAND-PAGING
- Why did NOT my Linux act the lazy memory allocation?
- What is in the PTE address field for an anonymously zero-fill-on-demand mapped page?
- Hardware support for valid / invalid bit in page table
- Am I experiencing demand paging when not altering the values of a newly created array?
- Is COW the same as Demand paging?
- Why rss keeps growing when malloc without actual writing?
- How to view paging system (demand paging) as another layer of cache?
- How do you index any location of a program whose size is bigger than the virtual memory?
- Difference between dynamic loading and demand paging
- Find lower-bound for demand-paging
- Number of memory access with Demand Paging
- If using Pure Demand Paging, how does CPU know where the first instruction is in the executable?
- page fault in operating system.(invalid addressing or page not in main memory)
- How pages loaded in RAM other than after page-fault trap?
- What is the difference between demand paging and page replacement?
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?
Popular Tags
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)