Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4870499ybc; Tue, 26 Nov 2019 16:23:13 -0800 (PST) X-Google-Smtp-Source: APXvYqw5uAscblp+dDEkyNjyBD7ASUd172Rn8kZNzQ9fMde2hDx7PlSw6b9LuAr/8SR8xrsl/okG X-Received: by 2002:a17:906:394:: with SMTP id b20mr21609529eja.188.1574814193621; Tue, 26 Nov 2019 16:23:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574814193; cv=none; d=google.com; s=arc-20160816; b=fo+f2y45ZSiN45Z+5uFA9IQ13XsJNfTq5vD7Q9FkFfT1xMgQuVP1b7F30INH4fctNO yc+DUMaW4NzL/qBSp8KZ5TthDf6yJLIi0nV0YKPrqi5sE+Tyurun4WTBHYF+Am7N5MJS UEg9X3jOsG9VeIB3tSiUkDqc5KlZSEJGQbsJmzM7k9/mASaPTSfqyndwq8Kjkc0zHKLQ LUttx7PdNnx9I1XGfBLIyfmlUwWfRaR8AO+WsKVbNhA3jcJBX73tbKjhPvWA+HO+b0Kt L3NTlWwvVMaFuI5K1T2ikBivl+FWyC/usYcMfnSEHV6mqN5ZxIcHMR68dIyN2uHtTLKL 1Ojw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date; bh=dfpMwa68OI/h3ljEzG/V+ZstRXnvB+vRiYGtzzd3u3o=; b=D5/zx81BKwwFNg3kOEi3WNi8z2Fp+HNzwwF+8OkadFuJyznvpR/oJsNv7D/LSBD7DB z9h8sYVD0OwKry7S0OAC0PGEVdI5jwMXUZttE4V7dcbF0DSmnJ8Wm/au4F7yDXJnoqt5 t9T2PxvG/FKvUHyceFeCCUI3fy3+rYaPNEGCY3Ys/8Aa2Bs6+jmeo6GYMm9+tGx5/OCb 8MX8nlLLKe8F533ogzXTMupQlAu2CA0CQc+XCJG6qveBbeLcYoOY3qkB93J5GLkJOO/v pq+LyNHAHNpRPLlRKxD2P2DT7IGd9hYgAtKuIhS53caHQwJkZsN50Pa3m3I5JUEqWPWy qWEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e26si8498644edv.82.2019.11.26.16.22.49; Tue, 26 Nov 2019 16:23:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727091AbfK0AVQ (ORCPT + 99 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. --