Received: by 10.223.185.116 with SMTP id b49csp5571176wrg; Wed, 7 Mar 2018 14:12:47 -0800 (PST) X-Google-Smtp-Source: AG47ELvRxmMZN2ZkKPjlZZ1juBIH7Jk27vM7Q3iBZX4OtaLIX4ifswHppLYU4He+0F11Fy4+be7l X-Received: by 10.98.198.92 with SMTP id m89mr15421662pfg.73.1520460767020; Wed, 07 Mar 2018 14:12:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520460766; cv=none; d=google.com; s=arc-20160816; b=fDQWcjVMbih4pkB6lWmULN90XRUhavHkOHs0OAZGGyMGZ4p1uMTQfqN9kJ0FK8OT1c uvHr78Dk75krGl2ELzdY1SP9T5P5+N+EsoFFE8dHqf6lp59F3ogvHaIoR/mD2Dh0CXOE DzXFqswOZ+64HwsiWAZ7W/dnOHz0tSzzwq7dHSUPBruUdX64bHkk37rPLWPCaklOoPX2 NptUb0Wi4hN5kwADK1mJxEl/zilPZQr8RDn5PLUwE95TMw6fJllju7QNJ1/cwRuVyGWc fTK/J5p/4oYOdFr897ZRuc4d03jlHYJ6eaUi2Dn3MKp+AssYJZcnO1VmjtQqPYbh3tbX aUaQ== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=qj2125mG4HRZCwnUzKpamkMhMtGoHXfNqR0yem5Q9pQ=; b=pYbeseVYRRCRVvhCSVA9LPmdrkAlGgNphyATt2WAuGdjtIcTTKG6+ZZd3U7yqCDx4Z JqeWLWO3ij2cNZSiU9DCeN/ZxSWtyzz/AJhYX27IeoD4pT7nkg294bRA9dhLtT2TeDFs M5AhoN+Dl6RdgFKE7b4lT4JNfiqcJM1oFbZQ3zZdIxO0IG83cT0p6ECQvfRMWzUFgBU0 awqzd7nPNSKeorprP4+506dHramxd30x1UQQ+EpWtkNHDVX7EqRlAurGsQDQWcQfCUmE imz06k6tRdLqb4CpfXdIdaWtWDYOPvGGj7S7uFoyTKPeJAniMTY1mB073OKT5bx5C8UA vdMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ZnGoW8nE; 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 a71si11948156pge.378.2018.03.07.14.12.32; Wed, 07 Mar 2018 14:12:46 -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=fail header.i=@gmail.com header.s=20161025 header.b=ZnGoW8nE; 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 S1754947AbeCGWLg (ORCPT + 99 others); Wed, 7 Mar 2018 17:11:36 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:43606 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754926AbeCGWLd (ORCPT ); Wed, 7 Mar 2018 17:11:33 -0500 Received: by mail-oi0-f68.google.com with SMTP id a207so2891268oii.10; Wed, 07 Mar 2018 14:11:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=qj2125mG4HRZCwnUzKpamkMhMtGoHXfNqR0yem5Q9pQ=; b=ZnGoW8nE4Qjq6rxAdzEQbf+3lnhR4oBu7EUbD9QiqxNSMo6LDAPRaFKxB+XWlvr2OU u82uR3U/5wUP0gXPMKURh7fLRlHfxJSdUqkaF0cDmZj9ByC+s9XdEGFYpmFBsi+pi6Uw 95ND+dBRpXJ527cV4h18qqEKMURU//r+/u9+Fu6UKobkanQX+Vo8gl8V2Aq90+l/zrRG ptEy+PF0r1cvd0zr2m8iHD+MVMt8iWPUYtdkeuK0iwSWs0IVdUyc90pTSeh0xzKBUfBU mB4YiySlrURYDy0DoFc+P8sJmhL+UkYhspFsZXRk0X8ggSE+uQtfTx/WAl7qoFhKxj73 lIXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=qj2125mG4HRZCwnUzKpamkMhMtGoHXfNqR0yem5Q9pQ=; b=bLUYXrVd+7aM7L2Q6wWLdpuveetSOyjsPbMqslP6JoRiVd82Ngi76QrUFhvnNNQTWi Ip0/Fffsknb0hVoph57hES1nZr+zCHq0uK4nhQrNjjDg/81yfq1LCF8EsItEGuFTRI0c F/pTlg4tX5QrnjuX8K6KEIFtj4uQ+/mPd8NOtt195Kqr9ag4QSZKjpyfr+9c2ru0PVFl gsCHIQwGB84cdeYTFRsYnj6pEgW9aN3L+nPqeblPTxvYglwoMOm5O9CGdQj2TEtW8oCs N1f8koKiCBrNGlnzb7WhsshEgBHjp4bZDOhUxPqjIcSrhw56GiQZtlRpYlcUbYx+Zt9T Rq1w== X-Gm-Message-State: APf1xPAaK1E62dgBvAkDv9HiwUEBmNdaPogbJApzn2t1Q0dnbBHgQgoV dZMZubzEdjogQz/6qBCpMb2bzX1a9iVFFSZGWJU= X-Received: by 10.202.83.73 with SMTP id h70mr14476690oib.154.1520460692789; Wed, 07 Mar 2018 14:11:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.44.146 with HTTP; Wed, 7 Mar 2018 14:11:32 -0800 (PST) In-Reply-To: <000a01d3b636$57b75c00$07261400$@net> References: <000a01d3b636$57b75c00$07261400$@net> From: "Rafael J. Wysocki" Date: Wed, 7 Mar 2018 23:11:32 +0100 X-Google-Sender-Auth: HPkI8BpRvUNfPy6nBmOqolRCjwo Message-ID: Subject: Re: [RFC/RFT][PATCH v2 0/6] sched/cpuidle: Idle loop rework To: Doug Smythies Cc: "Rafael J. Wysocki" , Thomas Gleixner , Frederic Weisbecker , Paul McKenney , Thomas Ilsche , Rik van Riel , Aubrey Li , Mike Galbraith , LKML , Linux PM , Peter Zijlstra 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 Wed, Mar 7, 2018 at 6:04 PM, Doug Smythies wrote: > On 2018.03.06 12:57 Rafael J. Wysocki wrote: > > ...[snip]... > >> And the two paragraphs below still apply: > >>> I have tested these patches on a couple of machines, including the very laptop >>> I'm sending them from, without any obvious issues, but please give them a go >>> if you can, especially if you have an easy way to reproduce the problem they >>> are targeting. The patches are on top of 4.16-rc3 (if you need a git branch >>> with them for easier testing, please let me know). > > Hi, > > I am still having some boot troubles with V2. However, and because my system > did eventually boot, seemingly O.K., I didn't re-boot a bunch of times for > further testing. OK, thanks for letting me know. > I ran my 100% load on one CPU test, which is for idle state 0 issues, on > my otherwise extremely idle test server. I never did have very good ways > to test issues with the other idle states (Thomas Ilsche's specialty). > > During the test I got some messages (I also got some with the V1 patch set): > > [16246.655148] rcu_preempt kthread starved for 60005 jiffies! g10557 c10556 > f0x0 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=5 > [19556.565007] rcu_preempt kthread starved for 60003 jiffies! g12126 c12125 > f0x2 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=5 > [20223.066251] clocksource: timekeeping watchdog on CPU4: Marking clocksource > 'tsc' as unstable because the skew is too large: > [20223.066260] clocksource: 'hpet' wd_now: 6b02e6a0 > wd_last: c70685ef mask: ffffffff > [20223.066262] clocksource: 'tsc' cs_now: 3ed0d6f109f5 > cs_last: 3e383b5c058d mask: ffffffffffffffff > [20223.066264] tsc: Marking TSC unstable due to clocksource watchdog > [26720.509156] rcu_preempt kthread starved for 60003 jiffies! g16640 > c16639 f0x2 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=5 > [29058.215330] rcu_preempt kthread starved for 60004 jiffies! g17522 > c17521 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x402 ->cpu=4 > ... Can you please check if that's reporoducible with just the first three patches in the series applied? > The other observation is sometimes the number of irqs (turbostat) jumps > a lot. This did not occur with the V1 patch set. An increase in irqs is > expected, but I don't think that much. Right. > Note: I am unable to show a correlation between the above log entries > and the jumps in irqs. Thanks, Rafael