I’m not sure what IFQ stands for, but Sepherosa Ziehau’s added it. It appears to be based on an idea from Luigi Rizzo called ‘netmap‘. In this case, network packets are grouped together before being placed onto the network interface’s hardware queue. That means better packet per second performance without a corresponding increase in CPU usage, as Sepherosa Ziehau’s report lists, along with needed sysctls.
Hope your presents are interesting this year…
The Digest was down over the last 12 hours or so – sorry! Upgrading this system took a bit longer than planned. I upgraded to Apache 2.4, and had to figure out all the config changes, and several packages didn’t like upgrading.
I’ve resisted upgrading for a long time, mostly because I think I could recreate the entire Apache 1.3 config file layout from memory. For the benefit of anyone else, this checklist of Apache errors and corresponding modules helped tremendously. Also, pkg_leaves is a great, if minimal, way to find packages you don’t need.
I started this Lazy Reading early, since I had so many links it overflowed into the next week. Merry almost Christmas!
- Here’s an in-depth review of Guilded Youth, an interactive fiction game that hearkens back to the old days of BBS usage. (Do I need an interactive fiction tag to complement the roguelike one?)
- Dear Open Source Project Leader: Quit Being A Jerk. I really think part of DragonFly’s success, despite being such a small, esoteric project, has come from being generally tolerant.
- Vmail, a Vim interface to Gmail. This seems pretty slick. Looking further, the author has a number of other Vi/Vim-related projects, like a Vim wiki, Vim newsreader, Vim iTunes controls, and more. Also something really clever: the equivalent of ‘tail -f twitter.com‘ (via)
- How I got four errors into a one-line program. All via git.
- Go for C programmers. (via)
- Mars Code. I like the statistic that the lines-per-hour of code was <10; it points out that not all metrics apply, all the time. (also via)
- I never thought I’d actually see e17 come out.
- XKCD has a good summary of the recent Instagram licensing mess, and perhaps a good summary of social media in general. I’m always surprised when I see a business using Facebook or something similar as their primary customer contact method.
- Why is grep always fast? Here’s a very technical explanation of why. There’s more.
- Bunnie Huang is building a laptop. All the extra headers and analog bits remind me of the dearly departed BeBox. (Bunnie mentioned previously here) (via)
Your unrelated link of the week: I work at a salt mine. One of the highlights of my job is when I’m in the mine and need to get somewhere quickly; I use a 4-wheeler to drive. (I’m licensed to operate it.) There’s no stop signs, no stoplights, and generally a whole lot of straight roads with no obstacles or traffic. It can be a fun drive. However, it’s not as cool as driving on the moon. (via)
I could have sworn I noted it before, but as Venkatesh Srinivas points out, there’s a port of cpdup to Linux. Also, if you’re using cpdup to copy material out of a Hammer volume’s history, use the -VV switch.
Pkgsrc has entered a ‘freeze’ for their next quarterly release, which would be pkgsrc-2012Q4. (DragonFly 3.2 ships with 2012Q3) The freeze ends and the release happens at the end of the year, assuming no surprises.
DragonFly 3.2.2 has been tagged. The tag commit has a list of the fixes; this is a bugfix release, but it’s a good one. Download an ISO (they should be at the mirrors by now) or update your system.
Sepherosa Ziehau has been making a lot of commits to increase packet-per-second rates without increasing CPU usage. He’s published a sort of progress report/benchmark to show current performance levels. It sounds like he’s expecting even better performance in the future, though I’m not sure how much more he could push out of it, since the bulk performance appears to be close to the rated capacity of the copper…
I hope you like links, and lots of history. It’s been a bumper crop this week.
- The Radio Shack catalog from 1983. Including such gems as 156,672 characters of storage per $600 disk. For perspective, that’s about $4 per kilobyte. A randomly-picked SSD is about 0.000001 cent per kilobyte. Previously linked here: Radio Shack 2002. (via)
- Hey, O’Reilly has a comprehensive list of all their open-licensed book titles, for download. Found from a link to Unix Text Editing. I bet much of that book still applies, despite being from 1987. (indirectly via)
- The MOS 6502 and the Best Layout Guy in the World.
- Shady Characters Miscellany #20: On Typewriters. The ancestor of the TTY. It’s still just barely possible to buy a new typewriter. I worked for a printer cartridge remanufacturer for a few years; the highest-profit items were typewriter ribbons, because nobody else made them.
- The UNIX philosophy and a fear of pixels. I think the author’s conflating philosophy and style. (via)
- Bell Labs CSR Selected Technical Reports. (via) Warning: they’re all in Postscript. Includes Brian Kernighan’s “Why Pascal is Not My Favorite Programming Language“, and I’m linking there to a non-Postscript version to make your life a little easier.
- If the idea of non-standard hexadecimal breaks your brain a little bit, go a little bit farther and read The Story of Mel. I had to read the solution twice to get it.
- Nostalgia for the more open web of 10 years ago. It’s true, and also makes me feel sad. (via)
- Google60, Google via punchcard and printer. It’s more stylistic than literal, but still fun. (via)
- If you’re near San Francisco, a hackerspace there called Noisebridge wants more open source people – including BSD users – showing up.
Your unrelated link(s) of the week: Said the Gramophone and The New Shelton Wet/Dry. The first one’s a music blog, and the second’s more general. Both have a somewhat random feel with the images used – completely random in the New Shelton’s case. It’s interesting that there’s such a flood of text and images on the Internet that you can reassemble content out of all of it. You can’t push over a bookshelf and call it a library, but you can build a whole new narrative from random assembly of Internet data.
BSDCan 2013, which is being held in Ottawa May 17th-18th, has a call for papers out. You’ve got until January 19th to submit, so just about a month.
There’s been a large number of fixes and improvements to DragonFly 3.2 lately, so I’m planning to roll DragonFly 3.2.2 this weekend so there’s an image with them all.
This is mostly unrelated to DragonFly: I need to get more Python experience in the next few months, mostly around the OLPC project. I’ve only messed with Python when needed to get an existing script running, etc. Any Python users that can point me at a good learning resource?
BSD Magazine for December is out, offering the usual mix of articles in a free PDF. There’s several Postgres articles in this one.
If you were thinking you wanted to try gcc 4.7 with pkgsrc, John Marino’s described the option you need to set. It only works in pkgsrc-master right now (because of changes John made), and not every package in pkgsrc will build.
The advantage is that it’s also possible, with the same syntax, to set pkgsrc to build with gcc 4.4. This means the default compiler in DragonFly can be changed to gcc 4.7 and pkgsrc packages that aren’t compatible can still be built.
Update: Check this minor change: ‘?=’ instead of ‘=’.
Whomever submitted this story to Slashdot really doesn’t like FreeBSD; they’re describing FreeBSD’s annual end-of-year fund drive as failed. The month-long drive is only about a week old and has already picked up donations at a faster rate than any previous year’s donation drive, but apparently the poster – and Slashdot’s editors – can’t be bothered to do math. While we’re on the topic, donate to the FreeBSD Foundation; they do good things.
(There’s DragonFly too, though we’re not as ambitious or officially 501(c)(3) non-profit.)
If you’re running DragonFly 3.3, make sure you perform a full buildworld and buildkernel when you next upgrade. Sascha Wildner is mentioning this as a cautionary note after experiencing issues when using quickkernel, after removing a number of syscalls. Once past that point, it should be safe to go back to quickworld/quickkernel.
Matthew Dillon has written up another update on his progress with HAMMER2. (I need to be consistent in how I write that.) He has disks being exported and mounted on other systems, and adds an explanation of some of the issues around creating reliable multi-master setups. Before you get too excited, no, multi-master isn’t working yet, and this is not production ready.
There’s more benchmarks for DragonFly vs. other systems on Phoronix. It has the same problem as previous benchmarks; some of the benchmarks may have no connection to reality (what does the “Himeno Poisson Pressure Solver” actually test?), and almost every system has a different version of the gcc compiler. So it’s meaningless in terms of comparative or absolute performance. On the other hand, DragonFly doesn’t do badly.
You can also look at the comments to see someone absolutely freak out over the very existence of things that aren’t Linux. I’m not sure if it’s actually trolling, since the comments are so exactly wrong.
Matthew Dillon turned off the machdep.pmap_mmu_optimize sysctl by default, since wider testing has found some bugs. It’s only on by default on DragonFly 3.3 systems, so there’s nothing to do if you’re on 3.2-release. The feature will come back after some bugfixing.
