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' 10ATTRIBUTES = "suite:experimental" 11JOB_RETRIES = 2 12 13DOC = """ 14This test uses FIO test to make sure that test work correctly. 15Use following test over 64 MB area. 16- QD4 64K random write 17- QD4 64K random read 18- QD1 512K seq write 19- QD1 512K seq read 20""" 21 22job.run_test(url=NAME.split('.')[0], filesize=64 * 1024 * 1024, 23 tag=NAME.split('.')[1], requirements = [('bvt_job', [])], 24 constraints=[ 25 '_64k_read_read_clat_ns_max <= 2000000000', 26 '_64k_write_write_clat_ns_max <= 2000000000', 27 '_seq_read_read_bw >= 5 * 1024', 28 '_seq_write_write_bw >= 5 * 1024' 29 ]) 30