Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4309786ybe; Mon, 9 Sep 2019 07:29:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9a8QPRkdFPcdqEn0qyeSjwZVCAxKbRUa71Q+uroBJ1EAyTnq+nnzlhbHDp1WO5QpdLzkf X-Received: by 2002:aa7:d0d1:: with SMTP id u17mr19886809edo.99.1568039374915; Mon, 09 Sep 2019 07:29:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568039374; cv=none; d=google.com; s=arc-20160816; b=bCP2ivFy7U/vFSGWMzPUR+8SahjD2XofxUzpCYMs4mc1IkQ/5md+H9Vnwgj1fpxu9l JA6/D1RrneNTzTagFARlZUZCZO9Dd66IQbHITweSrBOV1DVZqONc1T8LADfsuy5RC+JT u4J0xtdYyFLuoIT5K8d3hhllurank2evT6eOrzix7Chtxw+BvqpGKjPR5j2Wl83f86ZA RAcYEeQ2HVuW2t0dttGuDuOCnA3cYsWBXX+A7OjeeunijDb1Z1IQjXAlp01F6IidqgOv B3dFDpr7SEIdrZPoI+yyp80yxIpbInu5uZ8IIHt9zGxuU+9gpSaCRvWtB3g/Y3GxxS1d GjWQ== 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; bh=WC3b/9DM+loh464NpG96i/ud6EFdnwLMYQbiY0ISFjY=; b=uNdOBCY6DmgZ1ybta9+zP+lJrWozggQ18mwpV0HF1PAShQYWev9cUD6EhHaB/coFXH Q6Y1UvfsX4CuMjrs6EAXt7ktXoxkRxGQKe+XpNG4q6nS8ACPjsUuVyJROSgJW3aHiBzO rT7M80y+qfZQ+bgB52aL5YQFXSJoaJYKwdEFFzNVq2BfioeXz7xDUMS4VtR/nIZ5D7CI Afweh8YwqZsXfQw8+0cTj9DJsrDba6t8oJoONQKNXOOw5DdPlQTf1a5tmkNvUOw44vlP s+jwLHKxTRI45bN6L19XJBlZsKr6h2dmhmNUJMYIfCtWv5GURcv/7rphnq8vdzoFBMci N6nA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y19si9607452edc.363.2019.09.09.07.29.07; Mon, 09 Sep 2019 07:29:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727977AbfIIGVA (ORCPT + 99 others); Mon, 9 Sep 2019 02:21:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48624 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727898AbfIIGVA (ORCPT ); Mon, 9 Sep 2019 02:21:00 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C3B4A30A00CF; Mon, 9 Sep 2019 06:20:59 +0000 (UTC) Received: from rh (ovpn-116-55.phx2.redhat.com [10.3.116.55]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7E92110016EB; Mon, 9 Sep 2019 06:20:59 +0000 (UTC) Received: from [::1] (helo=rh) by rh with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i7D2i-0001wB-HC; Mon, 09 Sep 2019 16:20:52 +1000 Date: Mon, 9 Sep 2019 16:20:49 +1000 From: Dave Chinner To: Rong Chen Cc: "Darrick J. Wong" , Christoph Hellwig , LKML , linux-xfs@vger.kernel.org, lkp@01.org Subject: Re: [xfs] 610125ab1e: fsmark.app_overhead -71.2% improvement Message-ID: <20190909062049.GQ2254@rh> References: <20190909015849.GN15734@shao2-debian> <20190909053236.GP2254@rh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Mon, 09 Sep 2019 06:20:59 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 09, 2019 at 02:06:54PM +0800, Rong Chen wrote: > Hi Dave, > > On 9/9/19 1:32 PM, Dave Chinner wrote: > > On Mon, Sep 09, 2019 at 09:58:49AM +0800, kernel test robot wrote: > > > Greeting, > > > > > > FYI, we noticed a -71.2% improvement of fsmark.app_overhead due to commit: > > A negative improvement? That's somewhat ambiguous... > > Sorry for causing the misunderstanding, it's a improvement not a regression. > > > > > > > 0e822255f95db400 610125ab1e4b1b48dcffe74d9d8 > > > ---------------- --------------------------- > > > %stddev %change %stddev > > > \ | \ > > > 1.095e+08 -71.2% 31557568 fsmark.app_overhead > > > 6157 +95.5% 12034 fsmark.files_per_sec > > So, the files/s rate doubled, and the amount of time spent in > > userspace by the fsmark app dropped by 70%. > > > > > 167.31 -47.3% 88.25 fsmark.time.elapsed_time > > > 167.31 -47.3% 88.25 fsmark.time.elapsed_time.max > > Wall time went down by 50%. > > > > > 91.00 -8.8% 83.00 fsmark.time.percent_of_cpu_this_job_got > > > 148.15 -53.2% 69.38 fsmark.time.system_time > > As did system CPU. > > > > IOWs, this change has changed create performance by a factor of 4 - > > the file create is 2x faster for half the CPU spent. > > > > I don't think this is a negative improvement - it's a large positive > > improvement. I suspect that you need to change the metric > > classifications for this workload... > To avoid misunderstanding, we'll use fsmark.files_per_sec instead of > fsmark.app_overhead in the subject. Well, the two are separate ways of measuring improvement. A change in one without a change in the other is just as significant as a change in both... Cheers, Dave. -- Dave Chinner dchinner@redhat.com