<?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>3579</bug_id>
          
          <creation_ts>2005-07-19 09:04</creation_ts>
          <short_desc>takes over 4 seconds to start a single job with 4.0.1 branch container</short_desc>
          <delta_ts>2006-10-02 14:33:12</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>GRAM</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          
          
          <priority>P3</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nick Karonis">karonis@mcs.anl.gov</reporter>
          <assigned_to name="Stuart Martin">smartin@mcs.anl.gov</assigned_to>
          <cc>bester@mcs.anl.gov</cc>
    
    <cc>lane@mcs.anl.gov</cc>
    
    <cc>madduri@mcs.anl.gov</cc>
    
    <cc>rynge@isi.edu</cc>
    
    <cc>smartin@mcs.anl.gov</cc>
    
    <cc>toonen@mcs.anl.gov</cc>

      

      
          <long_desc isprivate="0">
            <who name="Nick Karonis">karonis@mcs.anl.gov</who>
            <bug_when>2005-07-19 09:04:35</bug_when>
            <thetext>I built the 4.0.1 branch on a Mac G5 running Mac OS/X and I fired up a container.
I then timed how long it would take to run /usr/bin/true 100 times:

---------------------------------------------------------------------------
echo start singlejob without delegation: `date` |&amp; tee &gt;&gt; timingdelegation.$$.log
set i=1
while ($i &lt;= $MAX)
    echo iteration $i of $MAX
    globusrun-ws -submit -q \
        -F https://208.176.63.5:5656/wsrf/services/ManagedJobFactoryService \
        -c /usr/bin/true
    @ i++
end
echo &quot;  end singlejob without delegation:&quot; `date` |&amp; tee &gt;&gt; timingdelegation.$$.log
---------------------------------------------------------------------------


Here is the output from that experiment:
start singlejob without delegation: Mon Jul 18 12:09:38 CDT 2005
  end singlejob without delegation: Mon Jul 18 12:16:21 CDT 2005

By my calculations it took 6mins,42secs or 402secs to run /usr/bin/true 100 times.
It&apos;s been explained to me that running the job as I did above does *not* trigger
delegation.

I shared these results with Joe Link (author of globusrun-ws) and he was suprised.
When he was testing globusrun-ws performance on his laptop (an IBM running a VM)
he was able to run many jobs in a second.

Is the performance that I&apos;m seeing (&gt;4secs/job) because I&apos;m running on a Mac?
Can someone please try the code snipet above on a non-Mac system to see if 
they get the same results?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Peter Lane">lane@mcs.anl.gov</who>
            <bug_when>2005-07-19 10:30:23</bug_when>
            <thetext>I just ran this on my 2 GHz AMD Athlon(tm) 64 3200+ (using 32bit Linux) box and
got 3 minutes 27 seconds (or 207 seconds) for 100 jobs.  I also reran with the
container still up to avoid the Java startup penalty and got 200 seconds.

If you want to see if there is a specific bottleneck, you can turn on the
performance timing debug statements in the Java code.  See the following
documentation link for details:

http://www-unix.globus.org/toolkit/docs/4.0/execution/wsgram/developer-index.html#id2842414</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Peter Lane">lane@mcs.anl.gov</who>
            <bug_when>2006-10-02 14:33:12</bug_when>
            <thetext>This doesn&apos;t appear to be reproducible.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>