Bitcoin Forum
December 03, 2016, 11:57:28 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 [496] 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4815692 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
2112
Legendary
*
Offline Offline

Activity: 1708



View Profile
May 03, 2013, 01:28:35 AM
 #9901

Competing with myself in mining doesn't make any sense.
You aren't "competing with yourself."  Difficulty is programed to adjust periodically to a target of 6 blocks per hour.  Mining slower to only get 6 blocks per hour will prevent a difficulty change, but won't change how often you get a block vs mining faster once difficulty is done adjusting.  If you want difficulty to stay low, you could CPU mine (although not with cgminer).  If you need more than 6 blocks per hour, maybe modifying the code for your testchain would make more sense.  If you want to use less power, then it probably makes sense to "detune" your video card.  In that case, I would recommend starting with the tuning suggestions in the readme and trying to use logic to get the results you want (IE, underclock the video card).
Well, underclocking the video card is a quite involved process, especially on a laptop. It seems like the AMD drivers keep the set of clock settings per power state of the OS. So when underclocked while plugged in the machine upclocks when unplugged and put on the battery power. And vice versa: when underclocked on the battery it upclocks when plugged in.

The goal is to be able to mine at least one blockchain without triggering the increase of the difficulty and without raising the temperatures of the CPU & GPU to trigger the internal fan of the laptop.

With the fan working I could mine at least three competing branches of the blockchain without raising the difficulty; all on the low-end laptop. This is really helpful for the reorganization testing, but not really required for the usual tests.

I absolutely want to mine against the official binaries without changing anything or even a recompilation. This is an explicit goal of the test process: to successfully interface with the official Satoshi clients.

Mining on the CPU even with a single core always results in the fans spinning and produces blocks at the annoyingly slow rate that would needlessly prolong the test runs.

Yes, I fully understand that cgminer is 99.99% designed for the production mining and not for the development mining. I have to rethink how to cover the remaining 0.01% use case: R&D on the testnet.

I'll maybe need to think about a creative use of cgminer API to slow it down or maybe come up with a simple slow-it-down mining proxy server.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
1480809448
Hero Member
*
Offline Offline

Posts: 1480809448

View Profile Personal Message (Offline)

Ignore
1480809448
Reply with quote  #2

1480809448
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480809448
Hero Member
*
Offline Offline

Posts: 1480809448

View Profile Personal Message (Offline)

Ignore
1480809448
Reply with quote  #2

1480809448
Report to moderator
1480809448
Hero Member
*
Offline Offline

Posts: 1480809448

View Profile Personal Message (Offline)

Ignore
1480809448
Reply with quote  #2

1480809448
Report to moderator
1480809448
Hero Member
*
Offline Offline

Posts: 1480809448

View Profile Personal Message (Offline)

Ignore
1480809448
Reply with quote  #2

1480809448
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
May 03, 2013, 01:40:06 AM
 #9902

Well I tried to search for this but came up empty. Currently solo farming for feathercoin when I see this:
Code:
Rejected 000001f9 Diff 8.49M/5432796 BLOCK! GPU 1 pool 0
What does this mean? I solved for higher than the current diff. Did some one else beat me to the punch?
If blocks come in quickly on your altchain, and you were mining solo on your *coind then it doesn't have a way of telling you blocks have changed (like longpoll or stratum), so you risk mining on old blocks and increasing rejects. Lots of ways to improve this, someone else might have time to tell you.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Tia
Newbie
*
Offline Offline

Activity: 27


View Profile
May 03, 2013, 01:42:22 AM
 #9903

Anyone have an idea what this might be indicative of? Suggestions?
This machine is W8 Pro, 7850 + 7970 and CGminer 2.11.4
Pool 0: eligius.st:3334 Pool1: mint.bitminter.com:8332 Pool2: eligius.st:80 Pool3: eligius.st:8337 And I believe confirmed this log was while I was running with Pool Load Balancing Failover only setting, while running on Pool 1. I am wondering if it was just CGMiner trying to re-check the availability/viability of Pool2 and essentially failing, then trying again (see this error multiple times).

 [2013-05-02 20:07:53] ALL (5s):1.043G (avg):989.3Mh/s | A:125  R:6  HW:0  U:12.6/m  WU:13.6/m
 [2013-05-02 20:07:53] GPU1  73.0C 3392RPM | (5s):716.7M (avg):661.3Mh/s | A:94 R:6 HW:0 U:9.5/m I:15
 [2013-05-02 20:07:55] GPU0  73.0C 2047RPM | (5s):330.9M (avg):331.6Mh/s | A:31 R:0 HW:0 U:3.1/m I:15
 [2013-05-02 20:07:57] Setting GPU 0 fan percentage to 48
 [2013-05-02 20:07:57] Setting GPU 1 fan percentage to 74
 [2013-05-02 20:07:58] ALL (5s):1.029G (avg):989.4Mh/s | A:125  R:6  HW:0  U:12.5/m  WU:13.5/m
 [2013-05-02 20:07:58] GPU1  73.0C 3406RPM | (5s):743.5M (avg):660.8Mh/s | A:94 R:6 HW:0 U:9.5/m I:15
 [2013-05-02 20:07:59] Setting GPU 0 fan percentage to 47
 [2013-05-02 20:08:03] ALL (5s):950.3M (avg):987.9Mh/s | A:125  R:6  HW:0  U:12.4/m  WU:13.4/m
 [2013-05-02 20:08:03] Setting GPU 0 fan percentage to 48
 [2013-05-02 20:08:03] Setting GPU 1 fan percentage to 73
 [2013-05-02 20:08:04] GPU1  74.0C 3398RPM | (5s):722.5M (avg):660.4Mh/s | A:94 R:6 HW:0 U:9.3/m I:15
 [2013-05-02 20:08:05] Testing pool http://eligius.st:80
 [2013-05-02 20:08:05] HTTP request failed: necessary data rewind wasn't possible
 [2013-05-02 20:08:05] GPU0  74.0C 2173RPM | (5s):337.0M (avg):331.1Mh/s | A:31 R:0 HW:0 U:3.1/m I:15
 [2013-05-02 20:08:05] HTTP request failed: necessary data rewind wasn't possible
 [2013-05-02 20:08:05] JSON decode failed(1): '[' or '{' expected near '<'
 [2013-05-02 20:08:05] Setting GPU 0 fan percentage to 47
 [2013-05-02 20:08:05] JSON decode failed(1): '[' or '{' expected near '<'
 [2013-05-02 20:08:05] Closing socket for stratum pool 2
nathanrees19
Full Member
***
Offline Offline

Activity: 196



View Profile
May 03, 2013, 01:46:02 AM
 #9904

Anyone have an idea what this might be indicative of? Suggestions?
This machine is W8 Pro, 7850 + 7970 and CGminer 2.11.4
Pool 0: eligius.st:3334 Pool1: mint.bitminter.com:8332 Pool2: eligius.st:80 Pool3: eligius.st:8337 And I believe this log was while I was running with Pool Load Balancing setting

 [2013-05-02 20:07:53] ALL (5s):1.043G (avg):989.3Mh/s | A:125  R:6  HW:0  U:12.6/m  WU:13.6/m
 [2013-05-02 20:07:53] GPU1  73.0C 3392RPM | (5s):716.7M (avg):661.3Mh/s | A:94 R:6 HW:0 U:9.5/m I:15
 [2013-05-02 20:07:55] GPU0  73.0C 2047RPM | (5s):330.9M (avg):331.6Mh/s | A:31 R:0 HW:0 U:3.1/m I:15
 [2013-05-02 20:07:57] Setting GPU 0 fan percentage to 48
 [2013-05-02 20:07:57] Setting GPU 1 fan percentage to 74
 [2013-05-02 20:07:58] ALL (5s):1.029G (avg):989.4Mh/s | A:125  R:6  HW:0  U:12.5/m  WU:13.5/m
 [2013-05-02 20:07:58] GPU1  73.0C 3406RPM | (5s):743.5M (avg):660.8Mh/s | A:94 R:6 HW:0 U:9.5/m I:15
 [2013-05-02 20:07:59] Setting GPU 0 fan percentage to 47
 [2013-05-02 20:08:03] ALL (5s):950.3M (avg):987.9Mh/s | A:125  R:6  HW:0  U:12.4/m  WU:13.4/m
 [2013-05-02 20:08:03] Setting GPU 0 fan percentage to 48
 [2013-05-02 20:08:03] Setting GPU 1 fan percentage to 73
 [2013-05-02 20:08:04] GPU1  74.0C 3398RPM | (5s):722.5M (avg):660.4Mh/s | A:94 R:6 HW:0 U:9.3/m I:15
 [2013-05-02 20:08:05] Testing pool http://eligius.st:80
 [2013-05-02 20:08:05] HTTP request failed: necessary data rewind wasn't possible
 [2013-05-02 20:08:05] GPU0  74.0C 2173RPM | (5s):337.0M (avg):331.1Mh/s | A:31 R:0 HW:0 U:3.1/m I:15
 [2013-05-02 20:08:05] HTTP request failed: necessary data rewind wasn't possible
 [2013-05-02 20:08:05] JSON decode failed(1): '[' or '{' expected near '<'
 [2013-05-02 20:08:05] Setting GPU 0 fan percentage to 47
 [2013-05-02 20:08:05] JSON decode failed(1): '[' or '{' expected near '<'
 [2013-05-02 20:08:05] Closing socket for stratum pool 2

Looks like a pool problem.
Tia
Newbie
*
Offline Offline

Activity: 27


View Profile
May 03, 2013, 02:02:09 AM
 #9905


[2013-05-02 20:07:53] ALL (5s):1.043G (avg):989.3Mh/s | A:125  R:6  HW:0  U:12.6/m  WU:13.6/m
 [2013-05-02 20:08:05] HTTP request failed: necessary data rewind wasn't possible
 [2013-05-02 20:08:05] JSON decode failed(1): '[' or '{' expected near '<'
 [2013-05-02 20:08:05] Setting GPU 0 fan percentage to 47
 [2013-05-02 20:08:05] JSON decode failed(1): '[' or '{' expected near '<'
[/quote]
Looks like a pool problem.
[/quote]

Well, to honest this is the first time I've tried port 80 on Eligius. I've been plagued with problems on Eligius pool lately. Had been running pretty solid via :8332, then out of the blue myself and many others ran into problems there with terrible hashrates, stales, unable to retrieve work, and so on. Was just playing with the options of other ports there to see if anything works better. So far I'd say the stratum pool at :3334 seems best but not very good for me. But I digress, not trying to get off topic for this thread, sorry. I was wanting to make sure I wasn't missing something in my config with CGminer.

Here is my call via batch file: cgminer -o http://eligius.st:3334 -u xXXxxXXxxx -p x -I 14,15 --kernel diablo --gpu-memclock 1180,1190 --gpu-engine 800-1100,900-1100 --auto-fan --gpu-map 1:0,0:1 --gpu-powertune 18,18 --expiry 150 --per-device-stats --sharelog %userprofile%\desktop\minedshares.log 2>>%temp%\CGminer.log

And keep in mind the alternate pools are stored in my Config file. I'm open to suggestions for further tweaks as well...
nathanrees19
Full Member
***
Offline Offline

Activity: 196



View Profile
May 03, 2013, 02:25:31 AM
 #9906

Pool2: eligius.st:80

Should be
Code:
mining.
in front of that hostname, but the pool is broken anyway. Try another pool.
sgrunger
Full Member
***
Offline Offline

Activity: 122



View Profile
May 03, 2013, 02:57:48 AM
 #9907

I have a question and potentially a future feature to implement (maybe !)

I have a scrypt question. I have a rig with very bastardly cards, 6970, 7970, 5970 and 5870. I can get everything working fine -but- ! 7970 works best in scrypt with -g 2, but when I turn it on it makes my ATI driver crash, I reboot, etc, sometimes PC after reboot goes nuts, safe mode, reboot again. If I run -g 1 all works well but 7970 isn't mining as optimal as it should (175KH less than optimal super hashing speed).

I tried the -d option, but cgminer still compiles a scrypt*.bin for the scrypt setting and doesn't run properly. If let's say I run --gpu-fan at like 55, it sets 55 on ALL cards, even if I only tell it to mine from -d 1. I was thinking of running one instance of cgminer on 7970 card with -g 2, then another instance with -g 1, but I don't seem to be able.

Is there anything else I can do ?
Tia
Newbie
*
Offline Offline

Activity: 27


View Profile
May 03, 2013, 03:05:54 AM
 #9908

Pool2: eligius.st:80

Should be
Code:
mining.
in front of that hostname, but the pool is broken anyway. Try another pool.
Hey, sharp eyes! That was the issue with the port 80 pool. It needed to be: mining.eligius.st:80
Thanks for your response nathanrees19!
SubNoize
Jr. Member
*
Offline Offline

Activity: 47


View Profile
May 03, 2013, 03:06:24 AM
 #9909

Is there any reason i can't use a thread concurrency of 1600? My gpu posts 720kh/s with it but all as errors. as soon as i use 8192 it only posts 550ish max. Perhaps this is why ghz card perform so badly?

7970
Tia
Newbie
*
Offline Offline

Activity: 27


View Profile
May 03, 2013, 03:44:02 AM
 #9910

I have a Bitcoin machine running W8 Pro, Radeon 7850 + 7970 and CGminer 2.11.4
I am looking for finer tuning suggestions, and wanted your thoughts as to what you think I may have overlooked or should consider trying. Of the configs I've tried the following seems to run the best, but I'm sure there are more refinements I've not tried, including worksize.

Here is my Config:
"intensity" : "15,15",
"vectors" : "1,1",
"worksize" : "256,64",
"kernel" : "diablo,diablo",
"lookup-gap" : "0,0",
"thread-concurrency" : "0,0",
"shaders" : "0,0",
"gpu-engine" : "800-1100,900-1100",
"gpu-fan" : "0-85,0-85",
"gpu-memclock" : "1180,1190",
"gpu-memdiff" : "0,0",
"gpu-powertune" : "18,18",
"gpu-vddc" : "0.000,0.000",
"temp-cutoff" : "95,95",
"temp-overheat" : "85,85",
"temp-target" : "75,75",
"api-port" : "4028",
"auto-fan" : true,
"expiry" : "155",
"failover-only" : true,
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"per-device-stats" : true,
"queue" : "1",
"scan-time" : "60",
"temp-hysteresis" : "3",
"verbose" : true,
"shares" : "0",
"kernel-path" : "/usr/local/bin"
techwtf
Full Member
***
Offline Offline

Activity: 140


View Profile
May 03, 2013, 01:01:55 PM
 #9911

cgminer 3.1.0, I have found blocks with best share > diff & the pool has confirmed my share. but the counter of found blocks stayed 0. it may introduced in around 2.11.4 with your new block checking logic? (I'm running inside openwrt)
Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
May 03, 2013, 03:37:14 PM
 #9912

Is there any downside to running cgminer as root? I'm getting ready for when my Jalapeno arrives and I can't find the 01-cgminer.rules file anywhere. Ah, I just found it. Still, running as root is much easier.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
Trongersoll
Sr. Member
****
Offline Offline

Activity: 448


Retired Software Engineer


View Profile
May 03, 2013, 05:21:22 PM
 #9913

just what is "intensity"?

*insert appropriate begging line here* 
BTC: 1CS6AV7VnjcPLxaTFoUhTjXK4mQCTzfSxE
Doge: DB22tiynvXKg7SyPpnH9jyfitKLTZb6ejc
FiatKiller
Sr. Member
****
Offline Offline

Activity: 378


View Profile
May 03, 2013, 05:39:11 PM
 #9914

just what is "intensity"?

http://www.imdb.com/title/tt0118350/?ref_=fn_al_tt_1

Sorry, I couldn't resist... awesome flick.

LTC: LdxgJQLUdr8hZ79BV5AYbxkBUdaXctXAPi
MoonCoin Gambling: https://coin-horse.com/MON/
dbabo
Jr. Member
*
Offline Offline

Activity: 41


View Profile
May 03, 2013, 06:31:43 PM
 #9915

Gents,
 mind to decrypt the following please:
Code:
05/03/13 18:27:42 CTxMemPool::accept() : accepted 46d7990963 (poolsz 37)
05/03/13 18:28:00 SetBestChain: new best=69f963d82d358c88ee3d  height=346030  work=44021880709632917
05/03/13 18:28:00 ProcessBlock: ACCEPTED
05/03/13 18:28:00 force request: block 69f963d82d358c88ee3d
05/03/13 18:28:00 force request: block 69f963d82d358c88ee3d
05/03/13 18:28:00 force request: block 69f963d82d358c88ee3d
05/03/13 18:28:00 CreateNewBlock(): total size 1710
05/03/13 18:28:00 force request: block 69f963d82d358c88ee3d
05/03/13 18:28:00 Rate limit dFreeCount: 13052.3 => 13278.3
05/03/13 18:28:00 CTxMemPool::accept() : accepted f37e279f9c (poolsz 22)
05/03/13 18:28:00 getblocks -1 to 00000000000000000000 limit 500
05/03/13 18:28:00 getblocks -1 to 00000000000000000000 limit 500
05/03/13 18:28:00 getblocks -1 to 00000000000000000000 limit 500
05/03/13 18:28:01 Flushing wallet.dat
05/03/13 18:28:01 Flushed wallet.dat 30ms
05/03/13 18:28:07 getblocks -1 to 00000000000000000000 limit 500
05/03/13 18:28:12 ERROR: FetchInputs() : 0f3a6ab0fb mempool Tx prev not found 0dfc0db223
05/03/13 18:28:12 stored orphan tx 0f3a6ab0fb (mapsz 38)
Trongersoll
Sr. Member
****
Offline Offline

Activity: 448


Retired Software Engineer


View Profile
May 03, 2013, 06:58:45 PM
 #9916


heh, well, i have a remedy for that: http://www.imdb.com/title/tt2237008/?ref_=fn_al_tt_1

*insert appropriate begging line here* 
BTC: 1CS6AV7VnjcPLxaTFoUhTjXK4mQCTzfSxE
Doge: DB22tiynvXKg7SyPpnH9jyfitKLTZb6ejc
netvope
Newbie
*
Offline Offline

Activity: 24


Cake is delicious


View Profile
May 03, 2013, 07:53:35 PM
 #9917

Question: Is it a good practice to use "--scan-time 1" in cgminer?

I'm trying to solo-mine FTC (scrypt, 2.5 min/block) with GPUs. From what I can found, the usual recommended practice is to add stratum or longpoll pools to the list of pools, so cgminer will know when there is a new block.

However, from my own experiment, I found that existing FTC pools are slow to send out new block notifications. The following is a screenshot of cgminer running on 2 different machines.

http://i.imgur.com/AphbAkv.png

Machine on the left:
pools = [feathercoind, (stratum) feathercoin.is-a-geek.com, (longpoll) featherpool.com]
scan-time = 60

Machine on the right:
pools = [feathercoind]
scan-time = 1

Using "--scan-time 1" with a local feathercoind gives me new blocks detections 0-30 seconds faster than the stratum/longpoll connections (as seen above).

However, the statistics for the machine on the right show 60 new blocks (NB), 177 discarded work items (DW), and 1 rejected block (R). Having "DW > NB" and "R > 0" makes me feel that it might I may be doing something wrong. Naively I think that cgminer discards work only when a new block forces it to do so.

If anyone knows whether it's OK to use "--scan-time 1", and whether it's fine to have "DW > NB" and "R > 0", please let me know. Thanks!
ZeikHunter
Newbie
*
Offline Offline

Activity: 11



View Profile
May 03, 2013, 09:22:09 PM
 #9918

updated to catalyst 13.4 from 13.1 last night. now cgminer (301 and 310) hangs on start. i get as far as this:

Code:
[2013-05-03 16:18:35] Started cgminer 3.0.1
[2013-05-03 16:18:35] Loaded configuration file cgminer.conf
[2013-05-03 16:18:36] Probing for an alive pool
[2013-05-03 16:18:37] Disabling extra threads due to dynamic mode.
[2013-05-03 16:18:37] Tune dynamic intensity with --gpu-dyninterval
[2013-05-03 16:18:37] Network diff set to 10.1M
[2013-05-03 16:18:38] Thread 1 being disabled

and it just sits there indefinitely. tried a few different .conf settings, and get ther same. without a .conf and specifying url and such, it crashes a few seconds after hitting return after entering password.

any ideas?
FiatKiller
Sr. Member
****
Offline Offline

Activity: 378


View Profile
May 03, 2013, 10:12:17 PM
 #9919

Con, can you address the best way to determine settings for scantime & expiry when mining the latest scrypt coins? Do you lower them to try to equal the block frequency? Like chinacoins were every second and mincoins are every minute, so it seems like leaving at default is a bad idea...

thnx

LTC: LdxgJQLUdr8hZ79BV5AYbxkBUdaXctXAPi
MoonCoin Gambling: https://coin-horse.com/MON/
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
May 03, 2013, 10:19:50 PM
 #9920

Con, can you address the best way to determine settings for scantime & expiry when mining the latest scrypt coins? Do you lower them to try to equal the block frequency? Like chinacoins were every second and mincoins are every minute, so it seems like leaving at default is a bad idea...
That's like going back to how we mined bitcoins >2 years ago before pools and longpoll. The answer is set the scantime as low as you can before the hashrate drops. If you're solo mining, something like 5s is usual for sha coins. However it can be slow to return results for scrypt so you'll have to experiment.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Pages: « 1 ... 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 [496] 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 ... 830 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!