Se ha denunciado esta presentación.
Se está descargando tu SlideShare. ×

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

Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Cargando en…3
×

Eche un vistazo a continuación

1 de 2 Anuncio

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

Descargar para leer sin conexión

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
.

Anuncio
Anuncio

Más Contenido Relacionado

Similares a Explain the trade-offs between contiguous- noncontiguous linked- and n.docx (20)

Más de rtodd432 (20)

Anuncio

Más reciente (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

×