Jump to: navigation, search

Difference between revisions of "Rally/BenchmarkScenarios"

m
(NovaServers)
Line 5: Line 5:
 
===NovaServers===
 
===NovaServers===
 
This scenario class contains procedures concentrated on calling the Nova servers API.
 
This scenario class contains procedures concentrated on calling the Nova servers API.
 +
 +
 +
====boot_server====
 +
Boots  one server.
 +
=====Configuration example=====
 +
    {
 +
        "NovaServers.boot_server": [
 +
          {"args": {"flavor_id": 2, "image_id": "539ccae5-5982-4868-b176-23c41ff1195e"},
 +
          "times": 8, "concurrent": 4}
 +
        ]
 +
    }
  
  
Line 27: Line 38:
 
         ]
 
         ]
 
     }
 
     }
 
  
 
==Benchmark Scenario Wishlist==
 
==Benchmark Scenario Wishlist==

Revision as of 17:56, 22 October 2013

Available Benchmark Scenarios

Nova

NovaServers

This scenario class contains procedures concentrated on calling the Nova servers API.


boot_server

Boots one server.

Configuration example
   {
       "NovaServers.boot_server": [
         {"args": {"flavor_id": 2, "image_id": "539ccae5-5982-4868-b176-23c41ff1195e"},
          "times": 8, "concurrent": 4}
       ]
   }


boot_and_delete_server

Boots and deletes one server.

Configuration example
   {
       "NovaServers.boot_and_delete_server": [
         {"args": {"flavor_id": 1, "image_id": "498c94c1-2547-4ddd-bea2-c5fc881b989f"},
          "times": 50, "concurrent": 10}
       ]
   }


snapshot_server

Boots a server, makes its snapshot, then deletes the server and tries to boot it again from the saved snapshot. Finally deletes both the server and its snapshot.

Configuration example
   {
       "NovaServers.snapshot_server": [
         {"args": {"flavor_id": 1, "image_id": "498c94c1-2547-4ddd-bea2-c5fc881b989f"},
          "times": 50, "concurrent": 10}
       ]
   }

Benchmark Scenario Wishlist

This section contains a listing of benchmark scenario candidates to add to rally. Other community members can suggest scenarios here with the intent that the suggested scenario(s) provide interesting/useful results.

Wishlist

  • Boot server and restart N times -- tests restart under load
  • Boot a VM
  • Restart the VM N times
  • Boot VM and suspend/resume N times -- test VM suspend/resume under load
  • Boot a VM
  • Suspend and resume the VM N times
  • Boot N VMs -- test how many VMs can be created on a single cluster
  • Boot N VMs in succession
  • Volume create and destroy -- tests volume creation/deletion under load
  • Create and destroy a volume N time
  • Extend volume N times -- test volume extend under load
  • Create a volume and extend it N times