Difference between revisions of "Rally/BenchmarkScenarios"
m (→Wishlist) |
m (→Available Benchmark Scenarios) |
||
| Line 10: | Line 10: | ||
Boots one server. | Boots one server. | ||
=====Configuration example===== | =====Configuration example===== | ||
| − | + | "NovaServers.boot_server":[ | |
| − | + | { | |
| − | + | "args":{ | |
| − | + | "flavor_id":2, | |
| − | + | "image_id":"539ccae5-5982-4868-b176-23c41ff1195e" | |
| − | + | }, | |
| + | "times":8, | ||
| + | "concurrent":4 | ||
| + | } | ||
| + | ] | ||
| + | |||
| + | |||
| + | ====boot_and_bounce_server==== | ||
| + | Boots one server and then performs N "power operations" on it. The supported power operation actions are: | ||
| + | * '''stop_start''' -- Stop the VM and once stopped, start it and wait for it to become active. | ||
| + | * '''soft_reboot''' -- Perform a soft reboot of the VM and wait for it to come back up into the ACTIVE state. | ||
| + | * '''hard_reboot''' -- Perform a hard reboot of the VM and wait for it to come back into the ACTIVE state. | ||
| + | Note that the configuration format for this benchmark supports a list of power operations. So for example you could specify to stop_start the VM 5 times, followed by soft_boot it 2 times, followed by... These operations are defined in the 'actions' argument which is a list/array. | ||
| + | =====Configuration example===== | ||
| + | "NovaServers.boot_and_bounce_server":[ | ||
| + | { | ||
| + | "args":{ | ||
| + | "flavor_id":2, | ||
| + | "image_id":"539ccae5-5982-4868-b176-23c41ff1195e", | ||
| + | "actions":[ | ||
| + | { | ||
| + | "soft_reboot":4 | ||
| + | } | ||
| + | ] | ||
| + | }, | ||
| + | "times":31, | ||
| + | "concurrent":8 | ||
| + | } | ||
| + | ] | ||
| Line 21: | Line 49: | ||
Boots and deletes one server. | Boots and deletes one server. | ||
=====Configuration example===== | =====Configuration example===== | ||
| − | + | "NovaServers.boot_and_delete_server":[ | |
| − | + | { | |
| − | + | "args":{ | |
| − | + | "flavor_id":1, | |
| − | + | "image_id":"498c94c1-2547-4ddd-bea2-c5fc881b989f" | |
| − | + | }, | |
| + | "times":50, | ||
| + | "concurrent":10 | ||
| + | } | ||
| + | ] | ||
| Line 32: | Line 64: | ||
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. | 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===== | =====Configuration example===== | ||
| − | + | "NovaServers.snapshot_server":[ | |
| − | + | { | |
| − | + | "args":{ | |
| − | + | "flavor_id":1, | |
| − | + | "image_id":"498c94c1-2547-4ddd-bea2-c5fc881b989f" | |
| − | + | }, | |
| + | "times":50, | ||
| + | "concurrent":10 | ||
| + | } | ||
| + | ] | ||
| + | |||
==Benchmark Scenario Wishlist== | ==Benchmark Scenario Wishlist== | ||
| Line 43: | Line 80: | ||
===Wishlist=== | ===Wishlist=== | ||
| − | |||
| − | |||
| − | |||
| − | |||
* '''Boot VM and suspend/resume N times''' -- test VM suspend/resume under load | * '''Boot VM and suspend/resume N times''' -- test VM suspend/resume under load | ||
:* Boot a VM | :* Boot a VM | ||
Revision as of 09:00, 31 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_bounce_server
Boots one server and then performs N "power operations" on it. The supported power operation actions are:
- stop_start -- Stop the VM and once stopped, start it and wait for it to become active.
- soft_reboot -- Perform a soft reboot of the VM and wait for it to come back up into the ACTIVE state.
- hard_reboot -- Perform a hard reboot of the VM and wait for it to come back into the ACTIVE state.
Note that the configuration format for this benchmark supports a list of power operations. So for example you could specify to stop_start the VM 5 times, followed by soft_boot it 2 times, followed by... These operations are defined in the 'actions' argument which is a list/array.
Configuration example
"NovaServers.boot_and_bounce_server":[
{
"args":{
"flavor_id":2,
"image_id":"539ccae5-5982-4868-b176-23c41ff1195e",
"actions":[
{
"soft_reboot":4
}
]
},
"times":31,
"concurrent":8
}
]
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 VM and suspend/resume N times -- test VM suspend/resume under load
- Boot a VM
- Suspend and resume the VM N times
- 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