Pages:
Author

Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) - page 9. (Read 1958601 times)

sr. member
Activity: 952
Merit: 284
In love with Bitcoin!! 💓💕
Hello, I'm trying to set this up so that I can mine with mobile devices, such as phones and tablets. I have a working program model on an emulator to test out, but I'm unsure how to connect the ubuntu miner to my emulator. There is a JSON file included.

How would I get this to work as a mining pool with mobile devices?

As far as I know you should really not try mining with mobile devices. Unless you want it to get burned......
newbie
Activity: 1
Merit: 0
Hello, I'm trying to set this up so that I can mine with mobile devices, such as phones and tablets. I have a working program model on an emulator to test out, but I'm unsure how to connect the ubuntu miner to my emulator. There is a JSON file included.

How would I get this to work as a mining pool with mobile devices?
newbie
Activity: 1
Merit: 0
Please help,

I try mining with a CPU minerd and received:

[2017-08-10 09:02:44] stratum_recv_line failed
[2017-08-10 09:02:44] Stratum connection interrupted

Please help me?

Tks
newbie
Activity: 2
Merit: 0
Okay, may be I am stupid, but:

I try to connect to pool (minergate), and always get: JSON-RPC call failed: {   "code": -32601,   "message": "Procedure not found." }

I  use WinXP and Win32 version, tryed many 2.4.x and 2.5.0 version(s).


C:\minerd>minerd -P -o stratum+tcp://xdn-xmr.pool.minergate.com:45790 -u myuser -p mypassword -x socks5://xx1.xx2.xx3.xx4:nnn1

[2017-08-08 14:33:58] Starting Stratum on stratum+tcp://xdn-xmr.pool.minergate.com:45790
[2017-08-08 14:33:58] 4 miner threads started, using 'scrypt' algorithm.
* Rebuilt URL to: http://xdn-xmr.pool.minergate.com:45790/
[2017-08-08 14:33:58] Binding thread 0 to cpu 0
* timeout on name lookup is not supported
[2017-08-08 14:33:58] Binding thread 1 to cpu 1
* Hostname was NOT found in DNS cache
[2017-08-08 14:33:58] Binding thread 2 to cpu 2
[2017-08-08 14:33:58] Binding thread 3 to cpu 3
*   Trying xx1.xx2.xx3.xx4...
* TCP_NODELAY set
* Adding handle: conn: 0x1631c98
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x1631c98) send_pipe: 1, recv_pipe: 0
* Hostname was NOT found in DNS cache
* 176
* 9
* 2
* 145
* Connected to xx1.xx2.xx3.xx4 (xx1.xx2.xx3.xx4) port nnn1 (#0)
* Connection #0 to host xdn-xmr.pool.minergate.com left intact
[2017-08-08 14:33:58] > {"id": 1, "method": "mining.subscribe", "params": ["cpuminer/2.4.1"]}
[2017-08-08 14:33:58] < {"jsonrpc": "2.0", "error": {"code": -32601, "message": "Procedure not found."}, "id": 1}
[2017-08-08 14:33:58] > {"id": 1, "method": "mining.subscribe", "params": []}
[2017-08-08 14:33:58] < {"jsonrpc": "2.0", "error": {"code": -32601, "message": "Procedure not found."}, "id": 1}
[2017-08-08 14:33:58] JSON-RPC call failed: {
   "code": -32601,
   "message": "Procedure not found."
}
newbie
Activity: 2
Merit: 0
I tried to compile it:

$ make
make: *** No targets specified and no makefile found.  Stop.


$ automake
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
configure.ac:4: required file `./config.guess' not found
configure.ac:4:   `automake --add-missing' can install `config.guess'
configure.ac:4: required file `./config.sub' not found
configure.ac:4:   `automake --add-missing' can install `config.sub'
compat/Makefile.am:2: WANT_JANSSON does not appear in AM_CONDITIONAL
compat/jansson/Makefile.am: required file `./depcomp' not found
compat/jansson/Makefile.am:   `automake --add-missing' can install `depcomp'
/mingw/share/automake-1.11/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/mingw/share/automake-1.11/am/depend2.am:   The usual way to define `am__fastdepCC' is to add `AC_PROG_CC'
/mingw/share/automake-1.11/am/depend2.am:   to `configure.ac' and run `aclocal' and `autoconf' again.
/mingw/share/automake-1.11/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/mingw/share/automake-1.11/am/depend2.am:   The usual way to define `AMDEP' is to add one of the compiler tests
/mingw/share/automake-1.11/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC,
/mingw/share/automake-1.11/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/mingw/share/automake-1.11/am/depend2.am:   to `configure.ac' and run `aclocal' and `autoconf' again.
Makefile.am:2: WANT_JANSSON does not appear in AM_CONDITIONAL
configure.ac:7: required file `cpuminer-config.h.in' not found
Makefile.am:18: compiling `cpu-miner.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
/mingw/share/automake-1.11/am/depend2.am: am__fastdepCCAS does not appear in AM_CONDITIONAL
/mingw/share/automake-1.11/am/depend2.am:   The usual way to define `am__fastdepCCAS' is to add `AM_PROG_AS'
/mingw/share/automake-1.11/am/depend2.am:   to `configure.ac' and run `aclocal' and `autoconf' again.
Makefile.am: Preprocessed Assembler source seen but `CCAS' is undefined
Makefile.am:   The usual way to define `CCAS' is to add `AM_PROG_AS'
Makefile.am:   to `configure.ac' and run `aclocal' and `autoconf' again.
Makefile.am: Preprocessed Assembler source seen but `CCASFLAGS' is undefined
Makefile.am:   The usual way to define `CCASFLAGS' is to add `AM_PROG_AS'
Makefile.am:   to `configure.ac' and run `aclocal' and `autoconf' again.

some1 can help?

i reduced it to:
$ automake
configure.ac:7: required file `cpuminer-config.h.in' not found
member
Activity: 74
Merit: 10
It's very good to see this thread about the pool and CPU miner.
I need some mining soft for my Intel Xeon servers for VRM and XRM . I hope this is good soft for my miners.

I you are looking for mining software for auto Algo selection  you can try NiceHash or Winminer
https://bitcointalksearch.org/topic/winminer-v1126a-auto-switch-windows-app-for-multi-miner-optimization-2004875
newbie
Activity: 7
Merit: 0
Guys, I´m runing a cpu doge mining with pool miner downloaded from the indicated link from AikaPools website)

following the .bat file as suggested:

Code:
minerd -a --scrypt -t 6 -s 4 -o stratum+tcp://stratum.aikapool.com:7915 -u UserName.WorkerName -p WorkerPassword

It didn´t work because:

Code:
unknow algorithm -- '--scrypt' pooler miner
So I change it for:

Code:
minerd -o stratum+tcp://stratum.aikapool.com:7915 -u nemesysteste.wdoge1 -p 1
pause

Now the .bat initiate the .exe and it runs like this:

Code:
[2017-07... the date] Stratum request work restart
[2017-07... the date] thread 1: 300 hashes, 0.02 khash/s
[2017-07... the date] thread 0: 200 hashes, 0.02 khash/s
[2017-07... the date] thread 1: 1128 hashes, 0.04 khash/s
[2017-07... the date] thread 0: 1004 hashes, 0.03 khash/s

(...) so on...


Is it mining - and it takes time to refresh on AikaPools dashboard (the worker doesn´t appears activate in Aikas dashboard)?
Or it isn´t and I am missing something?

Thanks you Smiley !
hero member
Activity: 848
Merit: 507
When running the default algorithm, most of time I see entries like:

Quote
Hash:   000001be375232b2fadd1137e440bb9cab8a7...
Target: 000003fffc0000000000000000000000000000...
[2017-07-21 19:21:20] thread 5: 112860 hashes, 4.38 khash/s
[2017-07-21 19:21:20] accepted: 0/18 (0.00%), 36.01 khash/s (booooo)
[2017-07-21 19:21:20] DEBUG: reject reason: Low difficulty

That's expected, algorithms are not interchangeable.

Could you please elaborate a bit? I'm aware algorithms are not interchangeable, but what relationship does it have with the "Low difficulty" reject reason?

I would argue that "Low difficulty" is bad terminology, but I suppose what they mean is that the hash is greater than the target (i.e. it's a target miss). And that is expected, if the miner is looking for solutions that meet the target for a different hashing algorithm.
newbie
Activity: 2
Merit: 0
When running the default algorithm, most of time I see entries like:

Quote
Hash:   000001be375232b2fadd1137e440bb9cab8a7...
Target: 000003fffc0000000000000000000000000000...
[2017-07-21 19:21:20] thread 5: 112860 hashes, 4.38 khash/s
[2017-07-21 19:21:20] accepted: 0/18 (0.00%), 36.01 khash/s (booooo)
[2017-07-21 19:21:20] DEBUG: reject reason: Low difficulty

That's expected, algorithms are not interchangeable.

Could you please elaborate a bit? I'm aware algorithms are not interchangeable, but what relationship does it have with the "Low difficulty" reject reason?

When using the sha256d algorithm, from time to time I see entries like these:

Quote
[2017-07-21 18:43:24] stratum_recv_line failed
[2017-07-21 18:43:24] Stratum connection interrupted

Then stratum is restarted...

That must be the server disconnecting you after a few minutes of inactivity. Most servers disconnect clients that do not submit shares frequently enough. You're probably not finding many shares because you're extremely slow relative to the difficulty that the server sets, and the difficulty is set so high because the server is not expecting anyone to mine with a CPU nowadays.

Indeed, I connected to a different pool and I stopped seeing this message, so it had to be the server. Actually I was having a difficulty of 128 which is quite high, now in the new pool I have a difficulty of 32.

Thanks!
hero member
Activity: 848
Merit: 507
When running the default algorithm, most of time I see entries like:

Quote
Hash:   000001be375232b2fadd1137e440bb9cab8a7...
Target: 000003fffc0000000000000000000000000000...
[2017-07-21 19:21:20] thread 5: 112860 hashes, 4.38 khash/s
[2017-07-21 19:21:20] accepted: 0/18 (0.00%), 36.01 khash/s (booooo)
[2017-07-21 19:21:20] DEBUG: reject reason: Low difficulty

That's expected, algorithms are not interchangeable.


When using the sha256d algorithm, from time to time I see entries like these:

Quote
[2017-07-21 18:43:24] stratum_recv_line failed
[2017-07-21 18:43:24] Stratum connection interrupted

Then stratum is restarted...

That must be the server disconnecting you after a few minutes of inactivity. Most servers disconnect clients that do not submit shares frequently enough. You're probably not finding many shares because you're extremely slow relative to the difficulty that the server sets, and the difficulty is set so high because the server is not expecting anyone to mine with a CPU nowadays.
newbie
Activity: 2
Merit: 0
Hi,

I'm running the latest Github version of cpuminer and I'm having 2 issues I'd like someone to shed some light on them, as this is the first time I'm using this software and I can't find too much documentation.

When running the default algorithm, most of time I see entries like:

Quote
Hash:   000001be375232b2fadd1137e440bb9cab8a7...
Target: 000003fffc0000000000000000000000000000...
[2017-07-21 19:21:20] thread 5: 112860 hashes, 4.38 khash/s
[2017-07-21 19:21:20] accepted: 0/18 (0.00%), 36.01 khash/s (booooo)
[2017-07-21 19:21:20] DEBUG: reject reason: Low difficulty

When using the sha256d algorithm, from time to time I see entries like these:

Quote
[2017-07-21 18:43:24] stratum_recv_line failed
[2017-07-21 18:43:24] Stratum connection interrupted

Then stratum is restarted...

Why am I getting these events?

Thanks
newbie
Activity: 3
Merit: 0
Hi,

would it be possible to add Neoscrypt support to this branch ? Would make it easier to have one branch supporting sha, scrypt and neoscrypt atleast imho..

Now i have to install a separate Neoscrypt modified CPU miner..
full member
Activity: 160
Merit: 100
FGC Dev
I downloaded the linux files but I keep getting this error when I try to start the miner:

./miner.bat: line 1: minerd: command not found

I running this on Linux Mint 18.1

Can someone please tell me what I am missing, thanks
newbie
Activity: 7
Merit: 0
Hi guys I need small help.

I downloaded this minner on windows7, there is one exe file and three dlls.
I want configure it to mine LINX;
stratum+tcp://pool.mylinx.io:3008

What I should to to configure it, create some bat file or ? Also where I need to put mz linx address ?

Sorry for noob questions. I'm new in this.
newbie
Activity: 1
Merit: 0
Hey together,

as pooler helped me out with some problems in front of the screen, here's something for the community.

If you want to install cpuminer on AIX you will need some additional packages.
This guide will use git, so many dependencies...
As AIX has only two good sources for OSS-sources, the packages are all from http://www.perzl.org/aix/
Only gettext is from the AIX Toolbox for Linux, Perzl describes the causes very well in his FAQs.

For testing purposes I used a fresh rte install based on 7100-04-04-1717, no additional software except openssh.
You'll need following Packages with gcc and git:
Code:
autoconf automake bash bzip2 curl curl-devel  db4 expat fontconfig freetype2 gettext gcc gcc-c++ gcc-cpp gdbm git glib2 gmp info less libXft libXrender libffi libgcc libiconv libidn libidn-devel libmpc libpng libsigsegv libssh2 libssh2-devel libstdc++ libstdc++-devel m4 mpfr openldap openssl openssl-devel perl pkg-config popt python python-libs readline rsync sqlite tcl tk zlib zlib-devel

Minimal requirements are lib curl / curl-devel:
Code:
bash curl curl-devel gettext glib2 info libffi libgcc libiconv libidn libidn-devel libssh2 libssh2-devel openssl openssl-devel pkg-config zlib zlib-devel

Make sure you got enough space in /opt, else use
Code:
chfs -asize=+2G /opt
Install them all with
Code:
rpm -Uvh *rpm

As I'm behind a firewall, the github certificate was not accepted, so I disabled ssl altogether.
Code:
git config --global http.sslVerify "false"

Now it's straightforward:
Code:

git clone https://github.com/pooler/cpuminer
cd cpuminer
./autogen.sh
./nomacro.pl
./configure --prefix=/opt/freeware CFLAGS="-O3 -maltivec"
make
make install
Until now I did not test 64Bit compilation, as all rpm-packages have to be 64-Bit.

maltivec makes around 50kh/s difference per share.
Some numbers from my virtual machine:

The hardware is a power8 with 48 cores and 512gb ram.
The virtual machine can distribute work to 45 processors out of the pool, but only if no other lpar needs any cpu resources.
Aix typical is the low memory consumption, only 4gb are given to the lpar.
AIX is running in SMT4 mode, so I have 160 available threads.
With the configured 60 threads the machine is running with 37 fully used physical cores.

Using 60 threads I get around 190kh/s per Share.
Running with 120 threads get the hash rate to 314-322 kh/s for a share. Still the hardware is not hitting the limits.
It's still not a miner hardware but the effectiveness is impressive.
160 Threads equals 100% CPU usage and 490kh/s per Share. 

Here is a bundle file:
https://pastebin.com/HrDHc276
Use following one-liner.
Code:
mkdir /rpm && cd/rpm &&
for rpm in $(cat cpuminer.bundle); do curl-o $rpm ftp://www.oss4aix.org/latest/aix71/$rpm ;done;rpm -Uvh *rpm && cd && rm -rf /rpm

Either use another machine or install curl or wget prior to downloading.
wget is also available from the AIX toolbox.

I can provide binary neutral AIX versions of minerd

Here's a miners-benchmark with 200 Threads:
Code:
/usr/local/bin/minerd -c $(pwd)/minerd.conf 2>&1 |grep Total
[2017-06-23 17:53:05] Total: 399.77 khash/s
[2017-06-23 17:53:10] Total: 401.58 khash/s
[2017-06-23 17:53:15] Total: 400.39 khash/s
[2017-06-23 17:53:20] Total: 396.96 khash/s
[2017-06-23 17:53:25] Total: 393.59 khash/s
[2017-06-23 17:53:30] Total: 392.47 khash/s
[2017-06-23 17:53:35] Total: 394.68 khash/s
[2017-06-23 17:53:40] Total: 396.19 khash/s
[2017-06-23 17:53:45] Total: 393.41 khash/s
[2017-06-23 17:53:50] Total: 400.57 khash/s
[2017-06-23 17:53:55] Total: 398.59 khash/s
[2017-06-23 17:54:00] Total: 402.92 khash/s
[2017-06-23 17:54:05] Total: 398.25 khash/s
[2017-06-23 17:54:10] Total: 400.11 khash/s
[2017-06-23 17:54:15] Total: 399.80 khash/s
[2017-06-23 17:54:20] Total: 400.75 khash/s
[2017-06-23 17:54:25] Total: 398.59 khash/s
[2017-06-23 17:54:30] Total: 399.60 khash/s
[2017-06-23 17:54:35] Total: 400.05 khash/s
[2017-06-23 17:54:40] Total: 403.55 khash/s
[2017-06-23 17:54:45] Total: 404.49 khash/s
[2017-06-23 17:54:50] Total: 402.77 khash/s

Just a quick update:
Got our old Power7+ running again and did a benchmark with one thread:
Code:
[2017-06-28 09:41:17] Total: 3.76 khash/s
[2017-06-28 09:41:21] Total: 3.76 khash/s
[2017-06-28 09:41:26] Total: 3.76 khash/s
[2017-06-28 09:41:31] Total: 3.76 khash/s
[2017-06-28 09:41:36] Total: 3.76 khash/s
[2017-06-28 09:41:41] Total: 3.76 khash/s
[2017-06-28 09:41:46] Total: 3.76 khash/s
[2017-06-28 09:41:51] Total: 3.75 khash/s
[2017-06-28 09:41:56] Total: 3.76 khash/s
[2017-06-28 09:42:01] Total: 3.76 khash/s
[2017-06-28 09:42:06] Total: 3.76 khash/s

To get a grip on these numbers here the power8 lpar, also with one thread:
Code:
[2017-06-28 09:44:05] Total: 3.38 khash/s
[2017-06-28 09:44:09] Total: 3.39 khash/s
[2017-06-28 09:44:14] Total: 3.40 khash/s
[2017-06-28 09:44:19] Total: 3.37 khash/s
[2017-06-28 09:44:24] Total: 3.40 khash/s
[2017-06-28 09:44:29] Total: 3.37 khash/s
[2017-06-28 09:44:34] Total: 3.40 khash/s
[2017-06-28 09:44:39] Total: 3.36 khash/s

Regards
Jens  
sr. member
Activity: 1246
Merit: 274
Hey - just trying this out. Is it usable on Suprnova?

I am trying stratum+tcp://zec-apac.suprnova.cc:2142
However like many other posters I always get the following:

[2017-06-13 13:28:57] Failed to get extranonce2
[2017-06-13 13:28:57] JSON-RPC call failed: (un
[2017-06-13 13:28:57] ...retry after 30 seconds


This is on Windows 7, 64-bit.

I tried to mine BitSend today on suprnova and got stratum connection errors as well. Has anyone connected to suprnova with this miner recently?

minerd.exe -o stratum+tcp://bsd.suprnova.cc:8686 -a xevan -u username -p workername
newbie
Activity: 28
Merit: 0
What i miss? =/
http://imgur.com/a/nKNss

Edit:
Work on bitconnect poll
With this code: minerd -a scrypt -o stratum+tcp://bitconnectpool.co:3333 -u yourusername.yourworkername -p yourworkerpassword

Regards
full member
Activity: 140
Merit: 100
It's very good to see this thread about the pool and CPU miner.
I need some mining soft for my Intel Xeon servers for VRM and XRM . I hope this is good soft for my miners.
full member
Activity: 168
Merit: 100
Hey - just trying this out. Is it usable on Suprnova?

I am trying stratum+tcp://zec-apac.suprnova.cc:2142
However like many other posters I always get the following:

[2017-06-13 13:28:57] Failed to get extranonce2
[2017-06-13 13:28:57] JSON-RPC call failed: (un
[2017-06-13 13:28:57] ...retry after 30 seconds


This is on Windows 7, 64-bit.
newbie
Activity: 1
Merit: 0
Setup and started about an hour ago and I'm seeing a lot of this:
https://i.imgur.com/y8CsR7r.png
but no "yay"'s or "booo"s.
I'm working through slushpool but the worker still hasn't checked in there. I've double checked that I'm using the right username:
Code:
--userpass=myusername.worker1:pass
Am I doing something wrong?
Pages:
Jump to: