On Mon, Sep 23, 2002 at 08:10:24PM -0400, Jeff Garzik wrote:
> Andy Isaacson wrote:
> > Of course this can be (and frequently is) implemented such that there is
> > not one Pthreads thread per object; given simulation environments with 1
> > million objects, and the current crappy state of Pthreads
> > implementations, the researchers have no choice.
> Are these object threads mostly active or inactive?
Mostly inactive (waiting on a semaphore or FIFO).
> Regardless, it seems obvious with today's hardware, that 1 million
> objects should never be one-thread-per-object, pthreads or no. That's
> just lazy programming.
You can call it lazy if you want, but I call it natural.
(Of course I realize that practical considerations prevent users from
creating 1 million kernel threads, or even user threads, today.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:41 EST