cpuminer mines only on one core regardless of "--threads" option
Alexander
ags18 at yandex.ru
Tue Jan 14 14:16:40 UTC 2014
14.01.2014, 17:55, "Volodymyr Kostyrko" <c.kworr at gmail.com>:
>
> minerd itself doesn't bind any process/thread to any specific core. And
> it just works for me now.
>
> Can you show your configs or logs? What does `minerd` say, what does
> `limit`, is there any other changes to your default configuration that
> can possibly limit this.
>
# /usr/local/bin/minerd --url stratum+tcp://somepoolsite.com:3333 --userpass login.worker:password
[2014-01-14 18:05:38] 4 miner threads started, using 'scrypt' algorithm.
[2014-01-14 18:05:38] Starting Stratum on stratum+tcp://somepoolsite.com:3333
[2014-01-14 18:05:38] Binding thread 0 to cpu 0
[2014-01-14 18:05:38] Binding thread 1 to cpu 1
[2014-01-14 18:05:38] Binding thread 2 to cpu 2
[2014-01-14 18:05:38] Binding thread 3 to cpu 3
[2014-01-14 18:05:39] Stratum detected new block
[2014-01-14 18:05:42] thread 0: 4104 hashes, 1.79 khash/s
[2014-01-14 18:05:42] thread 1: 4104 hashes, 1.79 khash/s
[2014-01-14 18:05:42] thread 2: 4104 hashes, 1.79 khash/s
[2014-01-14 18:05:42] thread 3: 4104 hashes, 1.79 khash/s
# top
CPU: 0.1% user, 25.0% nice, 0.0% system, 0.0% interrupt, 75.0% idle
82232 root 7 98 19 68392K 6588K RUN 3 0:29 96.09% minerd
# 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
###########################################
# /usr/local/bin/minerd --threads=1 --url stratum+tcp://somepoolsite.com:3333 --userpass login.worker:password
[2014-01-14 18:07:55] 1 miner threads started, using 'scrypt' algorithm.
[2014-01-14 18:07:55] Starting Stratum on stratum+tcp://somepoolsite.com:3333
[2014-01-14 18:07:57] Stratum detected new block
[2014-01-14 18:07:58] thread 0: 4104 hashes, 7.00 khash/s
# top
CPU: 0.1% user, 25.0% nice, 0.0% system, 0.0% interrupt, 75.0% idle
82247 root 4 122 19 55720K 5160K RUN 3 0:49 98.58% minerd
# 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
that's all logs I think.
The same situation on other freebsd 9.1/9.2 x64 PCs
More information about the freebsd-ports
mailing list