Messages in this thread |  | | Subject | Re: high load & poor interactivity on fast thread creation | Date | Thu, 30 Nov 2000 16:12:53 +0000 (GMT) | From | Alan Cox <> |
| |
> 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/
|  |