From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753103AbXCRGyX (ORCPT ); Sun, 18 Mar 2007 02:54:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753110AbXCRGyX (ORCPT ); Sun, 18 Mar 2007 02:54:23 -0400 Received: from nf-out-0910.google.com ([64.233.182.185]:57396 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753103AbXCRGyW (ORCPT ); Sun, 18 Mar 2007 02:54:22 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pbn0mWz5nwcorY6djlGQ63H67liRUil3Z8Q4JjzoVNeTfGiXQxCk4yec/Yi7SxDbTmhYjk0xUuJtFOSbc3+D9u6+JVEigbhf633AHnvaEyYJTfdaDXbeiBTzmjXWJe3BXkeEcmOFozihZGFEQA5RmcIhGHXsogZPczWKiXktWFA= Message-ID: Date: Sun, 18 Mar 2007 07:54:20 +0100 From: "Radoslaw Szkodzinski" To: linux-kernel@vger.kernel.org Subject: Re: [ck] Re: is RSDL an "unfair" scheduler too? Cc: "Willy Tarreau" , "Al Boldi" , "Andrew Morton" , "William Lee Irwin III" , ck@vds.kolivas.org, "Avi Kivity" , "Linus Torvalds" , "Nicholas Miell" In-Reply-To: <1174199171.8543.1.camel@Homer.simpson.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200703042335.26785.a1426z@gawab.com> <20070317074506.GA13685@elte.hu> <87fy84i7nn.fsf@depni.sinp.msu.ru> <200703172048.46267.kernel@kolivas.org> <20070317114903.GA20673@elte.hu> <45FC525D.5000708@argo.co.il> <20070318012533.GB2986@holomorphy.com> <20070318052439.GT943@1wt.eu> <1174199171.8543.1.camel@Homer.simpson.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 3/18/07, Mike Galbraith wrote: > On Sun, 2007-03-18 at 06:24 +0100, Willy Tarreau wrote: > > > Maybe we're all discussing the problem because we have reached the point > > where we need two types of schedulers : one for the desktop and one for > > the servers. After all, this is already what is proposed with preempt, > > it would make sense provided they share the same core and avoid ifdefs > > or unused structure members. Maybe adding OPTIONAL unfairness to RSDL > > would help some scenarios, but in any case it is important to retain > > the default fairness it provides. > > Bingo. > Sounds like Staircase's interactive mode switch, except this actually requires writing additional code. The per-user system would also be nice for servers, provided there are CPU/disc IO/swapper/... quotas or priorities at least. All in all, I'd hate to see mldonkey eating 1/3 of CPU time, just because it runs as another user.