Received: by 10.223.176.5 with SMTP id f5csp350440wra; Thu, 1 Feb 2018 22:01:06 -0800 (PST) X-Google-Smtp-Source: AH8x227i0XI4+fLvdUJ2YTatIrkozPA8mT+/KkFY6vOqRA5uK0INa8zRzknAO8hv8wh/soIS3qBA X-Received: by 10.99.179.9 with SMTP id i9mr28387768pgf.337.1517551265933; Thu, 01 Feb 2018 22:01:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517551265; cv=none; d=google.com; s=arc-20160816; b=XfwIs/yFvS+BeTdSz5eaxjy7yhhVU0PLJbwHRCWGpwKE8nVkT25zp/PpYb99n2gEB4 TRxH9eDDSz6LhIaUqlmPhDK+SzWmkqUdMJQamJ/kRFkN1ju6B7eOP3UyY1jf06bwTChH 2znMONUnCbOYLeEHoYDdpIddTHD5QclPI6aAYhakMioJi7+QsjxsXCXzGniDBdfIXKLs z2Pp2cfqXTCZflxxyCrZQvFfK7iVoNgbm79hoT6yIVftzzxhwwFTk0CBmT34NrdYH7Pc 7l+iIYi2k6xiYTzoWnT3p72va4ZljCZoTB4bEyL48W1arBwZ24GNFwsZBGL+PfLwnfTy yuJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=jwwXlYhpF1z3QEqnXY80NUUL8KDAtWzzGV6AipVR1BU=; b=aQMWJuKHehYY/N+L0wFoGYZNGmcf3xKCTmgz05HLZok6ujKuv+0iCmK4Ia5ic20FgM rJj891s3OFZFKQH/FtigNj0xa7C4nPC1AL6pXSPkhDUZ9VVVyPVeHUbDCU2AgA1dMroY 4+QpFM/PcJxzDyQF5p4kv4P5McTOLXU69GLWNf/eAaLV4SUMv1ngrvtlUO70zIVZCjxb b9FIyJo22hkmXtEI3Dw5fNpKDibBC5925tl3JWiCXtdwH/8TDKnXM5jCPOH+xQaBGe/n WYyTqN7qwb1VKkFgtT3+E4eheWNyerjtJpKQ2oKvpPXlOjKphzTa6jKihA47iqlCybvn 06rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=lj9z4l+Z; dkim=pass header.i=@codeaurora.org header.s=default header.b=lj9z4l+Z; 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 p7-v6si1180878pls.463.2018.02.01.22.00.50; Thu, 01 Feb 2018 22:01:05 -0800 (PST) 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; dkim=pass header.i=@codeaurora.org header.s=default header.b=lj9z4l+Z; dkim=pass header.i=@codeaurora.org header.s=default header.b=lj9z4l+Z; 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 S1750915AbeBBF72 (ORCPT + 99 others); Fri, 2 Feb 2018 00:59:28 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:35642 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750710AbeBBF7V (ORCPT ); Fri, 2 Feb 2018 00:59:21 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 96459608BF; Fri, 2 Feb 2018 05:59:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517551160; bh=Up7CK+0Po69jkfdXex72EkT7rhMgFcgPGwe7VOO04NA=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=lj9z4l+ZUdLu787ZhHcNAF37i3Xy8Y94mUbcHVUVw0U7zGkTIh4WQ4EpyM2zBVslS OfFE5/yXaJhsd1VauBl1nuvPcibS1lPEMjdaEi2lrx3gnz6SXCpiy1X5jc4yFbnDnm jWDTZg9qM0OXMGowJoqeO5zcZlh+2DYaR3nQcSjg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.204.100.248] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: cpandya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id EB5396076A; Fri, 2 Feb 2018 05:59:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517551160; bh=Up7CK+0Po69jkfdXex72EkT7rhMgFcgPGwe7VOO04NA=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=lj9z4l+ZUdLu787ZhHcNAF37i3Xy8Y94mUbcHVUVw0U7zGkTIh4WQ4EpyM2zBVslS OfFE5/yXaJhsd1VauBl1nuvPcibS1lPEMjdaEi2lrx3gnz6SXCpiy1X5jc4yFbnDnm jWDTZg9qM0OXMGowJoqeO5zcZlh+2DYaR3nQcSjg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EB5396076A Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=cpandya@codeaurora.org Subject: Re: [PATCH] of: cache phandle nodes to decrease cost of of_find_node_by_phandle() To: Frank Rowand , Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <1517429142-25727-1-git-send-email-frowand.list@gmail.com> <5b84a166-c71b-3a41-9e7f-a7624a8441f6@codeaurora.org> <38cdcae5-ec0f-d1be-b024-1990d4387731@gmail.com> <9e23d32f-05a0-ce8a-41f8-9a1a3d66be37@codeaurora.org> From: Chintan Pandya Message-ID: <567731e8-8f89-bd6e-c3d4-e36400e69198@codeaurora.org> Date: Fri, 2 Feb 2018 11:29:16 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/2/2018 12:40 AM, Frank Rowand wrote: > On 02/01/18 02:31, Chintan Pandya wrote: >> >>>> Anyways, will fix this locally and share test results. >>> >>> Thanks, I look forward to the results. >>> >> >> Set up for this time was slightly different. So, taken all the numbers again. >> >> Boot to shell time (in ms): Experiment 2 >> [1] Base            : 14.843805 14.784842 14.842338 >> [2] 64 sized fixed cache    : 14.189292 14.200003 14.266711 >> [3] Dynamic freeable cache    : 14.112412 14.064772 14.036052 >> >> So, [3] (this patch) looks to be improving 750ms (on avg from base build). >> > > Is this with the many debug options enabled? If so, can you repeat with > a normal configuration? Could you share me the point of doing this experiment in perf mode ? I don't have a set up for taking these numbers in perf mode. For that, I need to ask some other team and round trip follow ups. In my set up, I rely on serial console logging which gets disabled in perf mode. > > Thanks, > > Frank > Chintan -- Qualcom India Private Limited, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project