Pages:
Author

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

sr. member
Activity: 336
Merit: 250
I have an error when trying to run reaper

Quote
Error 6 getting work. See http://curl.haxx.se/libcurl/c/libcurl-errors.html for error code explanations.
Couldn't connect to server. Trying again in a few seconds...


Reaper.conf

Quote
kernel reaper.cl
save_binaries yes
enable_graceful_shutdown no
long_polling yes


mine litecoin

Litecoin.conf

Quote
host stratum+tcp://ltc.coinat.com:3333
port 3333
user xxx
pass xxx


protocol litecoin

worksize 256
aggression 18
threads_per_gpu 1
sharethreads 32
lookup_gap 2
gpu_thread_concurrency 24000

Anyone have an idea ?
Thanks in advance
hero member
Activity: 658
Merit: 500
decentralize EVERYTHING...
I could use some help getting this to work on my mac.  I'm getting the "dyld: Library not loaded: /opt/local/lib/libidn.11.dylib
  Referenced from: /usr/bin/minerd
  Reason: image not found"
error.  I read and someone was saying something about macports.  I downloaded it but I have no idea what to do with it at this point.  Can someone help me?


Install Xcode from the app store, go to preferences and find the tab where you can install commandline tools. Then download and install the latest macports package.

In the terminal run:

sudo port -v selfupdate
sudo port install wget
sudo port install openssl

you should be able to run it then  Smiley

I ran:
sudo port -v selfupdate

and it worked fine

but when I run:

sudo port install wget
sudo port install openssl

I get:
Error: Processing of port wget failed
and
Error: Processing of port openssl failed

what can I do to remedy this? I've scoured the google to no avail...



full member
Activity: 224
Merit: 100
I am having trouble working out how to add my pool details to this string. For example does my username replace "userpass username.1" or "username" or "username.1", I am confused about the where to add the url, port and password too.

Perhaps someone could add some fake details and bold each input field?

Code:
C:\***
[2013-05-06 10:50:53] 3 miner threads started, using 'scrypt' algorithm.
[2013-05-06 10:51:15] Long-polling activated for http://ltc.kattare.com:9332/LP
[2013-05-06 10:51:15] thread 1: 4104 hashes, 7.09 khash/s
[2013-05-06 10:51:15] thread 0: 4104 hashes, 6.90 khash/s
[2013-05-06 10:51:15] thread 2: 4104 hashes, 6.81 khash/s

It seems as though it is mining and longpoll blocks are being detected, however the activity is not updating on my @ the pool. I must have the my info written in wrong or something?

This is what I input...
minerd --url http://ltc.kattare.com:9332/ --userpass username.1:*passwordhere* --threads 3

Example: Instead of me mining directly to a pool, I am mining towards mining proxy which is stratum supported, which in your case, the above you have is correct.
minerd --url 192.168.1.166:8332 --userpass pekv2.1:password-here --threads 3

To better yourself, use mining proxy to lower stales.
https://www.litecoinpool.org/help
Quote
Advanced Setup

If you have more than one miner (especially CPU miners) running within a local network, it is best to use the Stratum proxy for Litecoin mining. This proxy allows you to achieve a much lower rate of stale shares while reducing your bandwidth usage. The Python source is available here, and a binary for Windows here. You start the proxy on one of your machines as follows:

    mining_proxy -nm -pa scrypt -o litecoinpool.org -p 3333

Then you connect your miners to that machine on port 8332 with the usual pool worker username and password.

You point cpuminer @ your PC local ip, at port 8332, with your same username and password.
Batch file cmd for mining proxy.
mining_proxy -nm -pa scrypt -o ltc.kattare.com -p 3333

Once mining proxy is up and running.

Batch file for poolers cpuminer

minerd --url local-ip:8332/ --userpass username.1:passwordhere --threads 3

False. ltc.kattare.org does NOT support Stratum. They promised it weeks ago and then the pool owner stopped responding to anybody... Sad

Too bad, I liked the pool, but I was getting too many stales, and now I'm abandoning ship.
hero member
Activity: 770
Merit: 502
I am having trouble working out how to add my pool details to this string. For example does my username replace "userpass username.1" or "username" or "username.1", I am confused about the where to add the url, port and password too.

Perhaps someone could add some fake details and bold each input field?

Code:
C:\***
[2013-05-06 10:50:53] 3 miner threads started, using 'scrypt' algorithm.
[2013-05-06 10:51:15] Long-polling activated for http://ltc.kattare.com:9332/LP
[2013-05-06 10:51:15] thread 1: 4104 hashes, 7.09 khash/s
[2013-05-06 10:51:15] thread 0: 4104 hashes, 6.90 khash/s
[2013-05-06 10:51:15] thread 2: 4104 hashes, 6.81 khash/s

It seems as though it is mining and longpoll blocks are being detected, however the activity is not updating on my @ the pool. I must have the my info written in wrong or something?

This is what I input...
minerd --url http://ltc.kattare.com:9332/ --userpass username.1:*passwordhere* --threads 3

Example: Instead of me mining directly to a pool, I am mining towards mining proxy which is stratum supported, which in your case, the above you have is correct.
minerd --url 192.168.1.166:8332 --userpass pekv2.1:password-here --threads 3

To better yourself, use mining proxy to lower stales.
https://www.litecoinpool.org/help
Quote
Advanced Setup

If you have more than one miner (especially CPU miners) running within a local network, it is best to use the Stratum proxy for Litecoin mining. This proxy allows you to achieve a much lower rate of stale shares while reducing your bandwidth usage. The Python source is available here, and a binary for Windows here. You start the proxy on one of your machines as follows:

    mining_proxy -nm -pa scrypt -o litecoinpool.org -p 3333

Then you connect your miners to that machine on port 8332 with the usual pool worker username and password.

You point cpuminer @ your PC local ip, at port 8332, with your same username and password.
Batch file cmd for mining proxy.
mining_proxy -nm -pa scrypt -o ltc.kattare.com -p 3333

Once mining proxy is up and running.

Batch file for poolers cpuminer

minerd --url local-ip:8332/ --userpass username.1:passwordhere --threads 3
sr. member
Activity: 406
Merit: 250
...

Open the directory where your miner is, right click new txt file, hit ctrl-a, rename the file to cpuminer.bat . Click yes, you want to rename the file extension. Once the batch file is made, right click on it and click edit or open with notepad. Insert the following. but with you pool url & port, and your username password and how ever many cores/threads you like to use, replace the x with a number.

minerd --url pool-url:port --userpass username.1:password --threads x
--


I am having trouble working out how to add my pool details to this string. For example does my username replace "userpass username.1" or "username" or "username.1", I am confused about the where to add the url, port and password too.

Perhaps someone could add some fake details and bold each input field?

Code:
C:\***
[2013-05-06 10:50:53] 3 miner threads started, using 'scrypt' algorithm.
[2013-05-06 10:51:15] Long-polling activated for http://ltc.kattare.com:9332/LP
[2013-05-06 10:51:15] thread 1: 4104 hashes, 7.09 khash/s
[2013-05-06 10:51:15] thread 0: 4104 hashes, 6.90 khash/s
[2013-05-06 10:51:15] thread 2: 4104 hashes, 6.81 khash/s

It seems as though it is mining and longpoll blocks are being detected, however the activity is not updating on my @ the pool. I must have the my info written in wrong or something?

This is what I input...
minerd --url http://ltc.kattare.com:9332/ --userpass username.1:*passwordhere* --threads 3
420
hero member
Activity: 756
Merit: 500
any performances increases?
hero member
Activity: 770
Merit: 502
sr. member
Activity: 384
Merit: 250
Something when wrong with compiled windows version of pool-cpuminer-2.2.3-win64.zip!

Using the current for windows 7 64bit, I earning less than version 2.2.2-win64.

I suggest you double check this and in the meanwhile put download link to pool-cpuminer2.2.2-win62.zip back on!
sr. member
Activity: 439
Merit: 250
Holy cow, thanks a lot!

I am going to try this shortly and let you know how I make out.

Interestingly enough I had forgot that I took to the forum to complain. So I entered "cpu miner windows command line" into the search bar. I then saw the response to me own whining. Totally forgot that I even asked for help

So, again, thanks. And I will let you know how I make out ASAP. I spent my whole life using windows. Then I migrated over to Linux a few years ago and never looked back. Now Im Win-Tarded, I cant do anything on the OS

-D
hero member
Activity: 770
Merit: 502
I dont think I have ever used a Windows (cmd) command line before. I use a Linux terminal all the time and I used to use command lines all the time on my Commodore 64 but I really dont think Ive ever used it in Windows.

I would a total tutorial on how to do that and I doubt anyone is going to take the time to explain it and tell me exactly what I need to type to get it installed and running. I guess I will have to go buy a "CMD for dummies" style book at barnes and Noble next time I am there.

Open the directory where your miner is.

In the directory window of the miner, hold shift, right click in the window, click open command window here.

minerd --url pool-url:port --userpass username.x:password --threads x

x for threads would be the amount of cores or threads you'd like to run. So if you have a quad core, and want to only use three cores, you'd use --threads 3. If you want to use 2, use --threads 2, so on so forth.

Also for windows, you can make a batch file.

Open the directory where your miner is, right click new txt file, hit ctrl-a, rename the file to cpuminer.bat . Click yes, you want to rename the file extension. Once the batch file is made, right click on it and click edit or open with notepad. Insert the following. but with you pool url & port, and your username password and how ever many cores/threads you like to use, replace the x with a number.

minerd --url pool-url:port --userpass username.1:password --threads x

Once the proper info is filled in the batch file, click save and close it.

Double click the batch file, it will start mining, also you may create a shortcut of the batch file to your desktop, by right clicking the batch file, create shortcut to desktop.

Hope it is clear enough to do, if not post back, and will help with what ever problem you're having.

Edit:
Also it is best to use mining proxy along with poolers cpuminer to take advantage of stratum protocol. If you want to do this hollar back, we'll go through the steps for that.
newbie
Activity: 11
Merit: 0
is this even worth doing anymore, CPU litecoins?  what khash would a 2012 era cpu get?
sr. member
Activity: 383
Merit: 250
If you're using Windows 7, you press the start-button and there in the search box you type "cmd" and press enter. There you have windows command line. That's a start.

After that:
cd "pathToTheFolder" (enter)
minerd [arguments] (enter)

member
Activity: 101
Merit: 10
If you're using Windows 7, you press the start-button and there in the search box you type "cmd" and press enter. There you have windows command line. That's a start.
sr. member
Activity: 439
Merit: 250
I dont think I have ever used a Windows (cmd) command line before. I use a Linux terminal all the time and I used to use command lines all the time on my Commodore 64 but I really dont think Ive ever used it in Windows.

I would a total tutorial on how to do that and I doubt anyone is going to take the time to explain it and tell me exactly what I need to type to get it installed and running. I guess I will have to go buy a "CMD for dummies" style book at barnes and Noble next time I am there.
sr. member
Activity: 439
Merit: 250
Its in my downloads folder. So I have to be in /user/downloads/cpuminer/minerd ?
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
Well first you need to navigate to where the Windows binary is, then you execute it with the same arguments you do on linux.

Code:
minerd [arguments]
sr. member
Activity: 439
Merit: 250
I would love to use the command line miner (minerd) but someone has to tell me how to run it in windows. I have it running on my Linux (Ubuntu) box just fine with Pool-X but I am embarrassed to say I have never done this for Windows. I tried inputting at the command prompt:

"minerd"

"start minerd"

"/minerd"

"start cpu-miner"

"start [entire file name as downloaded""

Wtf is wrong with me? Besides the fact that I am Win-tarded

Err, help!?
newbie
Activity: 28
Merit: 0
Intel i7 3930k: Anywhere from 58kH/s to 82kH/s.
member
Activity: 67
Merit: 10
I could use some help getting this to work on my mac.  I'm getting the "dyld: Library not loaded: /opt/local/lib/libidn.11.dylib
  Referenced from: /usr/bin/minerd
  Reason: image not found"
error.  I read and someone was saying something about macports.  I downloaded it but I have no idea what to do with it at this point.  Can someone help me?


Install Xcode from the app store, go to preferences and find the tab where you can install commandline tools. Then download and install the latest macports package.

In the terminal run:

sudo port -v selfupdate
sudo port install wget
sudo port install openssl

you should be able to run it then  Smiley
hero member
Activity: 770
Merit: 502
Is there a newer build for OSX 10.8 ?
+1

Heya pooler, long time. Any chance updating this for stratum? Thanks, bud.

I've been thinking about it lately, but right now I am busy with more urgent projects.
I have just finished adding Stratum support to my pool, and now I am working on the new release of the Litecoin client.

I believe he is very busy atm, working on other projects, one main one, litecoin client.
Pages:
Jump to: