1. 26 Nov, 2002 2 commits
    • Mike Hibler's avatar
      Forgot this one... · e416a8cc
      Mike Hibler authored
      e416a8cc
    • Mike Hibler's avatar
      Commit of USENIX driven improvements: · dd7a05ee
      Mike Hibler authored
      1. The big one is from Leigh: multithreading the unzipper so that
         decompression overlaps with disk IO.  Also added the '-n' "no threads"
         option for comparison purposes.
      
      2. Eh...guess that's it for imagezip/unzip.  Oh wait, mike fixed a comment!
      dd7a05ee
  2. 25 Nov, 2002 2 commits
  3. 24 Nov, 2002 1 commit
  4. 23 Nov, 2002 1 commit
  5. 22 Nov, 2002 6 commits
  6. 20 Nov, 2002 1 commit
  7. 19 Nov, 2002 5 commits
  8. 18 Nov, 2002 1 commit
  9. 17 Nov, 2002 2 commits
    • Leigh B. Stoller's avatar
      Add -z (zero) option to the client, passed into the imageunzip · e9213b16
      Leigh B. Stoller authored
      library.
      Add -b option to explicitly turn on broadcast mode (client and
      server), and fiddle with options and network init slightly so that
      I can do simple unicast experiments between two nodes.
      e9213b16
    • Shashi Guruprasad's avatar
      Minor changes that Jay wanted: · b274bdf1
      Shashi Guruprasad authored
      On Sat, 16 Nov 2002, Jay Lepreau wrote:
      
      > Looks great.  Go ahead and check it in and install it.
      >
      > Might be good to say the stuff inthe scaling/accuracy page
      > is from the OSDI paper.
      >
      > In the tutorial, might s/falling back in real time/falling behind real time/
      b274bdf1
  10. 16 Nov, 2002 2 commits
  11. 15 Nov, 2002 3 commits
  12. 14 Nov, 2002 8 commits
    • Shashi Guruprasad's avatar
      011697a7
    • Mac Newbold's avatar
    • Leigh B. Stoller's avatar
      libdb: Add TBIPtoNodeID utility function. Also some minor jail related · bed7c3ee
      Leigh B. Stoller authored
      changes; add optinal jailflag argument to TBIsNodeVirtual, and add some
      constants for assigning port ranges to jailed nodes.
      
      newwanode: Allow reuse of existing node. So, if called with an IP that
      already exists in the DB, reuse those records (nodes, interfaces,
      reserved) rather than creating a new one. The web page makes sure that
      the calling node has a valid IP (REMOTE_ADDR equals IP it gives us),
      so it typically means an exiting node is being reinstalled (happening
      with RON nodes right now!).
      bed7c3ee
    • Mac Newbold's avatar
      Add the long-awaited check for nodes that have too many lans/links. For · 4f0c3572
      Mac Newbold authored
      now it is just hardcoded to 4, but could be done from the db too. Gives
      errors like this one, from a topo where node2 and node6 each have 5 links:
      
      *** /usr/testbed/devel/newbold/lib/ns2ir/parse.tcl:
          Too many links/LANs to node node2! Maximum is 4.
      *** /usr/testbed/devel/newbold/lib/ns2ir/parse.tcl:
          Too many links/LANs to node node6! Maximum is 4.
      *** /usr/testbed/devel/newbold/bin/batchexp:
          NS Parse failed!
      4f0c3572
    • Mac Newbold's avatar
      Finally, a check for links that want too much bandwidth. Right now it uses · 5eb5c6ed
      Mac Newbold authored
      the somewhat hacky fail-if-they-want-over-100mbps method, but could in the
      future draw the info from the database or something if it ends up being
      necessary.
      
      Setup Failure(255): Output as follows:
      
      *** /usr/testbed/devel/newbold/lib/ns2ir/parse.tcl:
          Bandwidth requested (150000) exceeds maximum of 100000 kbps!
      *** /usr/testbed/devel/newbold/lib/ns2ir/parse.tcl:
          [run] link0 has only a single node. LANs must have at least 2 nodes in them.
      *** /usr/testbed/devel/newbold/bin/batchexp:
          NS Parse failed!
      5eb5c6ed
    • Mac Newbold's avatar
      Lots of changes. · 349db7bf
      Mac Newbold authored
      First, fix up the isup generation code. When a node/OS doesn't send its
      own isups, but is pingable, we need to fork and ping it, and send ISUP
      when it pings. The code was there, but was broken. This fixes it. The one
      time that it may cause errant messages is in modes other than MINIMAL.
      When we get BOOTING, we check if it needs isup generated. If we have to
      ping it, when it pings we send ISUP. This means that if we are really in
      NORMAL mode, we might send ISUP before the node sends REBOOTED (or TBSETUP
      in NORMALv1), and it would look funny. But that case will be really rare,
      since everything that sends REBOOTED or TBSETUP has no reason not to send
      ISUP itself.
      
      Second, after mailbombing myself a couple of times, Kirk and I decided I'd
      better put some throttling in the notification code that stated uses. So
      now it throttles itself and digests the messages if they're sent too close
      together. The first message it gets will get sent immediately. If the next
      one is long enough after that, it sends it immediately too. If a message
      comes too soon after sending one, we queue it up, and send it later
      after enough time has passed. Currently it is set to wait 5 seconds
      between messages, so it will send up to 12 per second, and wait no more
      than 5 seconds before sending a message that is queued up.
      
      (Something similar to this may be a nice thing in the rest of our stuff,
      but it was made a lot easier by the fact that stated already had a polling
      loop in it. Without that, you'd have to use alarms or some other weird
      thing, which would be painful.)
      349db7bf
    • Leigh B. Stoller's avatar
      Minor changes; update the nickname when remote nodes checkin in case · a7c02305
      Leigh B. Stoller authored
      their real hostname changes.
      a7c02305
    • Leigh B. Stoller's avatar
      Change ntpinfo as per Dave's request. · 48629e9c
      Leigh B. Stoller authored
      48629e9c
  13. 13 Nov, 2002 3 commits
  14. 12 Nov, 2002 3 commits
    • Leigh B. Stoller's avatar
      0c0454fa
    • Mac Newbold's avatar
      b789fe8f
    • Mac Newbold's avatar
      Add tbshutdown daemon. Started from rc.setup right after we tell the · ceac4889
      Mac Newbold authored
      testbed we've rebooted. Immediately daemonizes, then sets a signal handler
      and sleeps forever. When it gets a signal to quit (on shutdown, reboot or
      going single-user), it sends a state transition to SHUTDOWN to the
      testbed. It installs into /etc/testbed/ .
      
      Important note:
      If you're going to use this in an image that runs the NORMAL state machine
      (instead of NORMALv1, MINIMAL, etc.), the SHUTDOWN state is called
      REBOOTING in that mode. Just change the appropriate line in tbshutdown,
      but don't commit the change, since further use of the NORMAL mode in new
      images is deprecated. Alternatively, you could change the image over to
      NORMALv1 by renaming all REBOOTING tags to SHUTDOWN and changing REBOOTED
      to TBSETUP.
      ceac4889