Linux File System Development

Been trying to catch up on some of my LWN reading (I’m weeks behind at the moment) but have stumbled upon one of those gems of information that LWN has so often – a report on the 2006 Linux File Systems Workshop.

The first page gives a useful introduction into how disk technologies are advancing and the problems that massively increasing capacity versus slowly increasing seek times create for filesystem developers. For instance:

In summary, over the next 7 years, disk capacity will increase by 16 times, while disk bandwidth will increase only 5 times, and seek time will barely budge! Today it takes a theoretical minimum 4,000 seconds, or about 1 hour to read an entire disk sequentially (in reality, it’s longer due to a variety of factors). In 2013, it will take a minimum of 12,800 seconds, or about 3.5 hours, to read an entire disk – an increase of 3 times. Random I/O workloads are even worse, since seek times are nearly flat. A workload that reads, e.g., 10% of the disk non-sequentially will take much longer on our 8TB 2013-era disk than it did on our 500GB 2006-era disk.

The second page reports on the first day of the workshop which covered hardware, errors and recovery and current filesystem design. If you are interested in filesystems or are just curious about how they work and how they can break then please go read it, it’s an outstanding article! Also read the comments, there’s some interesting stuff there too.

The last page then gets into new ideas for filesystem techniques that are designed around fixing the problems that were identified in the first day. This is nicely summarised by the comment:

These goals can be summarized as “repair-driven file system design” – designing our file system to be quickly and easily repaired from the beginning, rather than bolting it on afterward.

Very encouraging. It goes on to describe a number of different filesystem concepts that could be incorporated into new filesystems, including one (chunkfs) that could be pretty much a new filesystem in its own right.

Linux FUSE Port of “Open” Solaris ZFS

Because Sun unfortunately chose to create a new and GPL incompatible license for “Open” Solaris it is not legally possible to directly port their interesting ZFS filesystem code into the Linux kernel, so any Linux kernel implementation would need to be a clean room rewrite under a GPL compatible license.

However, there is a way around this license incompatibility problem for filesystems by using the Linux Filesystem in UserSpace (FUSE) project. It (as the name implies) allows a filesystem to run in user space rather than in the kernel, a system now used by many other filesystem projects as an easy way of providing a filesystem paradigm for all sorts of wacky ideas (including filesystem access to Wikipedia through WikipediaFS).

So the Google Summer of Code 206 project is sponsoring Ricardo Correia in Portugal to port ZFS from “Open” Solaris to FUSE – he’s keeping a blog of his progress too.

Ricardo writes:

I’m very pleased to announce that, thanks to Google, Linux will (hopefully) have a working ZFS implementation by August 21st, 2006.

Good luck to him – I’ve had a demo of ZFS on Alec’s laptop and it looked quite snazzy – it’s kind of a fusion of an online resizeable filesystem & logical volume manager.

Anti Virus Company Recommends You Don't Use Windows

It used to be the joke was “Friends don’t let friends do Windows” – well now it’s a case of many a true word spoken in jest.

The UK anti-virus company Sophos is reportedly recommending that you don’t use Windows any more due to its increasing vulnerability to attack.

Security threats to PCs with Microsoft Windows have increased so much that computer users should consider using a Mac, says a leading security firm.

As someone who is constantly having to fight spam because of Windows PC’s that have become infected by viruses, trojans and other malware I second the call – please think twice before buying a Windows PC!

First Working Prototype of $100 Wind-Up Laptop Demo’d

The first working prototype of the Linux wind-up laptop at the center of the One Laptop Per Child Project has been demonstrated at the Massachusetts Innovation & Technology Exchange What’s Next Forum by Nicholas Negroponte running a cut-down version of Fedora Linux in glowing orange (at least it’s no longer shocking green).

eweek has a good report with pictures about how it stole the show.

eweek photo of the OPC $100 laptop working prototype