From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758825AbbJHV4T (ORCPT ); Thu, 8 Oct 2015 17:56:19 -0400 Received: from talus.maths.usyd.edu.au ([129.78.68.1]:48010 "EHLO talus.maths.usyd.edu.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757711AbbJHV4R (ORCPT ); Thu, 8 Oct 2015 17:56:17 -0400 X-smtpdoor-from: psz@maths.usyd.edu.au X-smtpdoor-want-Message-ID: <201510082155.t98LtgRB002737@como.maths.usyd.edu.au> Date: Fri, 9 Oct 2015 08:55:42 +1100 From: paul.szabo@sydney.edu.au Message-Id: <201510082155.t98LtgRB002737@como.maths.usyd.edu.au> To: umgwanakikbuti@gmail.com Subject: Re: CFS scheduler unfairly prefers pinned tasks Cc: linux-kernel@vger.kernel.org, peterz@infradead.org In-Reply-To: <1444314345.3565.78.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? ... > > Well, not exactly opposite, only opposite in that the one pert task also > receives MORE than it's fair share when unpinned. Two 100$ hogs sharing > one CPU should each get 50% of that CPU. ... But you are using CGROUPs, grouping all oinks into one group, and the one pert into another: requesting each group to get same total CPU. Since pert has one process only, the most he can get is 100% (not 400%), and it is quite OK for the oinks together to get 700%. > IFF ... massively parallel and synchronized ... You would be making the assumption that you had the machine to yourself: might be the wrong thing to assume. >> Good to see that you agree ... > Weeell, we've disagreed on pretty much everything ... Sorry I disagree: we do agree on the essence. :-) 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