public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ray Bryant <raybry@austin.ibm.com>
To: Arnaud Installe <a.installe@ieee.org>
Cc: linux-kernel@vger.kernel.org, ainstalle@filepool.com
Subject: Re: high load & poor interactivity on fast thread creation
Date: Thu, 30 Nov 2000 08:47:49 -0600	[thread overview]
Message-ID: <3A266895.F522A0E2@austin.ibm.com> (raw)
In-Reply-To: <20001130081443.A8118@bach.iverlek.kotnet.org>

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/

  reply	other threads:[~2000-11-30 15:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-30  7:14 high load & poor interactivity on fast thread creation Arnaud Installe
2000-11-30 14:47 ` Ray Bryant [this message]
2000-11-30 16:11   ` Arnaud Installe
2000-11-30 16:37     ` James A Sutherland
2000-12-27 11:01   ` Ruth Ivimey-Cook
2000-12-27 17:11     ` Michael Rothwell
2000-12-27 17:25       ` Gregory Maxwell
2000-12-27 17:32         ` Larry McVoy
2000-12-27 19:43           ` Andrea Arcangeli
2000-11-30 16:12 ` Alan Cox
2000-11-30 23:00 ` David Lang
2000-12-01  9:47   ` Arnaud Installe
2000-12-01 21:20     ` David Lang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A266895.F522A0E2@austin.ibm.com \
    --to=raybry@austin.ibm.com \
    --cc=a.installe@ieee.org \
    --cc=ainstalle@filepool.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox