memory management - Frame Allocation -


i have 2 operating system related questions. first 1 relates frame allocation, more equal allocation specific situation. situation have there 200 free frames in memory , 2 processes trying paged in - p1 has 50 pages, , p2 has 350 pages. question happens p1? give p1 100 frames because having 2 processes , giving them equal number make each 100, or give p1 50 frames , give rest p2? assume later option don't know sure.

the answer question highly operating system specific , time specific. in ye olde days of limited physical memory common operating systems swap process in , out of physical memory when there paging.

now more common rely on paging. p1 may have 50 pages os may keep 5 of @ time in memory.

generally pages loaded when accessed. there has page fault load page. (there exceptions general rule).


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -