From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=209.132.183.28; helo=mx1.redhat.com; envelope-from=lersek@redhat.com; receiver=edk2-devel@lists.01.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A9AAC211B5A34 for ; Mon, 28 Jan 2019 00:47:45 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 364E09B305; Mon, 28 Jan 2019 08:47:45 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-224.rdu2.redhat.com [10.10.120.224]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3C07A2B9D0; Mon, 28 Jan 2019 08:47:44 +0000 (UTC) To: Sajeesh Kk , Rafael Machado Cc: edk2-devel@lists.01.org References: From: Laszlo Ersek Message-ID: <18b7cdf5-8569-ab69-fc19-21da7ce2b1ea@redhat.com> Date: Mon, 28 Jan 2019 09:47:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 28 Jan 2019 08:47:45 +0000 (UTC) Subject: Re: BlockIo2 Protocol test tool X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2019 08:47:45 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Hi, On 01/26/19 17:57, Sajeesh Kk wrote: > Hello Rafeal, > > I believe The UEFI Sct test suite cannot be used for performance testing. > Are there any tools which can be used from UEFI shell to measure disk IO > perfomance using BlockIO2 Protocol ? > Please let me know. from a cursory look, FatPkg/EnhancedFatDxe appears to implement the the ReadEx/WriteEx methods of EFI_FILE_PROTOCOL (EFI_FILE_PROTOCOL_REVISION2). I think the implementation uses the DiskIo2 protocol. And "MdeModulePkg/Universal/Disk/DiskIoDxe" should automatically install DiskIo2 on top of your BlockIo2. So, if you can write a simple UEFI application that uses the *Ex() methods of EFI_FILE_PROTOCOL, that could be a start. (Nothing in edk2 seems to use ReadEx / WriteEx currently.) Thanks, Laszlo