1. 12 Apr, 2011 1 commit
  2. 30 Mar, 2011 1 commit
    • Leigh B Stoller's avatar
      Assorted changes to make sure that the uid we grab from the user URN · 56fef67b
      Leigh B Stoller authored
      is a valid Emulab user id (as for creating accounts on nodes) and for
      inserting into the Emulab DB.
      
      If the uid is not valid for us, make up a new one from a hash of the
      certificate. This will give us a (typically) unique but always
      consistent uid to use.
      
      Also add the uid to the services/login section of the manifest so that
      the client always knows what uid to use when logging in.
      56fef67b
  3. 21 Mar, 2011 1 commit
    • Leigh B Stoller's avatar
      First attempt at fixing deadlock when stitching. This happens if both · 3cdbe5f7
      Leigh B Stoller authored
      sides try to stitch at the same time. One side has to back off and let
      the other proceed. The problem is with the slice locking, which had to
      be changed to allow one side to drop the lock so the other side could
      proceed. I ended up doing this with an additional stitching lock, used
      only when stitching.
      3cdbe5f7
  4. 01 Mar, 2011 1 commit
  5. 23 Feb, 2011 1 commit
  6. 17 Feb, 2011 1 commit
  7. 16 Feb, 2011 2 commits
  8. 15 Feb, 2011 1 commit
  9. 14 Feb, 2011 1 commit
  10. 04 Feb, 2011 1 commit
  11. 03 Feb, 2011 1 commit
  12. 02 Feb, 2011 1 commit
  13. 19 Jan, 2011 1 commit
  14. 13 Jan, 2011 1 commit
  15. 11 Jan, 2011 1 commit
  16. 06 Jan, 2011 1 commit
  17. 29 Dec, 2010 1 commit
  18. 07 Dec, 2010 1 commit
  19. 09 Nov, 2010 1 commit
  20. 15 Oct, 2010 1 commit
  21. 12 Oct, 2010 1 commit
  22. 11 Oct, 2010 3 commits
    • Leigh B Stoller's avatar
      Work on an optimization to the perl code. Maybe you have noticed, but · 92f83e48
      Leigh B Stoller authored
      starting any one of our scripts can take a second or two. That time is
      spent including and compiling 10000s of thousands of lines of perl
      code, both from our libraries and from the perl libraries.
      
      Mostly this is just a maintenance thing; we just never thought about
      it much and we have a lot more code these days.
      
      So I have done two things.
      
      1) I have used SelfLoader() on some of our biggest perl modules.
         SelfLoader delays compilation until code is used. This is not as
         good as AutoLoader() though, and so I did it with just a few 
         modules (the biggest ones).
      
      2) Mostly I reorganized things:
      
        a) Split libdb into an EmulabConstants module and all the rest of
           the code, which is slowly getting phased out.
      
        b) Move little things around to avoid including libdb or Experiment
           (the biggest files).
      
        c) Change "use foo" in many places to a "require foo" in the
           function that actually uses that module. This was really a big
           win cause we have dozens of cases where we would include a
           module, but use it in only one place and typically not all.
      
      Most things are now starting up in 1/3 the time. I am hoping this will
      help to reduce the load spiking we see on boss, and also help with the
      upcoming Geni tutorial (which kill boss last time).
      92f83e48
    • Gary Wong's avatar
      Fix type error in commit 1aa4572f. · 220e2748
      Gary Wong authored
      (I like static typing.)
      220e2748
    • Gary Wong's avatar
      Update stale slice expiration times when we notice them. · 1aa4572f
      Gary Wong authored
      We never get live data from the SA about when slices expire, so simply
      assume that the slice expires at the maximum of all credential expiry
      times we've ever seen from that slice.
      1aa4572f
  23. 29 Sep, 2010 2 commits
  24. 06 Jul, 2010 1 commit
  25. 02 Jul, 2010 2 commits
  26. 30 Jun, 2010 1 commit
  27. 18 Jun, 2010 1 commit
  28. 10 Jun, 2010 1 commit
  29. 03 Jun, 2010 1 commit
  30. 07 May, 2010 2 commits
  31. 26 Apr, 2010 1 commit
  32. 07 Apr, 2010 1 commit
  33. 06 Apr, 2010 1 commit
  34. 29 Mar, 2010 1 commit