Pages:
Author

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

member
Activity: 70
Merit: 10
sorry for the bump (and for my very very very poor hash rate (this is merely a test) but....

is every thread mining individually, or every thread mining together (by this i mean, instead of getting ~30>khps for a single mining "operation") or not? (am i getting 8 "individual" mining "operations" at 3.3khps each ?)

if this is the case is there a way for me to make all threads mine together instead of individually?
hero member
Activity: 770
Merit: 502
Not as great as bitlanes, which is nine thousand khash/s.

I should make with due. Lots of tweaks here and there.

Your name looks familiar to me.
hero member
Activity: 924
Merit: 1005
Product Marketing & Promotion / Software Developer
That a great hash rate, I which I had that kind of rate.
hero member
Activity: 770
Merit: 502
Now, I'm banging out awesome hash rate. All together, 844.49 khash/s.
hero member
Activity: 770
Merit: 502
Receiving this error with LTC

Code:
HTTP request failed: necessary data rewind wasn't possible

Any idea how I can fix it? Was working fine but then I had to restore my OS image this morning, and when did so, I started up LTC and got the error.

Could you please provide some more details, such as what options you are using?
Are you mining through a proxy?

No proxy.

Code:
minerd.exe --url http://litecoinpool.org/ --userpass removed:removed --threads 3

I also, doubled checked to make sure the time was synced with the internet.

You forgot to specify the port.

minerd.exe --url http://litecoinpool.org:9332/ --userpass removed:removed --threads 3


I will mail you hammer and a plane ticket to come and bash me.
That's me! overlooking files. *facepalm*

Man, pooler, thanks.
hero member
Activity: 845
Merit: 507
Receiving this error with LTC

Code:
HTTP request failed: necessary data rewind wasn't possible

Any idea how I can fix it? Was working fine but then I had to restore my OS image this morning, and when did so, I started up LTC and got the error.

Could you please provide some more details, such as what options you are using?
Are you mining through a proxy?

No proxy.

Code:
minerd.exe --url http://litecoinpool.org/ --userpass removed:removed --threads 3

I also, doubled checked to make sure the time was synced with the internet.

You forgot to specify the port.

minerd.exe --url http://litecoinpool.org:9332/ --userpass removed:removed --threads 3
hero member
Activity: 770
Merit: 502
anything? Like to get this going.

All I did was, backed up my OS as an image, secured erased my SSD, restored the OS image back to my SSD.
hero member
Activity: 770
Merit: 502
Receiving this error with LTC

Code:
HTTP request failed: necessary data rewind wasn't possible

Any idea how I can fix it? Was working fine but then I had to restore my OS image this morning, and when did so, I started up LTC and got the error.

Could you please provide some more details, such as what options you are using?
Are you mining through a proxy?

No proxy.

Code:
minerd.exe --url http://litecoinpool.org/ --userpass removed:removed --threads 3

I also, doubled checked to make sure the time was synced with the internet.
hero member
Activity: 845
Merit: 507
Receiving this error with LTC

Code:
HTTP request failed: necessary data rewind wasn't possible

Any idea how I can fix it? Was working fine but then I had to restore my OS image this morning, and when did so, I started up LTC and got the error.

Could you please provide some more details, such as what options you are using?
Are you mining through a proxy?
hero member
Activity: 770
Merit: 502
Receiving this error with LTC

Code:
HTTP request failed: necessary data rewind wasn't possible

Any idea how I can fix it? Was working fine but then I had to restore my OS image this morning, and when did so, I started up LTC and got the error.
legendary
Activity: 1022
Merit: 1000
Freelance videographer

A portable GUI already exists.
https://bitcointalksearch.org/topic/scryptminer-gui-simple-gui-for-litecoin-mining-62414
Linux and Windows binaries are available, and I'm sure it can also be compiled for OS X.

Alternatively, the Litecoin QT client has a mining page you can use to pool mine. Just put the cpuminer executable (minerd) in the same directory as litecoin-qt.

If anyones interested, I might try and get it compiled for OS X.
I'd be happy to support this Fanquake. Once I get more BTC,I'll consider tipping you.Smiley

I've just built it, so I'll put up a download link shortly.
Thanks.This is great news Fanquake Smiley
legendary
Activity: 1022
Merit: 1000
Freelance videographer

A portable GUI already exists.
https://bitcointalksearch.org/topic/scryptminer-gui-simple-gui-for-litecoin-mining-62414
Linux and Windows binaries are available, and I'm sure it can also be compiled for OS X.

Alternatively, the Litecoin QT client has a mining page you can use to pool mine. Just put the cpuminer executable (minerd) in the same directory as litecoin-qt.

If anyones interested, I might try and get it compiled for OS X.
I'd be happy to support this Fanquake. Once I get more BTC,I'll consider tipping you.Smiley
full member
Activity: 206
Merit: 100
Mostly Harmless...
try installing libcurl with "sudo port install libcurl +universal"

THat one worked for me.
legendary
Activity: 1022
Merit: 1000
Freelance videographer
Got an error with cpuminer:
Last login: Wed Jul 11 16:05:18 on ttys000
/Users/film2240/Downloads/CPUMINER-2/minerd ; exit;
Film2240s-MacBook-Pro:~ film2240$ /Users/film2240/Downloads/CPUMINER-2/minerd ; exit;
dyld: Library not loaded: /opt/local/lib/libcurl.4.dylib
  Referenced from: /Users/film2240/Downloads/CPUMINER-2/minerd
  Reason: Incompatible library version: minerd requires version 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
Trace/BPT trap
logout

[Process completed]

I'm not sure what this means and how to fix this easily.Can this app be made with a gui? As I really struggle with terminal.Maybe someone or pooler can make a quick gui that I can use to just start/stop and add pool/login info.Thanks

I'm running OSX 10.6.8 on my MBP and can a gui be made for windows as well please?

Most likely it's what pooler said.  I compiled it on osx 10.7.4, with updated versions of any dependancies and a couple seat-of-the-pants fixes.  You can try to upgrade libcurl yourself using macports, though I have no idea how risky it is with anything other than what I'm using.
I tried updating the libraries with macports,made no difference still the same error.I did download the copy that installs on snow leopard.Maybe its time to upgrade to lion when all my stuff compatible with it (special fx software,etc).Also pooler where is the directory on a mac for the litecoin-QT as I couldn't find it in the applications itself.I revealed package contents to find it,copied the miner and still no avail from the LTC client so I moved to 3rd party miners thinking they're better.
full member
Activity: 206
Merit: 100
Mostly Harmless...
Got an error with cpuminer:
Last login: Wed Jul 11 16:05:18 on ttys000
/Users/film2240/Downloads/CPUMINER-2/minerd ; exit;
Film2240s-MacBook-Pro:~ film2240$ /Users/film2240/Downloads/CPUMINER-2/minerd ; exit;
dyld: Library not loaded: /opt/local/lib/libcurl.4.dylib
  Referenced from: /Users/film2240/Downloads/CPUMINER-2/minerd
  Reason: Incompatible library version: minerd requires version 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
Trace/BPT trap
logout

[Process completed]

I'm not sure what this means and how to fix this easily.Can this app be made with a gui? As I really struggle with terminal.Maybe someone or pooler can make a quick gui that I can use to just start/stop and add pool/login info.Thanks

I'm running OSX 10.6.8 on my MBP and can a gui be made for windows as well please?

Most likely it's what pooler said.  I compiled it on osx 10.7.4, with updated versions of any dependancies and a couple seat-of-the-pants fixes.  You can try to upgrade libcurl yourself using macports, though I have no idea how risky it is with anything other than what I'm using.
hero member
Activity: 845
Merit: 507
Got an error with cpuminer:
Last login: Wed Jul 11 16:05:18 on ttys000
/Users/film2240/Downloads/CPUMINER-2/minerd ; exit;
Film2240s-MacBook-Pro:~ film2240$ /Users/film2240/Downloads/CPUMINER-2/minerd ; exit;
dyld: Library not loaded: /opt/local/lib/libcurl.4.dylib
  Referenced from: /Users/film2240/Downloads/CPUMINER-2/minerd
  Reason: Incompatible library version: minerd requires version 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
If I remember correctly, the OS X binary available at GitHub was compiled on OS X 10.7, so this is probably just a version compatibility problem.

I'm not sure what this means and how to fix this easily.Can this app be made with a gui? As I really struggle with terminal.Maybe someone or pooler can make a quick gui that I can use to just start/stop and add pool/login info.Thanks

I'm running OSX 10.6.8 on my MBP and can a gui be made for windows as well please?
A portable GUI already exists.
https://bitcointalksearch.org/topic/scryptminer-gui-simple-gui-for-litecoin-mining-62414
Linux and Windows binaries are available, and I'm sure it can also be compiled for OS X.

Alternatively, the Litecoin QT client has a mining page you can use to pool mine. Just put the cpuminer executable (minerd) in the same directory as litecoin-qt.
legendary
Activity: 1022
Merit: 1000
Freelance videographer
Got an error with cpuminer:
Last login: Wed Jul 11 16:05:18 on ttys000
/Users/film2240/Downloads/CPUMINER-2/minerd ; exit;
Film2240s-MacBook-Pro:~ film2240$ /Users/film2240/Downloads/CPUMINER-2/minerd ; exit;
dyld: Library not loaded: /opt/local/lib/libcurl.4.dylib
  Referenced from: /Users/film2240/Downloads/CPUMINER-2/minerd
  Reason: Incompatible library version: minerd requires version 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
Trace/BPT trap
logout

[Process completed]

I'm not sure what this means and how to fix this easily.Can this app be made with a gui? As I really struggle with terminal.Maybe someone or pooler can make a quick gui that I can use to just start/stop and add pool/login info.Thanks

I'm running OSX 10.6.8 on my MBP and can a gui be made for windows as well please?
full member
Activity: 206
Merit: 100
Mostly Harmless...
It's working like a champ now.  I had to reinstall libidn and curl using macports. 

Thanks guys.

Awesome, thanks for the info.  I've updated the readme to reflect those dependancies in the zip file. Cheesy
member
Activity: 80
Merit: 10
BitcoinRaffle.co
It's working like a champ now.  I had to reinstall libidn and curl using macports. 

Thanks guys.


Quote
I did that, but then I get:

dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib

I'm running 10.7.4
full member
Activity: 225
Merit: 100
Now, let me try to make a list of the various errors that have been reported.

Code:
HTTP request failed: The requested URL returned error: 503
I tried mining at MaxBTC for a couple hours, but I was unable to reproduce the problem. I'll keep trying.
This one seems to be pool specific and is very rare. Let's ignore it.

Code:
HTTP request failed: Recv failure: Connection reset by peer
If we are to believe libcurl, this means that the connection was closed by the remote server.
I don't think there's much the miner can do to avoid the error, apart from silently ignoring it. Maybe I should consider doing that for the long polling connection?
Solved by setting the timeout (-T) to a value smaller 160s.

Code:
HTTP request failed: necessary data rewind wasn't possible
Under "normal" conditions, data rewind shouldn't be needed: it is usually only necessary for resuming interrupted uploads or for multi-pass authentication.
I suppose the "Operation timed out after 30001 milliseconds with 0 bytes received" error is linked to this.
Implementing data rewind is pretty simple in our case, and cannot do any harm, so I will try to implement it and see if anything changes.
Solved by your patch.

Thank you very much, pooler!
Pages:
Jump to: