Bitcoin Forum
June 01, 2024, 10:34:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 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 ... 570 »
9121  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.4 on: October 20, 2012, 12:21:08 PM
Cgminer 2.8.4 crashes again on windows 7.

Same here.

2.8.3 and 2.8.4 crash after approx 2 days.

Have only tried Stratum (on BTCGuild) so far.

Host: OS: Win7x64, GPU: 1 x 6970.

@ckolivas: what information can I provide to help you fix this bug?
This is painful since the mode of failure on windows is really a mystery. The best thing you can do for now is run in debug mode to give me even more indication of where the problem lies. Run it with "--verbose -D -T -P" and see what the last messages are before it crashes.

Even better would be a custom debug build running in gdb but I doubt any of you are up for that  Undecided I'm trying that on my laptop which is the only thing that has windows. Hopefully I don't fry it in the process, but at 10MH/s I also doubt it will recreate the problem.

Sigh. I wish it were only linux...
9122  Bitcoin / Mining software (miners) / Re: Decentralized mining protocol standard: getblocktemplate (ASIC ready!) on: October 20, 2012, 06:12:50 AM
Sorry but a lot of miners mine without their mining rigs being connected to a bitcoind instance. Yes there may be one somewhere in their network, or possibly not at all and they only fire up their wallet when they want to on a separate network. What you think is ideal is asking people to do more than they currently do. They currently use pools and they trust them already. The community is very vigilant with respect to pools misbehaving. The importance of the miner doing it all themselves is grossly exaggerated by proponents of GBT. Pools will continue to do as much as they already do. It's unrealistic to expect otherwise.
9123  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.4 on: October 20, 2012, 05:22:54 AM
2.8.4 crashed under Windows 7 32Bit, would I have more luck running CGMiner from XP Mode within Windows 7 ?
I assume this is mining with stratum? Darn... the cause of this crash remains a mystery then. Perhaps someone with some windows debugging skills that can reproduce it (cause I can't reproduce it) can build a debug version and see.

As for XP mode helping? I doubt it, but it's worth a shot. Probably disabling stratum is the only way to guarantee it not crashing since it's a stratum error (give it regular server details and --fix-protocol)

It was stratum connection to BTC Guild. Would it help posting the crash error log ? or are they of limited use ?
Limited yes, useless no.
9124  Bitcoin / Mining software (miners) / Re: Decentralized mining protocol standard: getblocktemplate on: October 20, 2012, 05:20:08 AM
So what are you anticipating the pools vs miners will be doing with transactions in pooled mining (ignoring p2pool)?

Transactions don't need to make it to the miners, just the pool server.  The pool server can handle most of the merkle building bits, and verify the returned work from the miner.

The miner runs through nonce.
If miner needs more work, it runs through ntime range.
If miner needs more work, it increments extranonce.

That will keep your ASIC miner mining through the next century ;p


The miner can't hash anything without that merkle root though. I didn't see the merkle root being passed regularly to the miners in the sample on the wiki, just how to hash transactions as they come in and generate a merkle root. Did I miss where the merkle root is passed to the miner?

In which case, we're back to my original comment... the miners need all the transactions every so often or they're doing bitcoin a disservice.
9125  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.4 on: October 20, 2012, 05:15:41 AM
2.8.4 crashed under Windows 7 32Bit, would I have more luck running CGMiner from XP Mode within Windows 7 ?
I assume this is mining with stratum? Darn... the cause of this crash remains a mystery then. Perhaps someone with some windows debugging skills that can reproduce it (cause I can't reproduce it) can build a debug version and see.

As for XP mode helping? I doubt it, but it's worth a shot. Probably disabling stratum is the only way to guarantee it not crashing since it's a stratum error (give it regular server details and --fix-protocol)
9126  Bitcoin / Mining software (miners) / Re: Decentralized mining protocol standard: getblocktemplate on: October 20, 2012, 02:57:20 AM
What a mess. With payloads increasing linearly with transaction count in GBT that makes each getwork equivalent much bigger than plain getwork already is the longer a block takes to solve. As bitcoin becomes more popular and transaction counts increase, gbt becomes less and less efficient. I'd hazard a guess that it may even be less efficient than plain getwork at some stage unless pools start ignoring transactions... there's a disincentive to include them.

Unless something has changed, getblocktemplate should include a mode that skips sending the transactions themselves.  See https://en.bitcoin.it/wiki/BIP_0023

I agree it is unlikely that non-p2pool miners will use the full bore GBT + all transactions, even if it is better for network security.

But don't dismiss GBT based on faulty "full mode only" assumptions.


So what are you anticipating the pools vs miners will be doing with transactions in pooled mining (ignoring p2pool)?
9127  Bitcoin / Mining software (miners) / Re: Decentralized mining protocol standard: getblocktemplate on: October 20, 2012, 12:09:05 AM
An empty (coinbase-only block) StratumMP work payload is 399 bytes.  An empty GBT work payload based on your example is 737 bytes.

StratumMP work payloads increase 67 bytes per power of 2 transactions.  GBT work payloads increase by the size of the transactions being included in a block (roughly 250 bytes for a normal tx with 1 input, 1 payout address, and 1 change address).

For StratumMP, a block containing 257-512 transactions would require an extra 603 bytes, for a total of 1002 bytes.  GBT would require approximately 128,000 bytes.
Using a more common example, lets say each block has 100 transactions on average.  StratumMP would be 868 bytes per work payload.  The GBT equivalent would be approximately 26,000 bytes.

Similarly, work submission payloads are quite different.  GBT would require 501 bytes per share submission in your example.  StratumMP requires only 109.

None of the above factors in the added overhead of wrapping GBT into HTTP Requests.
What a mess. With payloads increasing linearly with transaction count in GBT that makes each getwork equivalent much bigger than plain getwork already is the longer a block takes to solve. As bitcoin becomes more popular and transaction counts increase, gbt becomes less and less efficient. I'd hazard a guess that it may even be less efficient than plain getwork at some stage unless pools start ignoring transactions... there's a disincentive to include them.
9128  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.4 on: October 19, 2012, 11:31:14 PM
Con, I'll give the new build a whirl tomorrow since I was one of the ones that was having issues with dynamic difficulty.  2.7.6 is what I've been running, and has been rock solid for me, although it seems a few others still had problems.  The only thing I did notice is that if I loose my network, the queued value (Q:) shoots through the roof and then drives the efficiency (E:) down through the floor.  But it doesn't actually effect anything since those are just displayed values, and I know the queued work isn't actually increasing like a rocket ship because it can't get the work if the network is down.   Roll Eyes

Okay, not seeing any issues with dynamic difficulty with 2.8.4, so hopefully that issue is dead and truly buried.  I'm still seeing the weird behavior with queued work after a network loss, though this is clearly a  very minor issue as it does not truly affect anything except displayed stats.
Great thanks Smiley

I wouldn't worry about the Q value... hopefully the old getwork queue thing will be a thing of the past as pools move to better protocols like stratum.
9129  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.4 on: October 19, 2012, 11:30:02 PM
something strange whit MULTIPOOL and LOAD BALANCE and BALANCE.

a try to mining on 3 pools whit LOAD BALANCE or BALANCE strategy and the result is the same
first : http://pool.50btc.com
second : http://pool2.50btc.com
third : http://pool.coinlab.com

result for LOAD BALANCE after several hours
first pool : 227 shares
second pool : 168 shares
third pool : 1412 shares

result for BALANCE after several hours
first pool : 213 shares
second pool : 191 shares
third pool : 1624 shares

it is a bug something ?
or i don't get right the value of BALANCE and LOAD BALANCE strategy.
why is there such a big difference between shares count ?
Bug I guess. It's extraordinarily hard balancing things out when there are vastly different ways of getting the same amount of work and handing out depending on pool configuration.
If you strictly want a fixed proportion to each pool only the rotate strategy can guarantee that.
9130  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.4 on: October 19, 2012, 09:39:14 PM
C. Kolivas

I am having trouble compiling cgminer 2.8.4 on MinGW 32 (Windows 7 x64). The last version I compiled was 2.7.5 and that version had no problems.

Compiling from "cgminer-2.8.4.tar.bz2" on your site.

Configure complains about not having any GPU/CL support.

If I remark out the following lines in configure.ac

#if test "x$ATISTREAMSDKROOT" != x; then
#   OPENCL_FLAGS="-I$ATISTREAMSDKROOT/include $OPENCL_FLAGS"
#   OPENCL_LIBS="-L$ATISTREAMSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"
#fi

#if test "x$AMDAPPSDKROOT" != x; then
#   OPENCL_FLAGS="-I$AMDAPPSDKROOT/include $OPENCL_FLAGS"
#   OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"
#fi

and then type:
autoreconf -fvi
  and then
CFLAGS="-O2 -msse2" ./configure
  and then
make

And now, cgminer 2.8.4 compiles just fine with AMD GPU support.

$ATISTREAMSDKROOT = Empty; Does not exist on MinGW 32
$AMDAPPSDKROOT = C:\Program Files (x86)\AMD APP\ and is a valid directory.
$ARCH_DIR = Empty; Does not exist on MinGW 32

There is a $PROCESSOR_ARCHITECTURE environment variable and it is set to "x86" but using this variable could be problematic as the two AMD directories are "x86" and "x86_64" and the possible settings for the variable are "x86", "AMD64", and "IA64".

I'm sure windows users that compile on MinGW will have problems with this and it should probably be fixed.

 Smiley
Yes you're not the only one to report this. Curious. I guess I can just ignore those defines on anything but linux.
9131  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: October 19, 2012, 11:44:46 AM
9132  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.4 on: October 19, 2012, 10:46:51 AM
I'm upgrading the status of cgminer 2.8.4 to stable status and removing 2.7.7 from the top directory. Even if some stratum bug does show up in the future, disabling stratum with --fix-protocol will still make it more stable than 2.7.7 is, and it's time to move on.
9133  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: October 19, 2012, 09:18:47 AM
Hopefully by now you should be able to cgminer directly to stratum pools more reliably than through the proxy.

Can you elaborate more on this? Do you see any bug in proxy?
Don't take it to mean there's a bug. It's simply one less potential point of failure.
9134  Bitcoin / Hardware / Re: High Efficiency FPGA & ASIC Bitcoin Mining Devices https://BTCFPGA.com on: October 18, 2012, 11:00:45 PM
... and getting to the end of the day - yep the Mh/s has dropped a couple and the HW % has also dropped

(5s):493.5M (avg):834.9Mh/s | Q:787  A:10442  R:26  HW:121  E:1327%  U:11.2/m

MMQ 0: 40/39/41/36 C  | 656  M/835  Mh/s | A:10443 R:26 HW:121 U:11.24/m

Gives: 1.14% HW errors - and with my settings it should end up between 1% and 0.75% but hopefully still above 830Mh/s

Still looks OK IMO - and in case anyone felt like trying it, the pull has been there for 7 hours:
https://github.com/ckolivas/cgminer/pull/319
(and there's plenty of comments about some of the changes in there Smiley)

To actually get my git changes to the current code it's in my mmq branch:
https://github.com/kanoi/cgminer/tree/mmq
(but it calls itself 2.8.3)

Still plenty of work to be done of course ... but it should work fine now on any linux
Any bugs found - please let me know
The main cgminer branch now includes this updated MMQ code thanks to Kano. Version 2.8.4 should work fine with MMQ on linux now.
9135  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: October 18, 2012, 09:26:51 PM
Maybe this is a possible future feature of cgminer, being a proxy itself.
Gimme a break  Undecided
9136  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: October 18, 2012, 08:30:06 PM
Hopefully by now you should be able to cgminer directly to stratum pools more reliably than through the proxy.
9137  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.4 on: October 18, 2012, 08:28:32 PM
Interesting failure state today.

I have some (2.8.3) miners behind stratum 1.1.1 proxy.. primary pool stratum was pointed at failed. (stratum crashed). cgminer stayed connected to proxy, which stayed up. proxy couldn't get work from primary pool, stayed idle, all miners went idle, cgminer never failed down to next pools in the chain.

It would be nice to be able to set some sort of threshold.. (And shoot me conman if you already do this and I just missed it)..in cgminer.  If I don't get any work from a pool in {threshold} minutes, in spite of being TCP/UDP/etc up, I should mark it dead.  (I swear cgminer already does this for getwork.. I see messages about "pool not providing work fast enough")

(FWIW, I'm going to post something over in Slush's proxy thread, because I think his proxy should have marked itself dead, but somehow cgminer should know a pool is "starving", shouldn't it?)



2 minutes. It's there already.

EDIT: The problem is the proxy may have been lying and continuing to send what looked like fresh work to cgminer. It's time to stop  using the proxy Wink
9138  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.4 on: October 18, 2012, 02:01:00 AM
check it out. cgminer on android   Grin

http://www.youtube.com/watch?v=c9hBRljvZPI



Very cool indeed  Grin

Any chance you could document clearly somewhere what changes were needed to the code? It could be added to the main codebase.
9139  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.3 on: October 17, 2012, 10:50:20 PM
New version - 2.8.4, 18th October 2012

Getting closer to something I can officially call a stable 2.8 release. Only testing will tell if windows+stratum is still crash prone.


Human readable changelog

Made the stratum code generally more reliable to indirectly address the unknown cause of win32 crashes with stratum.
Fixed stratum not declaring a pool alive again once it has reconnected to it.
Rewritten dynamic intensity code should fix remaining issues with it.
Fixes for building on windows.
Fixes for running on ARM architecture.
Padded hashrate display with zeroes when needed.
More information with high difficulty shares eg:
Code:
[2012-10-18 09:38:45] Accepted 003a8996 Diff 1.12K/1 GPU 1 pool 4
Pool difficulty will be rounded down in keeping with the share difficulty to avoid it appearing you are falsely getting accepted shares of lower difficulty than the pool is asking for.
Scrypt litecoin mining now shows the scrypt modified hex so it will start with lots of zeroes.
Share and pool difficulty is now shown with scrypt as well (but with an upper limit of 64k)
Scrypt will now not fail when setting high thread concurrency values that still return some ram even if opencl returns an error on that ram allocation.
Preliminary working version of MMQ code courtesy of kanoi works on linux (unknown on windows for now).
Updated opencl kernels which should allow ultra low memory speeds once again (idea courtesy of Vbs).


Full changelog

- Time for dynamic is in microseconds, not ms.
- x86_64 builds of mingw32 are not supported directly and should just configure
as generic mingw32 builds since they're NOT 64 bit.
- Cope with both ATI stream and AMD APP SDK roots being set when building.
- Use 3 significant digits when suffix string is used and values are >1000.
- MMQ new initialisation (that works) and clocking control
- Get rid of unused warning for !scrypt.
- Use select on stratum send to make sure the socket is writeable.
- Cope with dval being zero in suffix_string and display a single decimal place
when significant digits is not specified but the value is greater than 1000.
- Pad out the suffix string function with zeroes on the right.
- Failure to calloc in bin2hex is a fatal failure always so just check for that
failure within the function and abort, simplifying the rest of the code.
- Provide locking around the change of the stratum curl structures to avoid
possible races.
- Bump opencl kernel version numbers.
- Remove atomic ops from opencl kernels given rarity of more than once nonce on
the same wavefront and the potential increased ramspeed requirements to use the
atomics.
- Clear the pool idle flag in stratum when it comes back to life.
- Display correct share hash and share difficulty with scrypt mining.
- Use explicit host to BE functions in scrypt code instead of hard coding
byteswap everywhere.
- Show work target diff for scrypt mining.
- Ease the checking on allocation of padbuffer8 in the hope it works partially
anyway on an apparently failed call.
- Watch for buffer overflows on receiving data into the socket buffer.
- Round target difficulties down to be in keeping with the rounding of detected
share difficulties.
- Dramatically simplify the dynamic intensity calculation by oversampling many
runs through the opencl kernel till we're likely well within the timer
resolution on windows.
- String alignment to 4 byte boundaries and optimisations for bin<->hex
conversions.
- In opencl_free_work, make sure to still flush results in dynamic mode.
- Align static arrays to 4 byte boundaries to appease ARM builds for stratum.
9140  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.8.3 on: October 17, 2012, 08:44:21 PM
Nope. Any time you change 1 bit on the input, you change all bits on the output hash (SHA-256). If it were like you said above, it would be a pretty crappy cryptographic function in the first place! Grin

Not all. If it would be so, changing 2 or any even number of bits would result in the same hash. Optimally one bit changes about half of the result hash.
Bt the real problem is that changing a bit affets on that what other bits affect. Anyway, I also think it would not work. Just a stupid idea.
No, a good hash function, and sha256 is that, will make the results have absolutely nothing in common even if only 1 bit is changed. This is called the avalanche effect and is a most desirable property.

http://en.wikipedia.org/wiki/Avalanche_effect
Pages: « 1 ... 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 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 ... 570 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!