From owner-freebsd-stable@FreeBSD.ORG Fri Dec 9 15:07:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DB9510657A8 for ; Fri, 9 Dec 2011 15:07:34 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3EB8FC0A for ; Fri, 9 Dec 2011 15:07:34 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RZ22t-0002jV-Sz for freebsd-stable@freebsd.org; Fri, 09 Dec 2011 16:07:31 +0100 Received: from utwig.xim.bz ([195.184.197.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Dec 2011 16:07:31 +0100 Received: from c.kworr by utwig.xim.bz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Dec 2011 16:07:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Volodymyr Kostyrko Date: Fri, 09 Dec 2011 17:07:13 +0200 Lines: 23 Message-ID: <4EE22421.9060707@gmail.com> References: <4EE1EAFE.3070408@m5p.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org Cc: freebsd-stable@freebsd.org X-Gmane-NNTP-Posting-Host: utwig.xim.bz User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111111 Thunderbird/8.0 In-Reply-To: <4EE1EAFE.3070408@m5p.com> Subject: Re: SCHED_ULE should not be the default X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 15:07:34 -0000 09.12.2011 13:03, George Mitchell wrote: > dnetc is an open-source program from http://www.distributed.net/. It > tries a brute-force approach to cracking RC4 puzzles and also computes > optimal Golomb rulers. It starts up one process per CPU and runs at > nice 20 and is, for all intents and purposes, 100% compute bound. nice 20 doesn't mean it should give time to just any other program. Have you tried setting dnetc_idprio? > Not everybody runs this sort of program, but there are plenty of > similar projects out there, and people who try to participate in > them will be mightily displeased with their FreeBSD systems when > they do. Is there some case where SCHED_ULE exhibits significantly > better performance than SCHED_4BSD? If not, I think SCHED-4BSD > should remain the default GENERIC configuration until this is fixed. Not fully right, boinc defaults to run on idprio 31 so this isn't an issue. And yes, there are cases where SCHED_ULE shows much better performance then SCHED_4BSD. You incidentally found rare misbehavior of SCHED_ULE and I think this would be treated. -- Sphinx of black quartz judge my vow.