Return-Path: Received: from out30-43.freemail.mail.aliyun.com ([115.124.30.43]:53549 "EHLO out30-43.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726180AbgD3Ccd (ORCPT ); Wed, 29 Apr 2020 22:32:33 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [PATCH 0/2] Build ORC fast lookup table in scripts/sorttable tool From: changhuaixin In-Reply-To: <20200429084933.GF13592@hirez.programming.kicks-ass.net> Date: Thu, 30 Apr 2020 10:32:17 +0800 Content-Transfer-Encoding: 8BIT Message-Id: <1CACF61E-FA7C-4986-AAD2-20A3B2BAC425@linux.alibaba.com> References: <20200429064626.16389-1-changhuaixin@linux.alibaba.com> <20200429084933.GF13592@hirez.programming.kicks-ass.net> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Peter Zijlstra Cc: changhuaixin , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, bp@alien8.de, hpa@zytor.com, jpoimboe@redhat.com, luto@amacapital.net, michal.lkml@markovi.net, mingo@redhat.com, tglx@linutronix.de, x86@kernel.org, yamada.masahiro@socionext.com > On Apr 29, 2020, at 4:49 PM, Peter Zijlstra wrote: > > On Wed, Apr 29, 2020 at 02:46:24PM +0800, Huaixin Chang wrote: >> Move building of fast lookup table from boot to sorttable tool. This saves us >> 6380us boot time on Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz with cores. > > And what does it add to the build time? It takes a little more than 7ms to build fast lookup table in sorttable on the same CPU. And it is on the critical path.