Archive for the ‘SunOS’ Category

Per-thread caching in libumem

libumem was developed in 2001 by Jeff Bonwick and Jonathan Adams. While the Solaris implementation of malloc(3C) and free(3C) performed adequately for single threaded applications, it did not scale. Drawing on the work that was done to extend the original kernel slab allocator, Jeff and Jonathan brought it to userland in the form of libumem. [...]

Posted on July 16, 2012 at 10:50 am by rm · Permalink · Comments Closed
In: SunOS · Tagged with: , , , ,

Racing in the depths of SMF

I recently found myself having to dive into the depths of SMF — The SunOS (illumos / Solaris) Service Management Framework — to debug a nasty race condition between svccfg import and svcadm enable -s. Understanding what happened sent me chasing around and dealing with a cheerful cast of characters that you might or might [...]

Posted on April 4, 2011 at 11:15 am by rm · Permalink · Comments Closed
In: SunOS · Tagged with: ,

A trip down into <sys/regset.h>

Just the other day I was working with Ryan Dahl on debugging an issue he hit while working on adding support for Crankshaft –  the new JIT for Google’s v8 — for SunOS. This came about from Bryan’s discovery of what can happen when magic collides. Now, this is a rather delicate operation and there [...]

Posted on March 14, 2011 at 8:16 am by rm · Permalink · Comments Closed
In: SunOS · Tagged with: