1# Copyright 2019 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_StorageFioOther.test' 6AUTHOR = 'The Chromium OS Authors' 7PURPOSE = 'Benchmark storage performance using an external device' 8CRITERIA = 'This test is a benchmark' 9TIME = 'MEDIUM' 10TEST_CLASS = 'hardware' 11TEST_CATEGORY = 'Performance' 12TEST_TYPE = 'client' 13PY_VERSION = 3 14 15DOC = """ 16This test uses FIO to spawn a number of threads to perform a particular type of 17I/O. This test will use block sizs of 4k, 8k, and 16k. It will also attempt 18to simulate the disk traffic during a boot, login, and web surfing. It tests 19both sequential and random data access. 20""" 21 22job.run_test('hardware_StorageFioOther', 23 constraints=[ 24 '_seq_read_read_bw >= 50 * 1024', 25 '_seq_write_write_bw >= 30 * 1024', 26 '_16k_write_write_iops >= 250', 27 ]) 28