Phoronix benchmarks for Hammer

A Phoronix test of DragonFly’s Hammer filesystem turned  up, via Siju George.  It’s not really a benchmark as much as it is a speed test, and it’s not a realistic comparison, but it’s interesting to see numbers.

They need a graph that shows how much historical data can be recovered by each file system, or how long fsck takes after a crash.

Update: Matthew Dillon points out the many ways these tests are wrong.

Lazy Reading: Clouds, disks, browsers, games

The end of year holidays intruded, so I haven’t had one of these for more than a week.  Sorry!  Merry Christmas, happy new year, etc.

  • Whenever I am tempted to throw family pictures or something similar online in a ‘cloud’ service, I will reread this Jason Scott essay on the ‘Yahoo!locaust’ and come to my senses. (via)
  • There’s a trade-off between size and price for SSDs.  Past a certain point, any drive is generally ‘big enough’, and under a certain price, the cost doesn’t matter.  We’re reaching the magic point where those two trends cross, as with this OCX Vertex 2 SSD drive, 60G in size and only $120 at Newegg.  There’s lots of post-Christmas sales going on.
  • How soon will SSD drives become normal and platter drives the anachronism, like single-core processors are today?  It took less than 5 years for CPUs, I think…  No link for this idea; this is just me theorizing.
  • Tomas Bodzar pointed out this article about 1,000 core CPUs, which I dub ‘kilocore’.  He also linked to these logical domain/logical partition articles on Wikipedia.
  • In this day and age, a website that supports a limited number of browsers and platforms seems anachronistic.  Still happens, though.  (via)
  • This is neat: an online, persistent space game with exploration and combat.  Not EVE, but Lacuna Expanse, playable via web browser.  There’s lots of browser games out there, but here’s the interesting part: the game even has a fully exposed API.
A super-simple install

I was reading this Perl Advent Calendar (that would be good for DragonFly, come to think of it) post about ack, and came across a interesting line:

curl http://betterthangrep.com/ack-standalone > ~/bin/ack && chmod 0755 !#:3'

fetch’ would work just as well on a BSD system. The interesting thing is that it’s a one-liner for installing software that doesn’t make any assumptions about having an existing framework like pkgsrc or aptitude or anything like that – it just grabs the code and plops it in place.  It wouldn’t work for more complex software, but the simplicity is intriguing, to match the Unix-like single, chainable program idea.

For those who haven’t seen it, ‘ack‘ is a grep replacement that automatically takes care of common activities around searching – skipping files that would cause duplicate matches, binary files, etc., handles a larger range of regular expressions, and runs startlingly fast.

Swapcache benefits

Tim Darby was looking to take advantage of swapcache, and got some advice from Matthew Dillon.  This led to a larger writeup that went into the mechanics and advantages of both swapcache and SSDs.  The swapcache(8) page has been expanded with these notes, and I’m sure I need to buy a SSD for my next upgrade.

SSD devices have tumbled into the sub-$100 range for smaller devices; they are perfect for swapcache if you’ve got the spare SATA connector…