SLIDE 1
The Berkeley File System
Background
- The original UNIX file system was implemented on a
PDP-11.
- All data transports used 512 byte blocks.
- File system I/O was buffered by the kernel.
- When UNIX was ported to faster machines like VAX-11,
the original file system bandwidth (typical. 20 KByte/s) was to low.
- It is nothing in the file system interface that makes it
inherently slow, Thus it is possible to keep the file system interface and only change the implementation to make it faster.
1
The Original File System
Why is the bandwidth low?
- The file system used a 512 byte block size. This block
size is to small with 10 ms disk seek time.
- All inodes are located in the first blocks of the file
- system. This creates long seeks between the inode
area and the data blocks at the disk. Commands that alternately read inodes and data blocks (like ls -l) becomes especially inefficient.
- The data blocks in a file may be randomly located at the