TinyFS Visualization

Channel:
Subscribers:
37
Published on ● Video Link: https://www.youtube.com/watch?v=l3K-8Yl1mSc



Duration: 0:58
347 views
2


TinyFS is a log structured file system designed for flash memory that can be used with .NET Micro Framework embedded devices.

The video is of a .NET Micro Framework emulator which emulates the SPI interface of the Spansion S25FL032P Flash Memory Chip.

Each block is a 512 byte cluster and are coded with the following colours:
White - Represents erased memory
Green - Represents sector markers indicating that the sector has been formatted
Blue - Represents allocated space
Yellow - Represents orphaned space that needs to be compacted so that the sector can be formatted for reuse.

You see the compaction start to happen when the disk starts to get full, When the number of free clusters falls below a threshold the system will compact and reclaim the orphaned space. You see this as globs of white appearing and then being used by new data.

As the data is compacted you will notice the effect of the defragmentation of the data into more continues blue blocks, this is because the test that is running is writing many small blocks of data without any buffering.







Tags:
netmf
flash
file
system