Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Two common ways of providing memory protection between processes are segmentation and paging. Modern systems would typically implement software segments using paging. What resource does

Two common ways of providing memory protection between processes are segmentation and paging. Modern systems would typically implement software segments using paging. What resource does this waste compared to using pure segments? What cost does alleviating this wastage impose? [2 marks]

(b) A 32-bit system with 32-bit virtual addressing uses 4 kB pages to match 4 kB frames.

(i) Explain why a thoughtful engineer might choose 4-byte page table entries (PTE) and use a two-level page table in this system. [6 marks]

(ii) A radical engineer decides they want finer-grained protection of memory and proposes reducing the page size to 1 kB. State what challenge this introduces, suggest two different ways it might be addressed, and discuss the associated costs. [7 marks]

(c) An intrepid software engineer discovers some old hardware with support for segmentation, and decides to implement software paging using segments. Propose how they might do this, and discuss how your proposal would perform, and what factors would affect its performance. [5 marks]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

The detailed answer for the above question is provided below a When providing memory protection between processes using software segments a resource that is wasted compared to using pure segments is d... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Organization and Design The Hardware Software Interface

Authors: David A. Patterson, John L. Hennessy

5th edition

124077269, 978-0124077263

More Books

Students also viewed these Operating System questions

Question

Why are segmentation and paging sometimes combined into one scheme?

Answered: 1 week ago