NIS under Mac OS X Leopard

After my LDAP server stopped working I had to re-configure my Mac to use NIS which caused me a lot of problems under Mac OS X in the past. But it seems that Apple actually fixed NIS support in Mac OS X Leopard. During the two days I used NIS as the directory service on my Mac I didn’t experience any login failures or NFS problems. AutoFS, the new automounter, even picked up the hierarchical Solaris-style automounter maps that my NIS server provides.

Since yesterday evening my Mac is using LDAP again after I managed to fix the LDAP server. But it is good to know that I can use NIS as backup solution.

Posted in Mac | 2 Comments

Imperial War Museum Duxford

Only three years after moving to Cambridge Silke and I finally managed to visit the nearby Imperial War Museum Duxford. It is Chris Cunningham’s fault that we finally made it. He visited Duxford two weeks ago and published a lot of photos in his blog.

We took advantage of the nice weather last Saturday (which is a very uncommon phenomenon on a Bank holiday weekend) and drove to Duxford at noon. As the museum is located on a former airfield of the Royal Air Force it covers a wide areal. We spend an hour walking around and looking at various planes outside:

We even saw a Hurricane performing aerobatics over the airfield.

After a lunch break we made our way through some of the many hangars. We started with the Battle of Britain hangar, continued to the restauration hangar and finally reached the The American Air Museum. And there it was, the aeroplane I wanted to see most of all, just right in front of me: The SR-71 Blackbird.

I have been fascinated by this aeroplane since my childhood days. And I wouldn’t have dreamed of standing in front of one of them.

There was so much more to see in Duxford, and Silke and I didn’t even manage to enter all the hangars. I guess we will have to come back to see the rest. 🙂

Posted in Free Time | Comments Off on Imperial War Museum Duxford

WAPBL vs. Soft Dependences

A few weeks ago I posted about NetBSD’s new journaling technology WAPBL. I received a lot of questions concerning the benchmark results that I published. People were especially interested in a comparison with FFS using soft dependences. I hadn’t used this mode in my original benchmark because my personal experiences with soft dependences weren’t very positive.

I decided nevertheless to repeat the benchmark using the default mode (no mount options), asynchronous mode (-o async), soft dependences (-o softdep) and WAPBL (-o log). I also changed the benchmark itself:

  • Before each benchmark run the file system is initialized using a block size of 16KB and a fragment size of 2KB. As no space is reserved at the end of partition WAPBL has to use an in file system journal.
  • During the tar phase the benchmark extracts the NetBSD 4.0 source tar archives ten times into seperate directories. The file set is now considerably larger than the main memory of the test machine. The source tar archives were fetched from a memory file system before this phase to make sure that the buffer cache is pre-populated.
  • During the rm phase the benchmark removes the 10 directories it has created previously.
  • Both phases are finished by running the sync command and unmounting the file system to make sure that all buffers have been written to disk.
  • The times quoted in the table below include the time it took to unmount the file system. The values were calculated by taking the average of four runs of the benchmark. All values are denoted in minutes:seconds.
Benchmark synchronous soft deps WAPBL asynchronous
tar 155:56 39:06 35:52 34:07
rm 59:55 9:11 4:36 4:18

Let’s have a look at the results:

  1. The synchronous mode (synchronous metadata writes) provides the worst performance, the asynchronous mode the best. Anything else would have been a big suprise.
  2. Soft dependences provide much better performance than the synchronous mode. But they can be considerably slower than the asynchronous mode depending on the work load.
  3. WAPBL is slower than the asynchronous mode but not by much. It is always faster than soft dependences.

Considering these benchmark results and the fact that only WAPBL can recover from a system crash without an expensive file system check it is the clear winner, at least in my humble opinion.

Posted in NetBSD | 7 Comments