1. 24 12月, 2012 11 次提交
  2. 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
  3. 20 12月, 2012 2 次提交
    • L
      tools: Add download_manager.py · e9c8c123
      Lucas Meneghel Rodrigues 提交于
      Add a tool to download the binary blobs useful for virt
      testing, based on the refactoring introduced on the
      previous patch. Also, introduce the winutils.iso asset
      file.
      
      Running the tool looks like:
      
      lmr@lmr-Dell-System-XPS-L321X:~/Code/virt-test.git$ tools/download_manager.py
      16:30:05 INFO | Available download assets:
      16:30:05 INFO |
      16:30:05 INFO | 1 - JeOS x86_64
      16:30:05 INFO |     destination = /home/lmr/Code/virt-test.git/shared/data/images/jeos-17-64.qcow2.7z
      16:30:05 INFO |     destination_uncompressed = /home/lmr/Code/virt-test.git/shared/data/images/jeos-17-64.qcow2.7z
      16:30:05 INFO |     downloaded = True
      16:30:05 INFO |     sha1_url = http://lmr.fedorapeople.org/jeos/SHA1SUM
      16:30:05 INFO |     shortname = jeos
      16:30:05 INFO |     uncompress_cmd = 7za -y e
      16:30:05 INFO |     url = http://lmr.fedorapeople.org/jeos/jeos-17-64.qcow2.7z
      16:30:05 INFO |
      16:30:05 INFO | 2 - Windows Utils ISO
      16:30:05 INFO |     destination = /home/lmr/Code/virt-test.git/shared/data/isos/windows/winutils.iso
      16:30:05 INFO |     destination_uncompressed = None
      16:30:05 INFO |     downloaded = False
      16:30:05 INFO |     sha1_url = http://lmr.fedorapeople.org/winutils/SHA1SUM
      16:30:05 INFO |     shortname = winutils
      16:30:05 INFO |     uncompress_cmd = None
      16:30:05 INFO |     url = http://lmr.fedorapeople.org/winutils/winutils.iso
      16:30:05 INFO |
      16:30:05 INFO | Type the index for the assets you want to download (comma separated): 2
      16:30:08 INFO | Verifying expected SHA1 sum from http://lmr.fedorapeople.org/winutils/SHA1SUM
      16:30:09 INFO | Expected SHA1 sum: 59c5830c8f472f4c88e9018329a00638cc9e09fa
      16:30:09 WARNI| File /home/lmr/Code/virt-test.git/shared/data/isos/windows/winutils.iso not found
      16:30:09 INFO | Would you like to download it from http://lmr.fedorapeople.org/winutils/winutils.iso? (y/n) y
      16:30:32 INFO | Downloading winutils.iso, 580.34 MB to /home/lmr/Code/virt-test.git/shared/data/isos/windows
      Downloading Windows Utils ISO: [############        27%                       ]
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      e9c8c123
    • L
      bootstrap: Introduce asset files · 392dd3ef
      Lucas Meneghel Rodrigues 提交于
      Refactor the code used to download the JeOS and turn it
      into a more generic code that can download whatever is
      on an asset file, which is a file located under
      
      shared/download.d/
      
      That contains information about how we should get and
      handle it. The JeOS asset is a .ini file that looks
      like:
      
      [jeos]
      title = JeOS x86_64
      url = http://lmr.fedorapeople.org/jeos/jeos-17-64.qcow2.7z
      sha1_url = http://lmr.fedorapeople.org/jeos/SHA1SUM
      destination = images/jeos-17-64.qcow2.7z
      destination_uncompressed = images/jeos-17-64.qcow2
      uncompress_cmd = 7za -y e
      
      The idea is to populate the dir with large blobs that
      don't really belong to the source code management, such
      as:
      
       * JeOS
       * Winutils
       * Site specific blobs (say, a pre-built guest OS file)
      
      A download utility, and more asset files should follow.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      392dd3ef
  4. 19 12月, 2012 17 次提交
  5. 18 12月, 2012 6 次提交