History log of /external/autotest/client/site_tests/hardware_StorageTrim/hardware_StorageTrim.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ae36712f888f6ba538eb4942e38ef2b8aaf6e6b4 25-Feb-2015 Gwendal Grignou <gwendal@chromium.org> disk_qual: disable sysinfo logger hook for StorageFio subtests

When running hardware_StorageFio from another test, disable sysinfo
logger scripts.
Files collected before and after iteration (interupts, meminfo,
slabinfo)... are not collected around the Fio call.

Note that other files still are still collected, those in
site_sysinfo.test_loggables or site_sysinfo.boot_loggables

BUG=chromium:456195
TEST=Run StorageQualSuspend.quick on samus.
Check where iteration.* directories are missing.
Check there is still overall iteration directory present.

Change-Id: I1f73b776b1149adaa77c38a49239aca10ae356f1
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/253643
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Puthikorn Voravootivat <puthik@chromium.org>
/external/autotest/client/site_tests/hardware_StorageTrim/hardware_StorageTrim.py
540af155fcd1016257478c22de8828b449d18085 20-May-2014 Puthikorn Voravootivat <puthik@chromium.org> autotest: Add common code for disk related function.

Add the following functions in site_utils and modify current
client tests to use function in the utils instead of their
own implementation. Also move get_fixed_dst_drive from utils
to site_utils as this function is ChromeOS specific.
- Get root device
- Get root partition
- Get spare root partition for testing
- Check whether system is booted from internal disk or not
- Get disk/partition size

BUG=chromium:375396
TEST=Test affected function (listed below) with test_that.
hardware_Badblocks, hardware_DiskSize, hardware_Smartctl,
hardware_StorageFio, hardware_StorageTrim,
hardware_TrimIntegrity, power_Consumption,
platform_RootPartitionsNotMounted

Change-Id: I2c3ea95a5d603e3700115006d77db897ab2847e5
Reviewed-on: https://chromium-review.googlesource.com/200627
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Puthikorn Voravootivat <puthik@chromium.org>
Commit-Queue: Puthikorn Voravootivat <puthik@chromium.org>
/external/autotest/client/site_tests/hardware_StorageTrim/hardware_StorageTrim.py
51990378ba4ae7ed10ab4efcae7df3828a5a206c 18-Jan-2014 Puthikorn Voravootivat <puthik@chromium.org> autotest: Add new test to measure trim effect with write performance.

Add new hardware_StorageTrim test and 2 scripts in hardware_StorageFio.
This test fills the drive 2 times using random write, measure write
performance, trims all the drive. and measure write performance again.

BUG=chromium:329736
TEST=Tested in falco. Result shows that performance is better after trim.

Change-Id: Idc4f137d686bb4cecb568983dda399567f73ee40
Reviewed-on: https://chromium-review.googlesource.com/183121
Reviewed-by: Grant Grundler <grundler@chromium.org>
Commit-Queue: Puthikorn Voravootivat <puthik@chromium.org>
Tested-by: Puthikorn Voravootivat <puthik@chromium.org>
/external/autotest/client/site_tests/hardware_StorageTrim/hardware_StorageTrim.py