MSFN Forum: Overhead of many Threads? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Overhead of many Threads? Rate Topic: -----

#1 User is offline   egrath 

  • Member
  • PipPip
  • Group: Members
  • Posts: 146
  • Joined: 24-May 05

Posted 08 June 2005 - 12:43 AM

Hi there,

Does anyone know if there is a performance impact in Windows 2000/2003 when a Application uses many, many Threads?

We have a Java based Client-Server Application which on the Server Side consists of about 40 concurrent running Java Processes - most of them are running with 100-200 Threads per Process and about 4 Processes are using about 1700 Threads each.

The entire Java Application runs with approximatly 7000-8000 Threads.

Performance of the Application was never very good, but we want to find out why. Would it be possible that the Context switching between the many running threads could be a performance hole?

The spec of the machine running the Application is:

HP DL580 Server
Windows 2000AS/2003EE OS (some servers run 2000, some 2003)
4 XEON's with HT
6 GIG of RAM
/PAE enabled
Application uses JRE 1.3.1
Each server serves about 300 concurrent users


Bye, Egon


#2 User is offline   Gurgelmeyer 

  • Gurgelmeyer
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 27-January 05

Posted 08 June 2005 - 02:04 AM

7000-8000 threads is definately too much. :lol:

It's not just a w2k/w2k3 issue - it's a common Java issue. I went to a presentation at Sun Microsystems awhile back, and they told us explicitly that reducing the number of threads in scenarios like this was one of the the best ways to improve performance. Somewhere at sun.com there's a profiling tool - but I don't remember its name I'm afraid.

Best regards
Gurgelmeyer B)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy