From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751071AbZHZPVy (ORCPT ); Wed, 26 Aug 2009 11:21:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750759AbZHZPVx (ORCPT ); Wed, 26 Aug 2009 11:21:53 -0400 Received: from mail-fx0-f217.google.com ([209.85.220.217]:40582 "EHLO mail-fx0-f217.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750734AbZHZPVw convert rfc822-to-8bit (ORCPT ); Wed, 26 Aug 2009 11:21:52 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=EM5cDB5+oOcTl9LKkhQNDOX7DFhcnal/GO3Akp3mNWMsrCIvPX7kqv2+8prpB7Of1j 4YQoMnQuWCh6hphgmWbpB0sFYXEHJY0WYrRHON/xm9JsUkhKOzozc5GqpnI2L3SEHAGD in+iUi1IcAI8k0389AmH6hQfgiEtbmiSM/aKw= MIME-Version: 1.0 In-Reply-To: <1251264700.7538.1178.camel@twins> References: <1250983671.5688.21.camel@raz> <1251012621.14003.71.camel@marge.simson.net> <1251025557.3810.65.camel@raz> <1251021133.14003.172.camel@marge.simson.net> <1251222993.7023.53.camel@marge.simson.net> <1251227322.7538.1172.camel@twins> <4A943A00.9080609@nortel.com> <1251264700.7538.1178.camel@twins> Date: Wed, 26 Aug 2009 18:21:53 +0300 X-Google-Sender-Auth: de903f0f9a99f735 Message-ID: <84144f020908260821n5b0b9f7ejec8bbe9586150f37@mail.gmail.com> Subject: Re: RFC: THE OFFLINE SCHEDULER From: Pekka Enberg To: Peter Zijlstra Cc: Chris Friesen , Christoph Lameter , Mike Galbraith , raz ben yehuda , riel@redhat.com, mingo@elte.hu, andrew motron , wiseman@macs.biu.ac.il, lkml , linux-rt-users@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On Wed, Aug 26, 2009 at 8:31 AM, Peter Zijlstra wrote: >> Is it the whole concept of isolating one or more cpus from all normal >> kernel tasks that you don't like, or just this particular implementation? >> >> I ask because I know of at least one project that would have used this >> capability had it been available.  As it stands they have to live with >> the usual kernel threads running on the cpu that they're trying to >> dedicate to their app. > > Its the simple fact of going around the kernel instead of using the > kernel. > > Going around the kernel doesn't benefit anybody, least of all Linux. > > So its the concept of running stuff on a CPU outside of Linux that I > don't like. I mean, if you want that, go ahead and run RTLinux, RTAI, > L4-Linux etc.. lots of special non-Linux hypervisor/exo-kernel like > things around for you to run things outside Linux with. Out of curiosity, what's the problem with it? Why can't the scheduler be taught to bind one user-space thread on a given CPU and make sure no other threads are scheduled on that CPU? I'm not a scheduler expert but that seems like a logical extension to the current cpuset logic and would help the low-latency workload Christoph has described in the past. Pekka