state-threads
[Top] [All Lists]

Re: some questions

To: Vianney Lecroart <lecroart@xxxxxxxxxx>
Subject: Re: some questions
From: Gene Shekhtman <gsh@xxxxxxxxxx>
Date: Thu, 01 Mar 2001 12:36:43 -0800
Cc: state-threads@xxxxxxxxxxx
Organization: Abeona Networks, Inc.
References: <00d201c0a175$513160d0$0901a8c0@vianneyl>
Sender: owner-state-threads@xxxxxxxxxxx
> Another question: is it possible to create a poll of real thread (around
> 100) and each real thread manage around 50 state thread?
> can we mix system threads and state threads without problem?

I can answer this one.  No, you can't mix system (POSIX-, solaris-,
linux-, etc.) threads with state threads.  The ST library was designed
to use process as the only "kernel execution vehicle" (many-to-one
model).  To take advantage of multiple CPUs you should create multiple
processes.

Why do you need such a large pool of "real" threads?  Do you do a lot
of disk I/O?

Regards,
Gene



<Prev in Thread] Current Thread [Next in Thread>
  • Re: some questions, Gene Shekhtman <=