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. [...]
In: SunOS · Tagged with: illumos, libc, libumem, mdb, SunOS
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 [...]
In: SunOS · Tagged with: SMF, SunOS
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 [...]

