From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755054AbcA1N4n (ORCPT ); Thu, 28 Jan 2016 08:56:43 -0500 Received: from mail-lb0-f176.google.com ([209.85.217.176]:33675 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633AbcA1N4l (ORCPT ); Thu, 28 Jan 2016 08:56:41 -0500 MIME-Version: 1.0 In-Reply-To: <20160128144832.1f95ff44@utopia> References: <1452785094-3086-1-git-send-email-luca.abeni@unitn.it> <1452785094-3086-5-git-send-email-luca.abeni@unitn.it> <20160114194323.GC6357@twins.programming.kicks-ass.net> <569E29FD.9040909@unitn.it> <20160119134739.GY6357@twins.programming.kicks-ass.net> <20160127143651.4de18ad9@luca-1225C> <20160127143946.GR6357@twins.programming.kicks-ass.net> <20160127154552.7fafeba8@luca-1225C> <20160128144832.1f95ff44@utopia> From: Vincent Guittot Date: Thu, 28 Jan 2016 14:56:20 +0100 Message-ID: Subject: Re: [RFC 4/8] Improve the tracking of active utilisation To: luca abeni Cc: Peter Zijlstra , linux-kernel , Ingo Molnar , Juri Lelli Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a How-to that explains how to describe a scenario: https://git.linaro.org/power/rt-app.git/blob/HEAD:/doc/tutorial.txt as well as some examples in the doc directory Regards, Vincent On 28 January 2016 at 14:48, luca abeni wrote: > On Thu, 28 Jan 2016 14:05:44 +0100 > Vincent Guittot wrote: > >> Hi Luca, >> >> >> On 27 January 2016 at 15:45, Luca Abeni wrote: >> >> > Hi Peter, >> > >> > On Wed, 27 Jan 2016 15:39:46 +0100 >> > Peter Zijlstra wrote: >> > >> > > On Wed, Jan 27, 2016 at 02:36:51PM +0100, Luca Abeni wrote: >> > > > Ok, so I implemented this idea, and I am currently testing it... >> > > > The first experiments seem to show that there are no problems, >> > > > but I just tried some simple workload (rt-app, or some other >> > > > periodic taskset scheduled by SCHED_DEADLINE). Do you have >> > > > suggestions for more "interesting" (and meaningful) >> > > > tests/experiments? >> > > >> > > rt-app is the workload generator, right? >> > > >> > > I think the most interesting part here is the switched_from path, >> > > so you'd want the workload to include a !rt task that gets PI >> > > boosted to deadline every so often. >> > > >> > > Also, does rt-app let tasks die? Or does it spawn N tasks and lets >> > > them run jobs until the end? I think you want to put some effort >> > > in task_dead_dl() as well. >> > > >> > > After that, just make sure rt-app generates a _lot_ of tasks such >> > > that the migration thing gets used. >> > >> > Thanks; I'll check with Juri how to do all of this with rt-app (or >> > how to modify rt-app to stress these functionalities). >> > >> >> This version of workload generator /rt-app can do all sequences you >> want: >> https://git.linaro.org/power/rt-app.git/shortlog/refs/heads/master > Thanks Vincent; I am going to have a look at it. > Are the "lock_order" and "resources" task parameters documented or > described somewhere? > > > Thanks, > Luca > >> The merge of these changes are ongoing but still not finished. >> >> Let me know if you need help to use it and create some use cases >> >> Regards, >> Vincent >> >> >> > >> > >> > Thanks, >> > Luca >> > >