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