From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758943Ab0DAUcT (ORCPT ); Thu, 1 Apr 2010 16:32:19 -0400 Received: from mail-pz0-f201.google.com ([209.85.222.201]:50297 "EHLO mail-pz0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752316Ab0DAUcQ (ORCPT ); Thu, 1 Apr 2010 16:32:16 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=GHJ6Xf0e802nCiZBJEETsy/MeuSQ9oIuE+4oNI284ntG5g/liRHyHOENK0dTbQ8JOl Le4/5Koc7HFzyJbhQYn5H9hm9LlH8C03apnTjOUVkOYvHEa0cNsO39KaxcU3EICZKK2G ZkA9l76tsvBck3SKZFjW73I3KxJVUblFrLJts= MIME-Version: 1.0 In-Reply-To: References: <1269870072-22449-1-git-send-email-chase.douglas@canonical.com> <1269870072-22449-2-git-send-email-chase.douglas@canonical.com> <20100401122740.a1ae80a7.akpm@linux-foundation.org> Date: Thu, 1 Apr 2010 16:32:15 -0400 X-Google-Sender-Auth: ac26097d4ece914c Message-ID: Subject: Re: [REGRESSION 2.6.30][PATCH 1/1] sched: defer idle accounting till after load update period From: Chase Douglas To: Thomas Gleixner Cc: Andrew Morton , linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , "Rafael J. Wysocki" , kernel-team Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 1, 2010 at 4:18 PM, Thomas Gleixner wrote: > Also we need to think about a more clever way than just accounting the > number of running and uninterruptible tasks. What we really want is to > use the numbers which the scheduler has handy, i.e how many tasks did > we run since we did the last loadavg calculation. It was always > possible (even before the big loadavg changes) to create a task which > consumes 50% of a CPU and never shows up in the loadavg calculations > at all. I'm not sure I follow how knowing how many tasks have been run since the last LOAD_FREQ expiration will help, or is that just an example of the kind of data the scheduler has available that may be useful? -- Chase