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_MemoryLatency' 6 AUTHOR = 'sonnyrao (a] chromium.org' 7 PURPOSE = 'Benchmark memory and cache access latency' 8 CRITERIA = 'This test is a benchmark.' 9 ATTRIBUTES = "suite:hwqual, suite:kernel_daily_benchmarks" 10 SUITE = "kernel_daily_benchmarks, hwqual" 11 TIME='MEDIUM' 12 TEST_CATEGORY = 'Performance' 13 TEST_CLASS = "hardware" 14 TEST_TYPE = 'client' 15 16 DOC = """ 17 This test will use the lat_mem_rd benchmark from lmbench3 to measure memory 18 latency. 19 """ 20 21 # test with samples added at points which should roughly correspond to 22 # L1, L2, L3 (if any) and the final size will tell us DRAM latency 23 job.run_test('hardware_MemoryLatency', 24 sample_size_kb=[ int(2), int(192), int(1024)]) 25