From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88D3CC31E49 for ; Thu, 13 Jun 2019 17:16:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 54F742063F for ; Thu, 13 Jun 2019 17:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560446177; bh=6/4G9x4zsQuQK8+ToSt6QVbv5k7TYmTi2yAsofevHsY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=ktkSY680KbHHzUzNvxpsAcBXAoKs5tjgwUEzNdzZ4tMbY7zXTenzTSsWD+F5pacdS Tju/n2iT92rM+X51j2djUj9Dx5/WgL3o1PSPlTzLAOtd51dv+XaRdCZ04TJPAhsCig yTEEdImniYf9Xs1og4YmI6V1QTU1K5WQIsLJBeYE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728711AbfFMRQE (ORCPT ); Thu, 13 Jun 2019 13:16:04 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:47002 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728698AbfFLVon (ORCPT ); Wed, 12 Jun 2019 17:44:43 -0400 Received: by mail-ot1-f67.google.com with SMTP id z23so16924778ote.13; Wed, 12 Jun 2019 14:44:43 -0700 (PDT) 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=6/4G9x4zsQuQK8+ToSt6QVbv5k7TYmTi2yAsofevHsY=; b=YpKmT0+C2griVMmGw+n8I8gmxAGOjAW393yFX50SzCt8ExJDah1r2ImJwJOnIyxpHH z/enpeUDMhm3A1q80aj1qAJ+A1zWd0Uj3ZRQ2ltJz6LWbgAW1H9VaeRmcpq2Y0RdJ9nt xNyQTrv+ICjrVYBkrAdGvLuvRfeEowzaMV1EcNyrGSnvUyId+g+S2PUIf7JSMlWZnDur YXKN6b1gD6vceR//bU9kH3tmJLPeOTewGz4q8J+LdwMSHyoiqrgx4Uoguwt0JyCvKW2b ZriYTfGZNiCjft+toKKp7HkSd7IKKDEPrK8Uo8wGGuBZmU7LhTm7mFr3wKnGSUvV30Ik OQRA== X-Gm-Message-State: APjAAAWMxxdwGKVK6aCOc8sa8MFXbfr3IPYTvFMA32cqOavCZ4yGB3qd VEejyqgoHm77v6FlCoCSKFFCoHnT/vyBoUnde/8= X-Google-Smtp-Source: APXvYqxN1bHJmkJ+vh40QbfdXCtjCs4vHEb7WPek5QJRj8zdUZWlSjKRNzigkiS5uP3LHGJ4wWz6y073BK1+jYoNW44= X-Received: by 2002:a9d:6959:: with SMTP id p25mr18511958oto.118.1560375882780; Wed, 12 Jun 2019 14:44:42 -0700 (PDT) MIME-Version: 1.0 References: <20190609111732.GA2885@amd> <007701d520c7$c397bda0$4ac738e0$@net> In-Reply-To: <007701d520c7$c397bda0$4ac738e0$@net> From: "Rafael J. Wysocki" Date: Wed, 12 Jun 2019 23:44:30 +0200 Message-ID: Subject: Re: 5.2-rc2: low framerate in flightgear, cpu not running at full speed, thermal related? To: Doug Smythies , Pavel Machek Cc: kernel list , ACPI Devel Maling List , "Zhang, Rui" , "Rafael J. Wysocki" , Viresh Kumar , Linux PM , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Wed, Jun 12, 2019 at 4:45 AM Doug Smythies wrote: > > Hi, > > So, currently there seems to be 3 issues in this thread > (and I am guessing a little, without definitive data): > > 1.) On your system Kernel 5.4-rc2 (or 4) defaults to the intel_pstate CPU frequency > scaling driver and the powersave governor, but kernel 4.6 defaults to the > acpi-cpufreq CPU frequency scaling driver and the ondemand governor. Which means that intel_pstate works in the active mode by default and so it uses its internal governor. That governor is more performance-oriented than ondemand and it very well may cause more power to be allocated for the processor - at the expense of the GPU. The lower-than-expected frame rate may result from that, in principle. One way to mitigate that might be to use intel_pstate in the passive mode (pass intel_pstate=passive to the kernel in the command line) along with either ondemand or schedutil as the governor.