How is memory management done using bit maps?, Operating System

Assignment Help:

How is memory management done using bit maps?

A bit map is here in this we signify the bit value as 0 or 1.

1-hole

0-process

In this we are able to represent the process and hole separately. In one line of this bit map will have eight spaces

!!!

!!!

!!!

!!!

!!!

!!!

!!!

!!!

!!!

!!!

!!!

!!!

!!!

!!!!

!!!

!!!

!!!

1         2       3     4     5     6        7       8      9       10      11     12    13    14    15    16    17      

Here the red colored shows free holes in he bit map we are able to represent this as follows

1

1

1

1

1

0

0

0

1

1

1

0

0

0

1

1

1

 

 

 

 

 

 

 

1-represents a process

0-repressents a hole


Related Discussions:- How is memory management done using bit maps?

Explain wait for graph, Explain Wait for Graph a. Use a resource alloca...

Explain Wait for Graph a. Use a resource allocation graph to derive a wait-for graph.  b. Wait-for graph acquired by making an edge from p 1 to p 2 iff p 1 is waiting for

Mutual exclusion, With software algorithms for mutual exclusion, such as De...

With software algorithms for mutual exclusion, such as Dekker's algorithm, Peterson's algorithm, or Lamport's bakery algorithm, note that optimizing compilers and out-of-order exec

Virtualization, What factors are involved in choosing the host operating sy...

What factors are involved in choosing the host operating system?

Synchronization, What is the different between basic synchronization and hi...

What is the different between basic synchronization and high level synchronization

Optimal replacement policy, The optimal replacement policy, called OPT, is ...

The optimal replacement policy, called OPT, is to evict the page which will be accessed farthest into the future. Since we can't predict the future precisely, we can't implement OP

What are the different file operations?, What are the different file operat...

What are the different file operations? Create : - Space for the file in the file system update directory table. Write : - file name and data to be written is

How is a process chosen for being swapped either in or out?, How is a proce...

How is a process chosen for being swapped either in or out? Swap out: a.         If the process is idle. b.         If process has been in main memory for a long time.

Explain additional-reference-bits algorithm, Additional-reference-bits algo...

Additional-reference-bits algorithm We can keep an 8-bit byte for every page in a table in memory. The operating system shifts the reference bits right 1 bit, discarding the lo

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd