Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp179033ybt; Tue, 30 Jun 2020 17:48:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdSynltUSj01IewMJXwoAzx+c0sACZpnAa2DWgmtPAkHoEONi9Vh9WPSiKU6fO+v6jDNAo X-Received: by 2002:a50:f05d:: with SMTP id u29mr26981136edl.137.1593564520790; Tue, 30 Jun 2020 17:48:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593564520; cv=none; d=google.com; s=arc-20160816; b=vQLYUTC6zw+kj6SD84WinmEIDCStY+TXHoMbH+Ytic+nVaXwPouAp7e4dZjvpSEhSm OCE1M38pNKKzDkVNCP2GkHvIGXowo8RN4zN4o6IFN4ioYxi+ieb1z4hB1cIjU/ecODXE QdW2qRvbxPJ4zeWL/TcBU7WY/cRvmL730wnU6KeaNCXb/y1mkqCGBCGSOfm1mjq/KonS Pyx0mQRauiJsZzMxj0zSISBJfdTpfUP7mHCPCZwAb73bXIYVWpQPDQqBqxmixMPu2sWb HFahmqsQUjDZlSVgm24nuhQD9YdAxXerr7ahUvpqmGPUEcW0+PkExeBRoqUzvuTUJGr+ hPQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:content-transfer-encoding:date :message-id:in-reply-to:cc:to:from:reply-to:subject:mime-version :dkim-signature:dkim-filter; bh=CNHOyk7FntBxbO6DreAHDvfBp5z8zIJ33mfiTt6PEOo=; b=z6KEQs9LabG9KDvkkVGVBBwjQKbxOTJKLDeGdJjbjlVP1MTkWtZvwxbnjlKSWl5N4k wMbHENAHWIJMz0Xh14akt4A/0PT9QMM78UDejkZSwe1xRu1nYDG+/3JMQ+pUhmRY97ym TK9Pqh6pW6kRue4nmvF6WkoYe6jgwwhn29pyBZjFr7ptIJRVa264Q/m/z7Bsnj6fZomF weWpNFiT4GEMzYUkB7nHf/wrxaalOjks7mWuA54pnXB7jzcq6lLEdj6qgBWBhud0l1Q5 09REY9XAxGq/et0pZMo2nJ1XXGqd9W24e30kiZ7Wa6cAiLG77/ql6YhRQwpviK29En8C ah3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=YFBSv7Vj; 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 i26si2796741edv.525.2020.06.30.17.48.17; Tue, 30 Jun 2020 17:48:40 -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=YFBSv7Vj; 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 S1726276AbgGAAsG (ORCPT + 99 others); Tue, 30 Jun 2020 20:48:06 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:37547 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726015AbgGAAsE (ORCPT ); Tue, 30 Jun 2020 20:48:04 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200701004802epoutp01295832ea388dae21e2793c4182669e82~denQ01KGe1643816438epoutp01D for ; Wed, 1 Jul 2020 00:48:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200701004802epoutp01295832ea388dae21e2793c4182669e82~denQ01KGe1643816438epoutp01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593564482; bh=CNHOyk7FntBxbO6DreAHDvfBp5z8zIJ33mfiTt6PEOo=; h=Subject:Reply-To:From:To:CC:In-Reply-To:Date:References:From; b=YFBSv7VjrWxwTug/llzdu5kvWGSpoSIK5GbGHzCx9tY1NixRa12bgqSJ6feYOPmMP +l//C8SRBBqQUtKLGXMMayBTqn5RqCon+5NQRjF2JFxIxpmDEg4Li6YZ0DogwZVuoe YbwQ3/qtLGnueccNjJvqaVWXcTNoemptidLCftNw= Received: from epcpadp2 (unknown [182.195.40.12]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20200701004802epcas1p104acdf83bdd554594d94cf051eafaf3f~denQb2vuN3040330403epcas1p1N; Wed, 1 Jul 2020 00:48:02 +0000 (GMT) Mime-Version: 1.0 Subject: Re: [RFC PATCH v3 0/5] scsi: ufs: Add Host Performance Booster Support Reply-To: daejun7.park@samsung.com From: Daejun Park To: Bean Huo , Daejun Park , "avri.altman@wdc.com" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "asutoshd@codeaurora.org" , "stanley.chu@mediatek.com" , "cang@codeaurora.org" , "bvanassche@acm.org" , "tomas.winkler@intel.com" , ALIM AKHTAR CC: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Sang-yoon Oh , Sung-Jun Park , yongmyung lee , Jinyoung CHOI , Adel Choi , BoRam Shin X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <1210830415.21593564482235.JavaMail.epsvc@epcpadp2> Date: Wed, 01 Jul 2020 09:14:34 +0900 X-CMS-MailID: 20200701001434epcms2p19a2315a4e4b55344ce1cacd79350408b Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL X-CPGSPASS: Y X-CPGSPASS: Y X-Hop-Count: 3 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 On Tue, 2020-06-30 at 10:05 +0900, Daejun Park wrote: > > 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! I replied to your comment ( > > > > > https://protect2.fireeye.com/url?k=be575021-e3854728-be56db6e-0cc47a31cdf8-6c7d0e1e42762b92&q=1&u=https%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=randread, --bs=4kb, -- > > > size=8G/10G/64G/100G. and see what performance diff with the direct > > > submission approach. > > > > Thanks! > > > > > > 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 submission > > > 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. > > > > Hi Daejun > If you need reference code, you can freely copy my code from my RFC v3 > patchset. or if you need my side testing support, just let me, I can > help you test your code. > It will be good example code for developing HPB 2.0. Thanks, Daejun