Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752888AbaDYLRb (ORCPT ); Fri, 25 Apr 2014 07:17:31 -0400 Received: from forward-corp1f.mail.yandex.net ([95.108.130.40]:38605 "EHLO forward-corp1f.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752000AbaDYLR3 (ORCPT ); Fri, 25 Apr 2014 07:17:29 -0400 X-Greylist: delayed 314 seconds by postgrey-1.27 at vger.kernel.org; Fri, 25 Apr 2014 07:17:29 EDT From: Roman Gushchin To: Kirill Tkhai , Peter Zijlstra Cc: LKML , "mingo@redhat.com" , Artyom Tarasenko In-Reply-To: <968281398370612@web21g.yandex.ru> References: <36851398363372@webcorp2g.yandex-team.ru> <20140424185858.GB26782@laptop.programming.kicks-ass.net> <968281398370612@web21g.yandex.ru> Subject: Re: Real-time scheduling policies and hyper-threading MIME-Version: 1.0 Message-Id: <9501398424331@webcorp1f.yandex-team.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 25 Apr 2014 15:12:11 +0400 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 25.04.2014, 00:16, "Kirill Tkhai" : > 24.04.2014, 22:59, "Peter Zijlstra" : > > [snip] > >>> ??Does anyone use rt-scheduler for runtime-like cpu-bound tasks? >> ?So in general cpu bound tasks in the RT classes (FIFO/RR/DEADLINE) are >> ?bad and can make the system go funny. >> >> ?For general system health it is important that various system tasks >> ?(kthreads usually) can run. Many of these kthreads run at !rt prios, and >> ?by having cpu bound tasks in rt prios they don't get to run. > > One more word to this. I had such expirience on 2.6.33 kernel with RT patch > and weak hardware (sparc32). > > Networking was actively used and application did not use any IO operations. > > User needs to set all RT priorities by himself. It's necessary to set RT > priorities at least for softirqs and rcus. RT bandwidth must be switched > off. I disable RT bandwidth sharing and change rt_period/rt_runtime to 1/100 ms respectively. Thanks, Roman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/