New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 806172 link

Starred by 2 users

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

StorageQual Test: add time for eMMC to purge its SLC cache

Project Member Reported by gwendal@chromium.org, Jan 26 2018

Issue description

Recommended by vendor, insert a idle time after heavy write test. The eMMC will request BKOP to be run, helping the eMMC flush its [SLC] cache and perform required garbage collection.

From Hynix [b/35575108][image006.png]
From Sandisk 7232: 
"""Emptying the iNAND SmartSLC buffer
There are a number of host enabled mechanisms that can be used to empty the SmartSLC buffer (migration). All of these modes can be enabled at the same time or only a single or a few modes can be selected. ... 
1. IDLE only mode (PoN=1) – Recommended option.

Without this, the Sandisk eMMC performance drops after 1-2 days of soak test.
 
image006.png
28.9 KB View Download
Project Member

Comment 1 by bugdroid1@chromium.org, Feb 26 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e

commit cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e
Author: Gwendal Grignou <gwendal@chromium.org>
Date: Mon Feb 26 19:43:58 2018

server: storage_qual: Add delay between soak iteration

To allow time for the eMMC to run garbage collection and maintain
performance, add sleep in hardware_StorageStress to allow the kernel to
schedule BKOPs that le the eMMC shuffle data around.

BUG=chromium:806172
TEST=Check 5 minutes of idle time are inserted when running
hardware_StorageStress.soak_test:

                END GOOD        hardware_StorageFio.soak_1
hardware_StorageFio.soak_1      ... localtime=Jan 25 19:48:59
        END GOOD        ----    ----    ...  localtime=Jan 25 19:49:00
        START   ----    ----    ...    localtime=Jan 25 19:54:04
                START   hardware_StorageFio.surf_1
hardware_StorageFio.surf_1      ...    localtime=Jan 25 19:54:04

Change-Id: Id40dd60e35e650cbf8652faead81375560ce860b
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/887929
Reviewed-by: Puthikorn Voravootivat <puthik@chromium.org>

[modify] https://crrev.com/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e/server/site_tests/sequences/control.storage_qual_retention_quick
[modify] https://crrev.com/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e/server/site_tests/hardware_StorageStress/hardware_StorageStress.py
[modify] https://crrev.com/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e/server/site_tests/sequences/control.storage_qual_suspend_quick
[modify] https://crrev.com/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e/server/site_tests/sequences/control.storage_qual_trim
[modify] https://crrev.com/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e/server/site_tests/sequences/control.storage_qual_soak
[modify] https://crrev.com/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e/server/site_tests/sequences/control.storage_qual_retention
[modify] https://crrev.com/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e/server/site_tests/sequences/control.storage_qual_trim_quick
[modify] https://crrev.com/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e/server/site_tests/sequences/control.storage_qual_suspend
[modify] https://crrev.com/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e/server/site_tests/hardware_StorageStress/control.soak
[modify] https://crrev.com/cddae8ffc1e0ad6dce2da6c1728f0c673c8c580e/server/site_tests/hardware_StorageStress/control.soak.test

Sign in to add a comment