Instructions: 1. Explain the operation and management of the following virtual memory. Search for relevant studies and literatures that would supportyour answer. Properly cite your references. Linux Virtual Memory • Windows Virtual Memory

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Laboratory Exercise
Memory Management
Objectives:
At the end of the exercise, the students should be able to:
• Examine some techniques in memory partitioning; and
• Analyze the underlying concepts and implications of virtual memory.
PartI
Instructions: Read the description of the memory configuration and analyze the given diagram. Then, answer
the following questions.
Memory Configuration: A computer implements a dynamic partitioning technique for memory
management. A number of allocation and swapping-out operations have been caried out while the
computer is up and running. The disgram below shows the computer's current memory
configuration/allocation. The addresses go from left to right. The gray areas represent blocks that are
occupied by running processes, while the white areas indicate free memory blocks. The last process
that was loaded into the memory is marked with a red X in the diagram, and its size is 2MB. On ly one
process was swapped out afterthat.
4MB
1MB
SMB
8MB
2MB
4MB
3MB
X
Questions
1. If you are to add a new 10MB process in the memory, where could it possibly be added sand
why?
2. What could be the size of the free block just before it was partitioned by X? Rationalize your
answer.
3.
Would you suggest the provisioning of virtual memory in this configuration? Why or why not?
4. Isit possible to add a new 7 MB process using the first-fit place ment algorith m without swapping
out any process? Why or why not?
5.
A new process is requesting a 3MB a llocation. Illustrate the possible memory configuration
using a horizontal segmented memory strip (like the disgram above), where a partition will be
created forthe new process underthe follo wing placement algorithms: best-fit and first-fit. Label
your illustration clearly.
Transcribed Image Text:Laboratory Exercise Memory Management Objectives: At the end of the exercise, the students should be able to: • Examine some techniques in memory partitioning; and • Analyze the underlying concepts and implications of virtual memory. PartI Instructions: Read the description of the memory configuration and analyze the given diagram. Then, answer the following questions. Memory Configuration: A computer implements a dynamic partitioning technique for memory management. A number of allocation and swapping-out operations have been caried out while the computer is up and running. The disgram below shows the computer's current memory configuration/allocation. The addresses go from left to right. The gray areas represent blocks that are occupied by running processes, while the white areas indicate free memory blocks. The last process that was loaded into the memory is marked with a red X in the diagram, and its size is 2MB. On ly one process was swapped out afterthat. 4MB 1MB SMB 8MB 2MB 4MB 3MB X Questions 1. If you are to add a new 10MB process in the memory, where could it possibly be added sand why? 2. What could be the size of the free block just before it was partitioned by X? Rationalize your answer. 3. Would you suggest the provisioning of virtual memory in this configuration? Why or why not? 4. Isit possible to add a new 7 MB process using the first-fit place ment algorith m without swapping out any process? Why or why not? 5. A new process is requesting a 3MB a llocation. Illustrate the possible memory configuration using a horizontal segmented memory strip (like the disgram above), where a partition will be created forthe new process underthe follo wing placement algorithms: best-fit and first-fit. Label your illustration clearly.
Part II
Instructions:
1. Explain the operation and management of the following virtual memory. Search for relevant studies and
literatures that would support your answer. Properly cite your references.
• Linux Virtual Memory
Windows Virtual Memory
2. Then, answer the following items based on your research.
a. Between the operation and management of Linux and Windows virtual memory, which do you
think is less complex and why?
b. Were you able to find similarities between Linux and Windows virtual memory?
o If your answeris yes, explain each similarity.
o If your answer is no, explain the possible reason why there is no similarity.
c. What are the possible drawbacks of not implementing virtual memory?
d. If you are to design a memory management system, wouldyou incorporate virtual memory into
your design? Why or why not?
Transcribed Image Text:Part II Instructions: 1. Explain the operation and management of the following virtual memory. Search for relevant studies and literatures that would support your answer. Properly cite your references. • Linux Virtual Memory Windows Virtual Memory 2. Then, answer the following items based on your research. a. Between the operation and management of Linux and Windows virtual memory, which do you think is less complex and why? b. Were you able to find similarities between Linux and Windows virtual memory? o If your answeris yes, explain each similarity. o If your answer is no, explain the possible reason why there is no similarity. c. What are the possible drawbacks of not implementing virtual memory? d. If you are to design a memory management system, wouldyou incorporate virtual memory into your design? Why or why not?
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Embedded software development
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education