mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-22 07:51:16 +00:00
performance-metrics: Use default queue sizes
Using the default queue sizes provides more realistic data about what our users are testing. Extra metrics can be added later that also modify the queue size but overloading the existing metrics is confusing. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
f254f11b48
commit
7c965538a6
@ -253,7 +253,7 @@ const TEST_LIST: [PerformanceTest; 15] = [
|
|||||||
func_ptr: performance_net_throughput,
|
func_ptr: performance_net_throughput,
|
||||||
control: PerformanceTestControl {
|
control: PerformanceTestControl {
|
||||||
num_queues: Some(4),
|
num_queues: Some(4),
|
||||||
queue_size: Some(1024),
|
queue_size: Some(256),
|
||||||
net_rx: Some(true),
|
net_rx: Some(true),
|
||||||
..PerformanceTestControl::default()
|
..PerformanceTestControl::default()
|
||||||
},
|
},
|
||||||
@ -263,7 +263,7 @@ const TEST_LIST: [PerformanceTest; 15] = [
|
|||||||
func_ptr: performance_net_throughput,
|
func_ptr: performance_net_throughput,
|
||||||
control: PerformanceTestControl {
|
control: PerformanceTestControl {
|
||||||
num_queues: Some(4),
|
num_queues: Some(4),
|
||||||
queue_size: Some(1024),
|
queue_size: Some(256),
|
||||||
net_rx: Some(false),
|
net_rx: Some(false),
|
||||||
..PerformanceTestControl::default()
|
..PerformanceTestControl::default()
|
||||||
},
|
},
|
||||||
@ -273,7 +273,7 @@ const TEST_LIST: [PerformanceTest; 15] = [
|
|||||||
func_ptr: performance_block_io,
|
func_ptr: performance_block_io,
|
||||||
control: PerformanceTestControl {
|
control: PerformanceTestControl {
|
||||||
num_queues: Some(1),
|
num_queues: Some(1),
|
||||||
queue_size: Some(1024),
|
queue_size: Some(128),
|
||||||
fio_ops: Some(FioOps::Read),
|
fio_ops: Some(FioOps::Read),
|
||||||
..PerformanceTestControl::default()
|
..PerformanceTestControl::default()
|
||||||
},
|
},
|
||||||
@ -283,7 +283,7 @@ const TEST_LIST: [PerformanceTest; 15] = [
|
|||||||
func_ptr: performance_block_io,
|
func_ptr: performance_block_io,
|
||||||
control: PerformanceTestControl {
|
control: PerformanceTestControl {
|
||||||
num_queues: Some(1),
|
num_queues: Some(1),
|
||||||
queue_size: Some(1024),
|
queue_size: Some(128),
|
||||||
fio_ops: Some(FioOps::Write),
|
fio_ops: Some(FioOps::Write),
|
||||||
..PerformanceTestControl::default()
|
..PerformanceTestControl::default()
|
||||||
},
|
},
|
||||||
@ -293,7 +293,7 @@ const TEST_LIST: [PerformanceTest; 15] = [
|
|||||||
func_ptr: performance_block_io,
|
func_ptr: performance_block_io,
|
||||||
control: PerformanceTestControl {
|
control: PerformanceTestControl {
|
||||||
num_queues: Some(1),
|
num_queues: Some(1),
|
||||||
queue_size: Some(1024),
|
queue_size: Some(128),
|
||||||
fio_ops: Some(FioOps::RandomRead),
|
fio_ops: Some(FioOps::RandomRead),
|
||||||
..PerformanceTestControl::default()
|
..PerformanceTestControl::default()
|
||||||
},
|
},
|
||||||
@ -303,7 +303,7 @@ const TEST_LIST: [PerformanceTest; 15] = [
|
|||||||
func_ptr: performance_block_io,
|
func_ptr: performance_block_io,
|
||||||
control: PerformanceTestControl {
|
control: PerformanceTestControl {
|
||||||
num_queues: Some(1),
|
num_queues: Some(1),
|
||||||
queue_size: Some(1024),
|
queue_size: Some(128),
|
||||||
fio_ops: Some(FioOps::RandomWrite),
|
fio_ops: Some(FioOps::RandomWrite),
|
||||||
..PerformanceTestControl::default()
|
..PerformanceTestControl::default()
|
||||||
},
|
},
|
||||||
@ -313,7 +313,7 @@ const TEST_LIST: [PerformanceTest; 15] = [
|
|||||||
func_ptr: performance_block_io,
|
func_ptr: performance_block_io,
|
||||||
control: PerformanceTestControl {
|
control: PerformanceTestControl {
|
||||||
num_queues: Some(2),
|
num_queues: Some(2),
|
||||||
queue_size: Some(1024),
|
queue_size: Some(128),
|
||||||
fio_ops: Some(FioOps::Read),
|
fio_ops: Some(FioOps::Read),
|
||||||
..PerformanceTestControl::default()
|
..PerformanceTestControl::default()
|
||||||
},
|
},
|
||||||
@ -323,7 +323,7 @@ const TEST_LIST: [PerformanceTest; 15] = [
|
|||||||
func_ptr: performance_block_io,
|
func_ptr: performance_block_io,
|
||||||
control: PerformanceTestControl {
|
control: PerformanceTestControl {
|
||||||
num_queues: Some(2),
|
num_queues: Some(2),
|
||||||
queue_size: Some(1024),
|
queue_size: Some(128),
|
||||||
fio_ops: Some(FioOps::Write),
|
fio_ops: Some(FioOps::Write),
|
||||||
..PerformanceTestControl::default()
|
..PerformanceTestControl::default()
|
||||||
},
|
},
|
||||||
@ -333,7 +333,7 @@ const TEST_LIST: [PerformanceTest; 15] = [
|
|||||||
func_ptr: performance_block_io,
|
func_ptr: performance_block_io,
|
||||||
control: PerformanceTestControl {
|
control: PerformanceTestControl {
|
||||||
num_queues: Some(2),
|
num_queues: Some(2),
|
||||||
queue_size: Some(1024),
|
queue_size: Some(128),
|
||||||
fio_ops: Some(FioOps::RandomRead),
|
fio_ops: Some(FioOps::RandomRead),
|
||||||
..PerformanceTestControl::default()
|
..PerformanceTestControl::default()
|
||||||
},
|
},
|
||||||
@ -343,7 +343,7 @@ const TEST_LIST: [PerformanceTest; 15] = [
|
|||||||
func_ptr: performance_block_io,
|
func_ptr: performance_block_io,
|
||||||
control: PerformanceTestControl {
|
control: PerformanceTestControl {
|
||||||
num_queues: Some(2),
|
num_queues: Some(2),
|
||||||
queue_size: Some(1024),
|
queue_size: Some(128),
|
||||||
fio_ops: Some(FioOps::RandomWrite),
|
fio_ops: Some(FioOps::RandomWrite),
|
||||||
..PerformanceTestControl::default()
|
..PerformanceTestControl::default()
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user