3. Given three subroutines of 550, 290, and 600 words each, if segmentation is used then the total memory needed is the sum of the three sizes (if all three routines are loaded). However, if paging is used then some storage space is lost because subroutines rarely fill the last page completely, and that results in internal fragmentation. Determine the total amount of wasted memory due to internal fragmentation when the three subroutines are loaded into memory using each of the following page sizes:
a. 100 words
b. 600 words
c. 700 words
d. 900 words
hint: you may want to consider making a table with job size and page size on the x and y axis to answer the questions.
job size 550 +290+ 600 = 1440 words
a. page size =100 words
internal fragmentation =(100*15 )-1440= 60 words
b. page size = 600 words
internal fragmentation = (600*3)- 1440 = 360 words
c. page size = 700 words
internal fragmentation = (700*3) -1440 = 660 words
d. page size = 900 words
internal fragmentation = (900*2) -1440 = 360 words
3. Given three subroutines of 550, 290, and 600 words each, if segmentation is used then...
1. Four functions, each of length 500 words, are linked together into one process and loaded into memory. Consider four possible combinations of paging and segmentation: (15 Points) 1. Paging (no segmentation): page size: 512 words page table occupies 1 page 2. Segmentation (no paging): segment table size: 512 words 3. Segmentation with paging (each function becomes a separate segment): page and segment size: 512 words page and segment tables occupy 1 page each 4. Two-level paging (page table is...
Computer organization and architecture: memory allocation problem help? Perform or evaluate memory allocation in a system that uses paging (20 points) Consider a system that has 64Kbytes of RAM dedicated to the storage of user programs during their execution. The following three programs are being run concurrently on the system. Program A: 20Kbytes; Program B: 31Kbytes; Program C: 17Kbytes. Suppose the system implements virtual memory using paging. The page size is 16Kbytes. At a particular moment, the page tables of...
10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated sludge operation that adversely affect effluent quality with origins in the engineering, hydraulic and microbiological components of the process. The real "heart" of the activated sludge system is the development and maintenance of a mixed microbial culture (activated sludge) that treats wastewater and which can be managed. One definition of a wastewater treatment plant operator is a "bug farmer", one who controls the aeration...