dsynth details on DragonFly

First, history: DragonFly has had binaries of dports available for download for quite some time.  These were originally built using poudriere, and then using the synth tool put together by John Marino.  Synth worked both to build all software in dports, and as a way to test DragonFly’s SMP capability under extreme load.

Matthew Dillon is working on a new version, called dsynth.  It is available now but not yet part of the build.  He’s been working quickly on it and there’s plenty more commits than what I have linked here.  It’s already led to finding more high-load fixes.

In Other BSDs for 2019/08/24

Incidentally, my employer, REDCOM, uses FreeBSD as a base for its main product, is deployed in rough areas and in high-security government locations, and is one of the few electronics manufacturers still working entirely in the U.S..  REDCOM also has jobs to fill in New York, where I work.  Please, apply if you see a job that interests you – and tell me.

Colo upgrade for dragonflybsd.org, plus future

Matthew Dillon posted an extensive writeup about the hardware changes for dragonflybsd.org; price to performance ratio has been improving so much for multiprocessor machines that we can jump forward both for hosting hardware and for a testbed.

He also mentions his immediate thoughts on what to tackle next, since SMP has been so relentless improved in DragonFly.  It resulted in a very long conversational chain as people weighed in with opinions, so I’ve held off posting it until the conversation finished.  (I chimed in too.)

pkg and pkg-static

If you upgrade DragonFly and one of the shared libraries used by pkg gets updated, you can’t run pkg until you get files, but pkg is the program you use to bring in new files.  This chicken-and-egg problem is solved with pkg-static, a version of pkg built without shared libraries.

You may have noticed some format flip-flopping between pkg and pkg-static if you had to run it after the most recent DragonFly upgrade; that is fixed.  There’s a larger issue of certificate installation identified there; I don’t know a solution to it, but I do want to mention this for next time pkg breaks for someone – pkg-static will work as backup, including to bring in a new version of pkg.

Disk encryption and non-QWERTY keyboard layouts

When you encrypt your DragonFly boot drive, initrd(7) is run to get your system online and able to accept a password to decrypt the drive.  So far, so good.  The initrd program is a minimal userland designed to be small, and it generally works.  However, it assumes a QWERTY keyboard.  If you’re Pierre-Alain TORET and normally use an AZERTY (in this case French) keyboard, that makes it difficult to type the decryption phrase.

It’s possible to patch a different keyboard layout into initrd, and he has documented just how to do that.

A new upgrade method

Remember my post about a new upgrade script?  tse, the author, has happily added in a bunch of suggestions.  I’m intermittently traveling and can’t do anything to test it for days yet – but I’d love to see others try it out.

The bugs issue tracking versions is here: #3197.  Can you, dear reader, try it out?  Do an in-place upgrade on your version, or even a test install with a VM?  I want to see what happens in the wild.