From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0ACE13858C20; Mon, 9 Jan 2023 17:38:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0ACE13858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673285903; bh=Kww/DQnvesIP93wAnWxi9LCqMGwUjhvWp2CFBMz/Z3A=; h=From:To:Subject:Date:From; b=Bl9ZTKS/gr1hH7560EB0UzAf2lEST7xclKZPVXsuxkqh7PdxN8GTxqTNmL5zpSFKb vHA7PFfemzFZIedKiHULbfkPKRUCIx9Wzjeuxa+YdWD/GA0jtsZ3l7lOP4U3YLswGS VhnPe7PgBnQJDgbmgOUIYKWaPycwBkG6xwL2By9E= From: "ross at burtonini dot com" To: elfutils-devel@sourceware.org Subject: [Bug debuginfod/29975] New: Search concurrency doesn't respect CPU affinity Date: Mon, 09 Jan 2023 17:38:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: debuginfod X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ross at burtonini dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29975 Bug ID: 29975 Summary: Search concurrency doesn't respect CPU affinity Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: debuginfod Assignee: unassigned at sourceware dot org Reporter: ross at burtonini dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- I've a machine with lots of cores (256) but debuginfod doesn't respect CPU affinity: $ taskset -c 2 debuginfod -v ... [Mon Jan 9 17:33:20 2023] (2351762/2351762): search concurrency 256 Instead of looking at the number of cores present, it should look at the nu= mber of cores available to it (sched_getaffinity()). --=20 You are receiving this mail because: You are on the CC list for the bug.=