Content deleted Content added
m sp |
Rephrase; see also: locality of reference; TODO comments |
||
Line 5:
In simple file system [[benchmark (computing)|benchmark]]s, the fragmentation factor is often omitted, as realistic aging and fragmentation is difficult to model. Rather, for simplicity of comparison, file system benchmarks are often run on empty file systems, and unsurprisingly, the results may vary heavily from real-life access patterns.<ref name=workload-benchmarks>{{cite paper |author=Keith Arnold Smith |date=2001-01 |title=Workload-Specific File System Benchmarks |publisher=[[Harvard University]] |url=http://www.eecs.harvard.edu/vino/fs-perf/papers/keith_a_smith_thesis.pdf |format=[[PDF]] |accessdate=2006-12-14 }}</ref>
<!-- TODO: Explain how the efficiency of page cache/buffer cache combined with readahead decreases with fragmentation -->
==Types of fragmentation==
Line 29 ⟶ 30:
Most of today's file systems attempt to preallocate longer chunks, or chunks from different free space fragments, to files that are actively appended to. This mainly avoids file fragmentation when several files are concurrently being appended to, thus avoiding them from becoming excessively intertwined.<ref name=mcvoy-extent/>
A relatively recent technique is [[delayed allocation]] in [[XFS]] and [[ZFS]]; the same technique is also called allocate-on-flush in [[reiser4]] and [[ext4]]. This means that when the file system is being written to, file system blocks are reserved, but
<!-- TODO: Cylinder groups and locality of reference; XFS allocation groups (are they actually relevant?) -->
====Retroactive techniques====
Retroactive techniques attempt to reduce fragmentation, or the
==See also==
* [[Fragmentation (computer)|Fragmentation]]
* [[Defragmentation]]
* [[Locality of reference]]
==References==
|