From owner-freebsd-ports@FreeBSD.ORG Tue Jan 14 14:16:40 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23FE4C50 for ; Tue, 14 Jan 2014 14:16:40 +0000 (UTC) Received: from forward1m.mail.yandex.net (forward1m.mail.yandex.net [IPv6:2a02:6b8:0:2519::3:10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C79EE1972 for ; Tue, 14 Jan 2014 14:16:39 +0000 (UTC) Received: from web13m.yandex.ru (web13m.yandex.ru [37.140.138.104]) by forward1m.mail.yandex.net (Yandex) with ESMTP id 2530D1221503 for ; Tue, 14 Jan 2014 18:16:37 +0400 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web13m.yandex.ru (Yandex) with ESMTP id C326B176005B; Tue, 14 Jan 2014 18:16:36 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1389708996; bh=leFIy6SEj45geGapznA5QtWbGiHvrjDO1rBKcPTxe+M=; h=From:To:In-Reply-To:References:Subject:Date; b=WrzthBFBUQnyawFBn4072UAa5XaNUDWw+HJCKzHNtv7cj41IYbqDcr6RXByk0TmkC D2h0BNvu+VwTSukTdKNdWHlFuL37TXCd/Ujlkru79vaYXyIGFPPiSO+p5xfacIfHjf cR0l4ANzQZadb3G14aMhZZBJqtcZuq9HRs2jWc74= Received: from mail.rztdon.ru (mail.rztdon.ru [194.84.139.226]) by web13m.yandex.ru with HTTP; Tue, 14 Jan 2014 18:16:36 +0400 From: Alexander To: "freebsd-ports@freebsd.org" In-Reply-To: <52D541E7.3040305@gmail.com> References: <399751389704518@web9j.yandex.ru> <52D541E7.3040305@gmail.com> Subject: Re: cpuminer mines only on one core regardless of "--threads" option MIME-Version: 1.0 Message-Id: <5101389708996@web13m.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 14 Jan 2014 18:16:36 +0400 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 14:16:40 -0000 14.01.2014, 17:55, "Volodymyr Kostyrko" : > > 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