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' 13 14DOC = """ 15This test uses FIO to spawn a number of threads to perform a particular type of 16I/O. This test will use block sizs of 4k, 8k, and 16k. It will also attempt 17to simulate the disk traffic during a boot, login, and web surfing. It tests 18both sequential and random data access. 19""" 20 21job.run_test('hardware_StorageFioOther', 22 constraints=[ 23 '_seq_read_read_bw >= 50 * 1024', 24 '_seq_write_write_bw >= 30 * 1024', 25 '_16k_write_write_iops >= 250', 26 ])