Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2014 18:16:36 +0400
From:      Alexander <ags18@yandex.ru>
To:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: cpuminer mines only on one core regardless of "--threads" option
Message-ID:  <5101389708996@web13m.yandex.ru>
In-Reply-To: <52D541E7.3040305@gmail.com>
References:  <399751389704518@web9j.yandex.ru> <52D541E7.3040305@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
14.01.2014, 17:55, "Volodymyr Kostyrko" <c.kworr@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



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