[RFC] Add a subtest performance.py

Add a new subtest performance.py, it's similar with autotest.py, and we can use it to collect and process host/guest system information in background.


Amos Kong (7):
  test: fix directory name
  introduce a script to execute program
  ffsb: add example patches
  virt: add a new subtest: performanc.py
  subtests.cfg: update configuration of performance subtest
  virt_test_utils: introduce cmd_runner_monitor()
  virt_test_utils: introduce summary_up_result()

 client/test.py                                     |    3 +-
 .../tests/kvm/src/examples/ffsb_file_prepare.patch |   51 +++++++
 .../examples/ffsb_large_file_creates_256k_1.patch  |   53 ++++++++
 .../examples/ffsb_large_file_creates_256k_16.patch |   53 ++++++++
 .../examples/ffsb_large_file_creates_256k_8.patch  |   53 ++++++++
 .../examples/ffsb_large_file_creates_8k_1.patch    |   53 ++++++++
 .../examples/ffsb_large_file_creates_8k_16.patch   |   53 ++++++++
 .../examples/ffsb_large_file_creates_8k_8.patch    |   53 ++++++++
 .../kvm/src/examples/ffsb_large_file_prepare.patch |   51 +++++++
 .../kvm/src/examples/ffsb_mail_server_8k_1.patch   |   68 ++++++++++
 .../kvm/src/examples/ffsb_mail_server_8k_16.patch  |   68 ++++++++++
 .../kvm/src/examples/ffsb_mail_server_8k_8.patch   |   68 ++++++++++
 .../kvm/src/examples/ffsb_random_reads_8k_1.patch  |   54 ++++++++
 .../kvm/src/examples/ffsb_random_reads_8k_16.patch |   54 ++++++++
 .../kvm/src/examples/ffsb_random_reads_8k_8.patch  |   54 ++++++++
 .../kvm/src/examples/ffsb_random_write_8k_1.patch  |   54 ++++++++
 .../kvm/src/examples/ffsb_random_write_8k_16.patch |   54 ++++++++
 .../kvm/src/examples/ffsb_random_write_8k_8.patch  |   54 ++++++++
 .../examples/ffsb_sequential_reads_256k_1.patch    |   50 +++++++
 .../examples/ffsb_sequential_reads_256k_16.patch   |   50 +++++++
 .../examples/ffsb_sequential_reads_256k_8.patch    |   50 +++++++
 .../src/examples/ffsb_sequential_reads_8k_1.patch  |   50 +++++++
 .../src/examples/ffsb_sequential_reads_8k_16.patch |   50 +++++++
 .../src/examples/ffsb_sequential_reads_8k_8.patch  |   50 +++++++
 client/tests/kvm/tests/performance.py              |  123 +++++++++++++++++
 client/virt/scripts/cmd_runner.py                  |   88 ++++++++++++
 client/virt/subtests.cfg.sample                    |  114 ++++++++++++++++
 client/virt/virt_test_utils.py                     |  139 ++++++++++++++++++++
 28 files changed, 1714 insertions(+), 1 deletions(-)
 create mode 100644 client/tests/kvm/src/examples/ffsb-profiles.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_file_prepare.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_large_file_creates_256k_1.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_large_file_creates_256k_16.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_large_file_creates_256k_8.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_large_file_creates_8k_1.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_large_file_creates_8k_16.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_large_file_creates_8k_8.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_large_file_prepare.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_mail_server_8k_1.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_mail_server_8k_16.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_mail_server_8k_8.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_random_reads_8k_1.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_random_reads_8k_16.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_random_reads_8k_8.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_random_write_8k_1.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_random_write_8k_16.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_random_write_8k_8.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_sequential_reads_256k_1.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_sequential_reads_256k_16.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_sequential_reads_256k_8.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_sequential_reads_8k_1.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_sequential_reads_8k_16.patch
 create mode 100644 client/tests/kvm/src/examples/ffsb_sequential_reads_8k_8.patch
 create mode 100644 client/tests/kvm/tests/performance.py
 create mode 100644 client/virt/scripts/cmd_runner.py