Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6036678ybc; Wed, 27 Nov 2019 13:51:23 -0800 (PST) X-Google-Smtp-Source: APXvYqxVYwCuCP72W/89tPWNyeoCrJHKI1y2K/6Wx3la4GqQpdB2F68eC+VwElaUwwvYCfCWWQ23 X-Received: by 2002:a05:6402:12d1:: with SMTP id k17mr34620207edx.188.1574891483266; Wed, 27 Nov 2019 13:51:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574891483; cv=none; d=google.com; s=arc-20160816; b=0i4Qq4/1xKNEjt8kC1ZvHCmjt7UK3jJkQTVkNXGZzodSF5WvFcfdumJL+gJASMKXwJ wLx93IwqCRL152fuWxD1ygiU5XVjuGd0lEVoGOQPrvk8wiVx/GOmkasaxbQikbWJZuwM Qlq2c31JNld4P10EoyHKL0oRI8v3ocfYyBEsoGeEj/fK4vidzqzCKUQk3v/bBjo3wQ1O R7fmIBaXatAWm1x1pXcjrq8kVXBpIAn2xiy4F4BAyS6Yx0AzX3CeB6zv52FbtP2RsyYZ RQUfuhMddaD2xLqZc1YJ/nKwJ9ofw7sALgAevF4Xn9E0/O7TmXbUu80cKmtlrp3vMFOW 35Vw== 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=6IaxK6jf2+XBXeoRqtRuSfDl141+S2aieNgnX8Oa9MU=; b=LgOLTiEry84ULEUEZPt8+QWWCMO6TWHSuxQK6fOAOr6SLGgUGNGMly4pH45zY03Gjp PYYW/IyxTepvG8aswnhY5bTWVMyAb44DCKy86e1cAnGMj7vdT8IMh4+BZVkOY4atMXCB SAkm4hXqQhf86g/ehZm4b2KXVeLgY7csw1upXN8tvSUafWIg6jIrIexk9ahriKmysmDk JoC0S/MrIwDsDnX98UbDTX+IpcAQ86bXP4SG3p2j8AiEBFtJqLCYTfQrn6B7GxdzmZWd 8TTqqLDgG28XxUsSyVCibn26lBsviuPVQ+0nj326vXGMBTg6KFhXCOHqslAwyy21PAuq IQhA== 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 h1si10860027edn.404.2019.11.27.13.50.59; Wed, 27 Nov 2019 13:51:23 -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 S1727113AbfK0VuA (ORCPT + 99 others); Wed, 27 Nov 2019 16:50:00 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:49304 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727194AbfK0Vt7 (ORCPT ); Wed, 27 Nov 2019 16:49:59 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 7D0BD22B48; Wed, 27 Nov 2019 16:49:55 -0500 (EST) Date: Thu, 28 Nov 2019 08:49:53 +1100 (AEDT) From: Finn Thain To: "Schmid, Carsten" cc: Andrea Vai , 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: AW: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6 In-Reply-To: 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 Wed, 27 Nov 2019, Schmid, Carsten wrote: > > > > The sheer volume of testing (probably some terabytes by now) would > > exercise the wear leveling algorithm in the FTL. > > > But with "old kernel" the copy operation still is "fast", as far as i > understood. If FTL (e.g. wear leveling) would slow down, we would see > that also in the old kernel, right? > > Andrea, can you confirm that the same device used with the old fast > kernel is still fast today? You seem to be saying we should optimize the kernel for a pathological use-case merely because it used to be fast before the blk-mq conversion. That makes no sense to me. I suppose you have information that I don't. I assume that your employer (and the other corporations involved in this) have plenty of regression test results from a variety of flash hardware to show that the regression is real and the device is not pathological. I'm not privy to any of that information so I will shut up and leave you guys to it. -- > > 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. > >