<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>5613</bug_id>
          
          <creation_ts>2007-10-12 16:37</creation_ts>
          <short_desc>Profile Java WS Core container/dispatch code base</short_desc>
          <delta_ts>2008-09-02 10:03:24</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Java WS Core</product>
          <component>Campaign</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.0.6</target_milestone>
          <dependson>5653</dependson>
    
    <dependson>5665</dependson>
          <blocked>5612</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rachana Ananthakrishnan">ranantha@mcs.anl.gov</reporter>
          <assigned_to name="Tom Howe">trhowe@uchicago.edu</assigned_to>
          <cc>jwscore-dev@globus.org</cc>
    
    <cc>rohder@mcs.anl.gov</cc>

      

      
          <long_desc isprivate="0">
            <who name="Rachana Ananthakrishnan">ranantha@mcs.anl.gov</who>
            <bug_when>2007-10-12 16:37:52</bug_when>
            <thetext>Definition: 

This campaign will be the first of a set of campaigns to analyze and
improve reliability and scalability of the core container and dispatch
functionality. A test suite to exercise concurrent access of the
container will be developed and the code will be profiled to identify
any issues.

There will be follow-up campaigns to analyze and implement solutions
to fix the identified problems.

Benefits:

Preliminary scalability testing of GRAM indicates that the core
container is limited in the number of concurrent requests it can
handle, before failing over. This campaign should help identify the
issues and provide input for follow-up campaigns to fix them. This
improve scalability in the container and directly impact GRAM and other
higher level services built on top of Java WS Core.

Also, the test suite and methodology developed will provide a tool for
periodic performance measurements in the future.

Roadmap : http://bugzilla.globus.org/bugzilla/show_bug.cgi?id=5612

Deliverables:

- Design and implement the following:
        - Test service with a single operation
        - Test client that invokes the operation either concurrently
        or sequentially, based on configuration

- Profile Java WS core code, using the above tests. 
        - Identify tools to use
        - Specific focus on the container and dispatch code.

- Document issues identified.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Rachana Ananthakrishnan">ranantha@mcs.anl.gov</who>
            <bug_when>2007-10-12 16:43:45</bug_when>
            <thetext>I missed adding that this work needs to be on the 4.0.x branch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Tom Howe">trhowe@uchicago.edu</who>
            <bug_when>2007-11-07 11:57:23</bug_when>
            <thetext>I think this problem may be connected to:

http://bugzilla.globus.org/globus/show_bug.cgi?id=3449
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Rachana Ananthakrishnan">ranantha@mcs.anl.gov</who>
            <bug_when>2007-11-13 12:05:48</bug_when>
            <thetext>Status update based on discussion with Tom:

Developer notes: http://dev.globus.org/wiki/Java_WS_Core/Development_Documentation/Profiling_Container

Two bugs that were identified with initial profiling have been fixed. Tom has rerun the profiling and he does not see the thread contention issues from before.

Next set of tests that are being profiled are for usage of threads from core thread pool and GRAM code for thread pooling (different from core). Test 4 and Test 5 in http://dev.globus.org/wiki/Java_WS_Core/Development_Documentation/Profiling_Container
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Rachana Ananthakrishnan">ranantha@mcs.anl.gov</who>
            <bug_when>2007-11-26 11:25:35</bug_when>
            <thetext>Committed patches provided by Tom in cryptix-asn1 and puretl repository. The patch has been applied to Tbug_5613_3 branch and the updated jars have been committed to wsrf repository in the branch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Tom Howe">trhowe@uchicago.edu</who>
            <bug_when>2008-03-28 14:28:30</bug_when>
            <thetext>The problems discovered here were related to a bug in the way axis handled one-way operations.  Each notification required a new thread be created.  As a result, when many notifications were submitted simultaneously, too many threads were created causing the container to choke.  A patch was submitted. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Tom Howe">trhowe@uchicago.edu</who>
            <bug_when>2008-03-31 15:23:50</bug_when>
            <thetext>Summary updated at: http://www-unix.mcs.anl.gov/~trhowe/profiling/index.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Tom Howe">trhowe@uchicago.edu</who>
            <bug_when>2008-05-01 07:50:13</bug_when>
            <thetext>Updated results at: http://dev.globus.org/wiki/Java_WS_Core/Development_Documentation/Profiling_Container</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Tom Howe">trhowe@uchicago.edu</who>
            <bug_when>2008-09-02 10:03:24</bug_when>
            <thetext>Finished profiling 4.0 container</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>