Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1236224lfc; Wed, 1 Jun 2022 12:37:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxuvGSGJdP10P4Ss5OVI1vO3Qqho0MoFHIyPilcn+2yMdafvMOGlc+aeAYiLF+KjH1cwH+ X-Received: by 2002:a17:902:8504:b0:15d:2c7c:ceac with SMTP id bj4-20020a170902850400b0015d2c7cceacmr1031963plb.130.1654112266326; Wed, 01 Jun 2022 12:37:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654112266; cv=none; d=google.com; s=arc-20160816; b=0Rq5i8XoVkR2FKLGOSGGMH2LjVHyD3m6zoDyTtJniV9Z6sU56wErW97Cgz6S4L+J7i UtuqW+HC3UVkB9sbOswBupkthjJ8ZNaFb1AvlbLtqITsGH45kZeX18ZlpZ2/NMkNVUXf K2IlhFfZo/UL+QCv6I4Nsl4f4g3YJawS8mHwAiSA8CPg80O3i8X9raVHXQznzrILUmvy Pj9O5S0iJcbSGhRVRqsu2+s6VKr6ZKxhfQEmY1/D+aarQUGFzrYPp/hNQ9QttX0sY4P9 T8KMENqzQuYyLGYnk+sUciY4D6oYhdPBtk+ZyjtQ/QwueIBeOl5UfJtOR+GxTAXHT9BT mAdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=gKY7+1hI0OcF1VmOLMsPVp2gaCidZW28lrPz7Mrrnkc=; b=A6q6HuHGuDARJCahfCQk9rlop0yFbhWCpfGVFSm0OtGMTfvpLgzCncif2DDkT8Rhy8 apXe+sqnPDSxJtKVTPLRb7eWQHe+BTWYMXld2r47tMZyNejdmsJJz7j74HpWmAhCMa28 1U9VbxdVcnqGvTxlU7WQ42ueQfB8IFa91Zef5EX6b8Gj2gz0yQWIsJxdaPqATwUigng1 MKAvKpNe57Y9w0bQLa0Vo8EOhERp375XE8Cl2jgzzfL005LFpbIrsx3Y+xgG25Ax8Teg zCOdYd/Kbb8+/tB2dODOnNpZlclFy7iJxjbxc60yDT86Y9aN/fB5SanJv5Mr3BHxbgDa civA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gWS0Hqbo; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a21-20020a170902b59500b0015c96aea0c1si47904pls.270.2022.06.01.12.37.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 12:37:46 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gWS0Hqbo; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 872011B5877; Wed, 1 Jun 2022 12:06:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345901AbiEaPv5 (ORCPT + 99 others); Tue, 31 May 2022 11:51:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345893AbiEaPv4 (ORCPT ); Tue, 31 May 2022 11:51:56 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B03BD255BB for ; Tue, 31 May 2022 08:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654012313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gKY7+1hI0OcF1VmOLMsPVp2gaCidZW28lrPz7Mrrnkc=; b=gWS0HqboZ/Gt670lEfXv0UifOGOkbVQruWxTYw1W+FzXkert9DePhg6fhQgUT2QFGIPatC wcqZDsfL2/eI4Zk5Ubp8iSFJyeLRMXZH4KUpsIQr9hmfVYkz6JtNtD4IOtg4OzP/CkfoEy LgzGPwpmIxi64K6m1VJk+umN4wA5+g8= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-179-druviXd1PG6YMbm6ORV3iw-1; Tue, 31 May 2022 11:51:52 -0400 X-MC-Unique: druviXd1PG6YMbm6ORV3iw-1 Received: by mail-ed1-f69.google.com with SMTP id q29-20020a056402249d00b0042d90fd98deso7271019eda.12 for ; Tue, 31 May 2022 08:51:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=gKY7+1hI0OcF1VmOLMsPVp2gaCidZW28lrPz7Mrrnkc=; b=NTL9JC3XBdJQvbL1/ae44Rlp+OdPS0+uX27kA/IIYOiIBz5K/h1RbCLcji9FbJ7DZQ 2WuEITiTnMX/daQeCIxckNZq9SwV7EJZFnFdXBDnhGyUyf/LvSoAWIRxGq6Xn6vyuTzb Hu1X+v2n9M+LNratE7965WxDhWMGGNplFdvPCwpuTdUfKvaaQ+r/cPx89xqIYOrb/kaT tZ1rGW+NyKvPj1yEt4r4cgmYHNRVdeXnxEaVEPaSPMdQoVg6Pf2tUYQZ65hhqp6CvP57 t1sWzVuQPC6LFmTMLR08+0Ey0HQ3Wf5EDPklFJlp1/Lbr/S8Bbz38X4gB4jTaBDNkhUC TTnQ== X-Gm-Message-State: AOAM533LRk7yx0LL0p5Bf2LNrIG9JB3mc+Ns5nFnvPBTtk8b7g3T1PXC qxWVl6LkovA8m5pWrvqY4wRToQ3YnoqoChPNMmkrR2MwQ0ZejPoMmLtRn24M36JCCMHwkP1tYI2 vm52OpG7jeEDgrUwiE2HPtFaA X-Received: by 2002:a05:6402:42c8:b0:42d:f0b0:c004 with SMTP id i8-20020a05640242c800b0042df0b0c004mr661144edc.356.1654012311083; Tue, 31 May 2022 08:51:51 -0700 (PDT) X-Received: by 2002:a05:6402:42c8:b0:42d:f0b0:c004 with SMTP id i8-20020a05640242c800b0042df0b0c004mr661115edc.356.1654012310897; Tue, 31 May 2022 08:51:50 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:9af8:e5f5:7516:fa89? ([2001:b07:6468:f312:9af8:e5f5:7516:fa89]) by smtp.googlemail.com with ESMTPSA id j4-20020a508a84000000b0042aa153e73esm8802086edj.12.2022.05.31.08.51.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 May 2022 08:51:50 -0700 (PDT) Message-ID: <307f19cc-322e-c900-2894-22bdee1e248a@redhat.com> Date: Tue, 31 May 2022 17:51:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: ...\n Content-Language: en-US To: "Durrant, Paul" , Peter Zijlstra , "Allister, Jack" Cc: "bp@alien8.de" , "diapop@amazon.co.uk" , "hpa@zytor.com" , "jmattson@google.com" , "joro@8bytes.org" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "metikaya@amazon.co.uk" , "mingo@redhat.com" , "rkrcmar@redhat.com" , "sean.j.christopherson@intel.com" , "tglx@linutronix.de" , "vkuznets@redhat.com" , "wanpengli@tencent.com" , "x86@kernel.org" References: <20220531140236.1435-1-jalliste@amazon.com> <059ab3327ac440479ecfdf49fa054347@EX13D32EUC003.ant.amazon.com> From: Paolo Bonzini In-Reply-To: <059ab3327ac440479ecfdf49fa054347@EX13D32EUC003.ant.amazon.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/31/22 16:52, Durrant, Paul wrote: >> -----Original Message----- >> From: Peter Zijlstra >> Sent: 31 May 2022 15:44 >> To: Allister, Jack >> Cc: bp@alien8.de; diapop@amazon.co.uk; hpa@zytor.com; jmattson@google.com; joro@8bytes.org; >> kvm@vger.kernel.org; linux-kernel@vger.kernel.org; metikaya@amazon.co.uk; mingo@redhat.com; >> pbonzini@redhat.com; rkrcmar@redhat.com; sean.j.christopherson@intel.com; tglx@linutronix.de; >> vkuznets@redhat.com; wanpengli@tencent.com; x86@kernel.org >> Subject: RE: [EXTERNAL]...\n >> >> >> On Tue, May 31, 2022 at 02:02:36PM +0000, Jack Allister wrote: >>> The reasoning behind this is that you may want to run a guest at a >>> lower CPU frequency for the purposes of trying to match performance >>> parity between a host of an older CPU type to a newer faster one. >> >> That's quite ludicrus. Also, then it should be the host enforcing the >> cpufreq, not the guest. > > I'll bite... What's ludicrous about wanting to run a guest at a lower CPU freq to minimize observable change in whatever workload it is running? Well, the right API is cpufreq, there's no need to make it a KVM functionality. Paolo