1 # Copyright (c) 2012 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 5 NAME = 'hardware_StorageFio.quicktest' 6 AUTHOR = 'The Chromium OS Authors' 7 PURPOSE = 'Benchmark storage performance using an unmounted root partition.' 8 CRITERIA = 'This test is a quick benchmark.' 9 ATTRIBUTES = "suite:kernel_per-build_benchmarks" 10 SUITE = "kernel_per-build_benchmarks" 11 TIME = 'SHORT' 12 TEST_CLASS = "hardware" 13 TEST_CATEGORY = 'Performance' 14 TEST_TYPE = 'client' 15 16 DOC = """ 17 This test uses FIO to spawn a number of threads to perform a particular type of 18 I/O. This test will use block sizes of 4k, 8k, and 16k. It will also attempt 19 to simulate the disk traffic during a boot, login, and web surfing. It tests 20 both sequential and random data access. 21 22 NOTE: If autoupdate or another program accesses the spare root partition 23 while this test is running corruption may occur. 24 """ 25 26 job.run_test(url='hardware_StorageFio', quicktest='True') 27