Bitcoin Forum

Other => Beginners & Help => Topic started by: SleezyPet on October 07, 2012, 03:26:52 PM



Title: Litecoin cpuminer config setup?
Post by: SleezyPet on October 07, 2012, 03:26:52 PM
So I am extremely new to all of this. I have done some research into mining and currently have my gpu mining for bitcoins. The only probably is it is a 680 and well, we all know nvidia cards simply aren't worth it.

So I wanted to try messing around with litecoin mining on my 5ghz 3930k. There seems to be very little "newb" help for setting this up. I have the latest version of cpuminer (2.2.3 64-bit for windows). I know I need to create some kind of config file but honestly I have no idea where to start.

I found this on the site of the pool I want to join. So I created this with all my info and put it in the same folder as the cpuminer...

Create a cfg.json like so:

{
        "_comment1" : "Any long-format command line argument ",
        "_comment2" : "may be used in this JSON configuration file",

        "url" : "http://ltc.kattare.com:9332/",
        "user" : "YOUR_USERNAME.1",
        "pass" : "x",
        "quiet" : true
}

So I did this (with my username and pass of course), but I am still receiving a "HTTP request failed" and "json_rpc_call failed" when trying to run the program.

Any help would be greatly appreciated.


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 11, 2012, 06:56:21 AM
getting same thing with two known different working pools

scrypt gui miner works but it only allows up to 8 threads

this one opens and says 12 threads started then gives the error:

json_rpc_call failed


Title: Re: Litecoin cpuminer config setup?
Post by: pooler on October 11, 2012, 07:45:12 AM
So I created this with all my info and put it in the same folder as the cpuminer...

Create a cfg.json like so:
[...]

Did you tell cpuminer to use your configuration file?
Code:
./minerd -c cfg.json
(This is described in the --help output, by the way.)
If you don't specify arguments, cpuminer will just use the default connection settings, and will try to connect to localhost:9332 without credentials.

If that is not the problem, please post the full output given by minerd.


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 11, 2012, 07:48:53 AM
So I created this with all my info and put it in the same folder as the cpuminer...

Create a cfg.json like so:
[...]

Did you tell cpuminer to use your configuration file?
Code:
./minerd -c cfg.json
(This is described in the --help output, by the way.)
If you don't specify arguments, cpuminer will just use the default connection settings, and will try to connect to localhost:9332 without credentials.

If that is not the problem, please post the full output given my minerd.

oh. thought the executable automatically loads it

i put a script with minerd -c cfg.json in the folder

now it crashes when i open it

EDIT: put the url and stuff in bat fine now its working but still around <70Khash/s


Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 01:19:28 AM
Try the CPUMinerLTC easy launcher in my "BTC/LTC Newbie Tools for Windows" package: https://bitcointalk.org/index.php?topic=113707.0

Instructions are in the included "README".


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 16, 2012, 06:22:22 AM
Try the CPUMinerLTC easy launcher in my "BTC/LTC Newbie Tools for Windows" package: https://bitcointalk.org/index.php?topic=113707.0

Instructions are in the included "README".

still seems difficult. i got cpu mining. now i want my gpu mining


Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 06:31:47 AM
Try the CPUMinerLTC easy launcher in my "BTC/LTC Newbie Tools for Windows" package: https://bitcointalk.org/index.php?topic=113707.0

Instructions are in the included "README".

still seems difficult. i got cpu mining. now i want my gpu mining

Use the cgminerLTC.bat launcher in that same package. Instructions are in the "README" file.


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 16, 2012, 06:40:29 AM
Try the CPUMinerLTC easy launcher in my "BTC/LTC Newbie Tools for Windows" package: https://bitcointalk.org/index.php?topic=113707.0

Instructions are in the included "README".

still seems difficult. i got cpu mining. now i want my gpu mining

Use the cgminerLTC.bat launcher in that same package. Instructions are in the "README" file.

my hashrate is very slow


Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 06:42:32 AM
Try the CPUMinerLTC easy launcher in my "BTC/LTC Newbie Tools for Windows" package: https://bitcointalk.org/index.php?topic=113707.0

Instructions are in the included "README".

still seems difficult. i got cpu mining. now i want my gpu mining

Use the cgminerLTC.bat launcher in that same package. Instructions are in the "README" file.

my hashrate is very slow

what is your card?


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 16, 2012, 06:50:00 AM
gtx 680

and of course it crashes when i close it


Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 06:55:57 AM
gtx 680

Nvidia's aren't very good for mining. I don't know what a gtx 680 is supposed to get on litecoin but I wouldn't expect more than about 80 KH/s from it at peak performance.

You can adjust the intensity in the .bat file, simply edit it with notepad and change the intensity to a higher number up to 10.

Also change the gpu-threads value, try 1, 2 and 4 - see which works best.


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 16, 2012, 07:31:36 AM
gtx 680

Nvidia's aren't very good for mining. I don't know what a gtx 680 is supposed to get on litecoin but I wouldn't expect more than about 80 KH/s from it at peak performance.

You can adjust the intensity in the .bat file, simply edit it with notepad and change the intensity to a higher number up to 10.

Also change the gpu-threads value, try 1, 2 and 4 - see which works best.

4 threads dont help


Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 07:42:30 AM
gtx 680

Nvidia's aren't very good for mining. I don't know what a gtx 680 is supposed to get on litecoin but I wouldn't expect more than about 80 KH/s from it at peak performance.

You can adjust the intensity in the .bat file, simply edit it with notepad and change the intensity to a higher number up to 10.

Also change the gpu-threads value, try 1, 2 and 4 - see which works best.

4 threads dont help

Then try 1 or 2 and use the one that works best.


Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 07:44:54 AM
Also, try setting the thread-concurrency to 1536 and increase in multiples of 1536 (3072, 4608, etc...) until you find which value works best for you.


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 16, 2012, 07:48:39 AM
Also, try setting the thread-concurrency to 1536 and increase in multiples of 1536 (3072, 4608, etc...) until you find which value works best for you.

still about 10Khash


Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 07:51:05 AM
Also, try setting the thread-concurrency to 1536 and increase in multiples of 1536 (3072, 4608, etc...) until you find which value works best for you.

still about 10Khash

I'm going to go out on a limb here and venture a guess that you are trolling me. Surely a Hero Member has been around long enough to know how to work cgminer and knows that the gtx 680 isn't going to be all that great for mining...


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 16, 2012, 08:11:04 AM
Also, try setting the thread-concurrency to 1536 and increase in multiples of 1536 (3072, 4608, etc...) until you find which value works best for you.

still about 10Khash

I'm going to go out on a limb here and venture a guess that you are trolling me. Surely a Hero Member has been around long enough to know how to work cgminer and knows that the gtx 680 isn't going to be all that great for mining...

680 92khash/s
https://github.com/litecoin-project/litecoin/wiki/Mining-hardware-comparison


Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 08:19:34 AM
Also, try setting the thread-concurrency to 1536 and increase in multiples of 1536 (3072, 4608, etc...) until you find which value works best for you.

still about 10Khash

I'm going to go out on a limb here and venture a guess that you are trolling me. Surely a Hero Member has been around long enough to know how to work cgminer and knows that the gtx 680 isn't going to be all that great for mining...

680 92khash/s
https://github.com/litecoin-project/litecoin/wiki/Mining-hardware-comparison

Ok, try adding "-w 256" and change the thread-concurrency to 8192


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 16, 2012, 08:20:56 AM
hey i got it. getting 84khash which is same as my cpu was getting


Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 08:24:46 AM
hey i got it. getting 84khash which is same as my cpu was getting

Was it the -w 256 and thread concurrency of 8192 that did it for you?


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 16, 2012, 08:35:04 AM
hey i got it. getting 84khash which is same as my cpu was getting

Was it the -w 256 and thread concurrency of 8192 that did it for you?

Anone need 680 mining,
follow steps here: http://ltc.kattare.com/gettingstarted.php

along with these settings:
worksize 576, aggression 15, threads_per_gpu 1, sharethreads 8, lookup_gap 2, gpu_thread_concurrency 8192


Title: Re: Litecoin cpuminer config setup?
Post by: Aahzman on October 16, 2012, 02:39:58 PM
looking for a little advice on how to do CPU mining for LTC and GPU mining for BTC on the same rig without choking off one or the other...

Tried ScryptGUI with my PhenomII X6 1055T (3.5Ghz, 6 cores), but was only getting around 12KHash.  trouble is, it was pegging my CPU at 99%, which seemed to make my hashrate in GUIMiner drop from ~200MHash to about 2MHash...

any tips?


Title: Re: Litecoin cpuminer config setup?
Post by: Aahzman on October 16, 2012, 02:57:25 PM
also, on the LTC mniing hardware comparison, is the KH rating on cpu's per core, or total for that cpu?  ie, mine should get around 35KHash total?



Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 03:43:40 PM
looking for a little advice on how to do CPU mining for LTC and GPU mining for BTC on the same rig without choking off one or the other...

Tried ScryptGUI with my PhenomII X6 1055T (3.5Ghz, 6 cores), but was only getting around 12KHash.  trouble is, it was pegging my CPU at 99%, which seemed to make my hashrate in GUIMiner drop from ~200MHash to about 2MHash...

any tips?

Best setup I have found for using cpu and gpu is to use pooler's cpuminer for cpu and ckolivas' cgminer or Reaper for the GPU. But if you're getting good results with GUI Miner you can use that with CPUMiner as well.


Title: Re: Litecoin cpuminer config setup?
Post by: c4n10 on October 16, 2012, 03:44:47 PM
also, on the LTC mniing hardware comparison, is the KH rating on cpu's per core, or total for that cpu?  ie, mine should get around 35KHash total?



The ratings on the comparison are totals for the cpu rather than per core.


Title: Re: Litecoin cpuminer config setup?
Post by: Aahzman on October 16, 2012, 04:21:24 PM
thanks c4n10.  Winter's comin', and if i can manage the noise factor, the wife might let me put a HP server in my home office...8 x quadcore Opteron....should be able to generate some decent KHash for LTC with that..

if not in the office, i'll slap together a moisture resistant plexibox and stick it on the balcony.


Title: Re: Litecoin cpuminer config setup?
Post by: 420 on October 17, 2012, 04:33:33 AM
thanks c4n10.  Winter's comin', and if i can manage the noise factor, the wife might let me put a HP server in my home office...8 x quadcore Opteron....should be able to generate some decent KHash for LTC with that..

if not in the office, i'll slap together a moisture resistant plexibox and stick it on the balcony.

pooler-cpuminer for cpu and reaper 13 beta 4 for gpu worked for me