Changes between Version 80 and Version 81 of Ticket #1170


Ignore:
Timestamp:
2010-08-22T04:57:54Z (14 years ago)
Author:
terrell
Comment:

runs 143-162 generated with the following bash script to alternate the clients and grab the status file:

feel free to adapt and reuse.

#!/bin/bash
##################################
# EDIT THESE VARIABLES
##################################
FIRSTRUN=143
RUNS=20
FILESIZE=100000000
BASE171="/Users/trel/Desktop/tahoestuff/allmydata-tahoe-1.7.1"
BASEPATCH="/Users/trel/Desktop/tahoestuff/trunkpatched"
CACHEDIR="/Users/trel/.tahoe/private/cache/download"
FILENAME="http://localhost:3456/file/URI%3ACHK%3A4klgnafrwsm2nx3bqy24ygac5a%3Acrz7nhthi4bevzrug6xwgif2vhiacp7wk2cfmjutoz2ns3w45qza%3A3%3A10%3A1490710513/@@named=/bbb-360p24.i420.lossless.drc.ogg.fixed.ogg%2Bbbb-24fps.flac.via-ffmpeg.ogg"
SAVEFILE="deleteme.ogg"
##################################
RUNTOTAL=$FIRSTRUN
RUNCOUNT=0
while [ $RUNCOUNT -lt $RUNS ]; do
  let RUNTOTAL=FIRSTRUN+RUNCOUNT
  echo "-----------------------------------------------"
  echo "RUN $RUNTOTAL"
  if [ $[$RUNTOTAL % 2] -eq 0 ]
  then
    cd $BASE171
  else
    cd $BASEPATCH
  fi
  pwd
  bin/tahoe --version
  bin/tahoe stop
  bin/tahoe start
  echo "waiting 10s for node to spin up and connect..."
  sleep 10
  echo "curl --range 0-$FILESIZE $FILENAME > $SAVEFILE"
  time curl --range 0-$FILESIZE $FILENAME > $SAVEFILE
  if [ `pwd` = $BASEPATCH ]
  then
    echo "saving status.html..."
    curl http://localhost:3456/status/down-0 > status-$RUNTOTAL.html
    bzip2 status-$RUNTOTAL.html
  fi
  rm -f $CACHEDIR/*
  rm $SAVEFILE
  let RUNCOUNT=RUNCOUNT+1
  sleep 1
done


Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1170 – Description

    v80 v81  
    4242||=[attachment:runs-140,141-curl-stdout.txt 141] =||=1.8.0c2 =||= 100 MB =||= 223 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:141-status.html.bz2 status.html] =||
    4343||=[comment:78 142] =||=1.8.0c2 =||= 100 MB =||= 215 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff] =||= [attachment:142-status.html.bz2 status.html] =||
     44||=[attachment:runs-143to162-alternating-stdout.txt 143] =||=1.8.0c2 =||= 100 MB =||= 235 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:status-143.html.bz2 status.html] =||
     45|| [attachment:runs-143to162-alternating-stdout.txt 144]  || 1.7.1   ||  100 MB  ||  159  ||terrell, home cable modem  ||
     46||=[attachment:runs-143to162-alternating-stdout.txt 145] =||=1.8.0c2 =||= 100 MB =||= 131 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:status-145.html.bz2 status.html] =||
     47|| [attachment:runs-143to162-alternating-stdout.txt 146]  || 1.7.1   ||  100 MB  ||  184  ||terrell, home cable modem  ||
     48||=[attachment:runs-143to162-alternating-stdout.txt 147] =||=1.8.0c2 =||= 100 MB =||= 233 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:status-147.html.bz2 status.html] =||
     49|| [attachment:runs-143to162-alternating-stdout.txt 148]  || 1.7.1   ||  100 MB  ||  172  ||terrell, home cable modem  ||
     50||=[attachment:runs-143to162-alternating-stdout.txt 149] =||=1.8.0c2 =||= 100 MB =||= 259 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:status-149.html.bz2 status.html] =||
     51|| [attachment:runs-143to162-alternating-stdout.txt 150]  || 1.7.1   ||  100 MB  ||  141  ||terrell, home cable modem  ||
     52||=[attachment:runs-143to162-alternating-stdout.txt 151] =||=1.8.0c2 =||= 100 MB =||= 139 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:status-151.html.bz2 status.html] =||
     53|| [attachment:runs-143to162-alternating-stdout.txt 152]  || 1.7.1   ||  100 MB  ||  159  ||terrell, home cable modem  ||
     54||=[attachment:runs-143to162-alternating-stdout.txt 153] =||=1.8.0c2 =||= 100 MB =||= 241 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:status-153.html.bz2 status.html] =||
     55|| [attachment:runs-143to162-alternating-stdout.txt 154]  || 1.7.1   ||  100 MB  ||  172  ||terrell, home cable modem  ||
     56||=[attachment:runs-143to162-alternating-stdout.txt 155] =||=1.8.0c2 =||= 100 MB =||= 229 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:status-155.html.bz2 status.html] =||
     57|| [attachment:runs-143to162-alternating-stdout.txt 156]  || 1.7.1   ||  100 MB  ||  159  ||terrell, home cable modem  ||
     58||=[attachment:runs-143to162-alternating-stdout.txt 157] =||=1.8.0c2 =||= 100 MB =||= 174 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:status-157.html.bz2 status.html] =||
     59|| [attachment:runs-143to162-alternating-stdout.txt 158]  || 1.7.1   ||  100 MB  ||  173  ||terrell, home cable modem  ||
     60||=[attachment:runs-143to162-alternating-stdout.txt 159] =||=1.8.0c2 =||= 100 MB =||= 262 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:status-159.html.bz2 status.html] =||
     61|| [attachment:runs-143to162-alternating-stdout.txt 160]  || 1.7.1   ||  100 MB  ||  152  ||terrell, home cable modem  ||
     62||=[attachment:runs-143to162-alternating-stdout.txt 161] =||=1.8.0c2 =||= 100 MB =||= 248 =||=terrell, home cable modem, [attachment:1170-combo.diff 1170-combo.diff]  =||= [attachment:status-161.html.bz2 status.html] =||
     63|| [attachment:runs-143to162-alternating-stdout.txt 162]  || 1.7.1   ||  100 MB  ||  135  ||terrell, home cable modem  ||