Pages:
Author

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

hero member
Activity: 516
Merit: 500
CAT.EX Exchange
I am using cbuchner1's cudaminer which is developed on top of cpuminer.  I have a show stopper problem with a new version of cudaminer which starts to have stratum support. I get this error message when mining on us.weminltc.com:

[...] stratum_recv_line failed to parse a newline-terminated string

Since it completely stops the miner, instead of skipping the line and keep working, I have to go back to getwork+stratum_proxy

ed: cudaminer : https://bitcointalk.org/index.php?topic=167229.960;topicseen
newbie
Activity: 35
Merit: 0
version 2.3.2
32bit version for sha256d is not working for me (just hangs) but works fine on scrypt.
I have no problems with the 64bit version for scrypt or sha256d.

Tested on 32bit win xp and server 2003

I use v2.2.3 if I need to run sha256d on 32bit systems.
legendary
Activity: 1680
Merit: 1014
Pooler, thanks for fixing the output on stderr. It now flushed one line at a time (instead of the whole buffer every 5 or so minutes), giving nice readable output in my Crypto Miners in Tray front-end.
newbie
Activity: 5
Merit: 0
I suspect it is your antivirus or firewall... Avast identified it as a threat. It is just a false positive.

Yes, you had right... I've turn off Avast and I downloaded it, so thanks Smiley
sr. member
Activity: 359
Merit: 250
Version 2.3.2

  • This version includes new AVX2-specific scrypt and SHA-256d routines, which bring an 85%+ speedup to the new Intel Haswell processors. I have tested the new code on a Core i7 4770 (4 cores, 8 threads, 3.4 GHz), and the results seem pretty good: over 95 kh/s for scrypt, and over 50 MH/s for SHA-256d.


95 kh/s per core or in total?
newbie
Activity: 7
Merit: 0
A couple of Windows users reported what is probably the same issue over a month ago: https://github.com/pooler/cpuminer/issues/21
Two other Windows users I asked said they could download the archives and run the miner with no problem at all, though, so I closed the issue when the original reporter stopped answering my questions.
For what it's worth, I have no problem accessing the files hosted at Sourceforge, so I'd be grateful if you could provide some more detail. Operating system, browser information, and what error you get exactly would be a good start.
Please also try to download the files from this page and see if there's any difference.

Sorry, but no difference.
I've tried on Google Chrome and Mozilla Firefox - both tries failed.

On Google Chrome - I've got error "unexpected network error"
On Mozilla Firefox - error "File can't be saved - Mozilla can't read the source file" (I've translate it from my language, so the error may be little different)

I use Win 7 32-bit

I suspect it is your antivirus or firewall... Avast identified it as a threat. It is just a false positive.

firewall off and still the same thing, dunno how to turn off avast, i am also using Win 7, but 64 bits
newbie
Activity: 16
Merit: 0
A couple of Windows users reported what is probably the same issue over a month ago: https://github.com/pooler/cpuminer/issues/21
Two other Windows users I asked said they could download the archives and run the miner with no problem at all, though, so I closed the issue when the original reporter stopped answering my questions.
For what it's worth, I have no problem accessing the files hosted at Sourceforge, so I'd be grateful if you could provide some more detail. Operating system, browser information, and what error you get exactly would be a good start.
Please also try to download the files from this page and see if there's any difference.

Sorry, but no difference.
I've tried on Google Chrome and Mozilla Firefox - both tries failed.

On Google Chrome - I've got error "unexpected network error"
On Mozilla Firefox - error "File can't be saved - Mozilla can't read the source file" (I've translate it from my language, so the error may be little different)

I use Win 7 32-bit

I suspect it is your antivirus or firewall... Avast identified it as a threat. It is just a false positive.
PSL
member
Activity: 166
Merit: 10
cant download from github, says there was a problem with the file origin

Works fine at my PC:

Code:
$ git clone https://github.com/pooler/cpuminer.git
Cloning into 'cpuminer'...
remote: Counting objects: 1183, done.
remote: Compressing objects: 100% (690/690), done.
remote: Total 1183 (delta 678), reused 972 (delta 489)
Receiving objects: 100% (1183/1183), 670.15 KiB | 496 KiB/s, done.
Resolving deltas: 100% (678/678), done.
newbie
Activity: 7
Merit: 0
cant download from github, says there was a problem with the file origin
legendary
Activity: 889
Merit: 1000
Bitcoin calls me an Orphan
I'm getting 100% of boooos. Has it something to do with cpuminer?

Which Pool?

With the latest CPUminer make sure you connecting to a Stratum server

For instance. stratum+tcp://pool.ejpool.info:9332

For more information.

http://www.ejpool.info/index.php?page=gettingstarted
sr. member
Activity: 359
Merit: 250
I'm getting 100% of boooos. Has it something to do with cpuminer?
sr. member
Activity: 292
Merit: 250
Hi pooler i'm using the latest cudaminer client by cbuchner1 which includes stratum support based on your cpuminer. I've gotten an error message "stratum_recv_line failed to parse a newline-terminated string". Since it might be stratum related, cbuchner1 advised to post this here. So far it has happened only twice.
That can happen if the server you're connected to has a hiccup; the miner should try to reconnect automatically in a matter of seconds.
If you suspect a compatibiliy bug in the miner, feel free to pm me your full connection details so that I can try mining at your pool and see what the problem is.

Ok thanks pooler. I'll monitor and see the situation. So far only happened those two times.

Thanks also for implementing stratum into the miner client. No more need for proxy.
hero member
Activity: 839
Merit: 507
Hi pooler i'm using the latest cudaminer client by cbuchner1 which includes stratum support based on your cpuminer. I've gotten an error message "stratum_recv_line failed to parse a newline-terminated string". Since it might be stratum related, cbuchner1 advised to post this here. So far it has happened only twice.
That can happen if the server you're connected to has a hiccup; the miner should try to reconnect automatically in a matter of seconds.
If you suspect a compatibiliy bug in the miner, feel free to pm me your full connection details so that I can try mining at your pool and see what the problem is.
sr. member
Activity: 292
Merit: 250
Hi pooler i'm using the latest cudaminer client by cbuchner1 which includes stratum support based on your cpuminer. I've gotten an error message "stratum_recv_line failed to parse a newline-terminated string". Since it might be stratum related, cbuchner1 advised to post this here. So far it has happened only twice.
hero member
Activity: 839
Merit: 507
And some have asked for a logging feature that logs just the most important data to disk (i.e. found shares and whether or not they were accepted) - without all the periodically reported kHash/s statistics.
There's a -q option for preventing the miner from printing the per-thread hashmeter.
To save the output on disk you can just redirect stderr to a file.
Code:
minerd -q [OPTIONS] 2> myfile
hero member
Activity: 526
Merit: 500
Its all about the Gold
Just reporting that the cpuminer 2.3.2 was successfully forked into a CUDA enabled version (called cudaMiner). Thanks for all the work on the stratum protocol - the nVidia users are going to love this! Another feature they keep asking me for is failover support for multiple pools. And some have asked for a logging feature that logs just the most important data to disk (i.e. found shares and whether or not they were accepted) - without all the periodically reported kHash/s statistics.



+1

thank you very much Smiley
hero member
Activity: 756
Merit: 502
Just reporting that the cpuminer 2.3.2 was successfully forked into a CUDA enabled version (called cudaMiner). Thanks for all the work on the stratum protocol - the nVidia users are going to love this! Another feature they keep asking me for is failover support for multiple pools. And some have asked for a logging feature that logs just the most important data to disk (i.e. found shares and whether or not they were accepted) - without all the periodically reported kHash/s statistics.


hero member
Activity: 839
Merit: 507
Building cpuminer on Solaris8 fails as it doesn't have , using instead fixes the problem.
Just in case you care for an eosl'ed operating system.  Grin
Sure! Cheesy
After reading the documentation of autoconf, I think it should be pretty safe to just replace stdint.h with inttypes.h for all systems.
Quote
The C99 standard says that inttypes.h includes stdint.h, so there's no need to include stdint.h separately in a standard environment. Some implementations have inttypes.h but not stdint.h (e.g., Solaris 7), but we don't know of any implementation that has stdint.h but not inttypes.h.
full member
Activity: 225
Merit: 100
Building cpuminer on Solaris8 fails as it doesn't have , using instead fixes the problem.

Quote
uname -a
SunOS adeint2s 5.8 Generic_117350-28 sun4u sparc SUNW,Ultra-Enterprise Solaris

./minerd -V
cpuminer 2.3.2
libcurl/7.31.0 zlib/1.1.3

Just in case you care for an eosl'ed operating system.  Grin
newbie
Activity: 5
Merit: 0
A couple of Windows users reported what is probably the same issue over a month ago: https://github.com/pooler/cpuminer/issues/21
Two other Windows users I asked said they could download the archives and run the miner with no problem at all, though, so I closed the issue when the original reporter stopped answering my questions.
For what it's worth, I have no problem accessing the files hosted at Sourceforge, so I'd be grateful if you could provide some more detail. Operating system, browser information, and what error you get exactly would be a good start.
Please also try to download the files from this page and see if there's any difference.

Sorry, but no difference.
I've tried on Google Chrome and Mozilla Firefox - both tries failed.

On Google Chrome - I've got error "unexpected network error"
On Mozilla Firefox - error "File can't be saved - Mozilla can't read the source file" (I've translate it from my language, so the error may be little different)

I use Win 7 32-bit
Pages:
Jump to: