LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] anyone have any experience of java thread problems on linux ?

[ILUG] anyone have any experience of java thread problems on linux ?

Brian Foster blf at utvinternet.ie
Wed May 8 20:19:29 IST 2002


  | Date: Wed, 8 May 2002 15:50:01 +0100
  | From: "Laur Ivan" <Laur.Ivan at corvil.com>
  | 
  | Hmm.  Zillions of threads are usually a bad thing :)  I'd go for
  | multiplexing: rather than having(/creating) a thread for each request,
  | get a limited (apache style..?) number of threads, each handling
  | requests from a pool.  It should greatly reduce the number of threads
  | you actually need to create.

 "how bad" zillions of threads are depends on the HW (CPU
 and caching), SW (OS and run-time libs), and duty cycle of
 the threads --- at least.  yes, generally, on most *ix systems
 I'd avoid zillions of executing threads (esp. if the threads
 are kernel-scheduled); but that needn't always apply on
 some RTOS/microkernel systems, and may not apply in some
 cases on specific HW platforms.

 however, from reading between the lines, I suspect the person
 who first raised this topic has no choice in the matter; the
 HW is a given, the application is zillion-threaded, and is
 not in that person's power to modify / request-to-be-modified
 (at least within an acceptable time-frame).   my apologies if
 my guessing is wrong here .....

 I must wonder, which such a large number of threads, just
 which Linux limit is being hit, which other limits might
 also be hit, and which of the limits are really hard?

cheers!
	-blf-
--
 Innovative, very experienced, Unix and      | Brian Foster    Dublin, Ireland
 Chorus (embedded RTOS) kernel internals     | e-mail: blf at utvinternet.ie
 expert looking for a new position ...       | mobile: (+353 or 0)86 854 9268
  For a resume, contact me, or see my website  http://www.blf.utvinternet.ie




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell