xref: /aosp_15_r20/external/autotest/client/site_tests/hardware_MemoryThroughput/control (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
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_MemoryThroughput'
6AUTHOR = '[email protected]'
7PURPOSE = 'Benchmark sequential throughput for read, write, and copy'
8CRITERIA = 'This test is a benchmark.'
9ATTRIBUTES = "suite:hwqual, suite:kernel_daily_benchmarks"
10TIME='SHORT'
11TEST_CATEGORY = 'Performance'
12TEST_CLASS = 'hardware'
13TEST_TYPE = 'client'
14PY_VERSION = 3
15
16DOC = """
17This uses the lmbench 3 bw_mem benchmark for reads, writes, and copy
18For write and copy it uses C standard library functions memcpy and
19memset, which are generally optimized for the target.
20"""
21
22job.run_test('hardware_MemoryThroughput', test='bcopy', warmup=100,
23                                          num_iterations=20, parallel=2,
24                                          sizes=[ 16 * 1024 * 1024])
25