Cow

Cow

Das Copy-On-Write-Verfahren ist in der Informatik eine Optimierungsmethode zur Vermeidung überflüssiger Kopien von Daten, beispielsweise zwischen Prozessen unter Unix-artigen Systemen, insbesondere bei oder nach einem fork-Systemaufruf.

Wenn der Betriebssystemkern eine Speicherseite im Adressraum eines anderen Prozesses verfügbar machen muss, ist es überflüssig, die Daten tatsächlich zu kopieren, d. h. ein weiteres mal im Hauptspeicher anzulegen, wenn die Daten nur ausgelesen, aber nicht beschrieben werden. Es reicht, wenn erst einmal die beiden Prozesse auf ein und dieselbe Speicherseite zugreifen. Erst wenn einer der beiden Prozesse die Daten zu manipulieren versucht, müssen diese tatsächlich (und dann auch nur teilweise) kopiert werden, da sich die Inhalte der Speicherseiten dann unterscheiden.

Dies wird auf modernen CPUs meist mit Hilfe des Pagings realisiert: die beiden Prozesse greifen auf die gleiche Speicherseite zu. Sowohl im Adressraum des Besitzers des Originals, als auch in dem des Besitzers der Kopie wird dieser gemeinsame Speicherbereich als „nur lesbar“ markiert. Findet ein Schreibzugriff statt, wird das Betriebssystem informiert, so dass dieses vor dem tatsächlichen Schreibzugriff die betroffene Speicherseite durch eine tatsächliche Kopie ersetzen kann.


Wikimedia Foundation.

Игры ⚽ Поможем сделать НИР

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Cow — COW, sigle composé des trois lettres C, O et W, peut faire référence à : Coquimbo au Chili, selon la liste des codes AITA des aéroports, Copy On Write, une stratégie d optimisation utilisée en programmation informatique. Chat Over the World …   Wikipédia en Français

  • cow — cow1 [kou] n. [ME cou, cow, pl. kye (southern doubled pl. kyn) < OE cū, pl. cy < IE base * gwou , cow, ox > Sans gauḥ, Gr bous, L bos, OIr bo, Ger kuh] 1. the mature female of domestic cattle (genus Bos), valued for its milk 2. the… …   English World dictionary

  • COW — COW, sigle composé des trois lettres C, O et W, peut faire référence à : Coquimbo au Chili, selon la liste des codes AITA des aéroports, Copy On Write, une stratégie d optimisation utilisée en programmation informatique. Chat Over the World …   Wikipédia en Français

  • Cow — Cow, n. [Prob. from same root as cow, v. t.] (Mining) A wedge, or brake, to check the motion of a machine or car; a chock. Knight. [1913 Webster] …   The Collaborative International Dictionary of English

  • Cow — Cow, n.; pl. {Cows} (kouz); old pl. {Kine} (k[imac]n). [OE. cu, cou, AS. c[=u]; akin to D. koe, G. kuh, OHG. kuo, Icel. k[=y]r, Dan. & Sw. ko, L. bos ox, cow, Gr. boy^s, Skr. g[=o]. [root]223. Cf. {Beef}, {Bovine}, {Bucolic}, {Butter},… …   The Collaborative International Dictionary of English

  • Cow — (kou), n. [See {Cowl} a hood.] A chimney cap; a cowl [1913 Webster] …   The Collaborative International Dictionary of English

  • Cow — Cow, v. t. [imp. & p. p. {Cowed} (koud); p. pr. & vb. n. {Cowing}.] [Cf. Icel. kuga, Sw. kufva to check, subdue, Dan. kue. Cf. {Cuff}, v. t.] To depress with fear; to daunt the spirits or courage of; to overawe. [1913 Webster] To vanquish a… …   The Collaborative International Dictionary of English

  • COW — копирование при записи (англ. Copy on write) COW диалект языка программирования Brainfuck …   Википедия

  • cow — Ⅰ. cow [1] ► NOUN 1) a fully grown female animal of a domesticated breed of ox. 2) the female of certain other large animals, such as the elephant or whale. 3) informal, derogatory a woman. 4) Austral./NZ an unpleasant person or thing. ● …   English terms dictionary

  • cow|er — «KOW uhr», intransitive verb. 1. to crouch or draw back in fear or shame: »The dog cowered under the table after being whipped by its master. SYNONYM(S): cringe, quail. 2. to draw back tremblingly from another s threats or blows. SYNONYM(S):… …   Useful english dictionary

  • cow|ry — cow|rie or cow|ry «KOW ree», noun, plural ries. 1. the brightly colored, smooth shell of a tropical mollusk, used as money in some parts of Africa and Asia: »The cowry, aristocrat among shells, is noted for its high natural polish (Science News… …   Useful english dictionary

Share the article and excerpts

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