diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-25 13:49:21 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-25 16:58:26 +0800 |
commit | 6463b6635a8094a0ddcf83605cd231ba46104f72 (patch) | |
tree | 4ec7c0381f4447f5462fb2cac556a473b4b3c36e /resources | |
parent | ec63540ec6cd3e6310407826b99cf0b3327bdf02 (diff) |
Add ssl aes metrics in qpi calculation
Change-Id: Id568aa3942849e105ca24892babff2acaec21121
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/QPI/compute.yaml | 13 | ||||
-rw-r--r-- | resources/ansible_roles/openssl/tasks/main.yml | 5 | ||||
-rw-r--r-- | resources/ansible_roles/qtip/tasks/calculate.yml | 2 |
3 files changed, 19 insertions, 1 deletions
diff --git a/resources/QPI/compute.yaml b/resources/QPI/compute.yaml index 736aef22..7746cbd7 100644 --- a/resources/QPI/compute.yaml +++ b/resources/QPI/compute.yaml @@ -34,3 +34,16 @@ sections: # split based on different application baseline: 102.1 - name: rsa_verify_4096 baseline: 6402.9 + - name: ssl_aes + formual: geometric mean + workloads: + - name: aes_128_cbc_16_bytes + baseline: 612376.96k + - name: aes_128_cbc_64_bytes + baseline: 657350.74k + - name: aes_128_cbc_256_bytes + baseline: 669680.04k + - name: aes_128_cbc_1024_bytes + baseline: 672675.50k + - name: aes_128_cbc_8192_bytes + baseline: 672344.75k diff --git a/resources/ansible_roles/openssl/tasks/main.yml b/resources/ansible_roles/openssl/tasks/main.yml index 6ef24bbc..91c5be93 100644 --- a/resources/ansible_roles/openssl/tasks/main.yml +++ b/resources/ansible_roles/openssl/tasks/main.yml @@ -25,6 +25,7 @@ set_fact: rsa_logfile: "{{ qtip_results }}/openssl_rsa.log" aes_logfile: "{{ qtip_results }}/openssl_aes.log" + tags: always # TODO(yujunz) `delegate_to` not working under `with_items` - name: saving rsa output to log @@ -61,6 +62,7 @@ ?(?P<rsa_verify_4096>\d+\.\d)$ export_to: "{{ qtip_results }}/ssl_rsa_metrics.json" register: ssl_rsa_metrics + tags: collect - name: collect ssl aes metrics collect: @@ -75,10 +77,11 @@ ?(?P<aes_128_cbc_8192_bytes>\d+\.\w+)$ export_to: "{{ qtip_results }}/ssl_aes_metrics.json" register: ssl_aes_metrics + tags: collect - name: create SSL report template: src: ssl-metrics.j2 dest: "{{ qtip_results }}/ssl-metrics" delegate_to: localhost - tags: [report] + tags: report diff --git a/resources/ansible_roles/qtip/tasks/calculate.yml b/resources/ansible_roles/qtip/tasks/calculate.yml index aae4b453..3bcda9f9 100644 --- a/resources/ansible_roles/qtip/tasks/calculate.yml +++ b/resources/ansible_roles/qtip/tasks/calculate.yml @@ -13,6 +13,8 @@ calculate: metrics: ssl_rsa: "{{ ssl_rsa_metrics }}" + ssl_aes: "{{ ssl_aes_metrics }}" spec: "{{ qtip_resources }}/QPI/compute.yaml" + export_to: "{{ qtip_results }}/qpi_result.json" register: qpi_result delegate_to: localhost |