Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3058770imj; Mon, 18 Feb 2019 18:46:49 -0800 (PST) X-Google-Smtp-Source: AHgI3IbIKBaX53sryxBBA+mabsZKp+LXISnWObQygJc50Qi8prvMzb6atKvQpt7k3XPmmneURNHz X-Received: by 2002:a65:60c2:: with SMTP id r2mr22074261pgv.319.1550544409107; Mon, 18 Feb 2019 18:46:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550544409; cv=none; d=google.com; s=arc-20160816; b=WQ03wyrKYxjYdbi8i16Q/V+hDep4IE4u0IojwKahn51IBMlnWS/Hfb22ovTqWHmwnm dizCura0OPhPQmGIypjUEOLzuNTBJMEUKzvVJBd3aKyLugfVInwHez7s5l/Acq+6Chai YzlBlXB4sGhn2cBwiZlFunh41XWMZOdPEXlAYKMJF6t9elzuldiZK70TUdRzk1kglOme mVE+K4bRhJ1C2HUL6zHdKenX1t1qjy1hMykZ+2ahHD73/n52/n4c2yVFgAhHpMikMHQG BUDe0uH73niezEdq1UGzpu5LW3mgVBrpeZ+pDs/rVwmlrM+/m7L9byTq2aiYjwi1zhQF ZISg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=0zKkxq7u9soSKx977a2TN2khMo8GljzoTf2CcQJBrew=; b=b0d2symxYXzKtQlNIO38D0selyKKKqn1hIWJN2lDasX87yK/N3j2DSUmzuNSXGm7CH UdjdHk/ZUVl2lNMbwV985xOzhEuSjhaG7axu/YHVxu+QyY94taHUkkUo8cUAuUD56udj FEwByltGid5+hkXZ5VP0U2XLVYPmwZOELdzXjeWad60sePKkUlu2dkxDgytf12xci1j7 YVUUoPSMfTK4jbeHWGm65L/50f2ZIbWMm01crGoMaeQm1pTP+EaMyvjGsD4ycmio31DK L+j9+hQX0rgnu11CBD+NPH08D2uzI97Ku7hf8bl5pTJapMrocrr+j/StmP8y0dXf9YzE COFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=K9KWD8FM; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w5si13866275pgr.394.2019.02.18.18.46.33; Mon, 18 Feb 2019 18:46:49 -0800 (PST) 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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=K9KWD8FM; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732351AbfBSAaT (ORCPT + 99 others); Mon, 18 Feb 2019 19:30:19 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:34451 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726220AbfBSAaT (ORCPT ); Mon, 18 Feb 2019 19:30:19 -0500 Received: by mail-lj1-f193.google.com with SMTP id l5so12484087lje.1 for ; Mon, 18 Feb 2019 16:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0zKkxq7u9soSKx977a2TN2khMo8GljzoTf2CcQJBrew=; b=K9KWD8FMFZ3Iohm9XcQwvNm0TlzOyLhGMMfHG9LmvM6vXr7HmmUPHrwvB7yGDfzfXO wzuvgA/2RFz3rktcQUCGWn83g3CSYbYigjsJ40BQpTBTbYb4NxCULqfs0iYrQ4+TJrP8 yo0MjD3NVUVr+ganHwajFzdazuEYrtmGWDjGk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0zKkxq7u9soSKx977a2TN2khMo8GljzoTf2CcQJBrew=; b=p3W0lLqxwGuxXRIluSXR5dDJ58dsxqGrV6uNMy04OFSSiUpkQgpaD3AQI7WketLoeU I/dE/edR0zVGzSYKKM9jAxMkP9yWK+2tYNNNw/eaSiPKW+qxixkPCQQs12uuiuBhun9L GdhFEieso9RQrcXe+geMc/NKmDwxyiJ/5N7wRHmB6axuuZgwjgauvkVWJRE3wTUfdgxz QKBqLjnN4fMxvP8HLMlufpIMxwdbN/gxojcVbvplfSXznnn9fCRHlMdPsAE9sH/rITlC sWiB+6/B20VgPbDudyKI8gI8zQX04l3NZ71lfJ6AuAaSRdqOb7OW8I4Lcq+Thdr5qyN5 TFSw== X-Gm-Message-State: AHQUAuYUVulTjiCRGo4UdM1RAnpSrb8Y0ahHsfYyEPU0J90rFnkqds1Z ngA+405pl6CjdZA2Jjsao8Px0SkS93U= X-Received: by 2002:a2e:9983:: with SMTP id w3mr14702268lji.71.1550536216643; Mon, 18 Feb 2019 16:30:16 -0800 (PST) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com. [209.85.167.50]) by smtp.gmail.com with ESMTPSA id u15-v6sm4374778lja.63.2019.02.18.16.30.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 16:30:13 -0800 (PST) Received: by mail-lf1-f50.google.com with SMTP id q11so13590671lfd.3 for ; Mon, 18 Feb 2019 16:30:13 -0800 (PST) X-Received: by 2002:a19:4847:: with SMTP id v68mr14958607lfa.136.1550536212763; Mon, 18 Feb 2019 16:30:12 -0800 (PST) MIME-Version: 1.0 References: <20190218165620.383905466@infradead.org> <20190218204020.GV32494@hirez.programming.kicks-ass.net> In-Reply-To: <20190218204020.GV32494@hirez.programming.kicks-ass.net> From: Linus Torvalds Date: Mon, 18 Feb 2019 16:29:56 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC][PATCH 00/16] sched: Core scheduling To: Peter Zijlstra Cc: Ingo Molnar , Thomas Gleixner , Paul Turner , Tim Chen , Linux List Kernel Mailing , subhra.mazumdar@oracle.com, =?UTF-8?B?RnLDqWTDqXJpYyBXZWlzYmVja2Vy?= , Kees Cook , kerrnel@google.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 18, 2019 at 12:40 PM Peter Zijlstra wrote: > > If there were close to no VMEXITs, it beat smt=off, if there were lots > of VMEXITs it was far far worse. Supposedly hosting people try their > very bestest to have no VMEXITs so it mostly works for them (with the > obvious exception of single VCPU guests). > > It's just that people have been bugging me for this crap; and I figure > I'd post it now that it's not exploding anymore and let others have at. The patches didn't look disgusting to me, but I admittedly just scanned through them quickly. Are there downsides (maintenance and/or performance) when core scheduling _isn't_ enabled? I guess if it's not a maintenance or performance nightmare when off, it's ok to just give people the option. That all assumes that it works at all for the people who are clamoring for this feature, but I guess they can run some loads on it eventually. It's a holiday in the US right now ("Presidents' Day"), but maybe we can get some numebrs this week? Linus