Wafl Overview
Wafl Overview
Wafl Overview
More Info
...
WAFL No pre-allocated locations (data and metadata blocks are treated equally). Writes go to nearest available free block.
1-2 MB Cylinders
...
Writing to nearest available free block reduces disk seeking (the #1 performance challenge when using disks).
2008 NetApp. All rights reserved. 2
Write anywhere means that we can write anywhere, so we get to choose where we write.
PRO: The RAID group can be instantly expanded by adding (pre-zeroed) data disks, because no parity re-calculation occurs.
Writes any filesystem block to any disk location (data and meta data)*
New data does not overwrite old data
Allocates disk space for many client-write operations at once in a single new RAID-stripe write (no parity re-calculations)
Writes to stripes that are near each other Writes blocks to disk in any order
Requests are scattered across the disks, causing the parity disk to seek excessively
WAFL writes blocks to stripes near each other, eliminating long seeks on the parity disk.
WAFL uses NVRAM consistency points (NetApps flavor of journalling), thus assuring filesystem integrity and fast reboots. CP flush to disk occurs once every 10 seconds or when NVRAM reaches half full. NVRAM placement is at the file system operation level, not at the (more typical) block level. This assures self-consistent CP flushes to disk. No fsck!
NetApp NV-RAM
File System
TCP/ or UDP/IP
NFS or CIFS Semantic Write Alloc File System
TCP/ or UDP/IP
NFS or CIFS
NVRAM
Disk Driver
NVRAM
Disk Driver
NVRAM-limited performance is a myth Write throughput is limited by the disks or the controller Redo-logging is very space efficient Record only changed data Big win for small writes
10
Conclusion: one seek every 128 blocks or less ( ~1%) wastes at least half of your FC bandwidth!
128 blocks
(seek 1 block)
128 blocks
(seek 1 block)
11
12
Eliminating head seeks, which WAFL does better than any other file system thanks to its full integration with RAID,
TCP over head
128 blocks
(seek 1 block)
128 blocks
(seek 1 block)
14
Summary
WAFL extracts more ops/sec and lowest latency from a single drive due to minimum seeks. This equates to faster overall performance WAFLs anywhere property makes NetApps RAID-4 the performance and scalability winner. Fastest File System in the world with RAID enabled
15