Subbsd
2014-Jan-14 16:14 UTC
SCHED_ULE bug (was Re: cpuminer mines only on one core regardless of "--threads" option)
On Tue, Jan 14, 2014 at 7:43 PM, Andrey Chernov <ache at freebsd.org> wrote:> 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. > > _______________________________________________ > freebsd-ports at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"I think it's the same story seen in the distant 2011: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/163585
Alexander
2014-Jan-14 18:32 UTC
SCHED_ULE bug (was Re: cpuminer mines only on one core regardless of "--threads" option)
14.01.2014, 20:14, "Subbsd" <subbsd at gmail.com>:> On Tue, Jan 14, 2014 at 7:43 PM, Andrey Chernov <ache at freebsd.org> wrote: > >> ?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. >> >> ?_______________________________________________ >> ?freebsd-ports at freebsd.org mailing list >> ?http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> ?To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org" > > I think it's the same story seen in the distant 2011: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/163585reboot didn't help (try on 3 different PCs) I'll try switching to SCHED_4BSD tomorrow (thanks Andrey Chernov)