1 / 12

File Systems

File Systems. Andrew S. Tanenbaum – Moderne Betriebssysteme Kapitel 6.3 & 6.4. Referent: Kevin Schwarz. 1. Gliederung. Implementierung von Dateisystemen Layout eines Dateisystems Verwaltung des Plattenspeichers Leistungsfähigkeit eines Dateisystems Beispiele von Dateisystem. 2.

Download Presentation

File Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. File Systems • Andrew S. Tanenbaum – Moderne Betriebssysteme • Kapitel 6.3 & 6.4 Referent: Kevin Schwarz 1

  2. Gliederung • Implementierung von Dateisystemen • Layout eines Dateisystems • Verwaltung des Plattenspeichers • Leistungsfähigkeit eines Dateisystems • Beispiele von Dateisystem 2

  3. Implementierung von Dateisystemen • Wie werden Dateien und Verzeichnisse gespeichert? • Wie wird Speicherplatz verwaltet? • Wie geschieht dies möglichst effizient und zuverlässig? 3

  4. Layout eines Dateisystems Freispeicherverw. Dateien & Verzeichnisse Bootblock Superblock I-Nodes Wurzelverz. MBR Partitionstabelle Plattenpartitionen 4

  5. Verwaltung des Plattenspeichers • 2 Varianten zum Speichern von Dateien möglich: • Bytes auf der Platte reservieren • Datei in Blöcke aufteilen • Blockgröße? • Zu große Blöcke -> Verschwendung von Speicher • Zu kleine Blöcke -> Schlechte Performance 5

  6. Verwaltung des Plattenspeichers II • Freie Blöcke? • Verkettete Liste (1KB Plattenblock kann 255 Blocknummern Speichern) • Bitmap (n Blöcke benötigen n bits) • Bitmap wesentlich Platzsparender 6

  7. Leistungsfähigkeit eines Dateisystems • Lesen eines 32 bit Speicherwortes • Lesezugriff aus dem Speicher: 10 ns • Lesezugriff auf die Festplatte: 10 MB/s + 5-10ms Spursuche • Lesezugriff auf die Festplatte ist ca. 40 mal langsamer • Performanceverbesserung durch: • Caching • Das Vorauslesen von Blöcken • Die Reduzierung von Plattenbewegungen 7

  8. Beispiele von Dateisystemen 8

  9. Beispiele von Dateisystemen II 9

  10. Beispiele von Dateisystemen III 10

  11. Danke für eure Aufmerksamkeit 11

  12. Fragen? 12

More Related