Received: by 10.213.65.68 with SMTP id h4csp1320543imn; Wed, 21 Mar 2018 07:57:26 -0700 (PDT) X-Google-Smtp-Source: AG47ELvd0rCcXRbb3jnc4o0rU4ON7WimsVq3d1Nk4SFeVtUzKD85fbI+11QdyZ+KmJ9qTbLmN0LI X-Received: by 2002:a17:902:7c18:: with SMTP id x24-v6mr15224533pll.112.1521644246127; Wed, 21 Mar 2018 07:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521644246; cv=none; d=google.com; s=arc-20160816; b=BGGRuKaMiYuBzfb0gjvQ6UvwriFRpNRUlJCCypUDWwoMl7+t/Dz1hziQubwzr7FKis 0XRYmt9b5jreXvhHdSiv+/hH1Uiu623zEAxCahltWAtbIdwxQF82IDCWQirulRFeWAQ+ aZPjvs6+hCVYPo0RzHs9hb03Tk9Xqj9aRjLhQMxTCruPy97q3NcBrrjE4/057GweKdS3 T66Q41nvMDCsCpIC8pHULQR/h4GWtTcBnpFRQvcdfSQaKgxym9tzuLg6mRiO09ZwXUbo 3vjV45uMt2dV4TIS8tqf6aymrSrqFNEX6g4Lkc9Wegzpd0OFRslOkYkWc9nScICQSFG/ z70w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=i7ebmtvipbIFbo0oKe+0Hm+JrwCByN9d9obsNq1h+VA=; b=iJ7iMYqU3+Rg8PihtLxtApr8N5bKua2nJI0Ml6975qb46eabecHRqHWyKRQ6AjJu7M g9m6XkjfU7nKCGbaFRnbiMxbrvpiAlnWsNTNO5ZSW0iLdFYt5BDlZblnOafQcf1mwrTi Hrwp2cjTE7JstNKDyd0XCTOoS3wzGXtSiwyWezTwDbyku+iH3GER5fgxiUiwrYqrzQoF eVdWoqwV1UcpLoTKDGVrh0Ih4ul87R8BzPxSXx/HVnlXV0IMW16P2tqqJYrck68BLWPt qfqRf0V+z92cRwLKNYNRH/1Sk5vHWuu3bkJsPspDZQWn7ji9MsawTowcbZ/xhlzcWtxI 9xCA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j8si3158985pfn.234.2018.03.21.07.57.11; Wed, 21 Mar 2018 07:57:26 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752496AbeCUOyQ (ORCPT + 99 others); Wed, 21 Mar 2018 10:54:16 -0400 Received: from shelob.surriel.com ([96.67.55.147]:55458 "EHLO shelob.surriel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752474AbeCUOyJ (ORCPT ); Wed, 21 Mar 2018 10:54:09 -0400 Received: from imladris.surriel.com ([96.67.55.152]) by shelob.surriel.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1eyf7m-0005RI-Bn; Wed, 21 Mar 2018 10:53:58 -0400 Message-ID: <1521644038.6308.18.camel@surriel.com> Subject: Re: [RFT][PATCH v7 0/8] sched/cpuidle: Idle loop rework From: Rik van Riel To: "Rafael J. Wysocki" Cc: Peter Zijlstra , Linux PM , Frederic Weisbecker , Thomas Gleixner , Paul McKenney , Thomas Ilsche , Doug Smythies , Aubrey Li , Mike Galbraith , LKML Date: Wed, 21 Mar 2018 10:53:58 -0400 In-Reply-To: <4584935.MPnHlxh7Zu@aspire.rjw.lan> References: <2390019.oHdSGtR3EE@aspire.rjw.lan> <1521635467.6308.13.camel@surriel.com> <4584935.MPnHlxh7Zu@aspire.rjw.lan> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 (3.26.6-1.fc27) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-03-21 at 14:55 +0100, Rafael J. Wysocki wrote: > On Wednesday, March 21, 2018 1:31:07 PM CET Rik van Riel wrote: > > On Tue, 2018-03-20 at 16:12 +0100, Rafael J. Wysocki wrote: > > > Hi All, > > > > > > Thanks a lot for the feedback so far! > > > > > > Respin after recent comments from Peter. > > > > > > Patches [1-3] unmodified since v5, patch 4 is new and the other > > > ones > > > have been updated to address feedback. > > > > > > The previous summary that still applies: > > Thanks for the testing! > > > For some reason I see increased CPU utilization > > with this patch series (75% -> 85%) with the same > > rate of requests being handled by the vanilla > > kernel and a kernel with these patches applied. > > > > I am running a bisect in the series to see what > > change could possibly cause that, > > The first 4 patches in the v7 should not change functionality by > themselves. > > If you replace the original [5/8] with the v7.2 of it I've just > posted (https://patchwork.kernel.org/patch/10299429/), then it > should not change functionality by itself too. > > Then you only have 3 patches to check. :-) I kicked off a test with your v7.2 series first. I have the idle poll loop rework in the mix, too. I will check the last 3 patches bit by bit through today, and will let you know which causes the issue. I will also try to figure out what the issue is, if I can :) > > and also digging > > through system statistics to see whether it might > > be something as perverse as not mistakenly choosing > > deeper C-states on one core causing other cores to > > miss out on turbo mode... > > I have no idea ATM. And what's the workload? The workload is memcache style, with equal queries coming in to both the system running the control kernel, and the system running the test kernel. On the control system, CPU utilization is around 75%, while on the test system it is up to 85% - for the same number of queries. -- All Rights Reversed.