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_StorageFio.vendor' 6AUTHOR = 'puthik' 7PURPOSE = 'Test the internal device for new storage vendor' 8TIME = 'LENGTHY' 9TEST_TYPE = 'client' 10PY_VERSION = 3 11 12DOC = """ 13This test uses FIO test for new storage vendor using the following workload. 14And collect the IOPs / Bandwidth and latency 15- Trim the drive 16- QD32 16K random write 1st pass 17- QD32 16K random read 1st pass 18- QD32 16K random write 2nd pass 19- QD32 16K random read 2nd pass 20- QD32 16K random write 3rd pass 21- QD32 16K random read 3rd pass 22- Trim the drive 23- QD1 512K seq write 1st pass 24- QD1 512K seq read 1st pass 25- QD1 512K seq write 2nd pass 26- QD1 512K seq read 2nd pass 27- QD1 512K seq write 3rd pass 28- QD1 512K seq read 3rd pass 29- Trim the drive 30- QD4 1M read 15% random read write 1st pass 31- QD4 1M read 15% random read write 2nd pass 32- QD4 1M read 15% random read write 3rd pass 33- Trim the drive 34 35NOTE: Must boot from USB or SD card to run this test. 36""" 37 38job.run_test(url='hardware_StorageFio', filesize=0, 39 requirements = [('vendor_perf_fill_device', [])]) 40