Diese Präsentation wurde erfolgreich gemeldet.
Die SlideShare-Präsentation wird heruntergeladen. ×

Explain the trade-offs between contiguous- noncontiguous linked- and n.docx

Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Wird geladen in …3
×

Hier ansehen

1 von 2 Anzeige

Explain the trade-offs between contiguous- noncontiguous linked- and n.docx

Herunterladen, um offline zu lesen

Explain the trade-offs between contiguous, noncontiguous linked, and noncontiguous indexed file allocation. In particular, note the effect on sequential and random access methods ?
Solution
Contiguous File Allocation
+ fast sequential access
+ fast random access
+ low disk space overhead
- external fragmentation
- hard to grow file
Linked File Allocation
+ no external fragmentation
+ easy to grow file
- very slow random access (must search through the whole list)
- potentially slow sequential access (if the list blocks are randomly allocated over the disk surface)
- some disk space overhead to store pointers to the next block.
Indexed File Allocation
+ i-node in memory only when file is open
+ Easy random access
- What if each a file grows beyond the limit of fixed number of disk addresses?
+ Pros
- Cons
.

Explain the trade-offs between contiguous, noncontiguous linked, and noncontiguous indexed file allocation. In particular, note the effect on sequential and random access methods ?
Solution
Contiguous File Allocation
+ fast sequential access
+ fast random access
+ low disk space overhead
- external fragmentation
- hard to grow file
Linked File Allocation
+ no external fragmentation
+ easy to grow file
- very slow random access (must search through the whole list)
- potentially slow sequential access (if the list blocks are randomly allocated over the disk surface)
- some disk space overhead to store pointers to the next block.
Indexed File Allocation
+ i-node in memory only when file is open
+ Easy random access
- What if each a file grows beyond the limit of fixed number of disk addresses?
+ Pros
- Cons
.

Anzeige
Anzeige

Weitere Verwandte Inhalte

Ähnlich wie Explain the trade-offs between contiguous- noncontiguous linked- and n.docx (20)

Weitere von rtodd432 (20)

Anzeige

Aktuellste (20)

Explain the trade-offs between contiguous- noncontiguous linked- and n.docx

  1. 1. Explain the trade-offs between contiguous, noncontiguous linked, and noncontiguous indexed file allocation. In particular, note the effect on sequential and random access methods ? Solution Contiguous File Allocation + fast sequential access + fast random access + low disk space overhead - external fragmentation - hard to grow file Linked File Allocation + no external fragmentation + easy to grow file - very slow random access (must search through the whole list) - potentially slow sequential access (if the list blocks are randomly allocated over the disk surface) - some disk space overhead to store pointers to the next block. Indexed File Allocation + i-node in memory only when file is open + Easy random access - What if each a file grows beyond the limit of fixed number of disk addresses? + Pros - Cons

×