3 Replies Latest reply on May 14, 2003 7:29 AM by mhenman

    Performance Tuning - Thread Configuration

    jie.deng

      Hi There,

      I've been looking for information on how to configure JBoss thread behavior, such as execution thread count, socket reader threads,... But I am not able to find any organized information on this (we did buy the official JBoss doc sets). What I am trying to do is to fine tune thread bahavior where I don't either over commit the running threads (therefore causeing too much context switching) or under commit the threads (create too long a processing queue). I feel now the default config has too many processing threads. I wonder if anyone has any pointer to this topic.

      Jie

        • 1. Re: Performance Tuning - Thread Configuration
          mabusto

          I've the same problem.

          Try to increase the number of processor in tomcat or MaxThreads and MinThreads in Jetty app descriptor

          • 2. Re: Performance Tuning - Thread Configuration
            sysuser1

            Anyone has an answer to this ? I'm trying to find a configurable "thread count" or execute queues for thread execution. I know this is a very important performance tunable in WebSphere and WebLogic. Is there such a thing in JBoss ?

            Another question is ... is there a JBoss performance tuning guide for the server ? I'm not looking for a best-practices EJB/CMP app development guide for performance... I'm looking more for server performance tuning like thread count, pooling, caching, transactions, memory management, app server I/O and other server tunables.

            Thanks,
            Trev

            • 3. Re: Performance Tuning - Thread Configuration
              mhenman

              For Jetty, look in
              <JBOSS_HOME>/server/<SERVER_NAME>/deploy/jbossweb-jetty.sar/META-INF/jboss-service.xml

              Look at the section that resembles:




              10
              100
              30000
              5000