Really old systems and libpthread

If you have a really old DragonFly system, meaning you’ve been upgrading it since version… 1.8 (I think?), you may have libpthread linked to libc_r instead of libxu.  This means that if you have a system that old, you will now need to set THREAD_LIB or just recompile your pkgsrc programs on your next upgrade to something after DragonFly 2.10.   I don’t think this is going to apply to a lot of people.

(I hope I got the lib details right…)

Hammer and the future

Matthew Dillon’s been thinking about Hammer, and how to implement clustering well enough to work as a sort of RAID replacement.  He’s written up a document describing his plans.  Some highlights:

  • writable history snapshots
  • quotas and accounting
  • live rebuilds of data from mirrors
  • and the same history, mirroring, and snapshots as before.

It’s going to be a while before this “Hammer 2” becomes a finished product, though, so don’t count on it for the next release.

A start on TRIM support

Tim Bisson has inital TRIM support working for UFS.  His lengthy posting talks about how it’s done, and shows how much it speeds things up.  He’s looking for testers, so please try it if you have a SSD.  (The usual warnings apply about testing code that specifically deletes things.)

For those not familiar with TRIM in SSD context, here’s the least annoying page with an explanation that I could find in a few seconds of Googling.

GSoC: dsched BFQ, virtio, LVM mirror

Yay acronyms! Brills Peng was accepted for the Summer of Code project “Improve dsched interfaces and implement BFQ disk scheduling policy” – and now there’s a nice writeup describing what’s planned. Also, Stéphanie Ouillon did the same thing for the virtio drivers project.  Adam Hoka also joined in with a summary for his LVM mirror project.  Please keep this up, students.

dragonflybsd.it available

If you are a European resident, Federico Biancuzzi has the DRAGONFLYBSD.IT domain name available to donate. He doesn’t want to let it go and have it taken by a domain squatter. Talk to him at sale@securitydaemon.com if you want to hold on to it for some unspecified time.

Summer of Code DragonFly projects announced

Google’s announced the accepted projects for 2011.  DragonFly has 6 slots!

We had a large number of interesting project proposals; far more than than the slots available.  If you’re one of the students who did not get in, please consider working on your project as time allows.  I know it won’t be lucrative, but I’d still like to see them happen.

Here’s the list of accepted projects:

  1. Implementing a mirror target for device mapper: Adam Hoka, mentored by Joe Talbott
  2. Improve dsched interfaces and implement BFQ disk scheduling policy: Brills Peng, mentored by Alex Hornung
  3. Make vkernels checkpointable: Irina Presa, mentored by Venkatesh Srinivas
  4. Port PUFFS from NetBSD/FreeBSD: nickprok, mentored by Nathaniel Filardo
  5. Bring kernel event notification in DragonFly BSD to its logical conclusion: Samuel J. Greear, mentored by Sascha Wildner
  6. Porting Virtio Drivers from NetBSD to DragonFly BSD to speed up DragonFly BSD as a KVM guest: Stéphanie Ouillon, mentored by Pratyush Kshirsagar

 

Sysbench and DragonFly releases

I did some comparative benchmarking between the 2.6, 2.8, and upcoming 2.10 release for DragonFly.   As several people have guessed, performance has improved significantly, and the difference would probably be even more pronounced if I was using more modern hardware,  e.g. swapcache or a system with AHCI.  I have a mailing list post with details, and here’s the graph that sums it up:

Shorter bars are better(Sorry, no Lazy Reading this week.  Life didn’t co-operate.  At least there’s a pretty graph!)