Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4169808ybc; Thu, 14 Nov 2019 23:28:56 -0800 (PST) X-Google-Smtp-Source: APXvYqyvV3oSylq0fBBvH28A5WNSH6wlzonYpgchhYTtss8hEDvF+NldtlPYeMqxxaD9QuYGG2p1 X-Received: by 2002:a17:906:4bcb:: with SMTP id x11mr12151211ejv.100.1573802936789; Thu, 14 Nov 2019 23:28:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573802936; cv=none; d=google.com; s=arc-20160816; b=xPP4A6rB3Xs0oZFFy+/cVFnT1C6kHTYX26kF2p18kEFxgz2FxaynRCcd0f7h0k3e2O f2ztFUOR7nKGLTnabv2i8iBT1gEM1K1mnbkHWFCSquZZ+T6FLsLdu+x1iEFY0r0ZrMjG evNiNn9ycFY2/qcIs2P4dJdgl0eKPSHBtrTwz9IXf+7Zng4nVEjKX2/8ueer1D7qb9Rm vq0m7Gp3D5mNEple3euQBwL6jYAop8mH+aCDKQb9vbzrLmcYZYhIBZF+RMkRTYsCELgj B+ohD2qMVkTyT69oFtn2CH3zF9JYNS966bBDIDnUtlUVrTulwco2rbFQrraWXXLCiaZX TDuQ== 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:dkim-signature; bh=d+AJ4BxgAD1ZR5YtMJu5l/SPY546SyOeW/ALaWRlSX8=; b=GLdxu8E06nQAvuoymk2svMPujPm54wU/Wln4hfrOjE61k1khx2KsWVcKfxHzEtrRCf ReyezI2QNZ7a+jSTySwZKyJoXUIPwWuflNELvYJHeaXoqls3PGlL1/nGQbJPlzpilD8G DC5G8eaUcFP8B2uKOBgWYy5t87VPqf67efOuVOfhdqffvOgwDg3pZFuCWVUY2ehkf907 v9fmPl0BFxxAMRsWSgt+ynZ1GFYmT6+GNG20hhyxF4VGzmaVKGoYZtoqnBOp9fCeShav GtfWTvITS4hy9yasDjih6Eh4/Ne7x3779ppZ1Elz/S+QtiTPdnDbSeuutOLveOwmyKJ6 LAGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ErPukpXX; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v42si5969127edc.378.2019.11.14.23.28.30; Thu, 14 Nov 2019 23:28:56 -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=fail header.i=@gmail.com header.s=20161025 header.b=ErPukpXX; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726632AbfKOHZQ (ORCPT + 99 others); Fri, 15 Nov 2019 02:25:16 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:38303 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726444AbfKOHZQ (ORCPT ); Fri, 15 Nov 2019 02:25:16 -0500 Received: by mail-wr1-f65.google.com with SMTP id i12so9779643wro.5; Thu, 14 Nov 2019 23:25:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=d+AJ4BxgAD1ZR5YtMJu5l/SPY546SyOeW/ALaWRlSX8=; b=ErPukpXX60FNsAiXULBdlCclyamDqA8kk+bEWCSwx6oDwHj+D7Zptwi9x/47xi6dNq QvmzRrpgQBUYCDpNTTqh68RciKxt8UnBdQR3ZbtrwcWKKU88uRLoN+oqNC5OWXub+lkz E1BK/EWmigmZiKoiqcOklWIReiSf9VR2LT/FAbJLPsT/iKlX3Uf6mwl/YeCRGvUG6Dgf aLJVcBvJi42DovaVPv3xEPLHam+WLLUkW1f9K6uSJwjDj4reuKR+F64XsDhLao5+m4b7 6cjgcrsvJrhW3djfSwMrvqyw9Rn7E8w/YvjUTyxXx9SV9u2I4H6yVr8smCL8zxdQX54Q qzaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=d+AJ4BxgAD1ZR5YtMJu5l/SPY546SyOeW/ALaWRlSX8=; b=Cx0ZNQyaMBl/rmW+9MpTohH97Uy0yOq9srpZV2a/PNQ/yJnxcLxpVkJwaEJQ4WEyJG 0mFIiEYCjCnisPbPyZCWfu2B1JFGKxgSeOBbQNZ8ENhVAPtND7I7AH16sJoL/hNqFn7K B9pmQMixLvCZ8uuENVH+pf7C+JfgMXesFVG6TFcI2oOdH8eNmSRkYvDtcAt6liHcgV2q FAO1Qg/mdPpjL2gH3+PbPA2MO1XXM/uiheOlql/HwstLAWwxofN3esw8/wigr2jBVyN+ a+faHthgbJmu57K5517TUXY6M1EVWJo9m5KR0J88NCr0+TeO9eAixisneauF2ph8+Y0E MUng== X-Gm-Message-State: APjAAAUoT+sNmS0bBcw8/v+ZoW8YKPWJnoFdWLdXyA7bKpKMNLJQArdh qIRPTH6uu06+pU1BSPZJxFc= X-Received: by 2002:adf:ef86:: with SMTP id d6mr13328931wro.118.1573802714336; Thu, 14 Nov 2019 23:25:14 -0800 (PST) Received: from gmail.com (54033286.catv.pool.telekom.hu. [84.3.50.134]) by smtp.gmail.com with ESMTPSA id m15sm10817354wrq.97.2019.11.14.23.25.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2019 23:25:13 -0800 (PST) Date: Fri, 15 Nov 2019 08:25:11 +0100 From: Ingo Molnar To: Shile Zhang Cc: Peter Zijlstra , Josh Poimboeuf , Masahiro Yamada , Michal Marek , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H . Peter Anvin" , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: [RFC PATCH v3 0/7] Speed booting by sorting ORC unwind tables at build time Message-ID: <20191115072511.GA114447@gmail.com> References: <20191115064750.47888-1-shile.zhang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191115064750.47888-1-shile.zhang@linux.alibaba.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Shile Zhang wrote: > Hi, > > I refactored the sortextable code and add ORC unwind tables sort > support, for kernel boot speedup by sorting kernel tables at build time > as much as possible. > > Followed Peter's suggestion, I put ORC tables sort into a separated > thread makes these tables sort concurrently. That helps to avoid > kernel's link time as possible. Could you please also measure how much boot time this saves, approximately, and how long it takes to do it at build time? Thanks, Ingo