Make upgrade

Because of the GCC2/GCC3 work (which, incidentally, will allow other compilers like TenDRA to be used in system compilation), do a “make upgrade” after your next installworld. This will clean up now-stale compiler files, plus update files in rc.d and so on.

Benchmark setups

In a discussion about benchmarks, it was noted that /etc/malloc.conf changes can help benchmarks tremendously. Rahul Siddharthan suggested ‘/etc/malloc.conf -> H' and Jeremy Messenger suggested '/etc/malloc.conf -> aj

Also, Matt Dillon made a number of suggestions on what to check when benchmarking DragonFly vs. FreeBSD (4 or 5)

Matt Dillon quote follows:
Continue reading “Benchmark setups”

Prelinking reported

Simon ‘corecode’ Schubert pointed out prelinking should be mentioned on the 2003 report; here’s the text that will soon show up on that report:

Prelinking capability was added to DragonFly by Simon ‘corecode’ Schubert, which allows faster loading of applications that use a large number of dynamic libraries while running, like Qt/KDE. It is not currently hooked into the system or any port building process.

ssh bug fixed

Matt Dillon fixed an apparently long-term problem in OpenSSH where a server can hang because it has a lot of data to send, but no immediate resources to do it with.

Reproduce it like so:
limit filesize 64k
ssh remotebox -n cat /usr/share/dict/words | cat > junkfile

Idle hands do the daemon’s work

Eirik Nygaard was looking for something to do; Max Laier pointed out removal of #if defined(__FreeBSD__) / #if __FreeBSD_version > 5 would help, and Jeffrey Hsu indicated backporting the UFS2 size extensions would also be good.

I’ll quote my own followup to say there’s plenty of non-coding tasks available, too.

Paying off already

David Rhodus imported Hyperthreading changes from FreeBSD which allow you to automatically use Hyperthreading on supported CPUs with just the regular multiprocessor options turned on in your kernel; e.g. options SMP, options APIC_IO.

However, the DragonFly version has no idling loops in it to reduce CPU resource contention. Because of the way DragonFly schedules per-CPU/sends IPI messages, there’s no performance issue caused by multiple CPUS HLTing. Already, a benefit.

KDE Korrected

Dave Leimbach has added changes to KDE in CVS to allow kdebase to compile on DragonFly. This is in the actual KDE source code, not a ports override.