Received: by 10.223.176.5 with SMTP id f5csp2569740wra; Thu, 1 Feb 2018 02:32:52 -0800 (PST) X-Google-Smtp-Source: AH8x224QmyTCmEV/tcm3S/PWd9Bn5gkcAeJvP2uAy25JbkrwQDiOgRhyZfrtCWsKV0uKgfMiJCqX X-Received: by 10.101.77.140 with SMTP id p12mr28303874pgq.195.1517481171949; Thu, 01 Feb 2018 02:32:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517481171; cv=none; d=google.com; s=arc-20160816; b=HKwIlIvkyAtnNJOmquAe2wtqR1WglzvXzxdBmwBX05SYiYGXNByU1UcTwwQHKbXjD1 pTNrvywTcv/qBx8IL531GZ/GAw/nJB2yWJPy63YcVYv77hvRDJS3seRCTQgk4o7v9p7r iyFLHOoaOk1//9IZ8kj9I1aTf2zdrkf3efmB0lhik1rBWlyKxOKGs32RhenZGmgeKG5n 8AJcA4hwh6QSHkHZYvGMb7i0UvGq0dRLxQ8mJxW1+3vtK7neDl226XQHZbqB2vyhDq4o A1fhyFPe7rwM8UPslmTw+ouh5ew+8fa5erPJN8pBcm9gR58FtOHbPw2+glsh5lIx3q1a 9A+Q== 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=VF3CPgTWDs8WLn/IHLck6hqasccPZMNBMG34V0zondI=; b=ttyA71d2zHgUiKYYaD0qOcX8hreOmPbXDXpYyfzK1PBmKFA8kb8q/jQSXC9uq8coIj aiT6gYbLtgkMj5t/3ZA+MfBvwZLaoa9KrIJ9mWmhyOitty+36w9LbJVae0c5/fz+2Kt2 SRlJPomjPN1a5ZTXD+LEMDuuLJCzu/FhsIVDgFv0VanbnbvFOZTIrjAaVMYfP9II+DTN I9MFFVg8b+1/e4LuUVvoio325CVTTgzeLzUe2jEs2oSwl4tORHqRLNEXuyq+wf3sE4TM Nj/l+fsvHWYlSY1gwX/SD2PUxcHLO1LN8PXtC7Jj74VowMDKc2GdjVnsSNSDLRV0GJvG 1L8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=BrcLyXN1; dkim=pass header.i=@codeaurora.org header.s=default header.b=BrcLyXN1; 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 p1-v6si1519906pld.492.2018.02.01.02.32.37; Thu, 01 Feb 2018 02:32:51 -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=BrcLyXN1; dkim=pass header.i=@codeaurora.org header.s=default header.b=BrcLyXN1; 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 S1752171AbeBAKcK (ORCPT + 99 others); Thu, 1 Feb 2018 05:32:10 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:35746 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752111AbeBAKcD (ORCPT ); Thu, 1 Feb 2018 05:32:03 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 81EDC6076A; Thu, 1 Feb 2018 10:32:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517481122; bh=ZfhAS15AtSuRh/AMjw+NSflAz8Ti5+JY0Ih7o49L41Q=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=BrcLyXN1wFKy/fezbMBDhQNFXEi5UcSf73bEY08O93n1UxPun0OMs+EU++MvGNUJ4 qJT9vgrJtiRnOuKnY9vuV446HC5+ymjnAcZyEoY1Kak/qANXplXUvf7n1lCqBZJhAC +wp8yNmeV/Mt6jGomH+3MXa/MkjBzExM+l7MWKjg= 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 D83036076A; Thu, 1 Feb 2018 10:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517481122; bh=ZfhAS15AtSuRh/AMjw+NSflAz8Ti5+JY0Ih7o49L41Q=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=BrcLyXN1wFKy/fezbMBDhQNFXEi5UcSf73bEY08O93n1UxPun0OMs+EU++MvGNUJ4 qJT9vgrJtiRnOuKnY9vuV446HC5+ymjnAcZyEoY1Kak/qANXplXUvf7n1lCqBZJhAC +wp8yNmeV/Mt6jGomH+3MXa/MkjBzExM+l7MWKjg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D83036076A 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> From: Chintan Pandya Message-ID: <9e23d32f-05a0-ce8a-41f8-9a1a3d66be37@codeaurora.org> Date: Thu, 1 Feb 2018 16:01:58 +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: <38cdcae5-ec0f-d1be-b024-1990d4387731@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> 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). -- Qualcom India Private Limited, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project