Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3547655imm; Wed, 5 Sep 2018 01:51:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbDmZB/F1gLMMZf+Gb9OSwELyd7qb4BI+79GTxju0PBDTkpkDpDJW1w47hPG+U1BHJlGa7X X-Received: by 2002:a63:1c1b:: with SMTP id c27-v6mr36347753pgc.48.1536137515446; Wed, 05 Sep 2018 01:51:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536137515; cv=none; d=google.com; s=arc-20160816; b=Z0zqWiyCFJojLg5aBenEIS/v5JLKUSM4wsvV7m20wLzFTLW73KzG0t86nI77nhJftq s6s6+imH/32cfgYeGURcwR2CfE4BiM+BfQ5UrJ6fkmcdGkABcnKO4+QzPjIwpi9j95cA eQtmmBMSDm3MnE6Y7XONvx0cjIy9vGZv6/g/Gqp/YH0JyKH/gzJGVFJDTlel0R1c6ZWd HvWHswUeU3JMfIiiIGdidxdu2Ox0Bcf+dtAN4L5CAzgIcSh6isfvm7z7CtWRTxsnK+B4 iI6EQMgA17Sefx6UElFX7ycU7yXgqD/LSav84WrQ37FabFGilfqoqflhfrWb8Kx/81eT NZ9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date; bh=7BTog+WAHe9q1fdQGGxtjYfWZ4ai+a/5UEYQTY8eMf8=; b=HPC98UAbmEonKQQlf0Drr0Zh+iU9GPb101O/4mx3dieRAAd/OXCDf5q6i/+lAITiaD xmBnjgBwvYhvkE706CgW/B/u1MoR/UbwV3jP/oS6VJYWSsTACNGKANx+Phl98gRBmlaz H05VJK9Y3MsEphmVg67hpEyiYrSgka4wN0/DpUEwkCMBaeIfSFOmBtsiHMNU3MuojqBa DF6i6TEIoSxMa+F/G4spwfQNql0xFftYdmhIg3DPRB4k7fq8kUc+2JRpEc2Hv9tHinma E9rwVWX0NKKcxZYBLmcOS99v11u85lh4iI8Z445EEOkrbSUoTYIskeQRK1eAWBUtQ4HL YKTw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1-v6si1393228pla.103.2018.09.05.01.51.39; Wed, 05 Sep 2018 01:51:55 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727814AbeIENTq (ORCPT + 99 others); Wed, 5 Sep 2018 09:19:46 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:53814 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726401AbeIENTq (ORCPT ); Wed, 5 Sep 2018 09:19:46 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w858hfdE137712 for ; Wed, 5 Sep 2018 04:50:34 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2maa0mwafr-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 05 Sep 2018 04:50:34 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 5 Sep 2018 09:50:33 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 5 Sep 2018 09:50:31 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w858oUkW43647068 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 5 Sep 2018 08:50:30 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5D3D9A405D; Wed, 5 Sep 2018 11:50:23 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 83336A4057; Wed, 5 Sep 2018 11:50:22 +0100 (BST) Received: from linux.vnet.ibm.com (unknown [9.40.192.68]) by d06av23.portsmouth.uk.ibm.com (Postfix) with SMTP; Wed, 5 Sep 2018 11:50:22 +0100 (BST) Date: Wed, 5 Sep 2018 01:50:29 -0700 From: Srikar Dronamraju To: Vincent Guittot Cc: Peter Zijlstra , Ingo Molnar , linux-kernel Subject: Re: [RFC PATCH 3/4] sched/topology: remove smt_gain Reply-To: Srikar Dronamraju References: <1535548752-4434-1-git-send-email-vincent.guittot@linaro.org> <1535548752-4434-4-git-send-email-vincent.guittot@linaro.org> <20180904082424.GA2090@linux.vnet.ibm.com> <20180904093626.GA23936@linaro.org> <20180904103742.GC61288@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 18090508-0008-0000-0000-0000026C8535 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18090508-0009-0000-0000-000021D4A0A5 Message-Id: <20180905085029.GA57420@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-05_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=745 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809050094 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Vincent Guittot [2018-09-05 09:36:42]: > > > > I dont know of any systems that have come with single threaded and > > multithreaded. However some user can still offline few threads in a core > > while leaving other cores untouched. I dont really know why somebody > > would want to do it. For example, some customer was toying with SMT 3 > > mode in a SMT 8 power8 box. > > In this case, it means that we have the same core capacity whatever > the number of CPUs > and a core with SMT 3 will be set with the same compute capacity as > the core with SMT 8. > Does it still make sense ? > To me it make sense atleast from a power 8 perspective, because SMT 1 > SMT 2 > SMT 4 > SMT8. So if one core is configured for SMT 2 and other core is configured for SMT4; all threads being busy, the individual threads running on SMT2 core will complete more work than SMT 4 core threads. -- Thanks and Regards Srikar Dronamraju