The IBM implementations of the Java language use native threads --
the result is that every time you do a Java thread creation, you
end up with a new cloned process.  Now this should be pretty fast,
so I am surprised that it stalls like that.  It is possible this
is a scheduler effect.  Do you have a program example you can
share with us?

Also, it is a little old now (by Internet standards) but you 
might take a look at this paper we did at the beginning of 
the year: 
 
http://www-4.ibm.com/software/developer/library/java2/index.html

Arnaud Installe wrote:
> 
> Hello,
> 
> When creating a lot of Java threads per second linux slows down to a
> crawl.  I don't think this happens on NT, probably because NT doesn't
> create new threads as fast as Linux does.
> 
> Is there a way (setting ?) to solve this problem ?  Rate-limit the number
> of threads created ?  The problem occurred on linux 2.2, IBM Java 1.1.8.
> 

-- 

Best Regards,

Ray Bryant
IBM Linux Technology Center
[EMAIL PROTECTED]
512-838-8538
http://oss.software.ibm.com/developerworks/opensource/linux

We are Linux. Resistance is an indication that you missed the point.

"...the Right Thing is more important than the amount of flamage you need
to go through to get there"
--Eric S. Raymond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to