IntelliJ Java IDE
The moose likes Performance and the fly likes Performance Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Performance
Reply Bookmark "Performance" Watch "Performance" New topic
Author

Performance

James Parsons
Greenhorn

Joined: Dec 04, 2002
Posts: 1
WE currenlty run Weblogic on a AIX Server with 4gb of ram, and the heap size is 256m and the threadcout=200, And guess what the system is so slow it hurts,
Any assistance would be great.
James Parsons
Mark Herschberg
Sheriff

Joined: Dec 04, 2000
Posts: 6035
You really need to give people more information in order to get good advice.
First, there's additional hardware info:
- How many processors? what speed? What is cahse size?
- What is the bandwidth?
- What are the network loads and characteristsics?
Second, there's the actual application:
- What are you doing? How does it work?
Then there's usage and load:
- How is it being used?
- How many users per second? What types of requests?
- Are there load peaks? Or those requests of a special type? (e.g. everyone logs in at 9am sharp)
Finally there's system info:
- What else is running on the server? How is it being used?

As a first guess, if you think you need 4G of RAM, why is your heap size only set to 256M? I'd start by upping the initial heap size
--Mark
Caleb Lewis
Greenhorn

Joined: Dec 14, 2002
Posts: 1
Given the fact that you've only given two parameters (heap size and thread count), I'm assuming that you think your problem lies in one of those areas.
A starting point would be to turn verbose garbage collection on, and monitor how many garbage collections you are doing (especially full garbage collections), and how long they are taking. There are many heap related parameters you can fiddle with to try to reduce garbage collection times.
As a general rule, you don't want to spin off more threads than you need, so a good first step would be to determine what that number is. A good way of doing so would be to deploy a servlet to the application server that simply outputs the active count on its thread group. You can then schedule a task that hits that servlet, and saves the output at regular intervals.
 
 
subject: Performance
 
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture