Bitcoin Forum
April 25, 2024, 01:41:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 [365] 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805212 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. (3 posts by 1+ user deleted.)
poon-TANG
Full Member
***
Offline Offline

Activity: 150
Merit: 100



View Profile
October 04, 2012, 02:42:19 AM
 #7281

Just download 2.7.6 and now it shows "Diff 1, or Diff 2" ?
1714009262
Hero Member
*
Offline Offline

Posts: 1714009262

View Profile Personal Message (Offline)

Ignore
1714009262
Reply with quote  #2

1714009262
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714009262
Hero Member
*
Offline Offline

Posts: 1714009262

View Profile Personal Message (Offline)

Ignore
1714009262
Reply with quote  #2

1714009262
Report to moderator
1714009262
Hero Member
*
Offline Offline

Posts: 1714009262

View Profile Personal Message (Offline)

Ignore
1714009262
Reply with quote  #2

1714009262
Report to moderator
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
October 04, 2012, 02:48:10 AM
 #7282

Just download 2.7.6 and now it shows "Diff 1, or Diff 2" ?

Yes, or Diff3 or Diff(n) depending on the difficulty of the share that you are receiving from the pool that you are on.
poon-TANG
Full Member
***
Offline Offline

Activity: 150
Merit: 100



View Profile
October 04, 2012, 02:55:49 AM
 #7283

Just download 2.7.6 and now it shows "Diff 1, or Diff 2" ?

Yes, or Diff3 or Diff(n) depending on the difficulty of the share that you are receiving from the pool that you are on.

Sweet..thanks
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
October 04, 2012, 03:29:26 AM
 #7284

Just download 2.7.6 and now it shows "Diff 1, or Diff 2" ?

Yes, or Diff3 or Diff(n) depending on the difficulty of the share that you are receiving from the pool that you are on.

Sweet..thanks

IIRC the faster the rig the higher the Diff will go, if the pool supports it. For example, on BTCGuild via Stratum, my ~5 GHash BFL rig is doing Diff 8.
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
October 04, 2012, 10:05:08 AM
 #7285

Just download 2.7.6 and now it shows "Diff 1, or Diff 2" ?

Yes, or Diff3 or Diff(n) depending on the difficulty of the share that you are receiving from the pool that you are on.

Sweet..thanks

IIRC the faster the rig the higher the Diff will go, if the pool supports it. For example, on BTCGuild via Stratum, my ~5 GHash BFL rig is doing Diff 8.


Um... I didn't think cgminer had stratum support yet?

EDIT: must be using a proxy.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
October 04, 2012, 11:08:20 AM
 #7286

Just download 2.7.6 and now it shows "Diff 1, or Diff 2" ?

Yes, or Diff3 or Diff(n) depending on the difficulty of the share that you are receiving from the pool that you are on.

Sweet..thanks

IIRC the faster the rig the higher the Diff will go, if the pool supports it. For example, on BTCGuild via Stratum, my ~5 GHash BFL rig is doing Diff 8.


Um... I didn't think cgminer had stratum support yet?

EDIT: must be using a proxy.

M
https://bitcointalk.org/index.php?topic=28402.msg1236151#msg1236151
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
October 04, 2012, 01:50:35 PM
Last edit: October 04, 2012, 02:04:56 PM by ckolivas
 #7287

Stratum update

The code has been in testing for a while now, and numerous issues have been ironed out. I've been mining with it for a few days in a mixture of regular pools + stratum pools and things seem to working out okay. I've just managed to get it building and working on windows and have created the first binary for people to start testing it. It's still not mature enough for a full release, but at some stage I need people to start testing it so I can sort out issues as they arise.

If you're on linux, and can use git, checkout the stratum branch and build from that.
git pull -a && git checkout stratum

For those on windows, here is a test binary.
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

Just drop  it into your existing 2.7.6 directory. It will still read version 2.7.6, but don't let that fool you. For stratum to be active, you need - of course - to mine on one of the 2 pools that currently support it: slush's pool and btcguild . The way I've set up the code, you shouldn't need to do anything special to mine stratum, just use your regular settings (or you can plug in the stratum info directly if you're so inclined). The advantages to the miner should be far far less network communications with less network delays which should also translate into less rejects. Of course the real advantage is to the pools and for the ability to scale to much higher hashrates with the advent of ASICs.

Lots has been written about it here (though it may be rather confusing):
https://bitcointalk.org/index.php?topic=108533.0

EDIT: There is NO proxy support whatsoever for stratum at this stage.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kaerf
Hero Member
*****
Offline Offline

Activity: 631
Merit: 500


View Profile
October 04, 2012, 09:14:16 PM
 #7288

thanks for all your hard work, ckolivas.

i tried this on linux, but got the following errors:

Code:
 [2012-10-04 14:06:42] Probing for an alive pool
 [2012-10-04 14:06:42] Switching pool 0 http://api2.bitcoin.cz:8332 to stratum+tcp://api-stratum.bitcoin.cz:3333
 [2
   012-10-04 1[42:00162:-4130]- 0P4o o1l4 :00 6s:t4r3a]t uPmo+otlc p0: /s/tarpait-usmt+rtactpu:m/./baiptic-ositnr.actzu:m3.3b3i3t caoliinv.ecz:3333 alive
 [2012-10-04 14:06:43] Switching pool 1 http://mine3.btcguild.com:8332 to stratum+tcp://198.154.98.196:9332
 [2012-10-04 14:06:49] Rejected bb6e3804 Diff 1 BFL 1 pool 0 (Incorrect size of extranonce
 [2012-10-04 14:06:49] Stratum from pool 0 requested work restart
 [2012-10-04 14:06:49] Rejected 9de81d7d Diff 1 BFL 1 pool 0 (Incorrect size of extranonce
 [2012-10-04 14:06:50] Rejected 544a476e Diff 1 BFL 1 pool 0 (Incorrect size of extranonce
 [2012-10-04 14:06:59] Rejected e177e632 Diff 1 BFL 0 pool 0 (Incorrect size of extranonce
 [2012-10-04 14:06:59] Rejected c7ea7fd8 Diff 1 BFL 0 pool 0 (Incorrect size of extranonce
 [2012-10-04 14:07:06] Rejected 972a4688 Diff 1 BFL 1 pool 0 (Incorrect size of extranonce

and then i get 0 accepts


BTW, I also had to add the strtod fix in driver-bitforce.c (https://bitcointalk.org/index.php?action=printpage;topic=94420.0) to get things going.

....

just checked debug output and it keeps saying:
Code:
 [2012-10-04 14:13:27] Failed to parse a \n terminated string in recv_line
dlasher
Sr. Member
****
Offline Offline

Activity: 467
Merit: 250



View Profile WWW
October 04, 2012, 09:53:57 PM
Last edit: October 04, 2012, 10:07:36 PM by dlasher
 #7289

Stratum update

<snip>
If you're on linux, and can use git, checkout the stratum branch and build from that.
git pull -a && git checkout stratum

Grabbed, compiled, playing with it on a single machine. (wish it had a subversion# or something so I'd know which was running..)  Didn't change a single line of my config file, and it's working for multiple host entries and pools, including moving away from the stratum proxy directly to the stratum pool.

Quote
[2012-10-04 14:46:26] Switching pool 0 http://my.internal.proxy:8332 to stratum+tcp://198.154.98.196:9332

Too soon to tell if there are any issues, but I'll let you know. Thanks again for all your hard work!

btw, what happens if stratum+tcp fails.. does it drop back to http or eliminate the pool# alltogether?




PandaMiner
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
October 04, 2012, 10:09:29 PM
 #7290

I have A:2297 R:40 with version 275 running on litecoinpool.

❘|❘ NEUFUND Re-Imagine ICOs | Connect off- and on-chain with equity tokens | Enjoy risk-free commitment
JOIN THE ICBM | JOIN THE DISCUSSION
slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
October 04, 2012, 10:17:22 PM
 #7291

just checked debug output and it keeps saying:
Code:
 [2012-10-04 14:13:27] Failed to parse a \n terminated string in recv_line

I have the same, looks like there's some issue with Stratum+BFL.

-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
October 04, 2012, 11:07:40 PM
 #7292

Stratum update

<snip>
If you're on linux, and can use git, checkout the stratum branch and build from that.
git pull -a && git checkout stratum

Grabbed, compiled, playing with it on a single machine. (wish it had a subversion# or something so I'd know which was running..)  Didn't change a single line of my config file, and it's working for multiple host entries and pools, including moving away from the stratum proxy directly to the stratum pool.

Quote
[2012-10-04 14:46:26] Switching pool 0 http://my.internal.proxy:8332 to stratum+tcp://198.154.98.196:9332

Too soon to tell if there are any issues, but I'll let you know. Thanks again for all your hard work!

btw, what happens if stratum+tcp fails.. does it drop back to http or eliminate the pool# alltogether?





Thanks. At the moment it only tries to use stratum+tcp if the pool supports it. I'll probably try to make it fall back to whichever works if I can.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
October 04, 2012, 11:09:25 PM
 #7293

just checked debug output and it keeps saying:
Code:
 [2012-10-04 14:13:27] Failed to parse a \n terminated string in recv_line

I have the same, looks like there's some issue with Stratum+BFL.
I don't think that's it. Others have used this with BFL devices. Something else is trashing buffers somewhere for your setup, I just haven't found where or why yet. In your case slush, you are on ARM architecture so there are even more issues to deal with.

Kaerf, what version of linux/architecture are you on?

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
dlasher
Sr. Member
****
Offline Offline

Activity: 467
Merit: 250



View Profile WWW
October 04, 2012, 11:15:01 PM
 #7294


Interesting behavior/question with stratum version..

On my test machine, I have pools set up the following way:

0 - stratum proxy
1 - btcguild #1
2 - btcguild #2
3 - btcguild #3

cgminer talked to pool0 (the proxy) and immediately punched right through to the real IP address for the stratum server, not using the proxy any more.

So should bypass the proxy when it sees the header, or should it stay pointed there? (IE what if the stratum server is diff hostname/IP than the configured pool?)

(as a side note, it immediately reduced all 4 pools to a single IP address, based on the headers it received from each server, since btcguild only has 1 stratum server today, but that will change has they add more)


-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
October 04, 2012, 11:22:50 PM
 #7295


Interesting behavior/question with stratum version..

On my test machine, I have pools set up the following way:

0 - stratum proxy
1 - btcguild #1
2 - btcguild #2
3 - btcguild #3

cgminer talked to pool0 (the proxy) and immediately punched right through to the real IP address for the stratum server, not using the proxy any more.

So should bypass the proxy when it sees the header, or should it stay pointed there? (IE what if the stratum server is diff hostname/IP than the configured pool?)

(as a side note, it immediately reduced all 4 pools to a single IP address, based on the headers it received from each server, since btcguild only has 1 stratum server today, but that will change has they add more)



Right, a question without an obvious answer. The point of the stratum header on the regular getwork pools is to redirect them to a better protocol pool. The fact that btcg redirects all pools to the same one stratum pool is more a sign of early days with btcg having only one stratum server. I'm guessing with time btcg will have 3 stratum servers to match its 3 getwork servers.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
eleuthria
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
October 04, 2012, 11:31:35 PM
 #7296

Right, a question without an obvious answer. The point of the stratum header on the regular getwork pools is to redirect them to a better protocol pool. The fact that btcg redirects all pools to the same one stratum pool is more a sign of early days with btcg having only one stratum server. I'm guessing with time btcg will have 3 stratum servers to match its 3 getwork servers.

I'll be updating the BTC Guild getwork-based backends to use different X-Stratum redirects this week, now that we're starting to see integration in the most widely used miner.

RIP BTC Guild, April 2011 - June 2015
dlasher
Sr. Member
****
Offline Offline

Activity: 467
Merit: 250



View Profile WWW
October 04, 2012, 11:35:38 PM
 #7297

Right, a question without an obvious answer. The point of the stratum header on the regular getwork pools is to redirect them to a better protocol pool. The fact that btcg redirects all pools to the same one stratum pool is more a sign of early days with btcg having only one stratum server. I'm guessing with time btcg will have 3 stratum servers to match its 3 getwork servers.

I'll be updating the BTC Guild getwork-based backends to use different X-Stratum redirects this week, now that we're starting to see integration in the most widely used miner.

Thank you!
jork
Newbie
*
Offline Offline

Activity: 15
Merit: 0



View Profile
October 04, 2012, 11:39:11 PM
 #7298

Leakage question...

I'm mining with cgminer with 2 workers one on ubuntu 12 and the other on windows 7 and I see the same odd behavior on both...

I've got 2 pools configured as failover (I did not choose load balance or rotate or anything like that), and about 80% of the time I see "leakage" over to my secondary pool! Weird.

I'm mining at 4500Mh/s at bitminter (2 workers) with no overt pool switching--either automatically or by my choice. I keep it steadily pointed at bitminter....But most of the time I'm seeing about 14Mh/s coming from my 2 workers to Mtred--my secondary pool!

I see no indication of this in either worker's console--they both look solidly connected to bitminter. I don't have any connection errors or slow communication or anything. Everything looks great except there's 14Mh/s leakage to Mtred from both workers.

What gives?? Any ideas?
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
October 04, 2012, 11:44:25 PM
 #7299

Leakage question...

I'm mining with cgminer with 2 workers one on ubuntu 12 and the other on windows 7 and I see the same odd behavior on both...

I've got 2 pools configured as failover (I did not choose load balance or rotate or anything like that), and about 80% of the time I see "leakage" over to my secondary pool! Weird.

I'm mining at 4500Mh/s at bitminter (2 workers) with no overt pool switching--either automatically or by my choice. I keep it steadily pointed at bitminter....But most of the time I'm seeing about 14Mh/s coming from my 2 workers to Mtred--my secondary pool!

I see no indication of this in either worker's console--they both look solidly connected to bitminter. I don't have any connection errors or slow communication or anything. Everything looks great except there's 14Mh/s leakage to Mtred from both workers.

What gives?? Any ideas?
Read the readme faq

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
jork
Newbie
*
Offline Offline

Activity: 15
Merit: 0



View Profile
October 05, 2012, 12:14:29 AM
 #7300

Leakage question...

I'm mining with cgminer with 2 workers one on ubuntu 12 and the other on windows 7 and I see the same odd behavior on both...

I've got 2 pools configured as failover (I did not choose load balance or rotate or anything like that), and about 80% of the time I see "leakage" over to my secondary pool! Weird.

I'm mining at 4500Mh/s at bitminter (2 workers) with no overt pool switching--either automatically or by my choice. I keep it steadily pointed at bitminter....But most of the time I'm seeing about 14Mh/s coming from my 2 workers to Mtred--my secondary pool!

I see no indication of this in either worker's console--they both look solidly connected to bitminter. I don't have any connection errors or slow communication or anything. Everything looks great except there's 14Mh/s leakage to Mtred from both workers.

What gives?? Any ideas?
Read the readme faq

Got it Thanks!

Quote
"Q: Work keeps going to my backup pool even though my primary pool hasn't
failed?
A: Cgminer checks for conditions where the primary pool is lagging and will
pass some work to the backup servers under those conditions. The reason for
doing this is to try its absolute best to keep the GPUs working on something
useful and not risk idle periods. You can disable this behaviour with the
option --failover-only."

I've been over that readme.txt many times getting things going and I've really appreciated all your work that went into it--so thanks much for that--it's all working very smoothly.
Pages: « 1 ... 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 [365] 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 ... 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!