SCHED_ULE bug (was Re: cpuminer mines only on one core regardless of "--threads" option)
Andrey Chernov
ache at freebsd.org
Tue Jan 14 15:48:52 UTC 2014
On 14.01.2014 17:01, Alexander wrote:
> on Freebsd 9.2 x64 on 5 different PCs I installed net-p2p/cpuminer
> from ports and by "pkg install" - result is the same - minerd mines
> only on one core regardless of "--threads" option.
...
> # top -P
> CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
> CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
> CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
> CPU 3: 0.0% user, 100% nice, 0.0% system, 0.0% interrupt, 0.0% idle
This is SCHED_ULE bug, I see _all_ processes (not minerd only in
particular) stuck to the last CPU too (top's 'C' column is equal to the
last CPU and never changes), latest -stable i386. It disappears for me
switching to SCHED_4BSD.
More information about the freebsd-stable
mailing list