Received: by 10.213.65.68 with SMTP id h4csp1209887imn; Wed, 21 Mar 2018 05:31:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELsGPpPbYvP/J0hb/xXPgaIK7dPReIrQYh3LCABrVy0DL33uOglxQxy9f3nSqGFyJAmnyN+2 X-Received: by 10.99.106.202 with SMTP id f193mr15170049pgc.334.1521635506044; Wed, 21 Mar 2018 05:31:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521635506; cv=none; d=google.com; s=arc-20160816; b=rm5GlFB6FG4TPOltWGMawLk/iJXpskJYH7Qcg6t/u7hCEFklviBcuPiDPmtA7XokWn F0g3V7KSfIVoI95hK49A7wTBcp+C/qKlhU9m4ssu92q2tnR6feqfrL+V4iYHDebtKQaG l0cAItB0C/AQ6Iplk5cqrhbE1fiHj/gkwCnNqFOfrBKS10cHP2rA0HYA+aNMXpzrTFY9 kbMI+56UQ2b6PQTtmTC5/OtAv+RLYCR71MfXZSuE7ELyOAd165KumSjswhnl6m1/encW AfUKpLjUS5kejk7XvQsuZIZ3TiUDdV06JoYw0ytIqwQR8YWqIER27HT3eSuw5yROTGon RqAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=BGHZPQjj7PmhnDWgXIZp+AuVUIpDUYdocNAUd5DPt6E=; b=UEu0nzUS8ymkGSaMglCKKvNeCumfi9FoRJhp0z6BgcShI6Q5gjRH2ZqJ2n0lFNJbBp Eoau7e64CVJ6Q051IzpHMFBE7LsBlk03KroOYj8S2ZyNrV3ux15wXYV6bBzgG+J7g8Kd lNG5Izw+CnyidSsXbMuqSATAs3I2QSQTTVGcpjZRAAMHfWDGYi/X8AgpULJJVEiDJp4X 6gPkzLTYeUdHy26AvtOINKt2LXY1b1CrQkiOVWhk3EoArnzMtK326OXaoG3wiGP1TTaT UxAVkoeEMsHOVpM+GCYaZj9FUd7Jq2Nq1dOOxCFJHWRvysLJEL8mOoij9BXDuLntytLO mbqg== ARC-Authentication-Results: i=1; mx.google.com; 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 u137si2692458pgb.651.2018.03.21.05.31.31; Wed, 21 Mar 2018 05:31:45 -0700 (PDT) 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; 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 S1751908AbeCUM2W (ORCPT + 99 others); Wed, 21 Mar 2018 08:28:22 -0400 Received: from stargate.chelsio.com ([12.32.117.8]:42093 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751881AbeCUM2T (ORCPT ); Wed, 21 Mar 2018 08:28:19 -0400 Received: from localhost (scalar.blr.asicdesigners.com [10.193.185.94]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id w2LCRnZG024752; Wed, 21 Mar 2018 05:27:55 -0700 Date: Wed, 21 Mar 2018 17:57:09 +0530 From: Rahul Lakkireddy To: Andy Shevchenko Cc: Thomas Gleixner , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "mingo@redhat.com" , "hpa@zytor.com" , "davem@davemloft.net" , "akpm@linux-foundation.org" , "torvalds@linux-foundation.org" , Ganesh GR , Nirranjan Kirubaharan , Indranil Choudhury Subject: Re: [RFC PATCH 2/3] x86/io: implement 256-bit IO read and write Message-ID: <20180321122708.GA3245@chelsio.com> References: <6ec3e7e0c70e85a804933f27bb4275d5363c044b.1521469118.git.rahul.lakkireddy@chelsio.com> <20180320133206.GB25574@chelsio.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, March 03/20/18, 2018 at 19:14:46 +0530, Andy Shevchenko wrote: > On Tue, Mar 20, 2018 at 3:32 PM, Rahul Lakkireddy > wrote: > > On Monday, March 03/19/18, 2018 at 20:13:10 +0530, Thomas Gleixner wrote: > >> On Mon, 19 Mar 2018, Rahul Lakkireddy wrote: > > >> Aside of that I very much doubt that this is faster than 4 consecutive > >> 64bit reads/writes as you have the full overhead of > >> kernel_fpu_begin()/end() for each access. > >> > >> You did not provide any numbers for this so its even harder to > >> determine. > >> > > > > Sorry about that. Here are the numbers with and without this series. > > > > When reading up to 2 GB on-chip memory via MMIO, the time taken: > > > > Without Series With Series > > (64-bit read) (256-bit read) > > > > 52 seconds 26 seconds > > > > As can be seen, we see good improvement with doing 256-bits at a > > time. > > But this is kinda synthetic test, right? > If you run in a normal use case where kernel not only collecting logs, > but doing something else, especially with frequent userspace > interaction, would be trend the same? > We see same improvement when collecting logs while running heavy IO with iozone. Thanks, Rahul