Review Problems Chapter 7

For questions from lecture AND homework.
Moderator: Tracy Camp

Review Problems Chapter 7

Postby Tailssan » Wed Nov 04, 2009 7:33 pm

Review Question 7.2:

Q; Why is the capability to relocate processes desirable?

A: Being able to constantly swap processes that are ready to execute in and out of main memory will maximize CPU Utilization. When these processes are swapped to and from main memory / disk they don't always return to the same memory location, therefore being able to relocate processes is very efficient and desirable.
User avatar
Tailssan
Systems nut
Systems nut
 
Posts: 22
Joined: Wed Aug 20, 2008 11:53 am
Location: Branden Salis

Chapter 7, Review 3

Postby ngerstle » Thu Nov 05, 2009 9:39 am

Review problem 7.3:
Why is it not possible to enforce memory protection at compile time?
The memory space required for data, stack, etc, is not known when the program is compiled- this is the same reason we use dynamic memory allocation structures- vectors, arraylists, etc.
ngerstle
Systems nut
Systems nut
 
Posts: 20
Joined: Thu Jan 08, 2009 10:39 pm

Re: Review Problems Chapter 7

Postby wleavenw » Thu Nov 05, 2009 8:29 pm

Review 7.6: What is the difference between internal and external fragmentation?

Internal fragmentation is when there is wasted space inside a partition, such as when a process is allocated more memory than it needs. External fragmentation is when there is wasted space outside a partition, which can happen when processes tend to be placed with small gaps between them.
wleavenw
Getting into the swing
Getting into the swing
 
Posts: 9
Joined: Sun Aug 24, 2008 9:59 pm


Return to OS Concepts

Who is online

Users browsing this forum: No registered users and 2 guests

cron