Alex Hornung has posted an elaborate summary of his I/O scheduler work, with details on usage. He reports speed improvements under heavy load. If this sounds interesting to you (and it should), it’s possible to test his changes right now.
Month: March 2010
Venkatesh Srinivas’s new sysctl, “debug.panic” is available for those who want to panic their machine on purpose, but don’t have direct access to the keyboard.
Alex Hornung has been working on an I/O scheduler; he’s made some graphs to show results so far. They’re plain, but pictures are always fun.
Thanks to work from Samuel J. Greear and Alex Hornung:
- Install Firefox (natively)
- libflashsupport and adobe-flash-plugin
- mount linprocfs
- null mount devfs within the linux system
There’s occasional video and audio sync problems, but Johannes Hofmann has already found a fix.
Steven Rosenberg, who I’ve linked to before, is trying BSD again. The linked post is a “story of my install” format.
Based on a comment from John Merino on this very Digest, I managed to assemble some statistics on binary pkgsrc package use. See my full post for the details, including some analysis.
Constantine Aleksandrovich Murenin posted his work on fan control, involving Winbond Super I/O Hardware Monitors. He’s had a series of commits up to this point, and this message nicely sums up the work done, including the presentations for it at BSDCan last year and AsiaBSDCon this year. Even if you aren’t planning to adjust your system cooling, it’s a surprisingly in-depth writeup, with more details available.
In an effort to catch up…
- Matthew Dillon made a change to how material in memory is paged out; it may improve things depending on how much paging your system already does.
- The AsiaBSDCon OpenBSD papers are online, with mention of video of the presentations.
- Use keys for your SSH login, cause this will only get worse.
- Ten Shell One-liners. The first one, using your favorite editor on the command line, is one of those things I knew about, but didn’t know to do. (caveat: some Linuxisms)
- Want to test a big xorg update for pkgsrc? Of course you do.
The naming convention for the daily snapshots of DragonFly has changed, to make the file names more readable. This may lead to some confusion as the mirrors settle, but it’ll pan out. If you run a mirror, double-check your downloads.
Stephane Russel was having trouble printing with OpenOffice and lpr on DragonFly. He fixed it, and I’m linking to his explanation because someday, someone will have the same problem and be looking for the solution…
Every time a bulk build of pkgsrc packages is completed, a report is uploaded listing what built and what didn’t. Since there’s so many reports from the now-automated build, I’ve sorted it by architecture and release, to make lookups faster.
This is handy if you’re looking to fix pkgsrc apps on DragonFly, and you need a target. It’s also a good way to see if a desired module exists as a binary.
We actively need more people to do the small but plentiful fixes to make sure as many pkgsrc packages work as possible. Are you interested? Speak up.
There’s a lot to read, so if you understand it, that’s great. I’m passing it on without other comment.
We’ve got a third year in Summer of Code!
The timeline shows about a week and a half for planning, and then student applications begin on the 29th of March, and run to April 9th.
If you want to participate as a student, start planning now by talking with people on IRC (#dragonflybsd on EFNet) or on the mailing lists. You cannot be over-prepared.
Simon ‘corecode’ Schubert’s host for DragonFly, chlamydia.fs.ei.tum.de, is down for good. Since it had excellent bandwidth, it was frequently used as the source for a lot of the DragonFly mirror sites out there.
If you were using it for your own mirror, switch to mirror-master.dragonflybsd.org, and tell Matthew Dillon at @dragonflybsd.org your contact info so you can be notified of changes. (If you’re not mirroring, please download from the nearest site that is.)
Newegg is running some specials: a 64G Kingston SSD for $140, a 256G (yikes!) Crucial SSD for $660, and a Sans Digital port multiplier for $110. The SSDs are good for using swapcache(8), though 256G is probably overkill. Doesn’t make me want it less, though…
The BSD Conferences channel on YouTube now has updated captioning, which will be useful if you don’t follow spoken English too well.
As if Alex Horning wasn’t busy enough with his Linuxulator update, he’s also made it possible to have a vinum root volume in conjunction with using devfs.
Alex Hornung has committed his initial work on Linux support, which is over 6,500 lines so far. (Thanks, Alex!) He’s continuing to work on it, though going by his commit message, Java, Opera, Tomcat, etc. are supported so far. The only major item missing at this point is Flash. There are other followups, such as this note about chrooting into the Linux subsystem.
I’ve been building this one up:
- Marc Espie’s post about autoconf holds true; Linux is in danger of becoming a monoculture in itself, similar to Windows.
- The BSDCan 2010 schedule has been posted. (via) Will this be the year I finally make it to BSDCan? Maybe.
- This post about communities (in general, online, not just software) is interesting. So far DragonFly has managed to avoid the drama-with-a-capital-D that afflicts other communities over time. Here’s a reason to not want growth…
- Always have working backups. ALWAYS. (via)
- I once went through almost exactly this, except it was a phone system that spanned several U.S. states and China/Mexico. Asterisk is awful, except that every commercial phone system is worse.
- A very on-target assessment of the iPad from a longtime Apple developer makes me think of something: will the iPad be good for open source? Not as a platform, but as a way to push developers to open source systems, where program development doesn’t require approval from a single company with unclear guidelines. Even the single interface port on an iPad is proprietary, and requires licensing.
- It’s really nice to read about a successful open-source software business that did not hinge on investors or being bought out, but rather on, you know, actually doing business, as seen in this writeup of OpenNMS. (via)
“Device initiated power management” via AHCI is now possible, thanks to Johannes Hofmann. If I understand it correctly, it lets the computer handle power reductions automatically, which is more efficient than setting by hand.
Damian Vicino has posted about plans for an expanded second “BSDDay-AR” (a BSD event in Argentina) this year. If you want to show and give a talk, let him know. It’s always good to hear about a BSD event expanding.
Jan Lentfer has accomplished something rather dramatic: the removal of BIND from the base system. It’s not actually out yet, but I daresay it will be after the 2.6 release, freeing people up to install any DNS server from pkgsrc – including BIND.
Alex Hornung has taken on a very overdue and very necessary project: an update of linux binary support. His code is available for anyone who wants to try it. Testing so far is working, but it could really use something complex, like Java with OpenOffice or tomcat, or perhaps Firefox/Flash. Will it make it into the 2.6 release, which is potentially a week away? Maybe – testing like the above would help.
p.s. we would all individually owe Alex a beer for this.
I gots a Summer of Code org application to write up, so you get a linkdump:
Have you ever wondered if building more than one pkgsrc package at a time can be a problem? Others have too, and apparently there’s a fix. If you don’t want to have to get to a command line to find the answer, it’s:
The type of locking that will be done if competing processes
attempt to do work on one package directory simultaneously.
* none: No locking takes place at all.
* once: When the lock has already been aquired by another
process, the current process is terminated.
* sleep: When the lock has already been acquired by another
process, the current process will sleep for PKGSRC_SLEEPSECS
seconds and then try again.
You should also set OBJHOSTNAME when you are using the same
copy of pkgsrc on different hosts, maybe via NFS. This is because the locking process writes its process ID into the lockfile, and process IDs on different hosts are unrelated.
See also: LOCALBASE_LOCKTYPE, WRKDIR_LOCKTYPE.
We have several potential Summer of Code mentors already, but if you want to get in on the action, let me know. Org applications start Monday, and I’d like a count before then…
Michael Neumann has added his port of the e1000 driver from FreeBSD, though he doesn’t recommend using it yet. He’s looking for testers who have this hardware.
The ‘freeze’ for pkgsrc-2010Q1 is scheduled to start March 16th, which will be right around the same time of the DragonFly 2.6 release. The freeze lasts 2 weeks, usually, so new packages for 2.6 will be built probably about mid-April, based on this info…
clang, which many people look to as a gcc replacement, is now able to build itself. (Thanks John Marino for the heads-up, some time ago) It can also build world and kernel on DragonFly, going on the work of Sascha Wildner!
Using the pkgsrc package, put
in /etc/compilers.conf and then set $CCVER to “clang” when building:
env WORLD_CCVER=clang make -DNO_GCC44 buildworld
I haven’t tried this, so any errors in description are mine, not Sascha’s – can someone verify? I don’t have a test system to run it on right now.
Edit: see Sascha’s comment for the definitive method.
I think I’ve almost caught up on my backlog of Things To Post:
More links from Dru Lavigne.