Bitcoin Forum
January 22, 2017, 04:10:33 AM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 [570] 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4884141 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.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2044


Ruu \o/


View Profile WWW
July 06, 2013, 02:00:06 PM
 #11381

Is there a thread that explains multiple pools set up for cgminer.
The README included does all that and more. Exciting stuff!

How can I do 75%/45 minutes pool 0 , 25%/15 minutes pool 1 , is that round robin.
You cannot.

That degree of control no one has been able to prove to me there are any circumstances that it serves any useful purpose, so I never bothered to implement such tight scheduling over pool share submission. Optimising your share submission to not lose work and/or sharing to minimise variance are all you need.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Solo mine at solo.ckpool.org
-ck
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1485058233
Hero Member
*
Offline Offline

Posts: 1485058233

View Profile Personal Message (Offline)

Ignore
1485058233
Reply with quote  #2

1485058233
Report to moderator
1485058233
Hero Member
*
Offline Offline

Posts: 1485058233

View Profile Personal Message (Offline)

Ignore
1485058233
Reply with quote  #2

1485058233
Report to moderator
SleeperUnit
Jr. Member
*
Offline Offline

Activity: 52


View Profile
July 06, 2013, 02:05:10 PM
 #11382


How can I do 75%/45 minutes pool 0 , 25%/15 minutes pool 1 , is that round robin.

I believe what you want looks like:
cgminer --rotate 15 -o http://pool0:port -u pool0username -p pool0password  -o http://pool0:port -u pool0username -p pool0password  -o http://pool0:port -u pool0username -p pool0password -o http://pool1:port -u pool1usernmae -p pool1password
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
July 06, 2013, 03:17:36 PM
 #11383

Quote
How can I do 75%/45 minutes pool 0 , 25%/15 minutes pool 1 , is that round robin.
You cannot.

That degree of control no one has been able to prove to me there are any circumstances that it serves any useful purpose, so I never bothered to implement such tight scheduling over pool share submission. Optimising your share submission to not lose work and/or sharing to minimise variance are all you need.

This would be the only real reason, I guess:

https://bitcointalk.org/index.php?topic=78031.0

In other words, if you are mining at two pools and one is large and one is small, you actually might be increasing you variance (vs just mining at the large pool alone) if you mine at them 50/50.

But to be super useful, you'd want something like "BALANCE" combined with some API options to change the ratios on the fly so that some outside script could periodically use pool APIs to determine total hashrate and then use cgminer API to tweak the ratios appropriately.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
zefir
Donator
Hero Member
*
Offline Offline

Activity: 917



View Profile
July 06, 2013, 04:01:23 PM
 #11384

FYI: offering 5BTC bounty to add getwork proxy functionality into cgminer


shawtux
Jr. Member
*
Offline Offline

Activity: 57


View Profile
July 06, 2013, 06:16:34 PM
 #11385

seems like i have to go back to bfgminer Sad tried cm1 with --icarus-options with different configs baud:4:1 baud:2:1 baud:1:1 and still crashes... it seems its the dynamic bitstream...

oh well... thanks for the efforts... when i figure out how to change the bitstream to makomk it should be ok to come back Sad

contributions -> 1KHWkHWKKd2yrZQVvGh4Z3X4D9VoDeYMyM
kano
Legendary
*
Offline Offline

Activity: 1974


Linux since 1997 RedHat 4


View Profile
July 06, 2013, 11:33:15 PM
 #11386

seems like i have to go back to bfgminer Sad tried cm1 with --icarus-options with different configs baud:4:1 baud:2:1 baud:1:1 and still crashes... it seems its the dynamic bitstream...

oh well... thanks for the efforts... when i figure out how to change the bitstream to makomk it should be ok to come back Sad
Yep there are multiple CM1 bitstreams.
Since I don't have a CM1 I've not tried to handle the non-Icarus bitstreams.
Send me a CM1 and I'll get it working ...

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
MineForeman.com
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
July 07, 2013, 12:40:00 AM
 #11387

Send me a CM1 and I'll get it working ...

That is an offer that someone should take advantage of.

The idea of someone/something releasing a new mining device and then expecting a developer of the code to run that mining device to BUY and then develop the code to support it.........

WTF is the thinking behind that?

Neil

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
July 07, 2013, 06:43:26 PM
 #11388

Those USB miners are really fast!!

Code:
cgminer version 3.1.1 - Started: [2013-07-07 10:50:53]
------------------------------------------------------------------------------
(5s):4.217G (avg):7.948Ph/s | A:11487  R:1355  HW:160  U:49.5/m  WU:56.1/m
ST: 2  SS: 11  NB: 28  LW: 89414  GF: 18  RF: 1
Connected to 192.168.0.194 diff 1 with LP as user miner1
Block: e3e550fe79b0516d...  Diff:19.6K  Started: [14:41:52]  Best share: 17.4K
------------------------------------------------------------------------------
[P]ool management [S]ettings [D]isplay options [Q]uit
ICA  0:                | 332.6M/1.324Ph/s | A: 974 R:102 HW:10 U:  4.20/m
ICA  1:                | 333.5M/330.3Mh/s | A: 930 R: 96 HW:11 U:  4.01/m
ICA  2:                | 334.0M/331.1Mh/s | A: 978 R:112 HW:18 U:  4.21/m
ICA  3:                | 716.8M/1.324Ph/s | A: 948 R:112 HW:12 U:  4.08/m
ICA  4:                | 333.9M/330.3Mh/s | A: 960 R:112 HW:10 U:  4.14/m
ICA  5:                | 334.2M/1.324Ph/s | A: 952 R:124 HW:12 U:  4.10/m
ICA  6:                | 334.3M/1.324Ph/s | A: 935 R:110 HW:11 U:  4.03/m
ICA  7:                | 334.0M/1.324Ph/s | A: 966 R:114 HW:15 U:  4.16/m
ICA  8:                | 333.8M/1.324Ph/s | A: 961 R:109 HW:13 U:  4.14/m
ICA  9:                | 334.0M/330.7Mh/s | A:1009 R:119 HW:18 U:  4.35/m
ICA 10:                | 333.8M/330.9Mh/s | A: 903 R:116 HW: 8 U:  3.89/m
ICA 11:                | 333.9M/330.7Mh/s | A: 971 R:129 HW:22 U:  4.18/m

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
turtle83
Sr. Member
****
Offline Offline

Activity: 322


Supersonic


View Profile WWW
July 07, 2013, 06:50:39 PM
 #11389

2 questions when running under linux.

1. Is there a kill signal to stop cgminer gracefully?
2. If i run cgminer with a config file, does sending the "restart" command via the API make cgminer re-read the config file if its been edited by hand before restarting?

Edit:-
just figured out answer to 1 myself. A normal kill on cgminer pid made it stop gracefully.

kano
Legendary
*
Offline Offline

Activity: 1974


Linux since 1997 RedHat 4


View Profile
July 08, 2013, 12:04:18 AM
 #11390

Those USB miners are really fast!!
...
M
Yes with 3.1.1 you need to tell it what they are.

If they are AMU then
 --icarus-timing 2.9761=100 --icarus-options 115200:1:1

If they are something else ... ?

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
kano
Legendary
*
Offline Offline

Activity: 1974


Linux since 1997 RedHat 4


View Profile
July 08, 2013, 12:07:09 AM
 #11391

2 questions when running under linux.

1. Is there a kill signal to stop cgminer gracefully?
2. If i run cgminer with a config file, does sending the "restart" command via the API make cgminer re-read the config file if its been edited by hand before restarting?

Edit:-
just figured out answer to 1 myself. A normal kill on cgminer pid made it stop gracefully.
1) Press 'Q', or: start cgminer with --api-listen --api-allow w:127.0.0.1 and java API quit or echo -n quit | nc 127.0.0.1 4028 ; echo or ... etc
2) Yes but you are better to run it in a loop and use 'quit' rather than 'restart'

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
July 08, 2013, 12:23:16 AM
 #11392

Those USB miners are really fast!!
...
M
Yes with 3.1.1 you need to tell it what they are.

If they are AMU then
 --icarus-timing 2.9761=100 --icarus-options 115200:1:1

If they are something else ... ?

They are USB block erupters.  Everything looks good for a while, and then suddenly a few of them start showing really high hash rates.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
-Redacted-
Sr. Member
****
Offline Offline

Activity: 378



View Profile
July 08, 2013, 12:23:23 AM
 #11393

Those USB miners are really fast!!

Code:
cgminer version 3.1.1 - Started: [2013-07-07 10:50:53]
------------------------------------------------------------------------------
(5s):4.217G (avg):7.948Ph/s | A:11487  R:1355  HW:160  U:49.5/m  WU:56.1/m


M

Yes - an average of 7.948 Petahash/second.  You should be solo mining something like a block a second....

Now hanging out on Atomic-Trade.com...
kano
Legendary
*
Offline Offline

Activity: 1974


Linux since 1997 RedHat 4


View Profile
July 08, 2013, 01:04:01 AM
 #11394

Those USB miners are really fast!!
...
M
Yes with 3.1.1 you need to tell it what they are.

If they are AMU then
 --icarus-timing 2.9761=100 --icarus-options 115200:1:1

If they are something else ... ?

They are USB block erupters.  Everything looks good for a while, and then suddenly a few of them start showing really high hash rates.

M
Yeah I saw that happen back with 3.1.1 but in my case it was disabling them and re-enabling them in the API that caused it.
I guess with 3.1.1 it can happen there also if the device gets SICK and then recovers.
Not sure how else it can happen.

Would you mind trying current git?
I can get current git to work on both USB2 and USB3 on my desktop without any problems,
Just on my RPi it still stalls on the AMU and ICA (but not BLT or BAJ - even in USB3 those 2 work on my RPi)

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
July 08, 2013, 01:26:07 AM
 #11395

Those USB miners are really fast!!
...
M
Yes with 3.1.1 you need to tell it what they are.

If they are AMU then
 --icarus-timing 2.9761=100 --icarus-options 115200:1:1

If they are something else ... ?

They are USB block erupters.  Everything looks good for a while, and then suddenly a few of them start showing really high hash rates.

M
Yeah I saw that happen back with 3.1.1 but in my case it was disabling them and re-enabling them in the API that caused it.
I guess with 3.1.1 it can happen there also if the device gets SICK and then recovers.
Not sure how else it can happen.

Would you mind trying current git?
I can get current git to work on both USB2 and USB3 on my desktop without any problems,
Just on my RPi it still stalls on the AMU and ICA (but not BLT or BAJ - even in USB3 those 2 work on my RPi)

I'm a windows user.  Compiling isn't a small task for me.  Sorry, can't try git. Sad

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
.m.
Sr. Member
****
Offline Offline

Activity: 266



View Profile
July 08, 2013, 05:25:52 PM
 #11396


compiling on fedora - if somebody is interested ...

yum -y install git gcc libcurl-devel  libusbx-devel # libusb-devel # wrapper only ?

git clone https://github.com/ckolivas/cgminer

export CFLAGS="-g -W -Wall" ./autogen.sh --enable-bflsc --enable-icarus --enable-bitforce --enable-modminer --enable-ztex --enable-avalon --enable-scrypt
make clean
make

-----
strange thing - it is usually much slower than java diabloMiner, I understand that GPU mining is over anyway - but if somebody has an idea ...



███████████████████████████████████████
███████████████████████████████████████
█████████████████████████████
██████████████████████████
████████████████████████
███████████████████████
█████████████████▐████
███████████████████████
████████████████████████
██████████████████████████
█████████████████████████████
███████████████████████████████████████
███████████████████████████████████████
DECENT
FOUNDATION



██
██
██
██
██
██
██
██
██

██
██
██


[D]ecentralized application
[E]liminated third parties
[C]ontent distribution



██
██
██
██
██
██
██
██
██

██
██
██


[E]ncrypted & secure
[N]o borders
[T]imeless reputation



██
██
██
██
██
██
██
██
██

██
██
██



██
██
██
██
██
██
██
██
██

██
██
██

crazyearner
Legendary
*
Offline Offline

Activity: 1554



View Profile
July 08, 2013, 10:12:46 PM
 #11397

Hello ckolivas, I would like to know if and when you do another version to the Avalon firmware and cgminer would you able to update and have some remote control via connecting via other computers not on network like remote control assistance. Also the ability to control fan speed individually with maybe a auto option built in and a slider option to move up and down and speed goes up or down on the fly.

kano
Legendary
*
Offline Offline

Activity: 1974


Linux since 1997 RedHat 4


View Profile
July 09, 2013, 01:47:15 PM
 #11398

While trying to sort out the RPi USB1.1 problems I decided to (finally) try everything on my Xubu 11.04 rig Smiley
(Seems everything works fine on Fedora18 and Xubu 11.04 ...)


Edit: 3.26% CPU (1200MHz down clocked i3 540)

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
bitbryan
Full Member
***
Offline Offline

Activity: 126



View Profile
July 09, 2013, 01:54:24 PM
 #11399

i want to say thank you so much for this thread! :-) its very easy to understand!Q

"Life is a waterfall, we drink from the river then turn around and put up our walls"
kano
Legendary
*
Offline Offline

Activity: 1974


Linux since 1997 RedHat 4


View Profile
July 09, 2013, 02:08:33 PM
 #11400

Quote
How can I do 75%/45 minutes pool 0 , 25%/15 minutes pool 1 , is that round robin.
You cannot.

That degree of control no one has been able to prove to me there are any circumstances that it serves any useful purpose, so I never bothered to implement such tight scheduling over pool share submission. Optimising your share submission to not lose work and/or sharing to minimise variance are all you need.

This would be the only real reason, I guess:

https://bitcointalk.org/index.php?topic=78031.0

In other words, if you are mining at two pools and one is large and one is small, you actually might be increasing you variance (vs just mining at the large pool alone) if you mine at them 50/50.

But to be super useful, you'd want something like "BALANCE" combined with some API options to change the ratios on the fly so that some outside script could periodically use pool APIs to determine total hashrate and then use cgminer API to tweak the ratios appropriately.
Rough control could be done with:
... have 4 workers - 3 of them the same pool - 1 the other pool - and balance them Tongue
Close enough.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Pages: « 1 ... 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 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 [570] 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 ... 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!