Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751428AbbGMHHG (ORCPT ); Mon, 13 Jul 2015 03:07:06 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:34775 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbbGMHHE (ORCPT ); Mon, 13 Jul 2015 03:07:04 -0400 Message-ID: <1436771221.6576.60.camel@gmail.com> Subject: Re: [PATCH v2] sched: let __sched_period() use rq's nr_running From: Mike Galbraith To: Byungchul Park Cc: Morten Rasmussen , mingo@kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org Date: Mon, 13 Jul 2015 09:07:01 +0200 In-Reply-To: <20150713005639.GH31287@byungchulpark-X58A-UD3R> References: <1436515890-10792-1-git-send-email-byungchul.park@lge.com> <20150710133107.GC8668@e105550-lin.cambridge.arm.com> <20150713005639.GH31287@byungchulpark-X58A-UD3R> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 714 Lines: 18 On Mon, 2015-07-13 at 09:56 +0900, Byungchul Park wrote: > and i agree with that it makes latency increase for non-grouped tasks. It's not only a latency hit for the root group, it's across the board. I suspect an overloaded group foo/bar/baz would prefer small slices over a large wait as well. I certainly wouldn't want my root group taking the potentially huge hits that come with stretching period to accommodate an arbitrarily overloaded /foo/bar/baz. -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/