Welcome to WebSphere-World!

     Main Menu
· Home
· Topics
· Downloads
· Forums
· Submit News
· Top 10

     Other Modules
· Sign In / Your Account
· Members List
· Statistics
· Feedback
· Need a break? [Games]
· About this site / FAQs

     Who's Online
There are currently, 90 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

     User's Login
Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

     GameHighScores

WebSphere-World: Performance

Search on This Topic:   
[ Go to Home | Select a New Topic ]

 Tracking CPU consumption programmatically in zWAS

PerformanceThis API is very handy if you need to figure out which part of your code is consuming MIPS on zWAS.  WebSphere on zOS has special API [pdf] to retrieve that information.  

Posted by billylo on Thursday, May 10 @ 09:40:09 EDT (1610 reads)
(comments? | Score: 0)

 DataPower XC10 caching appliance as a side cache for XI52

PerformanceXC10 is a generic caching appliance that provides external caches to Java apps (e.g. as an external cache provider for WebSphere dynacache) and non-Java caching (e.g. as a cache for XI52 integration appliance.)

Charles Le Vay and his team provided an introduction here.

Posted by billylo on Monday, March 12 @ 05:37:07 EDT (1525 reads)
(comments? | Score: 0)

 Auto-generate a thread dump when WAS suspects the existence of a hung thread

PerformanceWebSphere has built-in hung thread detection, but it does not show you the full stack trace of the hung thread or what's blocking the execution of the offending thread.  The solution is to enable an automatic thread dump when WebSphere finds a suspicious hung thread.  This technote describes how to do it.

I'd consider this a best practice and would recommend it to most installations.  Thread dump is fairly lightweight (unlike heap dumps) and can provide very valuable debugging information.


Posted by billylo on Thursday, March 17 @ 15:50:35 EDT (2520 reads)
(comments? | Score: 0)

 Sizing WebSphere systems

PerformanceThere are a few good tools out there for sizing WebSphere systems:

Hope you find them useful too.

Posted by billylo on Tuesday, November 09 @ 23:05:56 EST (1785 reads)
(comments? | Score: 5)

 Setting JAX-WS web services client timeout in WebSphere

PerformanceA few of my teammates find it difficult to get this working properly. I hope this write-up and example code below would help you. It's actually not too hard.

What can I adjust?

There are three timeouts you can set:

1. CONNECTION_TIMEOUT: The amount of time WebSphere JAX-WS client would wait to establish a http/https connection (default is 180 seconds)
2. WRITE_TIMEOUT: The amount of time the client would wait to finish sending the request (default is 300 seconds)
3. RESPONSE_TIMEOUT: The amount of time the client would wait to finish receiving the response (default is 300 seconds)

How can I set them in my application code?

You can adjust them by setting properties on the requestContext. See code sample below.

HelloWorldSOAPProxy proxy = new HelloWorldSOAPProxy(); // generated proxy class

Map requestContext = ((BindingProvider)proxy._getDescriptor().getProxy()).getRequestContext();
requestContext.put(com.ibm.wsspi.webservices.Constants.CONNECTION_TIMEOUT_PROPERTY , "1");
requestContext.put(com.ibm.wsspi.webservices.Constants.WRITE_TIMEOUT_PROPERTY , "2");
requestContext.put(com.ibm.wsspi.webservices.Constants.RESPONSE_TIMEOUT_PROPERTY , "40");

proxy.sayHello("Billy");

Note: The property value in the Map must be a String; and in seconds.

My code does not work in my environment. How do I troubleshoot it?

Use the WebSphere AdminConsole to enable this trace specification (on the client side): "com.ibm.ws.websvcs.*=all=enabled:org.apache.axis2.*=all=enabled"

You should see something like this in the trace (if you set the response timeout).

[04/08/2009 19:28:37:937 EDT] 00000000 > ibm.ws.websvcs.transport.http.SOAPOverHTTPSender prepareHttpRequestHeaders(): com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSender@33233323 Entry
[04/08/2009 19:28:37:953 EDT] 00000000 3 ibm.ws.websvcs.transport.common.ConfigFromJAX_WS ...ConfigFromJAX_WS.getReadTimeout() : 40
[04/08/2009 19:28:37:953 EDT] 00000000 3 ibm.ws.websvcs.transport.http.SOAPOverHTTPSender syncTimeoutValue 40000 ms for http

Additional tip:

If you are using a standalone Java client (outside of the J2EE container), you can set the WebSphere traceSpec using system properties.

System.setProperty("java.util.logging.manager","com.ibm.ws.bootstrap.WsLogManager");
System.setProperty("traceSettingsFile","MyTraceSettings.properties");
System.setProperty("java.util.logging.configureByServer","true");

and put your traceSpec in a file (e.g. MyTraceSettings.properties) on the working directory.

traceFileName=c:/temp/trace.log
com.ibm.ws.websvcs.*=all=enabled:org.apache.axis2.*=all=enabled



Posted by billylo on Sunday, March 28 @ 16:43:04 EDT (8586 reads)
(comments? | Score: 4.66)

 WebSphere admin scripts for tuning

PerformanceWAS7 has a set of Performance Tuning related wsadmin scripts (as a template) to make it easier to set commonly changed settings (e.g. heap size, http keepalive, etc.)  for different stages (dev, perf test, prod).   See the PDF here for details.

Posted by billylo on Sunday, November 22 @ 13:22:43 EST (1903 reads)
(Read More... | 434 bytes more | comments? | Score: 0)

 websphere 7 performance in windows

Performancegreensky writes "Check out this pdf on websphere 7 performance benchmark http://go.microsoft.com/?linkid=9664195 and the site http://www.websphereloveswindows.com/
"

Posted by billylo on Friday, June 26 @ 07:48:33 EDT (1684 reads)
(Read More... | 1 comment | Score: 0)

 My WebSphere application is running slow, but I can't figure out what's wrong

PerformanceThere is a new free tool which can monitor method response time and locks in real time.  It is called IBM Monitoring and Diagnostic Tools for Java - Health Center.  IBM has created a few youtube videos (overview, installation and usage) introducing this new tool. 

(works on Windows, Linux, AIX and zOS)

Posted by billylo on Sunday, June 14 @ 17:43:52 EDT (1480 reads)
(Read More... | 1 comment | Score: 0)

 WAS Cache Monitor

Performancegr8shadow writes "The IBM Extended Cache Monitor for IBM WebSphere Application Server provides you with functionality not available with the cache monitor that is supplied with WebSphere Application Server."

Posted by billylo on Monday, April 07 @ 08:24:15 EDT (1848 reads)
(comments? | Score: 0)

 New tool for analyzing verbose gc output

PerformanceNew tool from IBM Hursley Lab on analyzing verbose gc output... see linked dW article for details.

Posted by billylo on Monday, October 15 @ 11:32:22 EDT (3280 reads)
(Read More... | 5 comments | Score: 0)

 Web Services maxConnection switch

PerformanceIn WAS 6.1, you can control the maximum number of outbound web services connections using a property.  It was limited to 5 to 25.  If you need a higher number, you can apply this fix from IBM support.

Posted by billylo on Tuesday, October 09 @ 09:32:13 EDT (1703 reads)
(Read More... | 1 comment | Score: 0)

 New tool that measures SI-Bus performance

PerformanceA new standalone tool that provides statistics on WAS SI-Bus performance.

Posted by billylo on Wednesday, January 31 @ 07:32:27 EST (1777 reads)
(comments? | Score: 0)

 C/C++ and Java Performance Analysis Toolkit

PerformanceThe Performance Inspector for Windows package is a suite of performance analysis tools that can be used to identify performance issues in C/C++ programs and Java applications. It generates a detailed analysis with graphical and textual views to improve the performance of developing products in a way that’s less intrusive than most analysis tools.

Posted by billylo on Friday, October 06 @ 11:35:22 EDT (1479 reads)
(Read More... | 1 comment | Score: 0)

 HeapAnalyzer v1.4.2 for Java on Linux Released

PerformanceHeapAnalyzer version 1.4.2, a graphical tool for discovery of Java heap leaks, is an update that fixes defects in the Java profiler parser. Through use of a heuristic search engine and analysis of heap dumps, it can reduce the amount of time spent on digging through code in search of leaks in Java applications on Unix and Windows.

Posted by billylo on Friday, October 06 @ 11:33:08 EDT (1719 reads)
(comments? | Score: 0)

 Eclipse Real-Time JVM Analysis Tool for Linux

PerformanceIBM TuningFork: Visualization of Real-Time Systems is an Eclipse-based visualization and performance analysis tool for real-time applications with support for Java, C++, Real-time JVM, and Linux. TuningFork enhances data exploration and performance analysis by coupling a powerful data-processing mechanism with a high-performing user interface.

Posted by billylo on Friday, October 06 @ 11:28:46 EDT (1216 reads)
(comments? | Score: 0)


     Search Box



     Related Sites
News for WebSpherians

RSS Data Feed

WeDoWebSphere.de

WebSphere.org

WebSphere Help, Tips and Tricks Blog

WebSphere Community Blog



     Links
IBM WAS Support FAQs

WebSphere e-Fixes FTP






WebSphere is a registered trademark of International Business Machines Corporation in the United States or other countries or both.
Please note that this site is a user-driven community site. It is not operated by IBM. Information is provided on an as-is basis and it may or may not be supported by IBM.

PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.25 Seconds