Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753186AbdF0QMa (ORCPT ); Tue, 27 Jun 2017 12:12:30 -0400 Received: from mail.skyhub.de ([5.9.137.197]:48280 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751693AbdF0QMY (ORCPT ); Tue, 27 Jun 2017 12:12:24 -0400 Date: Tue, 27 Jun 2017 18:11:56 +0200 From: Borislav Petkov To: "Duran, Leo" Cc: "'Thomas Gleixner'" , "Suthikulpanit, Suravee" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "Ghannam, Yazen" , Peter Zijlstra Subject: Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Message-ID: <20170627161156.yim2pxtyg7efrbef@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 797 Lines: 19 On Tue, Jun 27, 2017 at 03:48:55PM +0000, Duran, Leo wrote: > Basically, in our case a Package may contain more than one L3 (i.e., > in hardware terms, there may more than one 'Core complex' in a 'Die'). > The important point is that all logical processors (threads) that > share an L3 have a common "cpu_llc_id". All that means nothing if it doesn't have any effect on scheduling. If moving the working set between L3s within the package, as you call it, is not measureable, i.e., task migration, then we don't care. The whole exercise is not about modelling the hardware topology accurately but for presenting sufficient detailed topology to the scheduler so that it works optimally on Zen. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.