From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752744AbdF0QRc (ORCPT ); Tue, 27 Jun 2017 12:17:32 -0400 Received: from mail.skyhub.de ([5.9.137.197]:48454 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751695AbdF0QRU (ORCPT ); Tue, 27 Jun 2017 12:17:20 -0400 Date: Tue, 27 Jun 2017 18:16:57 +0200 From: Borislav Petkov To: Suravee Suthikulpanit Cc: Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org, leo.duran@amd.com, yazen.ghannam@amd.com, Peter Zijlstra Subject: Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Message-ID: <20170627161657.p4kurw2f3gcavfvz@pd.tnic> References: <1498545653-6755-1-git-send-email-suravee.suthikulpanit@amd.com> <1498545653-6755-2-git-send-email-suravee.suthikulpanit@amd.com> <20170627104803.wlhsqhaylbeqod37@pd.tnic> <122fd136-e3a1-1d59-87c8-a24de6b078c1@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <122fd136-e3a1-1d59-87c8-a24de6b078c1@amd.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 27, 2017 at 10:55:52PM +0700, Suravee Suthikulpanit wrote: > The reason we are trying to present "package == NUMA node (die)" here is > because the topology.txt defines package to contain a number of cores plus > shared resources (e.g. DRAM controller, shared caches, etc). Since the > cpuinfo_x86.phys_proc_id is also defined as the physical ID of the package, Ok, it seems we will continue talking past each other here. So let's look at the issues separately: * irqbalance fails to allocating IRQs to individual CPU within the die. Why does it fail? What is the root cause for this? * The scheduler fails to load-balance across 8 threads within a die (e.g. running 8-thread application w/ taskset -c 0-7 ) with the DIE schedule domain omitted due to x86_has_numa_in_package. Why do you need to load-balance within the die? Why not load-balance within the 0-15 threads? What are the disadvantages of the situation now? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.