• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2015 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.memory_qual'
6AUTHOR = 'puthik'
7PURPOSE = 'Benchmark sequential throughput for read, write, and copy'
8CRITERIA = 'This test is a benchmark for memory qualification.'
9TIME = 'MEDIUM'
10TEST_CATEGORY = 'Performance'
11TEST_CLASS = 'hardware'
12TEST_TYPE = 'client'
13
14DOC = """
15This uses the lmbench 3 bw_mem benchmark for reads, writes, and copy
16For write and copy it uses C standard library functions memcpy and
17memset, which are generally optimized for the target.
18"""
19
20job.run_test('hardware_MemoryThroughput',
21              tag='memory_qual', test='bcopy', warmup=100,
22              num_iterations=100, parallel=2,
23              sizes=[ 1024, 2048, 4096, 8192,
24                      15360, 16384, 24576,
25                      30720, 32768, 33792,
26                      49152, 65536, 98304,
27                      130048, 131072, 256000,
28                      262144, 393216, 524288,
29                      1048576, 1468006, 1572864,
30                      1966080, 2097152, 2228224,
31                      2621440, 3072000, 3145728,
32                      3276800, 4194304, 8388608,
33                      16777216, 33554432, 67108864])
34