1. 05 Sep, 2006 13 commits
  2. 04 Sep, 2006 1 commit
  3. 01 Sep, 2006 11 commits
  4. 31 Aug, 2006 10 commits
    • Robert Ricci's avatar
      Performance. Removed another use of an STL structure, and replaced it · f9dc4138
      Robert Ricci authored
      with a simple malloc()ed buffer, which cut about 20% off our CPU
      usage.
      
      Note, this could probably even be put into a statically-sized
      structrure, but Jon would have to verify this.
      f9dc4138
    • Robert Ricci's avatar
      Fix up a performance problem - some STL calls in a tight loop turned · bda1131f
      Robert Ricci authored
      out to burn too much CPU.
      bda1131f
    • Robert Ricci's avatar
      cd to $LOGDIR before running the magent so that files like core dumps · 1f64c594
      Robert Ricci authored
      and gprof.out go to a place loghole will find them.
      1f64c594
    • Kirk Webb's avatar
      · b6cf68ca
      Kirk Webb authored
      Change where the TMCCVNODEID environment variable gets setup.  Since
      vnodesetup is the highest common execution point in the chain (for either
      initial vserver startup, or subsequent reboot), this is the place to put it.
      The previous stages don't need it, but just putting it in rc.vinit excludes
      it from getting set during initial setup and boot.
      b6cf68ca
    • Mike Hibler's avatar
      Fix a typo spotted by Keith S. · c641b15f
      Mike Hibler authored
      c641b15f
    • Kirk Webb's avatar
      · a48210ac
      Kirk Webb authored
      Change types of latitude and longitude columns in widearea_nodeinfo to
      float (instead of float(6,5)) to fix problem with values getting adjusted
      improperly during insert.  Apparently the definition of the float(n,m)
      type is non-standard, and has changed since sql 3.x.  Regular float
      columns will do fine here.
      a48210ac
    • Kevin Atkinson's avatar
      · 964b8d11
      Kevin Atkinson authored
      Add patch to modify Mysql.pm to allow setting the "InactiveDestroy" in
      the underlying DB handle.  Also avoid disconnecting the file handle
      explistly on DESTROY as that will be taken care of in the DESTROY
      method for the the DB handle.
      
      Override perl version of fork() to set InactiveDestroy in all open
      database handles in the child so that it won't send a disconnect when
      the handle is destroyed as this will also close the database handle
      for the parent.  It will also call tblog_new_child_process in the
      child process to properly inform tblog of the new process. This will
      be a NoOp if the libtblog module is not loaded.
      964b8d11
    • Robert Ricci's avatar
      Add a signal handler that calls exit() - without this, there are some · a55eba7f
      Robert Ricci authored
      things (like finishing writing the gmon.out file when profiling) that
      don't happen when you control-c or kill the program.
      a55eba7f
    • Robert Ricci's avatar
      Behold the power of GNU make - a greatly simplified makefile. · 955b9617
      Robert Ricci authored
      It's not perfect - it doesn't rebuild the dependancy file at the
      right time, but it should be good enough for our purposes.
      955b9617
    • Leigh B. Stoller's avatar
      * Finish up the Commit From Template support. · 3327ba01
      Leigh B. Stoller authored
      * Export the above via the XMLRPC interface and add a wrapper function
        to the script_wrapper. This allows you do to this on ops:
      
      	cd /proj/testbed/templates/10023/1
              Edit some files
              template_commit
      
        Which creates a new template, using the current directory to infer
        the template. Otherwise, provide the template GUID on the command line.
        Hmm, maybe this should be called template_modify? Either way, the
        name does not quite match
      
      * Export template_export via the XMLRPC wrapper. This allows you to
        export a template (instance) record from the command line on ops.
      
      
      	cd /proj/testbed/templates/10023/1
              template_export -i 12
              Exported to /proj/testbed/export/10000/3/12
      
        Which exports the template record for instance number 12. Again, the
        GUID is infered, but you can specify one on the command line. The export
        directory is printed so you know where it went. Note that export does
        *not* populate a DB on ops with the old DB data.
      3327ba01
  5. 30 Aug, 2006 5 commits
    • Kirk Webb's avatar
      · 210d1a85
      Kirk Webb authored
      A node update bugfix and a change to the way nodes with more than two
      changed attributes are handled.  A single message is now sent detailing
      which nodes need to be looked at, and such nodes to not stop the rest from
      updating normally during that run.  Previously the nodes with multiple changes
      had to be handled first, then the update script had to be run after that to
      catch everything.
      210d1a85
    • Jonathon Duerig's avatar
      Cleaned up and added a couple of lines of comment about what 'Send' and 'Ack'... · fc042aca
      Jonathon Duerig authored
      Cleaned up and added a couple of lines of comment about what 'Send' and 'Ack' really mean. All that really matters is distinguishing between outgoing packets and incoming packets. 'Send' and 'Ack' are unfortunate names reflecting my previous muddled thinking about this. So for 'Send' read outgoing, and for 'Ack', read incoming. A low-priority task is to change the naming to reflect this semantic change.
      fc042aca
    • Jonathon Duerig's avatar
    • Robert Ricci's avatar
      Added a log message to catch gaps in packet sequence number - ie. we · 5517884a
      Robert Ricci authored
      didn't get one or more packets from libpcap. I have one trace on
      PlanetLab that does this a lot, so it could be a sign of a problem -
      like not checking libpcap freqeuently enough. A pcapper process
      running at the same time did get the packets...
      5517884a
    • Kirk Webb's avatar
      · dc8215dd
      Kirk Webb authored
      Change the mode used to create log files to allow world read access.
      We have determined that there really isn't any risk in doing so.  This will
      stop rsync/loghole from complaining when transfering data from plab nodes.
      It was failing to transfer some log files created as root.
      dc8215dd