From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753277AbbJHKzL (ORCPT ); Thu, 8 Oct 2015 06:55:11 -0400 Received: from talus.maths.usyd.edu.au ([129.78.68.1]:42691 "EHLO talus.maths.usyd.edu.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbbJHKzK (ORCPT ); Thu, 8 Oct 2015 06:55:10 -0400 X-smtpdoor-from: psz@maths.usyd.edu.au X-smtpdoor-want-Message-ID: <201510081054.t98AsL1U003456@como.maths.usyd.edu.au> Date: Thu, 8 Oct 2015 21:54:21 +1100 From: paul.szabo@sydney.edu.au Message-Id: <201510081054.t98AsL1U003456@como.maths.usyd.edu.au> To: peterz@infradead.org, umgwanakikbuti@gmail.com Subject: Re: CFS scheduler unfairly prefers pinned tasks Cc: linux-kernel@vger.kernel.org In-Reply-To: <1444292390.3389.100.camel@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Mike, > I see a fairness issue ... but one opposite to your complaint. Why is that opposite? I think it would be fair for the one pert process to get 100% CPU, the many oink processes can get everything else. That one oink is lowly 10% (when others are 100%) is of no consequence. What happens when you un-pin pert: does it get 100%? What if you run two perts? Have you reproduced my observations? --- Good to see that you agree on the fairness issue... it MUST be fixed! CFS might be wrong or wasteful, but never unfair. Cheers, Paul Paul Szabo psz@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/ School of Mathematics and Statistics University of Sydney Australia