lkml.org 
[lkml]   [2000]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: high load & poor interactivity on fast thread creation
Date
From
> 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.

Also probably the Java implementation on NT is not creating true threads for
each java thread as the IBM java seems to.

> 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.

The programming real answer is replace threads with state machines and all
your stuff runs faster. Thats often easy to say and hard to do.

-
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:47    [from the cache]
©2003-2011 Jasper Spaans