Difference: CMSLoadTestLHCONEScripts (5 vs. 6)

Revision 62011/05/21 - Main.JamesLetts

Line: 1 to 1
 
META TOPICPARENT name="CMSLoadTestLHCONEResults"

Scripts

Line: 31 to 31
  sumdone=0 sumfail=0 lastkey=0
Changed:
<
<
now=time.ctime()
>
>
now=int(time.time())
  for key in sorted(done.iterkeys()): sumdone+=int(str(done[key])) sumfail+=int(str(fail[key]))
Changed:
<
<
if ( sumdone >= nfiles ) :
>
>
if ( sumdone >= int(str(nfiles)) ) :
  lastkey=int(str(key)) break
Changed:
<
<
if ( key > now ) :
>
>
if ( int(str(key)) > now ) :
  break

url2="https://cmsweb.cern.ch/phedex/datasvc/xml/debug/TransferHistory?from="+fromsite+"&to="+tosite+"&binwidth=3600&starttime="+str(starttime)+"&endtime="+str(lastkey)

Line: 59 to 59
  except ZeroDivisionError? : quality=-1
Changed:
<
<
print sumdone, "files completed" print("%.1f" % maxrate),"MiB/s" print("%.1f" % latency),"h" print("%.1f" % quality),"%"
>
>
print "Testing",fromsite,"to",tosite print "Number of files transfered......",sumdone print "Maximum hourly transfer rate....",("%.1f" % maxrate),"MiB/s" print "Latency.........................",("%.1f" % latency),"h" print "Quality transfer success rate...",("%.1f" % quality),"%"
  return
Line: 73 to 74
 GetTransferResults? (fromsite,tosite,nfiles,starttime)
Deleted:
<
<
-- JamesLetts - 2011/05/17
 \ No newline at end of file
Added:
>
>
-- JamesLetts - 2011/05/21
 \ No newline at end of file
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback