1. 12 Sep, 2006 5 commits
  2. 11 Sep, 2006 9 commits
  3. 10 Sep, 2006 2 commits
    • Leigh B. Stoller's avatar
      The bulk of this commit adds the ability to run the program agent on ops · e8bb6bca
      Leigh B. Stoller authored
      so that users can schedule program events to run there. For example:
      	set myprog [new Program $ns]
      	$myprog set node "ops"
      	$myprog set command "/usr/bin/env >& /tmp/foo"
      	$ns at 10 "$myprog start"
      	tevc -e pid/eid now myprog start
      Since the program agent cannot talk to tmcd from ops, there are new
      routines to create the config files that the program agent uses, in
      the expertment tbdata directory.
      I also rewrote the eventsys.proxy script that starts the event
      scheduler on ops; I rolled the startup of the program agent into this
      script, via new -a option which is passed over from boss when an ops
      program agent is detected in the virt topology. This keep the number
      of new processes on ops to a small number.
      Also part of the above rewrite is that we now catch when event
      scheduler (or the program agent) exits abnormally, sending email to
      tbops and the swapper of the experiment. We have been seeing abnormal
      exits of the scheduler and it would good to detect and see if we can
      figure out what is going wrong.
      Other small bug fixes in experiment run.
    • Jonathon Duerig's avatar
      Added a first rough draft of the least squares path saturation sensor. There... · 9c6f20f0
      Jonathon Duerig authored
      Added a first rough draft of the least squares path saturation sensor. There are a lot of rough edges detailed earlier in a message to Rob. This is totally untested code.
  4. 08 Sep, 2006 3 commits
    • Jonathon Duerig's avatar
      Added rudimentary error checking for sensors. Each sensor has an ackValid and... · a2e29d0a
      Jonathon Duerig authored
      Added rudimentary error checking for sensors. Each sensor has an ackValid and a sendValid boolean value which says whether the data from a recent ack or send is valid. These should be checked before any access to data in a sensor.
    • Leigh B. Stoller's avatar
      Two small changes: · 77d2e17c
      Leigh B. Stoller authored
      * Handle cancelation of instantiation.
      * Call out to template_exprun instead of inlining most of what it does.
    • Kirk Webb's avatar
      · 3a3c95fb
      Kirk Webb authored
      Parallelize the setup of plab vnodes alongside the loading of local
      physical nodes.  We fork vnode_setup to operate on the plab vnodes just
      before firing off local reload/reboot/reconfig operations.  The status
      of the plab vnode setup setup is checked just before firing off vnode_setup
      for any local vnodes.  The ISUP wait for plab vnodes continues to fall
      within the same stage as wating for local vnodes.  New arguments have been
      added to vnode_setup to tell it to only operate on specific vnode types.
      '-j' for local jail nodes, and '-p' for plab nodes.  If neither are
      specified, the default is to operate on all types.
  5. 07 Sep, 2006 7 commits
    • Leigh B. Stoller's avatar
      Minor bugfix. · befb3434
      Leigh B. Stoller authored
    • Dan Gebhardt's avatar
      minor changes to fix bug with the managerID · 88149f3f
      Dan Gebhardt authored
    • Mike Hibler's avatar
      Started out trying to make latency-due-to-low-bandwidth calculation more · 548c15bb
      Mike Hibler authored
      accurate.  Not sure I improved it dramatically, but I sure did move the
      code around a lot!
    • Dan Gebhardt's avatar
      some minor changes · e194c3fa
      Dan Gebhardt authored
    • Mike Hibler's avatar
      lint · 2c5d32bd
      Mike Hibler authored
    • Mike Hibler's avatar
      Another instance of the last typo · 6e421b37
      Mike Hibler authored
    • Leigh B. Stoller's avatar
      Some changes to how log files are handled; this too way too long to · c01f7b3e
      Leigh B. Stoller authored
      The original operation was to save up every log file forever in the
      work directory, and copy that out to both the user directory and the
      info directory (long term archive). When I cleaned /proj on ops
      yesterday of all this old cruft, I recoved 17GB of disk space. Yow!
      So, the new operation is:
      * Only files that end in .log are copied to the user directory. No
        longer copying out .top, .ptop, and a couple of other logs; 99% of
        users never look at these things. We still have them available to us
        though, on boss.
      * At the beginning of each swap operation, clean out the work
        directory of all the old log files. These are named a variety of
        ways, so I use some pattern patches to do this.
      * Jigger the names a little so that we do not name things in the form
        "$$.log", to avoid copying out different named files to the user
        directory each time; instead link the .log file to the real output
        file so that it gets overwritten each time, while still getting the
        per-swap files for long term storage.
  6. 06 Sep, 2006 5 commits
  7. 05 Sep, 2006 9 commits
    • Jonathon Duerig's avatar
      Changed the dependency declarations and their associated function declarations... · dbf99836
      Jonathon Duerig authored
      Changed the dependency declarations and their associated function declarations to reflect a previous unstated assumption: Functions called on dependencies do not change those dependencies. Now everything is declared const and that has been propagated throughout the system.
    • Robert Ricci's avatar
    • Robert Ricci's avatar
      Oops, got left out of my last commit - MaxDelay now depends on · 241974a4
      Robert Ricci authored
    • Robert Ricci's avatar
      Change the MaxDelay sensor to use the new PacketSensor loss dectector · f16a253d
      Robert Ricci authored
      rather than StateSensor's saturated() check. This makes it behave more
      like we had discussed in meetings - it now looks more directly for
      packet loss.
    • Robert Ricci's avatar
      Add support for detecting retransmits, meaning that there were recent · 79186908
      Robert Ricci authored
      losses. The advatage of doing it here is that we don't need to
      re-create all of the checks a real TCP stack has to do - we just look
      at what it decided. The downside, though, is that we don't find out
      about loss until the retransmit happens, which could be a little while
      Also add checks for duplicate and old acks.
      Convert to using Jon's new logging flags for low and medium detail
      logging information.
    • Leigh B. Stoller's avatar
      Another bugfix. · 9e0eaad1
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      A bunch of template changes resulting from meetings last week. · 087dbfff
      Leigh B. Stoller authored
      * Add XMLRPC interface for template swapin,stoprun,startrun,swapout and
        add the appropriate wrappers to the script_wrapper on ops.
      * Allow parameter descriptions in NS files. This is probably not in its
        final form since its a bit confusing as to what has priority; something
        in the NS file or a metadata item. Anyway, you can do this in your NS
      	$ns define-template-parameter GUID "0/0" "The GUID to be analyzed"
        The rules are currently that the NS file description has priority and
        is copied to child templates, unless the user has modified a description
        via the web interface, in which case the NS file description is ignored.
        I know, sounds awful, but for the most part people are going to use the
        NS file anyway.
      * Add "clear" option when starting a new experiment run; the per
        experiment DB at the logholes are cleared. Note that this is *not* the
        default behaviour; you have to either check the checkbox on the web form
        or use the -c option to the script wrapper, or clear=yes if talking
        directly to the XMLRPC server.
      * Fix up how email is generated for template_swapin and template_create,
        so that Kevin can debug tblog/tbreport stuff, but also so that we maintain
        mail logs as before. I have made some improvements to libaudit so as to
        centralize the mail goo, and avoid duplicating all that stuff.
      * Minor fixes to the program agent so that the new environment strings are
        sent before the program agent exits and reloads them!
      * Other minor little things.
    • Jonathon Duerig's avatar
      Reverted changes to time format. Added a 'SENSOR_DETAIL' and 'SENSOR_COMPLETE"... · ceee0c13
      Jonathon Duerig authored
      Reverted changes to time format. Added a 'SENSOR_DETAIL' and 'SENSOR_COMPLETE" logging options. 'SENSOR' should now be used for high level information, 'SENSOR_DETAIL' should be used for medium level information, and 'SENSOR_COMPLETE' should be used for low-level information. If SENSOR_DETAIL logging is turned on, then SENSOR logging is also turned on. If SENSOR_COMPLETE logging is turned on, then SENSOR_DETAIL and SENSOR loggin is also turned on. All three of these levels use the 'SENSOR' prefix when outputting logging lines.
    • Leigh B. Stoller's avatar