Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5226119ybc; Wed, 27 Nov 2019 00:18:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwfbmQiXE4EtdQdUGHgIr5pMkN7wsazATm7IlIm9Kle6fH2ppaMublnW3sjEtq+b9hdVef4 X-Received: by 2002:a05:6402:387:: with SMTP id o7mr6406643edv.84.1574842693488; Wed, 27 Nov 2019 00:18:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574842693; cv=none; d=google.com; s=arc-20160816; b=B1kddTW9MaxA2HH6JgiM0rFHDYNuZsMGFoUF8w9j6zT2oZSN0raBzl3DNE82X66bS4 69//QWpZwCiLA99SmULurY9Jsss94K8+5flMQVSYjRL+jWBmR551tE3NLP09Q8EQq149 TXFQAmKqNc9AV5egMJ8P8fNv5I6YH9PRveBwtKszYHClzwJBkvRT0zOtnMaShPbMaTx7 TNAPb5GjgYLqP8n1MaYW8i56n8i6+t8QEdGmU1dOdA72evZu4iIjw+f64Q5Rs0kqHFrX IGkWbJnhUKDjtxomfaJMAiVVz0bCfjpewRD+Sy9n0+IHc3ZyXFApLcF47OVCsXd4Mvkz 5QQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=1n02saecOiSqSM5mHRW8QfLWwPjCNYTBIzlZd8KuP2w=; b=jZVC66BofKu6WIvqBlXW8KbCJsGY7Lz/9ETJFEE79RWdBPqISxTGKO1fcfamynSk4r /F9Vj0tmzpAHp6RJMttA8LWb5UM5QvCxcFdJQIvvWQmvYULJYtVKd9ql84KOIpqkPqP7 9JBGltqK/jyfVY98KAGEBOHeyM/1pXX8ERwpfa1WfM3va/3NNnkr+1ZmuBsLRuGctzr6 6wru6b2sWZ7uOo9Q/mS0KfxYbObUaiJX6NhzblZY2DPhya4AS3LzdQJRRHpVx0v+88W+ qgfVnU1odDZR6djCBbwwtcr2HjrUZRb2byJ1QI1xLqkw6H1XAgsmlxqsPXLVJbpFJ84i umgA== 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 dn17si2763472edb.330.2019.11.27.00.17.48; Wed, 27 Nov 2019 00:18: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 S1726446AbfK0IOu convert rfc822-to-8bit (ORCPT + 99 others); Wed, 27 Nov 2019 03:14:50 -0500 Received: from esa3.mentor.iphmx.com ([68.232.137.180]:25273 "EHLO esa3.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbfK0IOu (ORCPT ); Wed, 27 Nov 2019 03:14:50 -0500 IronPort-SDR: vOSqOyXw8HC05bJhzZP6FTTg6h4fSPJPvO1Fb/JUKcrhi9bpGsvBbE7s5YDuAzFxMnG55KrSIv Tu/xSe4DvlTNXUfL0f6uhFUnDeLuglWw45XXDkeywb3YTT3sFNbWmuJSrLwmUXIKAPOHx2AsTN S6KhqrhjxV2PQhT2Wse1f4PYWwGKo6DcF9rGDN4e5p5o2TliBZF1IRbgDG5g3jZiYpP+vLSj8E OmOMOIY4KfGn3yUSpOUraeBNo1arbfG16oii1vzVh/2uwt1NLHhXPoziu73zCAWVI8vUZOBqbQ Iqo= X-IronPort-AV: E=Sophos;i="5.69,248,1571731200"; d="scan'208";a="43556738" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 27 Nov 2019 00:14:49 -0800 IronPort-SDR: BX04e9T2j+gJ4hVUyHYeKaKEEuYFQjU4MfwcvPoT0NPPhyNItdfQayTeyclKm7vY8pxc+SuyYt LMTPOnfCybjTbuI2XZOVq6LYbF73aNyNUgGn2v6HUusqVk47dblNyej1Pgjy3X2Z/ZFaCt8n7j vb2fLrbqanyEuMzDN+xAHJ90QXdSZ3CM7W9TB9w/Jkx4CLCetFNQBqyghf2YJVIg/4Q/dhU4G4 QmmQsYmDGnrMeg/ohsZjppVgcW+1+8Enh8sbw7MPQeqCQ3ao4zL278Da2oGzmm9qW2pdtxFahQ pIU= From: "Schmid, Carsten" To: Finn Thain , 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: AW: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6 Thread-Topic: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6 Thread-Index: AQHVV3qcHF7jYFXqX02A+/ZaS0pzdqeAjBMAgANe+wCAFDitAIAAzHgAgACKv4CAAl41gIAAaSkAgAAFKQCAAEsvAIAABMGAgAA8WICAAIDlgIAAV4SAgAEWB4CAAIOAUA== Date: Wed, 27 Nov 2019 08:14:43 +0000 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> In-Reply-To: Accept-Language: de-DE, en-IE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [137.202.0.90] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > 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. > 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? BR Carsten