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