Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6478395ybc; Wed, 27 Nov 2019 23:50:36 -0800 (PST) X-Google-Smtp-Source: APXvYqwZM/oal/TH04KH6REP3icu8xdYbt9nAXn/YhyWsoIbaOQitnzYQPbtq6is2WhtbQtvAgkB X-Received: by 2002:a05:6402:716:: with SMTP id w22mr5818700edx.245.1574927435920; Wed, 27 Nov 2019 23:50:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574927435; cv=none; d=google.com; s=arc-20160816; b=UbyK5T5t4HAzZrlSSj/cPV0MNWQi1WbA+bbP8OF4y9EoyACyBiF4FZUVj3OYTyk/ti uThCPMZTI3c0MhCysdA1TuL2dfaIJXfVw7khijT7r/egLyzIyGhfpZRqdrakREL/InaH X423pHlsv0Lfrbad0RPqV8OAMN63a2Ni6iO4ifqDy1q2NDGjIcuBLTagHm0Xxow3kdp9 E1akaWZbpotNdedh8XnM3ztwWec97uxxqpjuObIhxAAvS9kJWQpc8bqlTIotjtOTI4ye Ltg4K3RhdYxKR86yhanMIo6/ZR7uIj46W9BuN8kSkIrKRjTFi7z+qb6BINlZe46Trs5V 6XHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=VFy1sFwSgg5UC5QpoP/yzBe3ULMeokNC0smHjyZo8m4=; b=iwjsqWDRTQ6B0rs0ApY2zDz6Wzmcmq4FjXVf8nV7SZHJAb7SIJcXWbi2aldQZOijGd 2LzWtakAYf+B/DItkU8Rsauc+Dd2AVXaHdVUWS9J40vpf/f6BO+GvCm+hSRtFQ41FKHT Jbr8MuA+u5BZS69F0nfNQme31K5YcYc84+WMo9Co91QtO8bGVOiTCY2tXt50mJQwUZSi Pnrx7JZ4AsSGYycXeROZsKee7bQGNiujkzASKRrPxGymWKpnvY3T/PSELK4cR4mnSHEd k5spsj7UIidwc+9tMyvNP3hO/Gi9Gwf5kMMS9yi7GbcoVleamM7nGREMwip6Vp1DrBx6 VN8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@unipv-it.20150623.gappssmtp.com header.s=20150623 header.b=sIsfCzbG; 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 dm8si3343970edb.392.2019.11.27.23.50.11; Wed, 27 Nov 2019 23:50:35 -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; dkim=pass header.i=@unipv-it.20150623.gappssmtp.com header.s=20150623 header.b=sIsfCzbG; 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 S1727430AbfK1HrD (ORCPT + 99 others); Thu, 28 Nov 2019 02:47:03 -0500 Received: from mail-wr1-f54.google.com ([209.85.221.54]:36351 "EHLO mail-wr1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726709AbfK1HrB (ORCPT ); Thu, 28 Nov 2019 02:47:01 -0500 Received: by mail-wr1-f54.google.com with SMTP id z3so29804454wru.3 for ; Wed, 27 Nov 2019 23:46:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unipv-it.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=VFy1sFwSgg5UC5QpoP/yzBe3ULMeokNC0smHjyZo8m4=; b=sIsfCzbGKgcWkjWZs8tRQZ8ly2AgdodFKrI77iPfs/g9E0h8uFx+PaxeLU8aUgCW6H yHFUBD7sJ47+sIOlOIGV8RKGI2MfjNjG462r0TntGLDw1nWlthY6JnsFVJtR/go5nAsp AQsff9HkdTPEWczYjhOO6oo1kY6E4btCGBpLW07kz94HBRW7zV7dQZIfZdlBnAgN8W9j mbp5hvlcLo/enGp+Uow9dpJMOr+zW11oonCSjEaKCYusq29/zHWQvk1LUAURLinBXSxu ZBIZbytrJ6aqHEi4SQ07nbyRkJWEOBBSIPFQcLGaHF/oeVmea7AMKxSRqOGcb7ucAWIQ Upxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=VFy1sFwSgg5UC5QpoP/yzBe3ULMeokNC0smHjyZo8m4=; b=e+U0/N3oPiJIA5Yc5NljVlvhneQ/77sc+Owjv5arjRKg0ie79J1oCGSCgysDPcOEv+ VXXAswzVCXBCu0CPqvDv2lr2TVJYgp/fxz+CJLfDDNGhLdgmZcprIcy1bkpGago/NaAH CyhxBnhjC5M91oxaxmWlOcZlj30WeF3s8q8RN/oZJOzA7877hRiFUwOnohcLRubWobkK xLImpFPB+tqPPnBzWysGj9rnVDk9ux0LT4wa728CmvsEFYOJ7omZS31Ak2WKT/Z9teOE LAtw1DjQ8nepQzXTswxF2DOhbC6e1y3Cqz3RmL9JwGO06Rq+3yNV1uzkVXmk0ufuaBqr xP5Q== X-Gm-Message-State: APjAAAXsAa+uMlGB8eehpD7TKZxdmXNlrdyJBlAG/5ycKRqJyAO59BWk EatWxQuyB1kaNPfkWx6g/1xKLQ== X-Received: by 2002:adf:ef4e:: with SMTP id c14mr11747570wrp.142.1574927218879; Wed, 27 Nov 2019 23:46:58 -0800 (PST) Received: from angus.unipv.it (angus.unipv.it. [193.206.67.163]) by smtp.gmail.com with ESMTPSA id 19sm25110905wrc.47.2019.11.27.23.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2019 23:46:58 -0800 (PST) Message-ID: Subject: Re: AW: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6 From: Andrea Vai To: "Schmid, Carsten" , Finn Thain 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 Date: Thu, 28 Nov 2019 08:46:57 +0100 In-Reply-To: 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> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il giorno mer, 27/11/2019 alle 08.14 +0000, Schmid, Carsten ha scritto: > > > > > 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? Yes, it is still fast. Just ran a 100 trials test and got an average of 70 seconds with standard deviation = 6 seconds, aligned with the past values of the same kernel. Thanks, Andrea