SYSV shared memory vs. mmap

Francois Tigeot benchmarked the recent Postgres 9.3 release.  Postgres apparently switched to using mmap instead of SYSV shared memory, and Francois has done this to show the performance differences.  (view the PDF in his post.)  Of course, work has continued since this was posted, so there should be new numbers soon, and new changes I’ll document in a future post.

I haven’t found a reference to the exact decision Postgres made on how to handle memory; please post a link in comments if you know a good source.

NYCBUG, RSS, and SMPng

NYCBUG, the NY BSD user’s group, has an RSS feed for their speaker events, found via Dru Lavigne’s always useful BSD Events twitter.  The next event at the start of October is a talk about SMPng in FreeBSD.  Given that it was the project that in part led to the creation of DragonFly, I’d like to hear about it.  (and even better, have someone more qualified than I compare and contrast that approach with what’s in DragonFly.)

Experimental pmap optimizations

Matthew Dillon has created an experiment: shared page table mappings.  It’s controlled by a sysctl, since it’s still experimental.  The real-world effect is reducing the number of memory faults as a process uses up memory, and decreasing the overall memory usage.  The obvious benchmark is Postgres speed; this makes the initial expansion of memory usage much less of an drag on speed due to a high memory fault rate.

If all this mention of faulting sounds like a problem, remember memory faults on BSD are normal; that’s how programs indicate they need more memory space by causing a fault.  This is in contrast to Linux, where memory is allocated a different way.  Or at least, that’s my understanding.  (If you know better, please comment.)

Mailman conversion for dragonflybsd.org mailing lists

If you’re on any of the dragonflybsd.org mailing lists, I’m converting them over from bestserv to Mailman.  I’ve done bugs@, commits@, hammer@, and test@ so far, and I’ll move the old archives over to the same format as soon as I find an actual mbox file with the old messages in it.  The remaining lists should be tomorrow.

(If you got a note tonight from a list you were sure you were unsubscribed from, that was my fault; sorry!  I didn’t understand the format of the bestserv user lists.)

3.0.3 images up

I’ve uploaded DragonFly 3.0.3 disk images, both ISO and IMG.  They should start appearing on a mirror site near you in the next 24 hours.  This took a while after the tagging, I know, but I wanted to make sure every one of them booted.  I didn’t on a previous release, and regretted it.