blob: d96e7f39a7ce828fed45aae280c0424c73ed7451 [file] [log] [blame]
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
NAME = 'hardware_MemoryThroughput'
PURPOSE = 'Benchmark sequential throughput for read, write, and copy'
CRITERIA = 'This test is a benchmark.'
ATTRIBUTES = "suite:hwqual, suite:kernel_daily_benchmarks"
TEST_CATEGORY = 'Performance'
TEST_CLASS = 'hardware'
TEST_TYPE = 'client'
DOC = """
This uses the lmbench 3 bw_mem benchmark for reads, writes, and copy
For write and copy it uses C standard library functions memcpy and
memset, which are generally optimized for the target.
job.run_test('hardware_MemoryThroughput', test='bcopy', warmup=100,
num_iterations=20, parallel=2,
sizes=[ 16 * 1024 * 1024])