Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp462046ybb; Wed, 25 Mar 2020 03:22:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu7o5KWqAdh6M38o53zaobpzSVJghL+Cx/y6syQ/Q2SPQiCl+DuK6lg4xybFJzs9olp2O8U X-Received: by 2002:a4a:e78b:: with SMTP id x11mr826252oov.45.1585131769344; Wed, 25 Mar 2020 03:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585131769; cv=none; d=google.com; s=arc-20160816; b=Gs+aaOz7bS2ZhvucIih6R0DrIGBz+IhGlDEfqkrnv4xi5UsUvJqfERaJj4msLeDuJD TqjnC03icLX91Me9h3y7ZY+B+Ds0CE2PCFnJmPGI9+sbd0L2psgDgWPO7MS48tUvqwyC c3DsivwgBNs6j7ekbIgCAhZCuggPZQr08e1tKIJgEKo4B8mQG23dvUS5m1DTxO/Slq4A UOkg2AjZbVu6qSX0ka7n9PJI+Qbn1BvvKwpZu6qrNpyq3+2Q3xnYei0OHG1UUniRI0Yj G6tFOOuowsouipFQcLR1TfMMHvystlhT0Jpn7EuOQEn7arsbo0t7tiBhrmOkQlYkFh6j b7Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=6oho0OLO8Ve0T2NC/fEVt+R5PwDWvBQ/rKB1uaaI1QA=; b=Ju8U4RNWsNHX7McWSWbtfRrXmJVLz9I6CYMLPb2O0uOM5bLoDTf+8iesarUFLnxEGk 0WWwKI67/jHpb2EYWLOOPAssrAcot0hHNWPLBOd/jMPlDL/eJ0pBYxQqMH0mkrsgYyU3 eS7TLU7Dx2M88+gANS65697TzUQ2mlcpsb/yHC9A9fyebNswK+VxhLYcV9Y6XXfkrELJ F26O9B/78zOHUkMEtexsuukOOXhM0kapTgHhH3p/1Cv1yEu4uuDVq9ZXifox5AyAM4Fm feLEXcyTca6DJ9JuaYmITZpmXGFFuNm945xQmV8elJhP6ppvXxXwPVNib5qxmJjmPPdO 9zlA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 194si10150994oii.2.2020.03.25.03.22.36; Wed, 25 Mar 2020 03:22:49 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727640AbgCYKVy (ORCPT + 99 others); Wed, 25 Mar 2020 06:21:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:54900 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727158AbgCYKVy (ORCPT ); Wed, 25 Mar 2020 06:21:54 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 75395ACB8; Wed, 25 Mar 2020 10:21:53 +0000 (UTC) Date: Wed, 25 Mar 2020 11:21:52 +0100 (CET) From: Miroslav Benes To: Peter Zijlstra cc: tglx@linutronix.de, jpoimboe@redhat.com, linux-kernel@vger.kernel.org, x86@kernel.org, mhiramat@kernel.org, brgerst@gmail.com Subject: Re: [PATCH v3 12/26] objtool: Resize insn_hash In-Reply-To: <20200324160924.617882545@infradead.org> Message-ID: References: <20200324153113.098167666@infradead.org> <20200324160924.617882545@infradead.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Mar 2020, Peter Zijlstra wrote: > Perf shows we're spending a lot of time in find_insn() and the > statistics show we have around 3.2 million instruction. Increase the > hash table size to reduce the bucket load from around 50 to 3. > > This shaves about 2s off of objtool on vmlinux.o runtime, down to 16s. > > Signed-off-by: Peter Zijlstra (Intel) > Acked-by: Josh Poimboeuf Reviewed-by: Miroslav Benes M