Question

Q. 2. (a) Suppose the OS on your computer uses the buddy system for memory management. Initially the system has a 1 megabyte

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution 2(a): Buddy system divides memory in 2^u blocks.

A: 1024K 512K 512K 400K allocated

Similarly, for othet parts

1024K 512K 512K 400K allocated 256K 256K 120K 120K 128K 120K BOK allocated 100K allocated 84K 64K 32K 32K 256 Lilaca 16K 18K

Solution 2(b):

Capacity=4

Page frames: 6

Page frames: 6 7

Page frames: 6 7 3

Page frames: 6 7 3 (7 is a page hit)

Page frames: 6 7 3 2

Page frames: 6 7 3 2 (6 is a page hit)

Page frames: 6 7 5 2

Page frames: 6 7 5 9

Page frames: 6 2 5 9

Page frames: 4 2 5 9

Page frames: 4 2 3 9

Page frames: 4 2 3 7

Page frames: 4 2 3 7 (2 is a page hit)

Page frames: 6 2 3 7

Page frames: 6 2 5 7

Page frames: 6 2 5 9

Add a comment
Know the answer?
Add Answer to:
Q. 2. (a) Suppose the OS on your computer uses the buddy system for memory management....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT