Dirty bit

Dirty bit

The computer hardware concept of a Dirty Bit (Modify Bit) can be used when discussing the Cache or Page replacement algorithms of an operating system.

Page Replacement

When speaking about page replacement, each page (frame) may have a modify bit associated with it in the hardware. The dirty bit for a page is set by the hardware whenever any word or byte in the page is written into, indicating that the page has been modified. When we select a page for replacement, we examine its modify bit. If the bit is set, we know that the page has been modified since it was read in from the disk. In this case, we must write that page to the disk. If the dirty bit is not set, however, the page has not been modified since it was read into memory. Therefore, if the copy of the page on the disk has not been overwitten (by some other page, for example), then we can avoid writing the memory page to the disk: it is already there.[1]

Operating Systems

Similarly, a bit is set when a Windows PC is powered on. When powered off as normal, the bit is switched off. However, in case of power outage or improper (forced) shutdown, the bit will still be on the next time the PC is started. This bit is why Windows sometimes suggests a disk check, etc...

References

  1. ^ Abraham Silberschatz, Peter Baer Galvin, Greg Gagne. Operating System Concepts: Sixth Edition. 2002, ISBN 0-471-41743-2, p. 333.

Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • The Time (Dirty Bit) — «The Time (Dirty Bit)» 200px Sencillo de The Black Eyed Peas del álbum The Beginning Publicación 9 de noviembre de 2010 (ver fecha de lanzamiento) Formato Descarga digital …   Wikipedia Español

  • The Time (Dirty Bit) (Re-Pixelated) — The Time (Dirty Bit) (Re Pixelated) …   Википедия

  • The Time (Dirty Bit) — Black Eyed Peas Veröffentlichung 5. November 2010 Länge 5:08 Genre(s) Techno, House, Dance, Hip Hop …   Deutsch Wikipedia

  • The Time (Dirty Bit) — Single par The Black Eyed Peas extrait de l’album The Beginning Sortie 5 novembre 2010 Enregistrement 2010 Durée 5:15 Genre Electro Hop House Dance …   Wikipédia en Français

  • Dirty Dancing — Données clés Titre original Dirty Dancing Réalisation Emile Ardolino Scénario Eleanor Bergstein Acteurs principaux Patrick Swayze, Jennifer Grey, Jerry Orbach, Cynthia Rhodes …   Wikipédia en Français

  • Dirty Dancing: Havana Nights — Theatrical release poster Directed by Guy Ferland Prod …   Wikipedia

  • Dirty Looks (band) — Dirty Henrik Ostergaard performing in 2009 Background information Origin San Francisco, California, United States …   Wikipedia

  • Dirty Looks — Saltar a navegación, búsqueda Dirty Looks Información personal Nacimiento 1984 Origen San Francisco …   Wikipedia Español

  • Dirty Jobs — logo Format Reality television Starring Mike Rowe …   Wikipedia

  • Dirty Diana — Single by Michael Jackson from the album Bad Released April 18, 19 …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”