From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: Ping: [PATCH v15 00/13] support "task_isolation" mode Date: Mon, 12 Sep 2016 18:14:44 +0200 Message-ID: <20160912161444.GA5008@twins.programming.kicks-ass.net> References: <1471382376-5443-1-git-send-email-cmetcalf@mellanox.com> <057a958c-4491-b449-ae59-7d331afc872d@gmail.com> <909484ad-534d-524a-51db-19b7d013f73e@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <909484ad-534d-524a-51db-19b7d013f73e@mellanox.com> Sender: linux-doc-owner@vger.kernel.org To: Chris Metcalf Cc: Francis Giraldeau , Gilad Ben Yossef , Steven Rostedt , Ingo Molnar , Andrew Morton , Rik van Riel , Tejun Heo , Frederic Weisbecker , Thomas Gleixner , "Paul E. McKenney" , Christoph Lameter , Viresh Kumar , Catalin Marinas , Will Deacon , Andy Lutomirski , Daniel Lezcano , linux-doc@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" List-Id: linux-api@vger.kernel.org On Mon, Sep 12, 2016 at 12:01:58PM -0400, Chris Metcalf wrote: > On 9/7/2016 5:11 PM, Francis Giraldeau wrote: > >When running only the test_jitter(), the isolation mode is lost: > > > > [ 6741.566048] isolation/9515: task_isolation mode lost due to irq_work > > > >With ftrace (events/workqueue/workqueue_execute_start), I get a bit more info: > > > > kworker/1:1-676 [001] .... 6610.097128: workqueue_execute_start: work struct ffff8801a784ca20: function dbs_work_handler > > > >The governor was ondemand, so I tried to set the frequency scaling > >governor to performance, but that does not solve the issue. Is there > >a way to suppress this irq_work? Should we run the isolated task with > >high real-time priority, such that it never get preempted? > > On the tile platform we don't have the frequency scaling stuff to contend with, so > I don't know much about it. I'd be very curious to know what you can figure out > on this front. Rafael, I'm thinking the performance governor should be able to run without sending IPIs. Is there anything we can quickly do about that?