Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Dec 2011 17:07:13 +0200
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        freebsd-stable@freebsd.org
Cc:        freebsd-stable@freebsd.org
Subject:   Re: SCHED_ULE should not be the default
Message-ID:  <4EE22421.9060707@gmail.com>
In-Reply-To: <4EE1EAFE.3070408@m5p.com>
References:  <4EE1EAFE.3070408@m5p.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EE22421.9060707>