• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5NAME = 'hardware_StorageFio.hwqual'
6AUTHOR = 'The Chromium OS Authors'
7PURPOSE = 'Benchmark storage performance using an unmounted root partition.'
8CRITERIA = 'This test is a benchmark.'
9ATTRIBUTES = "suite:hwqual"
10TIME = 'MEDIUM'
11TEST_CLASS = "hardware"
12TEST_CATEGORY = 'Performance'
13TEST_TYPE = 'client'
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 sizes 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
21NOTE: If autoupdate or another program accesses the spare root partition
22while this test is running corruption may occur.
23"""
24
25job.run_test('hardware_StorageFio',
26             constraints=[
27                 '_seq_read_read_bw >= 50 * 1024',
28                 '_seq_write_write_bw >= 15 * 1024',
29                 '_16k_write_write_iops >= 10',
30             ])
31