From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1882C43215 for ; Wed, 27 Nov 2019 00:21:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C079B20674 for ; Wed, 27 Nov 2019 00:21:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727079AbfK0AVQ (ORCPT ); Tue, 26 Nov 2019 19:21:16 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:53984 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726980AbfK0AVQ (ORCPT ); Tue, 26 Nov 2019 19:21:16 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id E5F1122C35; Tue, 26 Nov 2019 19:21:11 -0500 (EST) Date: Wed, 27 Nov 2019 11:21:13 +1100 (AEDT) From: Finn Thain To: Andrea Vai cc: Ming Lei , Damien Le Moal , Alan Stern , Jens Axboe , Johannes Thumshirn , USB list , SCSI development list , Himanshu Madhani , Hannes Reinecke , Omar Sandoval , "Martin K. Petersen" , Greg KH , Hans Holmberg , Kernel development list Subject: Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6 In-Reply-To: <0598fe2754bf0717d81f7e72d3e9b3230c608cc6.camel@unipv.it> Message-ID: References: <20191109222828.GA30568@ming.t460p> <20191123072726.GC25356@ming.t460p> <20191125035437.GA3806@ming.t460p> <20191125102928.GA20489@ming.t460p> <20191125151535.GA8044@ming.t460p> <0876e232feace900735ac90d27136288b54dafe1.camel@unipv.it> <20191126023253.GA24501@ming.t460p> <0598fe2754bf0717d81f7e72d3e9b3230c608cc6.camel@unipv.it> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Tue, 26 Nov 2019, Andrea Vai wrote: > Then I started another set of 100 trials and let them run tonight, and > the first 10 trials were around 1000s, then gradually decreased to > ~300s, and finally settled around 200s with some trials below 70-80s. > This to say, times are extremely variable and for the first time I > noticed a sort of "performance increase" with time. > The sheer volume of testing (probably some terabytes by now) would exercise the wear leveling algorithm in the FTL. This in itself seems unlikely to improve performance significantly. But if the flash memory came from a bad batch, perhaps it would have that effect. To find out, someone may need to source another (genuine) Kingston DataTraveller device. --