This very long commit message from Sepherosa Ziehau details the UDP changes he’s made. It’s mostly technical details, but at the end he mentions this little tidbit:
“For ‘kq_connect_client -u’ test, this commit gives 400% performance improvement (31Kconns/s -> 160Kconns/s).”
If you are on DragonFly, using pf, using altq, and using fairq to control usage, there’s a latency bug that Matthew Dillon recently fixed. He’s posted an announcement and committed fixes to master and 3.8, so it’s only an upgrade away.
Not the first time that pun has been deployed, of course, but: BSDNow 053 has a Hammer tutorial, along with an interview of Reyk Floeter about OpenBSD’s httpd, along with the usual recent news and some links to some things I haven’t seen, like pfSense tricks.
Thanks to Francois Tigeot, the drm/i915 driver now supports Haswell processors, and the special FDI and DDI ports they use. I am late posting this.
You can now start moused with an argument, so it will look at the right device. In most cases, I imagine “
/etc/rc.d/moused start ums0” will be what anyone wants. Credit to Michael Neumann for the update. Perhaps
moused_flags="ums0" will do it too? I haven’t tried yet.
This will overwrite your /etc/devd.conf.
If you are using the ATI Mach64 drm driver on DragonFly, Francois Tigeot would like to know. He’s done something that breaks it, but he’s making the educated guess that this more-than-10-years-old card is no longer in use.
Because of some structure changes made by Matthew Dillon while chasing a pf bug, you will need to do a full buildworld/buildkernel on your next update – if you are running DragonFly-master. 3.8 users are unaffected by the bug or the change.
The server that hosts shiningsilence.com is getting old, and it’s time for me to go to 64-bit DragonFly. It’s audience opinion time: what have you purchased lately, and liked? What would you suggest?
A relatively trim list for the holiday weekend.
Your unrelated comics link of the week: “Horse.” One of my favorite single panels of all time.
I went from 1 link to lots all in one night.
It seems pkg 1.3.6 was slightly scrambled. If you happen to have built and installed it, John Marino has special instructions on how to update to 1.3.7. If you are on DragonFly 3.8, you can follow those instructions now, and if you are on 3.9, that repo should be ready for an update in the next few days.
BSDTalk 244 is 28 minutes of conversation with Ken Moore about Lumina, the new BSD-specific desktop environment for PC-BSD. I’ve been watching the PC-BSD source updates, and there’s a lot of activity.
It’s not about taxes, but reverse SSH tunnels. Episode 052 is also an interview with Shawn Webb about ASLR in FreeBSD, along with the normal commentary and news.
They also catch BIND’s removal in FreeBSD and OpenBSD, but not in DragonFly, which I just realized I should have linked before.
I ended up with this server rebooting as we were affected by Time Warner’s giant outage. In the process of rebooting, I found I must have done an upgrade and forgotten to reboot to make sure everything still worked, as mod_php had disappeared and mysql decided it didn’t want to work. Things appear to be OK now…
You should perform a full world and kernel install if on master.
Several people (including me) have been getting bit by a problem: when performing an installworld with a changed kernel, the vn kernel module is loaded, but it was built by the previous kernel and may cause problems when it doesn’t match up.
To fix that, vn is now built in, instead of being a separate module. The rescue initrd (which is what is being mounted when it has this problem) is now installed via a ‘make rescue‘ command that can wait until a successful installworld and reboot.
I hope you like your links eclectic!
- A Tale of Postmortems. As a work strategy, this strategy can restore trust that would otherwise be lost when people outside IT/Engineering experience problems. (via)
- Unix: Viewing your processes through the eyes of /proc.
- “Writing Aliens”, or, “Duchamp, Markov, Queneau: A Mostly Delightful Quilt” Data patterns as seen by a science fiction author, and how it comes out in history and twitter. Really, a good presentation just for the range it covers. More bits on the author’s blog. (via)
- A brief history of USB, what it replaced, and what has failed to replace it. I was just thinking the other day about how much I hated PS/2 connectors, especially because I encountered a KVM switch in a rack that didn’t do USB. (via)
- How Flash changes the design of database storage engines. It’s funny that when people say “Flash” nowadays, they mean the disk product, not the software.
- Tweetable Mathematical Art. (via)
- RGB LEDs that change color if a Server has a problem/is not responding. (via)
- Not Rocket Science. An astonishingly good idea. (also via)
- Years later, this image still gives me a mild jolt of panic.
- Halfassed implementations of SSH are no fun.
- Thursday, IRL. I just like the expression he makes.
Your unrelated comics link of the week: John Pound, one of the original Garbage Pail Kids artists, nowadays creates his art by coding it – mostly by writing out Postscript. He doesn’t draw sketchbooks – he generates them. (via)
Another long list. These are making my Friday nights take some extra effort.
If you remember the earlier work to support DragonFly on An Acer c720 Chromebook, it’s been repeated for the c720p. The “p” means it’s a touchscreen.
DragonFly’s using pkg 1.3, at least on master, and I’ve seen a few people report an error message when performing ‘pkg upgrade’. The error message usually includes something like:
pkg: need to re-create repo Avalon to upgrade schema vers
If you get this, do ‘pkg update -f’ and it will complete.
I didn’t get the pun until I said the title out loud. BSDNow 051 has an interview with Eric Le Blan of Xinuos, a webserver-building tutorial, and of course more material.
DragonFly’s dhclient will now retry failed interfaces and handle being re-run gracefully. This is a blessing for anyone who has had a flaky link. Matthew Dillon’s made two other improvements for booting that will also improve boot time when networks go missing.
Here’s a nice advantage for dports and DragonFly: since it’s an overlay on FreeBSD ports, it’s possible to move to newer or different versions of software without waiting for it to happen in FreeBSD. For example: there’s a newer version of the xorg intel driver now in dports – newer than what’s in ports.
If you are tracking DragonFly master, your next kernel build should be full, not quick.
If you have a DragonFly system with an iwn wireless chipset, and you are having trouble connecting and running in the 5Ghz part of the spectrum only, here’s a tip: the -ht switch may fix it.
For once, a shorter week.
Your unrelated comics link of the week: Wrenchies. I like Farel Dalrymple’s style.
Bonus unrelated: New Cyriak video!
It took me a little while, but DragonFly 3.8.2 images are uploaded now to the main site. Check the 3.8.2 changelog if you didn’t before. This is a recommended upgrade for the newer OpenSSL, and should otherwise have little impact on the programs you have installed.
BSDNow has reached the milestone of 50 episodes, and this week’s show has VPN setup as a tutorial, Robert Watson interviewed, and of course more discussion on most every flavor.
There’s been good progress in Francois Tigeot’s work on Haswell graphics support in DragonFly. If you have one of those newer units, you should be able to use the i915 driver with it now – as long as you keep acceleration off. (You won’t notice any difference in 2D anyway.)
This week’s Lazy Reading started as overflow from last week.
- Cron checker. Cron commands to English. (via)
- Unboxing the Magnus supercomputer. Aw, Crays don’t look as cool as they used to. (via)
- OpenVMS gets a new lease on life. (via) Also, there are public OpenVMS installations like deathrow (via) and pub1 (via).
- Unix: Controlling privileged access.
- Unix: Top networking commands and what they tell you.
- runit instead of systemd, on Void Linux. A ray of hope. (via)
- The future of iced coffee. Why can’t someone put the same treatment into tea? (via)
- What ORMS have taught me: just learn SQL. (via)
- Docker security with SELinux. Containerization, which is all the rage these days, does not enforce the same security wall as with a virtual machine – containers can ‘leak’ to their parent operating system. I’m not sure enough people realize this. (via)
- A very tiny, monospace, bitmap font. Check the screenshot of it being used on a 320×200 screen. (via)
- lowRISC. Open source System on a Chip.
- The Worst API Ever Made. I can’t judge if that’s really so, but it’s always fun to watch trainwrecks. (via)
- My history with Forth & stack machines. Forth is a crazy language, in a good way. (via)
- Lawless Legends, an Apple][ FRPG – in development. (via)
- A Mac IIci
Your unrelated comics link of the week: Quantum & Pixel. Another Boulet comic, this time exploring 2D physics.
A relatively short week; I’m on the move today.
I’ve tagged DragonFly 3.8.2, which exists mostly to accommodate the latest release of OpenSSL. (Security fixes, which should not be a surprise.) I will build images as soon as I get a chance.
If you have a i915 video chipset (which appears to be most every recent laptop), Francois Tigeot would like you to try his huge patch. It doesn’t support Haswell chips yet, though it lays some of the groundwork for it.
BSDNow 049 is titled “The PC-BSD Tour”, and gives exactly that during the show. They also talk about some recent news items that I missed, and point at some interesting things, like some recent BAFUG videos that made it online.
If you have a particular favorite thing in DragonFly, Damian Vincino would like to know about it.
There’s a new version of pkg out – 1.3. (via) That’s an announcement on the FreeBSD-ports-announce list. Since DragonFly also uses pkg, that means it’s available for DragonFly too. John Marino reported on IRC that he’s testing a bulk build now, using it on DragonFly.
NYCBUG is holding a OpenBSD Ports ‘class’ on August 6th (day after tomorrow). You can make a port of something you need, or work on something existing, hackathon style. See the announcement for details – you need to warn someone you are coming for building access.
There’s a lot to read this week… I’m not sure how that happened.
- Schwa, two decades later. I had this, then.
- Famous Women of Computer Science. At least some of the names should be familiar to you. (via)
- Anil Dash on the shifting meaning of “public”. An outgrowth of the jerktech problem.(via)
- The History of Autocorrect. (via a newsletter)
- -2000 lines of code. An early Macintosh story. (via)
- Bill Atkinson’s name in the previous link made me think of Burger Bill (Rebecca, now) Heineman, which led to this: Mentions of Wolf3D for the Apple ][gs. It’s findable, even.
- And that Sheppyware link reminds me of Sweet16, a really nice ][gs emulator for the Mac. Excuse me as I wander down the halls of memory…
- Cool-old-term. Requires qt5 and I don’t know if it works on BSD… but it’s neat looking. (via)
- Sculpting text with regex, grep, sed, awk, emacs and vim. There’s some more good resources in the source for this link.
- At the same site: SSH Hacks.
- hicat, cat with syntax highlighting. (via)
- I’ve mentioned ISO 3103 before, or at least I thought I did, but there are apparently 25 more tea-related standards.
- That led me to find George Orwell, Christopher Hitchens, and Douglas Adams all had Opinions on Tea. I must have linked to one of them before, but I can’t find it. Douglas Adams is correct, though: most people in the U.S. have never had a decent cup of tea. (via)
- Origins of common UI symbols. (via)
- Movie Film, at Death’s Door, Gets a Reprieve. This interests me because it’s in the town where I live, but there’s something else. The vast, vast quantities of film out there was filmed in the last 100 years or so. Most of that film is still readable, though the older nitrate films are fragile. If all that video was digital, how would we access it? I don’t have a single digital storage item in my house older than 10 years, except maybe a Zip disk or two, and there’s no way I can read them. (via)
- How recursion got into programming: a comedy of errors. I expected the article to quote itself in the middle or something similar; Internet jokes are warping my expectations. (via)
- Software, it’s a thing. Talking about how software exists when it is used, not just as a saved file but rather as a multitude of activities – and how that relates to preserving that history. (via)
Your unrelated comics link of the week: Mmmm… diagrams. That describes me. The subject and artist, Scott McCloud, has a book called Understanding Comics that is an excellent discussion of perception and communication. His exploration of visual “closure” is good for anyone who has to think about interfaces.
I was thinking this was going to be a short week, but nope.
As you can probably guess somewhat from the title, BSDNow 048 has an interview about LibreSSL, with Brent Cook. There’s also the normal news roundup, and other recent events.
A frequent question people ask when trying Hammer is “How can I do software RAID to cover a disk failure?” Hammer provides for streaming one volume to another, so you can duplicate drives, but there isn’t an automatic failover mechanism as there is with a RAID setup. The first answer is usually “get hardware RAID“; my preferred solution. The remaining software solutions are vinum, ccd, and lvm for DragonFly.
The July issue of BSD Magazine is out, and it contains several articles about pkg, for use on FreeBSD, PC-BSD, and DragonFly. The article on DragonFly and pkg was written by Siju George.
Rust has been ported to DragonFly by Michael Neumann. His blog has implementation details, and you can pull from his repo to get a buildable version. This may be useful, as he notes, for anyone wanting to build Rust on other BSDs.
I missed this last week because I was on the road: BSDNow 047 is up, titled DES Challenge IV, has some followup on recent topics like pf in FreeBSD and the recent OpenBSD hackathon, plus an interview of Dag-Erling Smørgrav.
It’s all multimedia day here, as BSDTalk 243 is also out with 16 minutes of conversation with Ingo Schwarze about mandoc. Mandoc is the man replacement in OpenBSD and built-but-not-yet-used in DragonFly. ‘man replacement’ is probably an oversimplification.
I was low on time but I still brought the links!
Your unrelated link of the week: Summer cakes. The second recipe is from Nicola Humble. I just read her surprisingly interesting history of the cookbook in the UK, hence the link. Plus, I’m hungry.
Part of this was done while traveling, but still a decent week for links.
Thanks to Zachary Crownover, rcreload is available in DragonFly. (It’s always good to see a new contributor name.)
Nuno Antunes brought in a significant number of fixes for libradius. He’s been doing other work recently on netgraph7 support, so I’m linking to this as a ‘signpost’ commit.
If you were looking for something to do, finishing Francois Tigeot’s sound update would help a lot of people. He’s currently tied up with i915 support work. The patches need device cloning to work with devfs, and midi removal.
As mentioned before, the mrsas(4) driver works best for ‘Thunderbolt’ RAID controllers. Now, the switch has happened.
Tethering now works via the urndis(4) device, from a patch contributed by Sascha Wildner/tested by Yellow Rabbit.
(Updated for correct attribution)
I spent this week watching an older Cisco ASA slowly lose its ability to see parts of the Internet. How did I fix it? pfSense.
Your unrelated link of the week: Avery Monsen’s Vines. Vines are an excellent way to make a very short comedy sketch. Infinite Waffles and Break the Silence are my favorites so far. (via)
More than the usual source commit messages this week.
While Matthew Dillon was testing the new up-to-256-processor support for DragonFly, he added a few sysctls, one of which helps qemu performance when emulating a lot of processors. I note it here in case it’s helpful to someone else.
There’s an open source meetup at a hackerspace near me, happening tomorrow. Well, today by the time most people read this. Anyway, it’s at Interlock, starting at noon. I don’t think I’ll make it, but I’m always happy to see this stuff happen in my own town.
BSDNow 046 interviews Brian Drewery, talks about tunneling through DNS ports (an useful trick to get around network paywalls, if it’s what I think it is), and of course more general discussion of BSD topics.
HOPE X starts tomorrow in New York City and runs through the weekend. There will be some BSD people there. (see first line of link.)
DRM (Direct Rendering, not Digital Rights) on DragonFly will normally eat all the memory it thinks it needs. However, vm.dma_reserved can now be set to a fixed limit in /boot/loader.conf. By default, vm.dma_reserved on DragonFly is set to 16M, and can be set higher. I think this is necessary when running higher-resolution screens… Don’t quote me on that, though.
Thanks to Nicolas Thery, there’s a POSIX semaphore test suite on DragonFly, ported from FreeBSD. Anyone want to integrate it into dfregress?
There’s a recently talked about bug in SYSRET that apparently affects a lot of operating systems, including Linux and several BSDs. It looks like DragonFly is not affected, but Matthew Dillon has put in changes just in case.
Francois Tigeot has been working on making i915 video support work better; with his latest update, it’s worth trying the Intel-specific driver instead of vesa if you have both the 915 chipset and are running X.
Matthew Dillon changed powerd on DragonFly so that the system is set to max performance if powerd is killed. Now you’ll know why your fans turned on!
Alex Hornung has added a ChaCha algorithms and Fortuna-based CSPRNG to DragonFly’s random device. You can pick what runs with the sysctl kern.rand_mode, and some other changes.
It’s a manageable list this week.
Your unrelated comics link of the week: Formicapunk. Boulet’s version of analog technology.
Finally, a much more eventful week. I already noted LibreSSL’s release.
The portable (meaning ready to be brought into other operating systems) version of LibreSSL is out.
BSDNow episode 45 is up. This one is an interview with Josh Paetzel of iXSystems. No tutorial this week because Allan Jude is at the devsummit in the UK, an event I totally did not know existed.
Some dports packages can’t be installed in combination with others. The easy way to find the conflict without doing the install? Look for CONFLICTS= in the Makefile. If you don’t have the dports tree on disk, you can always look online.
If you’re looking to use LDAP on DragonFly, follow this thread (read the first, keep going) as people talk about implementing it, what they installed, etc. I haven’t tried it myself, yet.
The mfi(4) driver has had some data corruption problems on “Thunderbird” series RAID controllers. There’s a newer driver, mrsas(4), that replaces mfi(4) for these controllers and does not have these issues, but switching may mean new drive locations and therefore some work to get booting correctly again. Sascha Wildner has an extensive writeup about what this entails, and how to switch now if you have that hardware (recommended).
ACPICA has been updated by Sascha Wildner to version 20140627, which as you can guess from the version, is the most recent. See the included changelog for what’s different.
DragonFly now supports running on up to 256 CPUs. 256 is the initial limit on the basic interrupt controller, and it can be extended further. It’s been tested on 255 CPUs so far, since that’s the highest number of CPUs you can bring up in qemu.
I was out sick for a few days this week (Norwalk virus ain’t fun), and so there’s a whole lot of links to follow.
- The History of the Pocket Knife. I link to it because the pictures are pretty, and because a multitool is one of the more useful physical tools you can have. (via)
- Ooh, a new James Mickens video! This is a sort of antidote to the overoptimistic Scott Hanselman video. Computers are a Sadness, I am the Cure. (via)
- Book review: The Art of Unix Programming.
- Computing Across America.
- Again, not DragonFlyBSD.
- Some interesting thoughts and actions on copyright. I bought the bumper sticker the author’s talking about, directly from him.
- Uh oh.
- Multi-process architectures suck. Yet that’s everything we work on these days. (via)
- The March Towards Go. I keep meaning to sit down and actually try a project in Go. (via)
- UNIX Tricks. Some Linuxisms in there, but oh well. (via)
- Vim as Language. Not a bad description. Related by association: I get tired of seeing the little-avatar-plus-name-plus-job-title that gets stuck on so many blog posts. (via)
- An interview with Damien Conway. He’s a very smart and direct person, so the interview is worthwhile. (via)
- Patching the Newton. Some interesting early history. I remember holding a Newton and saying “This should work like a phone.”
- BOOTSTRA.386 – A Bootstrap theme that will entertain you, or maybe give you painful flashbacks. (via multiple places)
Your unrelated link of the week: The 1987 Crystal Light National Aerobic Championship. Imagine there was no Internet access other than what you can telnet to, and nothing on TV other than this. That’s 1987.
Another ‘quiet’ week – lots of commit activity in the other BSDs, but not a lot to point at directly.
The 44th BSDNow episode is out, with an interview of Craig Rodrigues, a tutorial on creating pre-patched OpenBSD ISOs, and the usual discussion of news items, including DragonFly’s recent pf changes.
(I don’t get the pun in the title this time, darnit.)
Matthew Dillon changed the default keep-policy in DragonFly to:
set keep-policy keep state (pickups, sloppy)
This is to match other BSDs (which? I don’t know) and reduce overhead, according to the commit.
A note for everyone: use Hammer default on a very busy filesystem, and you will eat a lot of disk space since all file changes are recorded. (I’ve done this to myself a few times.) Francois Tigeot has a list of tips on how to keep that from happening.
I am pasting the announcement verbatim because NYCBUG is having some hardware issues with their mailing list archive. It’s interesting for both subject matter and because you get to see the inside of about.com. RSVP soon so you can get in!
2014-07-02 – Introduction to Timekeeping, Steven Kreuzer
6:45, about.com (1500 Broadway enter on 43rd Street, 6th Floor)
Notice: RSVP to rsvp at nycbug.org and bring photo ID. RSVPs must be
received by 2 PM, day-of.
Time is a funny thing. You can spend it, save it, waste it and kill it,
but you can’t change it and there is never any more or less of it.
Everyone knows what it is and uses it every day but no one can seem to
In this talk I will provide a brief introduction to time, timekeeping,
and the uses of time information, especially in scientific and technical
The max number of CPUs on DragonFly just went from 63 to 64. This is really just a side effect of preparation to move up that limit, but I am entertained by the single-digit bump.