What to do with /usr/obj

When building world and kernel on DragonFly, /usr/obj is where the work files get placed.  This can eat a bit of space, but it can be safely deleted.  If you keep the files around, subsequent rebuilds can be done faster with a quickwork/quickkernel, but this may not matter to you.

(This was answered on the mailing lists by Max Herrgaard, but I don’t have a link to his reply – sorry!)

Huge speed improvements, plus graphs

The two things that make my day!   The work on DragonFly-current has led to some significant speed improvements.  So good, that Samuel Greear’s post on OSNews.org links to graphed results from him and from Francois Tigeot (multi-page PDF) showing the results from pgbench.

The results show a jump in multi-core/processor numbers that vastly exceeds DragonFly 2.10’s performance, and is comparable to FreeBSD 9/10.  Here’s some of what did it.

DESTDIR: 31 left

Almost all the packages in pkgsrc support non-root installation now…  except these last 31.  I recall something about their removal by the next quarterly release if they still don’t work, or maybe just after.  Jump in if one of these packages is useful to you.

Pull pkgsrc from git again

Some cleanup in the CVS -> git process wasn’t happening, so if you have been using pkgsrc 2011Q3 from git (i.e. via make in /usr), re-pull to make sure you have everything.

(The post noting this seems to have been eaten by the mailarchive…  that’ll be replaced.)

COMPAT_43 and COMPAT_DF12 gone

Well, they’re still available, but you don’t want them in your config any more because they can slow you down.  This will only affect you if you are running binary files from DragonFly 1.2 or earlier, or…  I guess a 4.3 BSD binary?  From 1986?  I’m sure there’s some other reason for it to be there.

Reduced memory usage

Francois Tigeot does something very useful: he monitors the resource usage on his systems, and tracks how it changes over time.  Because of that, he noticed that the recent VM changes in DragonFly have made quite a difference in memory usage.  (See the green area in the attached chart, around week 42.)

Quick, someone ask why the total memory used remains constant!

Graphing the recent VM changes

Samuel Greear graphed the performance differences for Postgres and MySQL on DragonFly, before and after the recent VM changes.  Note that 1: this was done a little while ago, so I think the performance difference would be even greater now, and 2: this was graphed versus the already-performing-better 2.12, not the current stable release of 2.10.