1# Copyright (c) 2014 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5NAME = 'hardware_StorageFio.bvt' 6AUTHOR = 'puthik' 7PURPOSE = 'Make sure that hardware StorageFio work' 8TIME = 'FAST' 9TEST_TYPE = 'client' 10PY_VERSION = 3 11ATTRIBUTES = "suite:experimental" 12JOB_RETRIES = 2 13PY_VERSION = 3 14 15DOC = """ 16This test uses FIO test to make sure that test work correctly. 17Use following test over 64 MB area. 18- QD4 64K random write 19- QD4 64K random read 20- QD1 512K seq write 21- QD1 512K seq read 22""" 23 24job.run_test(url=NAME.split('.')[0], filesize=64 * 1024 * 1024, 25 tag=NAME.split('.')[1], requirements = [('bvt_job', [])], 26 constraints=[ 27 '_64k_read_read_clat_ns_max <= 2000000000', 28 '_64k_write_write_clat_ns_max <= 2000000000', 29 '_seq_read_read_bw >= 5 * 1024', 30 '_seq_write_write_bw >= 5 * 1024' 31 ]) 32