Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Weblogic Thread Count configuration

 
Viswa Sethu
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In weblogic 7.0 is there a way to monitor the number of threads that are getting processed and available threads?

Our applicaton is undergoing serious performance issues, We need to configure our thread count to an optimum values based on the behavior of the application.
As most of the pages in our applications is procesed int he server side its better to increase teh thread counts. Currently we have configured to 50 , we are planning to increase to 100.Please advice will there be any issues on increasing the thread count ? Checked the weblogic 7.0 e-docs, they suggested to increase the thread count according tot he application requirement.

If anyone has configured thread count as 100 , please share your experience.

Thanks
Vishy
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Increasing the number of threads is not the guaranteed solution to better the performance.
It depends as to how many processors you have and how much parallelism is there in your application.
Of course these are theoretical terms and in order to really analyze the behavior of your system, you must profile it first using a profiler.
The things that you need to see will be the CPU utilization and context switches.
If you have a lot of context switches and low CPU utilization probably you need to check whether there are some hot locks in the system (any good profiler will tell you this). If there are any hot locks then you may need to eliminate that or else increasing threads will probably not yield much.

What I am trying to say is that you must make an informed decision when doing performance evaluation rather than doing a trial and error. The only way to make an informed decision is to use a profiler.
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Vishy,

What has made you reach the conclusion that you do not have enough threads? What is the machine limited by? (memory/cpu/disk I/O/network I/O)?
 
Viswa Sethu
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nitesh and Kees,

Thanks for yuor reply.
Nitesh,
We have monitored CPU utilization and it has never crossed more than 25%(That is the worst case) , on an average it takes less than 10% through out the day.
Have checked the DB side too ,the CPU and other resource utilization(Memory,I/o,Concurrency) never exceeded 30%.
Hence to optimize weblogic server parameters, we have configured the "Thread Increase" attribute to 5(default 0).
This has contributed an optimum throughput results.
Can you suggest any free and efficient profiler ? I checked (YourKit javaprofiler,JIP) None of them seem to give any better results.

Kees,
Our hardware is quite sufficient for the application that we deployed. Most of the time in a day all the resources are utilized less than 10%.
To ensure app server attributes are configured to handle the concurrent requests and the huge data volume,we need to know the optimum values for the server attributes.

Thanks again for your response.

-Vishy
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!