diary at Telent Netowrks

I'm hacking threads for SBCL AMD64#

Sun, 30 Jan 2005 00:19:50 +0000

I'm hacking threads for SBCL AMD64. I've only just started on it, but there a couple of things I think I've decided on:

Of course, there's still a big gap between "uses some pthreads interfaces" and "runs everywhere that pthreads does". Purists will point out that the pthreadt may be a non-integral type (e.g. a structure) and we shouldn't be comparing them with each other; I will respond by pointing out that we're still using POSIX RT signals, and (at least for the moment, until I can work out whether the pthreads locks are adequate) futexes. Which probably ties it down more effectively portability-wise than any weird architecture that uses a struct for pthreadt.

So far after an evening's hacking it compiles host-1 and target-1, then bails out very early in host-2 as I still haven't done any of the lisp stuff: need VOPs for set, bind, unbind, symbol-value etc.

Oh, before I forget: if you are running a highly loaded site on Araneida with a mod_proxy in front of it,

ProxyIOBufferSize 131072
(where 131072 comfortably exceeds the size of your largest likely response) seems to make a quite impressive difference to its speed/stability.