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=DKIM_SIGNED,DKIM_VALID, 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 7B9A1C43215 for ; Thu, 28 Nov 2019 07:47:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 535862176D for ; Thu, 28 Nov 2019 07:47:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=unipv-it.20150623.gappssmtp.com header.i=@unipv-it.20150623.gappssmtp.com header.b="sIsfCzbG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727415AbfK1HrB (ORCPT ); Thu, 28 Nov 2019 02:47:01 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:40614 "EHLO mail-wr1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727227AbfK1HrB (ORCPT ); Thu, 28 Nov 2019 02:47:01 -0500 Received: by mail-wr1-f46.google.com with SMTP id c14so5219570wrn.7 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=A7DPpGQtkOAlz/ij42f49Sw4VQXjyzs4ccTcz1BMuuqC6ZERzFhRiRC7sHMNiBIVXO JRVvJHAl9G0EFyorbW8hS7BiKlI2/FCCq0XhNqOCOnT/viD3TT6EiwfdrcDWSGIw/q8h YCJjTCUxKWbmBxYCe+f7cHQm9PllJFbvMiDrMcW0BtVFT5KjreHrngJHcIo2gLn/YtMT 1tUo5Q01SeWWpLiokBou0ZR/WuFqUSAjBepCbOI9q+d2rwOMaGE4KBrKQLf9KRi/Rk7x MTjwkwMdHGo36FOxwricsvMG8xLvmdwAjfWOlP5USk1xiy5ejAmShqwDIOZ5s9bgjbZZ 4M8w== X-Gm-Message-State: APjAAAWXeLMPnIHNKhoAiPQNs3q8/uHkGykMj3AjFdU4ZKR/50/RSDGe pQrncgQCZimlSw71AOLPgJfKOg== X-Google-Smtp-Source: APXvYqxCSYsgjrZbWU5SOnX8qESM6uMlLYOpke32BDxN1R/HG9BIzYO5SpnDKowE/yTBZtmSSEZhXg== 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-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@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