From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755321Ab0KKTf0 (ORCPT ); Thu, 11 Nov 2010 14:35:26 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:33953 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1753298Ab0KKTfZ (ORCPT ); Thu, 11 Nov 2010 14:35:25 -0500 X-Authenticated: #14349625 X-Provags-ID: V01U2FsdGVkX1/WWndx1pvWLv6hXYuICUlNWzWr7SKcPUOxX+n9w5 H1DAKslFMwqH2Y Subject: Re: [RFC/RFT PATCH v3] sched: automated per tty task groups From: Mike Galbraith To: Markus Trippelsdorf Cc: Linus Torvalds , Oleg Nesterov , Peter Zijlstra , Mathieu Desnoyers , Ingo Molnar , LKML In-Reply-To: <20101111191556.GA1564@arch.trippelsdorf.de> References: <1287514410.7368.10.camel@marge.simson.net> <20101020025652.GB26822@elte.hu> <1287648715.9021.20.camel@marge.simson.net> <20101021105114.GA10216@Krystal> <1287660312.3488.103.camel@twins> <20101021162924.GA3225@redhat.com> <1288076838.11930.1.camel@marge.simson.net> <1288078144.7478.9.camel@marge.simson.net> <1289489200.11397.21.camel@maggy.simson.net> <20101111191556.GA1564@arch.trippelsdorf.de> Content-Type: text/plain; charset="UTF-8" Date: Thu, 11 Nov 2010 12:35:11 -0700 Message-ID: <1289504111.21413.2.camel@maggy.simson.net> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2010-11-11 at 20:15 +0100, Markus Trippelsdorf wrote: > Just to add some data; here are the results from my machine (AMD 4 > cores) running a -j4 kernel build, while I browsed the web: > > 1) perf sched record sleep 30 > > without: > total_wakeups: 44306 > avg_wakeup_latency (ns): 36784 > min_wakeup_latency (ns): 0 > max_wakeup_latency (ns): 9378852 > > with: > total_wakeups: 43836 > avg_wakeup_latency (ns): 67607 > min_wakeup_latency (ns): 0 > max_wakeup_latency (ns): 8983036 > > 2) perf record -a -e sched:sched_switch -e sched:sched_wakeup sleep 10 > > without: > total_wakeups: 13195 > avg_wakeup_latency (ns): 48484 > min_wakeup_latency (ns): 0 > max_wakeup_latency (ns): 8722497 > > with: > total_wakeups: 14106 > avg_wakeup_latency (ns): 92532 > min_wakeup_latency (ns): 20 > max_wakeup_latency (ns): 5642393 > > So the avg_wakeup_latency nearly doubled with your patch, while the > max_wakeup_latency is lowered by a good amount. When you say with/without, does that mean enabled/disabled, or patched/virgin and/or cgroups/nocgroups? -Mike