From owner-freebsd-stable@FreeBSD.ORG Fri Dec 9 15:07:19 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 E2412106566B for ; Fri, 9 Dec 2011 15:07:19 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7912D8FC19 for ; Fri, 9 Dec 2011 15:07:19 +0000 (UTC) Received: by eaai12 with SMTP id i12so2168624eaa.13 for ; Fri, 09 Dec 2011 07:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:newsgroups:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=JhmF/dQuuFFV77T2ztaWG1nDH/GeAHKho5RsPBlLI+8=; b=nFvwAAp0HDH1MArPNQG7hJTha7Sxc09Da0IUBQSQQTZX7v5PvpnR5/Cf8obpYgziTM RuyFjvBgNiudHUoUTMjHsmtEfJdoC1xZrCCMAEx8qA1PsipH7ATkS0O+ENmVwSFsw+FU wRTP8FJ4N49Fgrm3ggCSlzXed6k+DVYXS3yFc= Received: by 10.213.20.18 with SMTP id d18mr198383ebb.138.1323443237985; Fri, 09 Dec 2011 07:07:17 -0800 (PST) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id q28sm32087212eea.6.2011.12.09.07.07.16 (version=SSLv3 cipher=OTHER); Fri, 09 Dec 2011 07:07:17 -0800 (PST) Message-ID: <4EE22421.9060707@gmail.com> Date: Fri, 09 Dec 2011 17:07:13 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111111 Thunderbird/8.0 MIME-Version: 1.0 Newsgroups: gmane.os.freebsd.stable To: George Mitchell References: <4EE1EAFE.3070408@m5p.com> In-Reply-To: <4EE1EAFE.3070408@m5p.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org 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:20 -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.