Merge ~sylvain-pineau/plainbox-provider-checkbox:configurable_disk_read_perf into plainbox-provider-checkbox:master
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | bb244e1d5e55a6c3cbd8bfb914ab93ede3b4826e |
Merged at revision: | 4ba088e8272fae98bacc9b975897c6263ae4195a |
Proposed branch: | ~sylvain-pineau/plainbox-provider-checkbox:configurable_disk_read_perf |
Merge into: | plainbox-provider-checkbox:master |
Diff against target: |
25 lines (+2/-1) 2 files modified
bin/disk_read_performance_test (+1/-1) units/disk/jobs.pxu (+1/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Cave (community) | Needs Information | ||
Maciej Kisielewski | Approve | ||
Review via email: mp+347753@code.launchpad.net |
Description of the change
configurable read speed threshold (mainly to set a lower value on slow IOT systems)
Tested with a threshold of 10000:
$ export DISK_READ_
[...]
-------------[ Running job 28 / 28. Estimated time left: unknown ]--------------
-------
ID: com.canonical.
Category: com.canonical.
... 8< -------
Beginning /tmp/nest-
-------
INFO: nvme0n1 type is
INFO: : Using 10000 MB/sec as the minimum throughput speed
Beginning hdparm timing runs
-------
INFO: Iteration 1: Detected speed is 1950.90 MB/sec
INFO: Iteration 2: Detected speed is 1922.77 MB/sec
INFO: Iteration 3: Detected speed is 1971.30 MB/sec
INFO: Iteration 4: Detected speed is 2004.74 MB/sec
INFO: Iteration 5: Detected speed is 1921.95 MB/sec
INFO: Iteration 6: Detected speed is 1982.64 MB/sec
INFO: Iteration 7: Detected speed is 1934.61 MB/sec
INFO: Iteration 8: Detected speed is 1903.95 MB/sec
INFO: Iteration 9: Detected speed is 1945.92 MB/sec
INFO: Iteration 10: Detected speed is 1874.91 MB/sec
INFO: Maximum detected speed is 2004 MB/sec
-------
FAIL: nvme0n1 Max Speed of 2004 MB/sec is slower than Minimum Buffer Read Speed of 10000 MB/sec
WARNING: One or more disks failed testing!
-------
Outcome: job failed
Looks good! +1