Skip to content
Snippets Groups Projects
  1. Mar 21, 2017
  2. Mar 20, 2017
    • Bob Lantz's avatar
      Workaround to fix cluster.py error message · ae8c12c4
      Bob Lantz authored
      Newer linux kernels report interfaces in a different format, so
      we need to accept them.
      
      Note however that this probably isn't entirely correct or
      necessary for interfaces created in the right namespace to
      begin with!
      ae8c12c4
  3. Mar 16, 2017
  4. Mar 15, 2017
  5. Feb 16, 2017
  6. Oct 29, 2016
  7. Oct 22, 2016
    • Bob Lantz's avatar
      Add small wait before wget in web test. · b558055c
      Bob Lantz authored
      Although the walkthrough doesn't specify waiting, it is a race
      condition that we occasionally hit in tests. Adding a 2 second
      delay seems realistic (for when a human is doing the walkthrough)
      and should reduce the likelihood of hitting the race condition.
      b558055c
  8. Oct 21, 2016
  9. Sep 28, 2016
  10. Sep 27, 2016
    • Bob Lantz's avatar
      For some time, UserSwitch has suffered from abysmal performance due · 5e216acc
      Bob Lantz authored
      to rx and tx offload settings. In the latest Ubuntu 16.04/Linux 4.4
      kernel, it simply doesn't work with the default settings, since
      packets with bad TCP checksums are generated at one end, passed through
      the user switch, and dropped at the other. It doesn't seem to be
      something we can fix in UserSwitch itself although it may be possible
      to do something in the C code of the Stanford reference switch and
      CPqD switch.
      
      This patch is slightly different than mainline, as we haven't moved
      bin/mn forward (yet?) However, it seems important enough to put into
      2.2.2.
      5e216acc
    • Bob Lantz's avatar
      fe923b2a
  11. Sep 23, 2016
    • Bob Lantz's avatar
      Clean shutdown for testStaticMAC · 66ccff92
      Bob Lantz authored
      Without waiting for mn to exit, OVS keeps listening on the
      static listening port, which prevents UserSwitch from listening
      on it (and starting up) in the next test.
      66ccff92
  12. Sep 22, 2016
  13. Sep 21, 2016
  14. Aug 30, 2016
    • Bob Lantz's avatar
      Try specifying timeout in pexpect.spawn() + adjust error msg · 6fdf8dcf
      Bob Lantz authored
      Unfortunately pexpect() seems to be timing out with a 30 second
      timeout rather than the 600 seconds we are passing in. How
      could this even be working normally? It is puzzling. We are
      going to try specifying the timeout in the spawn() call.
      
      Also if the test fails, we use %e format for readability.
      6fdf8dcf
  15. Aug 29, 2016
  16. Aug 25, 2016
    • Bob Lantz's avatar
      Increase link delay to 2ms for more robust effect · 305651c0
      Bob Lantz authored
      With a 1 ms delay, the performance tests periodically fails
      under nested virtualization, which is how we are testing it.
      Increasing the delay should make the effect (lower TCP
      data rates as latency increases, due to TCP's congestion
      control algorithm) more pronounced and robust.
      
      Conflicts:
      	examples/linearbandwidth.py
      305651c0
    • Bob Lantz's avatar
      Reduce CPU so that iperf client is CPU bound · c359825b
      Bob Lantz authored
      If we want to observe a monotonic affect, we should
      make sure that we are in fact CPU limited where it
      matters. In this case, we are CPU limiting the hosts,
      and the iperf client uses a lot of CPU. We need to
      reduce the CPU allocation so that iperf is in fact
      CPU bound.
      
      We also correct the CPU allocation so that the client
      and server each receive 50% of the total. Previously
      we were specifying the per-host CPU allocation, so
      45% meant we were allocating 90% of the overall CPU,
      which seems a bit confusing. On the other hand, now
      at 40% each host gets 20% of the CPU, which could also
      be considered slightly confusing!
      
      Although the client transmit rate is going to be the
      limiting factor, we still measure the received data
      rate at the server, because that is more interesting
      than the initial burst of buffering at the client.
      Measuring at the server becomes more important as
      we reduce the iperf time.
      
      The output is also changed slightly, and the test has
      been updated appropriately.
      
      Conflicts:
      	examples/cpu.py
      c359825b
  17. Aug 23, 2016
    • Bob Lantz's avatar
      Change tshark version check for compatibility · f86fe7f9
      Bob Lantz authored
      The version string changed in tshark 2.0.2 in Ubuntu 16.
      Perhaps we should just check for the version string itself
      to be more robust but this is probably OK for now.
      f86fe7f9
    • Bob Lantz's avatar
      Allow some diffs in h1 ps vs. h2 ps · befde482
      Bob Lantz authored
      Presumably daemons, race conditions, or ephemeral processes
      can cause the ps output to vary slightly. We allow up to
      two differing lines to account for this.
      
      Fixes #651
      befde482
  18. Aug 20, 2016
  19. Aug 19, 2016
  20. Aug 16, 2016
    • Bob Lantz's avatar
      14.04.3 -> 14.04.4 · b1d84855
      Bob Lantz authored
      We should probably do this in a more automatic way.
      b1d84855
    • Bob Lantz's avatar
      Fixes for Unbuntu 16.04/Xenial · 7476c5e0
      Bob Lantz authored
      - add xenial
      - partx returns an error (warn rather than fail)
      - remove dnsmasq build.py dependency (not really needed, side effects)
      
      Conflicts:
      	util/vm/build.py
      7476c5e0
    • Olivier Tilmans's avatar
      TCIntf: Don't delete a non-existing root qdisc · a8a9e7d2
      Olivier Tilmans authored
      In recent kernels, virtual interfaces come without any associated
      qdisc, resulting in errors when spawning the network.
      Checking for "noqueue" in the tc output, enables to detect that
      case and thus avoid deleting the non-existent qdisc.
      a8a9e7d2
  21. Apr 27, 2016
  22. Apr 26, 2016
  23. Apr 22, 2016
  24. Apr 17, 2016
  25. Feb 19, 2016
  26. Feb 03, 2016
  27. Jan 27, 2016
  28. Jan 25, 2016
    • Bob Lantz's avatar
      Use ifconfig for interface verification. · 9a22e2b7
      Bob Lantz authored
      Previously we were using both ip link and ifconfig - not only is
      this inconsistent and redundant, but it also broke when newer
      ip link changed the reported names of certain interfacs to
      "h1-eth0@36:".
      
      Fixes #592
      9a22e2b7
Loading