Log In
New Account
  
 
Home My Page Project Tree Code Snippets Project Openings NUTSS
 
 
Summary Tracker Lists CVS Files
 

CVS | Administration

Diff for /libnutss/examples/swp_vl_test between versions 1.12 and 1.13

version 1.12, 2007/08/23 22:13:44 version 1.13, 2007/09/04 17:24:45
Line 34  killall lt-nutssd Line 34  killall lt-nutssd
 for i in $(seq $1); do  for i in $(seq $1); do
         if [ $i -ne 99 ]; then          if [ $i -ne 99 ]; then
        # with some small probability, generate a super node with capacity many times greater than normal         # with some small probability, generate a super node with capacity many times greater than normal
      if [ `expr $RANDOM % $6` -gt `expr $6 - $6 /25` ]; then       # if [ `expr $RANDOM % $6` -gt `expr $6 - $6 /50` ]; then
 if [ $i -eq 1 ]; then
       ./slinksvariableload $i $2 $3 `expr $RANDOM % $4 + 60` `expr $RANDOM % $5 + 200` `expr $RANDOM % $6 + 100000` &        ./slinksvariableload $i $2 $3 `expr $RANDOM % $4 + 60` `expr $RANDOM % $5 + 200` `expr $RANDOM % $6 + 100000` &
       echo node $i is a super node  
        else         else
       ./slinksvariableload $i $2 $3 `expr $RANDOM % $4 + 60` `expr $RANDOM % $5 + 200` `expr $RANDOM % $6 + 1200` &        ./slinksvariableload $i $2 $3 `expr $RANDOM % $4 + 60` `expr $RANDOM % $5 + 200` `expr $RANDOM % $6 + 1200` &
         fi          fi
         fi          fi
 done  done
   
./slinksvariableload 99 $1`expr $1 / 6` $7 &./slinksvariableload 99 $112 $7 &
   
 #for i in $(seq $1 `expr $1 \* 3`); do  #for i in $(seq $1 `expr $1 \* 3`); do
        sleep 10         sleep 10

Removed from v.1.12  
changed lines
  Added in v.1.13


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
 

GForge.cis.cornell.edu is brought to you by

Cornell Computing and Information Science


Powered By GForge Collaborative Development Environment