testdrive should give VM multiple cpu's, if available

Bug #570750 reported by Dustin Kirkland 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TestDrive
Fix Released
Wishlist
Dustin Kirkland 
testdrive (Ubuntu)
Fix Released
Wishlist
Dustin Kirkland 

Bug Description

By default, let's give the VM as many -smp CPUs as possible.

We'll add a KVM_SMP option, that the user can override. But if unset, let's count the N number of CPUs in the system, and add -smp N to the KVM_ARGS.

This should speed up guests considerably, on multi-core systems.

Changed in testdrive:
importance: Undecided → Wishlist
status: New → Triaged
Changed in testdrive:
status: Triaged → Fix Committed
Changed in testdrive (Ubuntu):
status: New → Fix Committed
importance: Undecided → Wishlist
Changed in testdrive:
assignee: nobody → Dustin Kirkland (kirkland)
Changed in testdrive (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package testdrive - 2.0-0ubuntu1

---------------
testdrive (2.0-0ubuntu1) maverick; urgency=low

  [ Andres Rodriguez ]
  * testdrive, testdrive-gtk, testdrive.py, testdriverc: completely
    overhaul organization of the code, making it more modular, in
    prep for a GTK front end
  * Actually remove testdrive-gtk because is was a testing script.
  * Add testdrive-common package:
    - debian/install: Moved to debian/testdrive.install.
    - debian/control:
      + Add python related fields, Build-Depends-Indep and Depends.
      + Add testdrive-common binary package.
      + Move python-launchpadlib Depends to testdrive-common, and
        add as a Depend to testdrive binary package.
    - debian/rules: Add pycentral rule.
    - debian/testdrive-common.install: Added to install shared file.
  * Fix the failure of launching the local ISO. (LP: #581067)

  [ Dustin Kirkland ]
  * testdrive:
    - clean up some unneeded trailing newlines,
    - fix unexpanded %s in the help text, LP: #575326
    - support running testdrive -u foo.img, against some existing
      kvm qcow2 image (drop testdrive-kvm)
  * testdriverc: update header info, clean up config file
  * testdrive.install, testdrive.postinst, testdrive.preinst: handle
    the conffile syntax change on upgrades
  * testdrive, testdrive-kvm, testdrive.py, testdriverc: add -smp
    support for kvm runs, LP: #570750
  * doc/testdrive.1: add zync to the supported protocols list, LP: #577900
 -- Andres Rodriguez <email address hidden> Fri, 14 May 2010 15:52:31 +0200

Changed in testdrive (Ubuntu):
status: Fix Committed → Fix Released
Changed in testdrive:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.