From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933856AbcATJEp (ORCPT ); Wed, 20 Jan 2016 04:04:45 -0500 Received: from www.linutronix.de ([62.245.132.108]:57278 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753283AbcATJEf (ORCPT ); Wed, 20 Jan 2016 04:04:35 -0500 Date: Wed, 20 Jan 2016 10:03:32 +0100 (CET) From: Thomas Gleixner To: Frederic Weisbecker cc: Peter Zijlstra , LKML , Byungchul Park , Chris Metcalf , Luiz Capitulino , Christoph Lameter , "Paul E . McKenney" , Mike Galbraith , Rik van Riel Subject: Re: [RFC PATCH 4/4] sched: Upload nohz full CPU load on task enqueue/dequeue In-Reply-To: <1452700891-21807-5-git-send-email-fweisbec@gmail.com> Message-ID: References: <1452700891-21807-1-git-send-email-fweisbec@gmail.com> <1452700891-21807-5-git-send-email-fweisbec@gmail.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 13 Jan 2016, Frederic Weisbecker wrote: > A solution to fix this is to update the CPU load everytime we enqueue > or dequeue a task in the fair runqueue and more than a jiffy occured > since the last update. That's not a solution. That's just crap. I tell you since years, that you need to fix that remote accounting stuff, but no, you insist on adding more trainwrecks left and right. > The problem with doing this remotely is that we can miss past cpu loads if > there was several enqueue/dequeue operations happening while tickless. That's complete bullshit. 1) How is remote accounting that happens every tick different from local accounting which happens every tick? 2) How do you have enqueue/dequeue operations when you are running in full nohz, i.e. one task is consuming 100% cpu time in user space? I'm really tired of that tinkering. The proper solution is to make NOHZ_FULL depend on BROKEN. Thanks, tglx