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 = 'sonnyrao@chromium.org' 7PURPOSE = 'Benchmark sequential throughput for read, write, and copy' 8CRITERIA = 'This test is a benchmark.' 9ATTRIBUTES = "suite:hwqual, suite:kernel_daily_benchmarks" 10SUITE = "kernel_daily_benchmarks, hwqual" 11TIME='SHORT' 12TEST_CATEGORY = 'Performance' 13TEST_CLASS = 'hardware' 14TEST_TYPE = 'client' 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