Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2502610rdb; Wed, 21 Feb 2024 09:28:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUjUhkEfjyTfVV24VIrzPYzZir5RQwSvlIbK7r/gadFgHfcwUYRpWwCL/8VojQKQqQ+2QXz74q84Pdx5bIzbNcMH8fLZdX4D+q9rSKuwA== X-Google-Smtp-Source: AGHT+IGsxYDQbaJeY3OCFmamfiHtWXlW8gXj19she9PKGbhP62M0FpW1FdjrfT1tl2yjXX5zPajO X-Received: by 2002:a05:620a:3cf:b0:785:d3e7:3b2 with SMTP id r15-20020a05620a03cf00b00785d3e703b2mr18336348qkm.24.1708536498934; Wed, 21 Feb 2024 09:28:18 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y8-20020ae9f408000000b0078773b7760fsi4724462qkl.751.2024.02.21.09.28.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 09:28:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=LcsXboYF; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-75196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9CFB81C22922 for ; Wed, 21 Feb 2024 17:28:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52FAD83CBD; Wed, 21 Feb 2024 17:28:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="LcsXboYF" Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2069.outbound.protection.outlook.com [40.107.244.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3F2280610 for ; Wed, 21 Feb 2024 17:28:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.69 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708536494; cv=fail; b=oNQkosbp8ytJ1OeUNfq71UkeByDfaE4HFtiBHNB1mpNesM7RiYRZJ/Pz3WMxu6I/f6OZFsLIGo1H69UBdAwGPza1q0XkUKUe5dZ8IGjR92t6+dLa1AmWib6t3zsUQFIDadlqPjNLilqVc9GJgT58VlNZz8+fEL+HdTBNaRz8Zd4= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708536494; c=relaxed/simple; bh=sv97NikMxtn3agQbhkCW4OIrGOWJ1UIkybzhCfueORI=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=sFM50YcJmT7Z05jHyyCgG1l/BpFenObOq6C6w5rte9JNOBCn2GVXOsXO/N+RTEa5U7XluCYQzRcGSsXc77vU4EzlF3U6yq2i3ORyvUoz7aW4XlHaTVpG+oeHzLR+xIqEML1MK/rC7ZlDH/PRsLLkkcxXapRKloKApMC8LZj8JJE= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=LcsXboYF; arc=fail smtp.client-ip=40.107.244.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kkV6estLjWKyx3X37eoPOUwUiNDpL93SIIbbNacXg23mcjDURXTsHyBeT2iKXT4g9wPJpVGTWU1h8sZWr3BL1dY4mI1WGrBOEf0KtQNqB1rJAEMJ5zPJlFK701ld4TKX2jeQGRybPt2DHIeYAinoXKUxPWc2pMpMf55T1QpBZkem3fFB0zxU6QV/WbkLiSPxH9cz4c0jypNTdfgwf9EFrq7UmiNksQxec95c8TiwBNgka2TPqv3yF3N+FtArmTATGxqFm0FeBGt2KmSBmw8IN1irBNnqMH8KR3lmE6i5DpFmahICXSuYHJVYdfUsNfFYMpqhgeFer4MVEW7MNH61Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uoBNGj3DD5l1RrNFwS4u9DAzdQLKZEKPhA/vP87qUSQ=; b=gCV3SCjzIanAUJfA/p5bejBk1j8ctrgVN+ptHhQG44uke+FSFqrvitPGNQzd2UzgT8eBJGqAq/RzqQdMKAbidBl6+iI+U9VO02O/WyTLEAaz7L/l1Fem+SMQNQORqu1GsZD4dVoulh90FDXNIgiS4pU7JTCZj1Bp24TFqYX9+fIiZnOR+XZFZY6KOtomPE7GKjK/p7RnG+CscA/5m2GUQO4M9YdN5hcP3JkUi49Rg3UQ9SAY3QetnHs751hppSzmWAls6xKgjKhEpj0Hv43MilMvtT1XvctZa8X9Voim3O4EG6i7m9kTggAp4rGxFI+qt4sLGOFV+j0vYiOQAljRww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uoBNGj3DD5l1RrNFwS4u9DAzdQLKZEKPhA/vP87qUSQ=; b=LcsXboYFDZ2KIU81wnogslhf5ASoJWYU9vaY3NWo/kYhOPr0WaibUUABlqFJZ8upIvIfd234pks3+Z1xulQR3gGjaCe2/NkVC0Yi5bpFp57ukQv32+sa9kflBgyweuuiP7B2iQwaV/tVY30tRWyJ5bfZis9t6zFseTMl1eeBrEo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from PH7PR12MB5805.namprd12.prod.outlook.com (2603:10b6:510:1d1::13) by SA3PR12MB8803.namprd12.prod.outlook.com (2603:10b6:806:317::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.23; Wed, 21 Feb 2024 17:28:10 +0000 Received: from PH7PR12MB5805.namprd12.prod.outlook.com ([fe80::7bca:b335:5e25:753a]) by PH7PR12MB5805.namprd12.prod.outlook.com ([fe80::7bca:b335:5e25:753a%7]) with mapi id 15.20.7316.018; Wed, 21 Feb 2024 17:28:10 +0000 Message-ID: Date: Wed, 21 Feb 2024 22:57:54 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH 00/30] PREEMPT_AUTO: support lazy rescheduling Content-Language: en-US To: Thomas Gleixner , Ankur Arora , linux-kernel@vger.kernel.org Cc: peterz@infradead.org, torvalds@linux-foundation.org, paulmck@kernel.org, akpm@linux-foundation.org, luto@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, willy@infradead.org, mgorman@suse.de, jpoimboe@kernel.org, mark.rutland@arm.com, jgross@suse.com, andrew.cooper3@citrix.com, bristot@kernel.org, mathieu.desnoyers@efficios.com, geert@linux-m68k.org, glaubitz@physik.fu-berlin.de, anton.ivanov@cambridgegreys.com, mattst88@gmail.com, krypton@ulrich-teichert.org, rostedt@goodmis.org, David.Laight@ACULAB.COM, richard@nod.at, mjguzik@gmail.com, jon.grimm@amd.com, bharata@amd.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com References: <20240213055554.1802415-1-ankur.a.arora@oracle.com> <15fcf98c-58c5-fa08-2e21-f3b0baf058e6@amd.com> <87zfvtg2mh.ffs@tglx> From: Raghavendra K T In-Reply-To: <87zfvtg2mh.ffs@tglx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BMXPR01CA0092.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::32) To PH7PR12MB5805.namprd12.prod.outlook.com (2603:10b6:510:1d1::13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR12MB5805:EE_|SA3PR12MB8803:EE_ X-MS-Office365-Filtering-Correlation-Id: b29e7911-a783-440b-663b-08dc33027960 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9yVL34BXR5rmuKRscaVfCCIbCaFG425f/sDkODcvUjl2oaUry/J8MwWGNRprRGiih3s3PKvHsMEasI103jVzmBl0NkB7k+aXEweYM12WSRmcBir3+DX6if0Fs7frJVzvbpK+H3VkrpF5WvjQSG1giyJbPXNJJ5kLtAWG8mXpqDXJn5Hl3qrTlDI1hZKLvtWm2pdwKdVmUWszbaU9t3X1PoxVl10oPGAGezswLEk7coPvK+VUVJ0uU+2eQhGxnjYY7TsOnt6yiW61ishMqQtxCV6PFZCRMKLtcRgvurRP8VF3kRapX1wKiNwfUdnXKb4XKLYFVwXsjUvxBSLM0D/yS1MUV+wuS55rZdSjSH8BPGVP6NL6mp7qZOcnfuop3BOXGazb2JPqqevKerc1mN+GbEobz+aDtiRrWyj84tjqB3DQwjDHs7m9s3YrwG+YnAmWfZ3ie6iypJL4V6heXxe+0rvkha85Dk7Te4gdNV2nG7mAV1upAaRETgH7cJ+W6g4k2i4yFTMwImuYIILnan2TJhOwMM0vGyiqbo5rwd571dA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR12MB5805.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OW5hb1hULy91NDFLMUVUN1RBWVdFdDdMZjBOVFRhQm4xRC95SVRLclJtUkwz?= =?utf-8?B?eWFSelkyQVZjMXZCS1pGejVpMGkrcXczUTBOY0hZeWZYNTNwdi96ME1BTW5x?= =?utf-8?B?TlVvYUhuNm1OdEQ5N2RLYXg2QThGMW90aE9GNldmVWc1UkErVE5vWkV5VWNW?= =?utf-8?B?SExmUzRqbFBHSW5UYTlFRHBlc245bU1Qdk5rRUVxaHA1SkFDTTVTSTVnUFlI?= =?utf-8?B?U3UraldSbzRjZHZXcXpOU2NPRVZ1WGF2aDVNSVI1dW96M3o1d2g3V1hoc3J1?= =?utf-8?B?MHVHblpYMXE5OTdKVFJ0djl4OEJUbnR6dWhIQ0RmRG5xVTVmdGxvL1gxYTl4?= =?utf-8?B?dm9mcW1mT0QrWWdMcmRaR1lVdDU1SHZCTTQ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Network-Message-Id: b29e7911-a783-440b-663b-08dc33027960 X-MS-Exchange-CrossTenant-AuthSource: PH7PR12MB5805.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 17:28:10.2767 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LVljjil5DQ5V7wnoH1MJDp4DfqE8Mzd76ZplfwER85bghOVaKZfCh6r35139KlECt9guldixDLFQLp9VICvCVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB8803 On 2/21/2024 10:45 PM, Thomas Gleixner wrote: > On Wed, Feb 21 2024 at 17:53, Raghavendra K T wrote: >> Configuration tested. >> a) Base kernel (6.7), > > Which scheduling model is the baseline using? > baseline is also PREEMPT_DYNAMIC with voluntary preemption >> b) patched with PREEMPT_AUTO voluntary preemption. >> c) patched with PREEMPT_DYNAMIC voluntary preemption. >> >> Workloads I tested and their %gain, >> case b case c >> NAS +2.7 +1.9 >> Hashjoin, +0 +0 >> XSBench +1.7 +0 >> Graph500, -6 +0 > > The Graph500 stands out. Needs some analysis. > Sure. Will do more detailed analysis and comeback on this. Thanks - Raghu