From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753549Ab1DENa2 (ORCPT ); Tue, 5 Apr 2011 09:30:28 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:48283 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752777Ab1DEN2c convert rfc822-to-8bit (ORCPT ); Tue, 5 Apr 2011 09:28:32 -0400 Subject: Re: [patch 01/15] sched: introduce primitives to account for CFS bandwidth tracking From: Peter Zijlstra To: Paul Turner Cc: linux-kernel@vger.kernel.org, Bharata B Rao , Dhaval Giani , Balbir Singh , Vaidyanathan Srinivasan , Srivatsa Vaddagiri , Kamalesh Babulal , Ingo Molnar , Pavel Emelyanov , Nikhil Rao In-Reply-To: <20110323030448.756701159@google.com> References: <20110323030326.789836913@google.com> <20110323030448.756701159@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Tue, 05 Apr 2011 15:28:23 +0200 Message-ID: <1302010103.2225.1336.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2011-03-22 at 20:03 -0700, Paul Turner wrote: > +const u64 max_cfs_quota_period = 5 * NSEC_PER_SEC; /* 5s */ I would prefer that max to be _much_ lower than that, 5 seconds is a long time to be throttled while holding a lock the rest of the system wants.