Skip to content
Snippets Groups Projects
  1. Jun 10, 2011
    • Robert Ricci's avatar
      Fix a bug in all physical parsers · 19ebadcc
      Robert Ricci authored
      They weren't keeping track of total bandwidth on switches. Clearly,
      the fact that this is being done in the parsers and not the tb_pnoce
      class means that some re-factoring is in order.
      
      (Note: backported from the assign-cleanup branch)
      19ebadcc
  2. Jun 02, 2011
  3. May 24, 2011
  4. May 17, 2011
    • Robert Ricci's avatar
      Fix bookkeeping in revert code, and new -C option · 4b4870df
      Robert Ricci authored
      Fix bookkeeping in the unassigned_nodes structure in the code
      that does reverts; without this, we cannot keep annealing after
      a revert. Normally, using the default compile time options, we
      don't do this, which is why this bug went unnoticed.
      
      On a related note, turn FINISH_HILLCLIMB (which does keep annealing
      after reverting, at the end) into a command line option (-C) instead
      of a compile-time option.
      4b4870df
  5. May 16, 2011
    • Robert Ricci's avatar
      Fix memory leak in -S code · 6196ad14
      Robert Ricci authored
      We were leaking the final path that we found; this means we're now
      making a copy of that path that gets freed up right away, but this
      seems like the simplest way to keep the code structure relatively
      simple.
      
      Also add some debugging code that can be used to trigger a warning or
      assert if a memory leak occurs in this code.
      6196ad14
    • Robert Ricci's avatar
      Handle new property_list.hpp location in boost · 152605bc
      Robert Ricci authored
      Have I mentioned that I hate it when library developers move their
      headers around? Change the location of the property_list.hpp header
      to a macro and add a new -DNEWER_BOOT define that swtiches this to
      the newer location.
      
      Not automatically detected yet; should be checked in configure.
      152605bc
  6. May 12, 2011
  7. May 11, 2011
    • Robert Ricci's avatar
      Add a failsafe when -G is in use · c4f7467f
      Robert Ricci authored
      If there is a temperature step in which no solutions are accepted,
      then the temperature will not change. If this happens above the guard
      temperature, then we will get stuck in an infinite loop, since we will
      never hit the guard. Normally, this would get taken care of by the
      regular termination condition, but we've superseded that with the
      guard.
      
      So, add in a very specific check that, if this even happens, turns
      off the guard so that we will terminate.
      c4f7467f
    • Robert Ricci's avatar
      Fix incorrect type specifier in a sscanf · b26eacc8
      Robert Ricci authored
      b26eacc8
    • Robert Ricci's avatar
      Add a '-G' option to assign · 17ce4f57
      Robert Ricci authored
      This implements a 'temperature guard' - annealing will not stop before
      reaching this temperature. This is an attempt to prevent assign from
      giving up when it reaches large local minima
      17ce4f57
  8. Apr 15, 2011
    • Robert Ricci's avatar
      Bugfix for dynamic pclasses · 068f3832
      Robert Ricci authored
      Re-work the way that pclass bookkeeping is done, to fix a couple of
      bugs with dynamic pclasses (static types were not being handled
      correctly, and in some cases, it was possible for a node to get
      removed from all pclasses, including its own)
      
      Note: While this has received some testing, it does have the potential
      to break things, even for 'regular' pclasses, so for now, use with
      care.
      068f3832
  9. Apr 06, 2011
  10. Mar 28, 2011
  11. Mar 25, 2011
  12. Mar 23, 2011
    • Robert Ricci's avatar
      Quick hack to make compoent_hops for trivial links validate · 800445b6
      Robert Ricci authored
      This is just a quick hack to make the annotated RSpec validate, since
      this attribute is required by the schema. However, I'm just leaving
      it blank - it should be filled in the with component_manager_id for
      the physical node, but that's not available at the right place in
      the way that we currently pass data around.
      800445b6
  13. Mar 22, 2011
    • Robert Ricci's avatar
      Bugfix: push right kind of object into list for -S · 6088385c
      Robert Ricci authored
      I can't beleive the type system didn't catch this - I was pushing
      a tb_plink into a list that is only suppost to take pvertex objects.
      Who knows, maybe under all the templates and typedefs, they are really
      the same thing. :) Now, we properly push the switch, rather than link,
      onto the list of switches.
      
      Note that this function *might* still have some memory problems, but
      let's fix one thing at a time.
      
      This commit also adds a canary to switch objects to make sure we
      really do get one back from the boost get() call - it can return
      garbage when you try to get() something that doesn't exist.
      6088385c
  14. Feb 15, 2011
  15. Feb 11, 2011
  16. Feb 10, 2011
    • Robert Ricci's avatar
      Add ANNOTATE_ARBITRARY_LINK_ORDER #define · ab32d721
      Robert Ricci authored
      If this #define is given at compile time, the RSpec version 2
      annotater doesn't try to multi-hop links in any particular order.
      
      This is a temporary hack to work around a bug in the link-reordering
      code in the v2 annotator.
      ab32d721
  17. Feb 09, 2011
  18. Feb 03, 2011
  19. Feb 01, 2011
  20. Jan 28, 2011
  21. Jan 27, 2011
  22. Jan 26, 2011
    • Robert Ricci's avatar
      First attempt at handling non-tree switch topologies · 121633ea
      Robert Ricci authored
      Tracks individual links between switches, so that we can use more
      than one, and does not compute a spanning tree, so it will use
      non-tree edges in the topology.
      
      Terribly slow, since it does a depth-first search for every
      single attempt to resolve inter-switch links
      
      Compile with -DFULL_SWITCHGRAPH to get this behavior.
      
      Has received only minimal testing, probably broken in some cases.
      
      Probably leaks memory like there's no tomorrow.
      
      Does not check link types, or handle phys links that cannot have
      multiple virt links on them.
      121633ea
  23. Jan 25, 2011
  24. Jan 24, 2011
Loading