Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp215992ybt; Tue, 30 Jun 2020 18:57:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8FbJYSQVqAJoQ4vYhKu4LUJzBsB7J76cInl262aYzVbLSdEBamaLHnAdlypfv6KxuiODj X-Received: by 2002:a50:cc8a:: with SMTP id q10mr26994451edi.257.1593568672534; Tue, 30 Jun 2020 18:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593568672; cv=none; d=google.com; s=arc-20160816; b=BEWnRaPLQEdlDrSDTUFla8PXbsTDeLbniukLkreofjaeAjzYh+MYEW1Tqn/JoRIYkn zsod1AZZwJdBpRJNdVTsnolIBZFXAJCtS2B1FjA//1h32ZsE/4aEuvyIxHJyamIphK6Z t0M44jc7Z9O1qfOpEt0OL5bRvrkADWmWVfYC6qbvg/Ju2E4Tpvs+c+iCmmciYLyShK49 RsWXDt4dgTFKFvCoEjPhc5DsWW9teOUkgmVvLA+hcwteo05409QvU+l1rUeAOW8dPnlU GSZgDhWlrxLPna0nkyy1qtDsGCNDRtmimgRvwxYGT4TUGKklsSQHXR5jhZvPhHyF87RA ne+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=HSFXc5NsTiYx/x2TJi2WwJAEYqQ03H5gseKaIrQqutY=; b=NY7aXL8GEwwBCfhKtu7Xn5HqZJ31918Pf77Zx0/ZP/twhYigPv3sPon7sXFRGq0Z4+ 57q6aj7/icwsuJRNnbXdCAB6qjVVmLs1hZUPNb3L2UShRDDIZz008b2GnW7PwXL9lFoG RV4dqQ1zhBrVtfQSSUFXytDpUe8k8zVlXCE2xaCdIqaqnVmeemnf2RH7kwGvafyFtdRU 7L7dCvTLryCyX+x/Ow+EyUJ2CKtS7p0/T4KdqO6cjKFaAwPa5TpkWOpgam5xAKFR0KMd lq3aDpSfg+FD+qvn5ygi2Wv2uGja3h8SXCtR/XrfRcqrVLFbmAGyfn0mmIbRwlR7AACA /jSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=lxxAHOGm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si2964165ejb.360.2020.06.30.18.57.28; Tue, 30 Jun 2020 18:57:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=lxxAHOGm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726409AbgGABym (ORCPT + 99 others); Tue, 30 Jun 2020 21:54:42 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:20809 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725868AbgGAByl (ORCPT ); Tue, 30 Jun 2020 21:54:41 -0400 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20200701015438epoutp03b2040e58ec7c58d9e358ed040685c431~dfhaKZ7nX1350313503epoutp03e for ; Wed, 1 Jul 2020 01:54:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20200701015438epoutp03b2040e58ec7c58d9e358ed040685c431~dfhaKZ7nX1350313503epoutp03e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593568478; bh=HSFXc5NsTiYx/x2TJi2WwJAEYqQ03H5gseKaIrQqutY=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=lxxAHOGmDzE+8vHFXsVARzVqUvdHrgBD+uzbwNAf3AD0kW6VaRxCJRzyL4Qcvfc9m U/+kRrGcod4FJsU7iDHest+1wpUJAB0YuZF5qRQevPzkxvRmXx0oEBYa/G1u/PLW9C cM+rgI0p7UcIfzSisqqZARPCG7dYk0id8S9Lv3Qo= Received: from epsmges5p3new.samsung.com (unknown [182.195.42.75]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20200701015437epcas5p2e18b6a25d047ba4b9540f43c6b02b72f~dfhZV_Kdh0504905049epcas5p2C; Wed, 1 Jul 2020 01:54:37 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 76.19.09475.DDCEBFE5; Wed, 1 Jul 2020 10:54:37 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20200701015436epcas5p12bd2e29f2dfe5d1d58cb55b0b296310b~dfhYPOgMQ2877228772epcas5p1S; Wed, 1 Jul 2020 01:54:36 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200701015436epsmtrp1d965abf22a8f6982696c0f07ee34ca72~dfhYOM3KY1047110471epsmtrp1T; Wed, 1 Jul 2020 01:54:36 +0000 (GMT) X-AuditID: b6c32a4b-389ff70000002503-e8-5efbecdd2be3 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 65.5E.08382.CDCEBFE5; Wed, 1 Jul 2020 10:54:36 +0900 (KST) Received: from alimakhtar02 (unknown [107.108.234.165]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200701015432epsmtip1142596cc40216e07f49eac33aa2685ea~dfhUQFAsX0279002790epsmtip1g; Wed, 1 Jul 2020 01:54:31 +0000 (GMT) From: "Alim Akhtar" To: "'Avri Altman'" , , "'Bean Huo'" , , , , , , , Cc: , , "'Sang-yoon Oh'" , "'Sung-Jun Park'" , "'yongmyung lee'" , "'Jinyoung CHOI'" , "'Adel Choi'" , "'BoRam Shin'" In-Reply-To: Subject: RE: [RFC PATCH v3 0/5] scsi: ufs: Add Host Performance Booster Support Date: Wed, 1 Jul 2020 07:24:30 +0530 Message-ID: <003b01d64f4a$92817460$b7845d20$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIDTAvkgzSw0VCcpiFA1doNNzUbzAGL0gCDAZ3Zu2wBd19psQGQGcjWAYu7ZjYBbUIaOKhOqkRw Content-Language: en-in X-Brightmail-Tracker: H4sIAAAAAAAAA02SfUxTVxjGc+69bW+blV0qiS81A+2cBlREGcs1bHMz/nGjcXHJNpgbuAJ3 SPiQtMKqIUunjK/SFpcorulmKWtZKljnwNVqtYVNVubHEihssgKBEixfVjGsrNMs7cWM/573 nN9znvdJDolLZnlSsrj8GKsol5fK+CLiSm/K5m3+uUheumtGSv/gn+HRrtpfBXRw2cene0cW BPTZ0DJOP7ZbebRtPJs23lFjtFbfzafNf1zB6AGnkU9rhh18ur3vGUY3B78jaEv3n4huaOkg 6FDT57S59RrxloQZGNzPDOi0GHPV4BcwbdeDGNNsdiOmxnuTYB5N3ScYXZcNMYuXk5g6twY7 KDoker2QLS2uYhXb3/xEdGTsaj+/wr5epR18Q43ciY1ISAL1KjTPm/iNSERKqGsIXK42nBse I5h/6MCjlIRaQmAIK547JvzXBRzkQuBp+BnjhjkEC2d8RJTiU9vA0VYbezeBMmMQud0ZG3Dq dwxG/x7hNSKSFFK5MDgaFzWsod4Fj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WWPnvOVTRK0aJ vR+72EASbAK6EjsWt7GBJEQE1jBJzJ3zlxHEYRa4xiTx5+NnNoiWjcwSn+ZvB8pwcHAKxEpc uccH0i0s4C/xd8YdZhCbRUBF4tuKg2A2r4ClxLJ7L6FsQYmTM5+wgNjMAtoST28+hbOXLXzN DHGegsTPp8tYQWwRgSiJD6u3QtWISxz92cM8gVF4FpJRs5CMmoVk1CwkLQsYWVYxSqYWFOem 5xYbFhjmpZbrFSfmFpfmpesl5+duYgRHu5bmDsbtqz7oHWJk4mA8xCjBwawkwnva4FecEG9K YmVValF+fFFpTmrxIUZpDhYlcd4bhQvjhATSE0tSs1NTC1KLYLJMHJxSDUzaHGWHVrLduXdl 3dECc3+jV7pLFFSsf+Q8nFz79a+Vtslfx7iuj2dXxCdYsAVaL1WSvvidf70in7vAJw35pwyB 7F8+HilcdWHlwupZE+dyqrJv8ldbtG8DvxDLlXkVX65oOAbztBofZvBpmfy5dfuWJKMdO+OV v4s+fBf7LVRfb1P9gdgV3t5/y+5lVC5juz2jxeF/x6YT1+NDjYXcWSV4WC9JFV6O1gvlF8t5 dP/3852PHJv28nGUrCsvzvQIuV36Z1OVfCO3UI1EZBorw/vnYsm/2rbv++q3NHstU3yK5hS+ wl1vNfy+hR5i++t+eXtzsqbf3GOZJVZLW35Hr1sbzl/6pTHkqk97o8qOr0osxRmJhlrMRcWJ AP/TotdlAwAA X-CMS-MailID: 20200701015436epcas5p12bd2e29f2dfe5d1d58cb55b0b296310b X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P X-CMS-RootMailID: 20200623010201epcms2p11aebdf1fbc719b409968cba997507114 References: <60647cf00d9db6818488a714b48b9b6e2a1eb728.camel@gmail.com> <948f573d136b39410f7d610e5019aafc9c04fe62.camel@gmail.com> <963815509.21592879582091.JavaMail.epsvc@epcpadp2> <336371513.41593411482259.JavaMail.epsvc@epcpadp2> <231786897.01593479281798.JavaMail.epsvc@epcpadp2> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Avri Altman > Sent: 30 June 2020 12:09 > To: daejun7.park=40samsung.com; Bean Huo ; > jejb=40linux.ibm.com; martin.petersen=40oracle.com; asutoshd=40codeaurora= .org; > stanley.chu=40mediatek.com; cang=40codeaurora.org; bvanassche=40acm.org; > tomas.winkler=40intel.com; ALIM AKHTAR > Cc: linux-scsi=40vger.kernel.org; linux-kernel=40vger.kernel.org; Sang-yo= on Oh > ; Sung-Jun Park > ; yongmyung lee > ; Jinyoung CHOI ; > Adel Choi ; BoRam Shin > > Subject: RE: =5BRFC PATCH v3 0/5=5D scsi: ufs: Add Host Performance Boost= er > Support >=20 > Hi, >=20 > > > > Hi Bean, > > > On Mon, 2020-06-29 at 15:15 +0900, Daejun Park wrote: > > > > > Seems you intentionally ignored to give you comments on my > > > > > suggestion. > > > > > let me provide the reason. > > > > > > > > Sorry=21 I replied to your comment ( > > > > https://protect2.fireeye.com/url?k=3Dbe575021-e3854728-be56db6e- > > 0cc47a31cdf8- > > > 6c7d0e1e42762b92&q=3D1&u=3Dhttps%3A%2F%2Flkml.org%2Flkml%2F2020%2F6% > > 2F15%2F1492), > > > > but you didn't reply on that. I thought you agreed because you > > > > didn't send any more comments. > > > > > > > > > > > > > Before submitting your next version patch, please check your L2P > > > > > mapping HPB reqeust submission logical algorithem. I have did > > > > > > > > We are also reviewing the code that you submitted before. > > > > It seems to be a performance improvement as it sends a map request > > > > directly. > > > > > > > > > performance comparison testing on 4KB, there are about 13% > > > > > performance drop. Also the hit count is lower. I don't know if > > > > > this is related to > > > > > > > > It is interesting that there is actually a performance improvement. > > > > Could you share the test environment, please? However, I think > > > > stability is important to HPB driver. We have tested our method > > > > with the real products and the HPB 1.0 driver is based on that. > > > > > > I just run fio benchmark tool with --rw=3Drandread, --bs=3D4kb, -- > > > size=3D8G/10G/64G/100G. and see what performance diff with the direct > > > submission approach. > > > > Thanks=21 > > > > > > After this patch, your approach can be done as an incremental patch= ? > > > > I would > > > > like to test the patch that you submitted and verify it. > > > > > > > > > your current work queue scheduling, since you didn't add the > > > > > timer for each HPB request. > > > > > > > > > > Taking into consideration of the HPB 2.0, can we submit the HPB > > > write request to the SCSI layer? if not, it will be a direct submissi= on way. > > > why not directly use direct way? or maybe you have a more advisable > > > approach to work around this. would you please share with us. > > > appreciate. > > > > I am considering a direct submission way for the next version. > > We will implement the write buffer command of HPB 2.0, after patching > > HPB 1.0. > > > > As for the direct submission of HPB releated command including HPB > > write buffer, I think we'd better discuss the right approach in depth > > before moving on to the next step. > I vote to stay with the current implementation because: > 1) Bean is probably right about 2.0, but it's out of scope for now - > there is a long way to go before we'll need to worry about it > 2) For now, we should focus on the functional flows. > Performance issues, should such issues indeed exists, can be dealt wi= th later. > And, > 3) The current code base is running in production for more than 3 years n= ow. > I am not so eager to dump a robust, well debugged code unless it abs= olutely > necessary. >=20 Avri and Bean, I think this is good approach to take, and let us add incremental patches t= o add future specification enhancements. =20 > Thanks, > Avri >=20