1. 25 12月, 2012 2 次提交
  2. 24 12月, 2012 34 次提交
  3. 21 12月, 2012 4 次提交
    • M
      kvm.tests.cgroup:Fix list out of range problem of vcpus · a716ebfb
      Mike Qiu 提交于
      Currently, one of kvm cgroup test, cpuset_cpus, will get and error
      if the number of vcpus not equal to the hardware cpus.
      for example, when vm_cpus is 2, and the host cpu number
      (no_cpus) is 4, while i >= 3, vcpus[i - 1] will make no sense.
      
      To avoid this, add i <= vm_cpus to correct it.
      Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
      a716ebfb
    • A
      netperf: enable demo mode · 1ab28575
      Amos Kong 提交于
      Enable demo mode of netperf, process mixed demo results to drop
      unstable factors, only compute the effective demo results when
      all the threads work. This would make performance result more
      stable.
      
      We start many clients and watch the demo output, if all the threads
      really work, then start to record the interrupt/packet number, and
      count the cpu usage. After a fixed test time, record the final
      interrupt/packet number.
      Signed-off-by: NAmos Kong <akong@redhat.com>
      1ab28575
    • A
      netperf: replace '-b' parameter with multiple threads · 55d380b0
      Amos Kong 提交于
      Currently we use '-b' parameter of netperf to test parallel traffic,
      client would send many requests at start of _RR tests, but it's not
      real parallelism, we want to use demo mode to improve the
      stabilization. This patch removes '-b' parameter and uses multiple
      threads for TCP_RR testing.
      Signed-off-by: NAmos Kong <akong@redhat.com>
      55d380b0
    • A
      netperf: trivial fix of parameter name · 0aca5b6d
      Amos Kong 提交于
      Rename 'client' to 'clients'
      Signed-off-by: NAmos Kong <akong@redhat.com>
      0aca5b6d