Informatiker Board (http://www.informatikerboard.de/board/index.php)
- Themengebiete (http://www.informatikerboard.de/board/board.php?boardid=1)
-- Technische Informatik (http://www.informatikerboard.de/board/board.php?boardid=7)
--- Writeback-Cache- Berechnung der anzahl der Bits für Tag und Stausinformationen (http://www.informatikerboard.de/board/thread.php?threadid=3654)


Geschrieben von monade25 am 12.07.2017 um 12:44:

  Writeback-Cache- Berechnung der anzahl der Bits für Tag und Stausinformationen

Hallo,

gegeben ist ein Writeback-Cache mit Cachelinegröße vn 64 byte.
Der Cache sei 4Megabyte groß.
Hautspeicher ist 2Gbyte.

Wieviele Bit müssen für Steuerinformationen(Tag, Statusinformationen)
bereitstehen wenn ein direct mapped Cache zum Einsatz kommt.


Ich habe folgende Werte errechnet:

16 Bits für den Index
6 Bits für Offset
9 Bits für den Tag.

Wie sieht es mit valid Bits und dirty Bits aus?
Muss man diese auch mit aufzählen?


Forensoftware: Burning Board, entwickelt von WoltLab GmbH