lkml.org 
[lkml]   [2000]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: high load & poor interactivity on fast thread creation
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
raybry@austin.ibm.com
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:49    [from the cache]
©2003-2011 Jasper Spaans