On 2/10/07, Stephen Deasey <[EMAIL PROTECTED]> wrote:
You could try compiling the kernel with support for RTHREADS enabled.

Then compile the rthreads library in /usr/src/lib/librthread

Then link against it for 1-1 user-kernel threads.

Rather than recompiling OpenBSD I decided to start fresh and installed
Debian/sparc instead.  I can compile CVS HEAD and it serves requests
fine.  The control port does not ever respond but I don't really need
it for the project I'm working on so I just don't load nscp.so at the
moment.  Sometime I might go back and poke & try and figure out why...

Naviserver user threads sometimes explicitly to avoid blocking other
threads.  With a user-level thread library any blocking thread will
block the whole process, so the extra threads will just be overhead.

A plain old single process server might perform better. (or multiprocess apache)

But then I'd have to do without the ns_* Tcl API.  :)

Thanks,

Michael

Reply via email to