Bitcoin Forum
June 15, 2024, 03:53:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 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 ... 570 »
8821  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windws/osx/mip/r-pi 2.10.0 on: December 12, 2012, 05:42:08 AM
...
cgminer times how long it takes for the gpu code to "return" after it's been given work. Unfortunately with windows, the timer resolution is so shithouse at 15ms that I have to sample many many iterations of the GPU code and then average them to see how long it took.
...

cklovias, there are several ways to overcome this drawback of the simple windows time functions. Probably the two easiest ways are using the code from this explanation http://msdn.microsoft.com/en-us/magazine/cc163996.aspx, or by using the .Net stopwatch class (for your code, you would have to call into a c++/cli dll wrapper around the class, then you have to deal with people needing the .Net framework installed too...maybe make it optional?)

I like using dynamic on my main windows computer, but I have been sticking with 2.7.5 because it has better dynamic behaviour for me. I have just been thinking, 'oh well, make it until the ASICs come out and that's good enough!'
Thanks for that but for such a convoluted process for the sake of one clock call when GPUs will be redundant in a couple of months seems a waste now - i.e. I'm not interested in developing in any significant fashion for GPUs any more. On the other hand, as you see from Kano's message, there are certainly other clock functions he implemented that suffer under windows that will be relevant to him.
8822  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: December 11, 2012, 10:12:27 PM
You can still roll the time once per second, starting the second nonce field all over again. It really isn't going to be an issue unless some dramatic new technology that doesn't even exist yet is thought up and developed and manufactured and released in the decades ahead. Quantum computers anyone?

Why only once a second?  An ASIC is going to run through all nonces in far less than a second - why can't it roll ntime rapidly at least for a few seconds?  No one cares if ntime is exact to the second, as long as it's roughly right.
You still haven't understood? To go through all the nonces with stratum currently as is, would require it to check 18,446,744,073,709,551,616 hashes. If that's not enough, you can just increase the size of nonce2 from 4 to 6 and get 1,208,925,819,614,629,174,706,176 hashes. This is without rolling the ntime at all. If that's not enough, rolling the ntime just once every second will give you 1,208,925,819,614,629,174,706,176 hashes per second.
8823  Other / CPU/GPU Bitcoin mining hardware / Re: 5,210 stream processors - Dual-GPU AMD Radeon HD 8990 on: December 11, 2012, 11:40:46 AM
I normally end up treating myself to a nice card for my gameing computer, After hours of looking through top titles to test the beast I normally end up playing minesweeper thinking well that was another smart purchase.  Embarrassed
That is one of the funniest posts I've read in a very long time  Cheesy
8824  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windws/osx/mip/r-pi 2.10.0 on: December 11, 2012, 12:18:27 AM
question on how cgminer figures intensity.

on dynamic with both 2.9.7.0/1 and 2.10.0 when I fire up folding@home on the cpu (which loads the 4 cores to 100%) cgminer drops intensity down to -8 or so on my 6870. stop folding and intensity goes to 4 or 5 where it should be.
cgminer times how long it takes for the gpu code to "return" after it's been given work. Unfortunately with windows, the timer resolution is so shithouse at 15ms that I have to sample many many iterations of the GPU code and then average them to see how long it took. This means that between giving the GPU code, there are short periods dependent on CPU code, and windows' scheduler does not seem to give this CPU code priority even though folding@home should be idle priority. So it ends up counting delays of the CPU scheduling as though the GPU had spent more time on its work. So it's a combination of the shit windows timer resolution and the shit windows scheduling that makes dynamic not work that well for your test case.
I LOVE the stratum support! dunno how you do it but cgminer just keeps getting better!
Thanks  Cheesy
8825  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: December 11, 2012, 12:02:28 AM
Early on I spoke to some of the ASIC-to-be manufacturers and suggested they do target testing for higher diffs internally as well, so I expect at least some of them to take a target as well That and as Eleuthria said, it's still insignificant CPU to test them anyway.
8826  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: December 10, 2012, 11:44:17 PM
Well actually I don't think it would even register in CPU usage even at 1.5TH of getworks with the largest asic device currently planned. It's only 375 getworks per second. It takes almost no CPU to generate that many.

Yeah, OK, you're right.  So assuming (for ease of maths) 2^10 transaction per block, you need 10 hashes per Merkle root, so you need a host CPU capable of 3.75kH/s.  Hell, my first gen EEEPC would do that more than comfortably (although it wouldn't surprise me if that's 10% CPU or so - I'm sure enough to make the CPU fan come on, even if only at low speed Smiley

Ok, so you've convinced me, we've got a little time before ASICs are fast enough to worry about this.... :-)

roy

ETA: But in 2 years time, when we have $99 600GH/s coffee warmers, then I'm going to be asking for rollntime support :-)
You can still roll the time once per second, starting the second nonce field all over again. It really isn't going to be an issue unless some dramatic new technology that doesn't even exist yet is thought up and developed and manufactured and released in the decades ahead. Quantum computers anyone?
8827  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windws/osx/mip/r-pi 2.10.0 on: December 10, 2012, 10:38:58 PM
On the new version 2.10.0  My BFL boxes all are showing the same MHash rates, but all my 7970's have gone from 680Mhash to 603MHash.  Any thoughts?
My 7970s are performing exactly the same with 2.10 as with 2.9. Coincidence related to some other problem for you perhaps?
8828  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: December 10, 2012, 09:53:01 PM
Some ASICs I suspect will have rolltime built into their mining protocol since their development would have started a long time ago (theoretically), when rolltime was all the rage.

Yes, that's an interesting point.  All the more reason to make use of that support rather than having the host it's connected to calculating Merkle roots at a high rate of knots.
Well actually I don't think it would even register in CPU usage even at 1.5TH of getworks with the largest asic device currently planned. It's only 375 getworks per second. It takes almost no CPU to generate that many.
8829  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: December 10, 2012, 09:40:37 PM
Stratum does not need ntime rolling because a single stratum work unit is 4.2 billion times larger than a standard getwork unit (by default, it can be increased and the spec supports it very easily).  However, Stratum also does support ntime rolling, the official spec is that ntime should not be increased faster than real-time.

nTime rolling is a hack solution to extend getworks, and if used improperly can be extremely bad for the network if a large number of blocks were produced and pushed the mean-time of recent blocks into the future.

Stratum protocol don't need to mention ntime rolling, because block header for hashing is produced directly on the miner, not by the pool. But re: Roy's concern about ASIC miners - yes, ntime rolling in ASICs will be still possible with Stratum.
Some ASICs I suspect will have rolltime built into their mining protocol since their development would have started a long time ago (theoretically), when rolltime was all the rage.
8830  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.9.7 on: December 10, 2012, 11:37:50 AM
New release: Version 2.10.0, 10th December 2012

Huge upgrade of lots of code and features, so comes with the usual warnings about potential instability of the new version.


Human readable changelog:

The main change to this is a completely new work scheduler where all work spawns from. The old work scheduler would spawn threads that all tried to grab work as best as they could, and this would lead to much more work than necessary being grabbed from getwork pools, and potentially hitting the pool at precisely the same time from multiple threads making a getwork failure more likely. It was also very difficult to track how much work was really available at any one time since all the threads were off doing their own thing. Centralising the work creation means it is strictly tracked now and as soon as one work item is taken, the scheduler will generate or download another one. The advantage here is to maximise the amount of work we can get from any source, be it getwork without rolltime, with rolltime, gbt, or stratum,  or combinations of the above. It is also much less likely to have dips in providing work, should lead to less getwork failures, and scale to higher hashrates even with the old getwork protocols.

When the primary pool is stratum, GBT (or getwork in failover mode), no backup connections will be maintained to backup pools. The total number of connections when mining stratum now should be extremely small.

New MMQ driver courtesy of Kano, shows each device separately now.

New ztex drivers courtesy of Denis and Peter

Threads should now have unique names on flavours of unix (sorry windows users).

More *BSD support.

Lots of work under the hood and other minor goodies. Check full changelog.


Full changelog:

- Include prctl header for thread renaming to work.
- Set tv_idle time if a pool is not active when input from the menu.
- usb display message when device is in use/another cgminer
- libztex: avoid the use of libusb_error_name()
- minor unlikely zero pointer test
- BeaverCreek doesn't like BFI INT patching.
- Only stratum pools that are idle need to be kicked via cnx_needed.
- mmq - abbreviate the temperature numbers
- Do not do any setup if opt_api_listen is disabled in api.c.
- usbutils.c uninitialised usbstat for non-primary mmqs
- Only set the lagging flag for select_pool() on failed getwork if we're not in
opt_fail_only mode.
- libztex: in case the selectFpga() failed set the selected fpga to unknown
- Modified windows-build.txt to update git instructions.
- libztex: use a function for the twice called firmware reset code
- libztex: removed an unused struct member (ztex->valid)
- driver-ztex: support for broken fpga on a multifpga board
- Set the pool lagging flag on startup to avoid it being shown initially, and
only unset it once the maximum number of staged work items has been reached.
- Avoid recursive locking of the stgd lock. (bug found by Luke-jr).
- Return value of keep_sockalive is no longer used.
- Remove dependency on mstcpip.h for windows build by making curl version >=
7.25.0 mandatory on windows builds, and use curl functions for keepalive
whenever possible instead.
- Make main() the getwork scheduler once everything is set up, so that all app
exits use the kill_work and quit paths.
- ztex: more style and whitespace fixes
- libztex: silenced another warning
- Set successful connect to true on auth stratum to allow summary on exit from
single stratum pool.
- Only consider work stale for stratum of different job_id if it's not a share.
- Increment version preempting changed version signifying different codebase to
2.9
- Hash_pop should signal further waiters on its own pthread conditional in case
there are multiple waiters.
- Check the job_id has not changed on stratum work when deciding if the work is
stale as might occur across disconnections.
- Perform pool_resus on getwork pool that generates work in getwork_thread.
- Set pool lagging message for getwork pool that falls to zero staged in getwork
thread.
- Stage extra work when the primary pool is a getwork pool without rolltime.
- Do not try to clean up twice if kill message is given.
- Only recalculate total_staged in getwork thread if required.
- Include the correct config header in libztex and include it before other
includes.
- Implement a completely new getwork scheduler. Stage all work from the one
thread, making it possible to serialise all requests minimising the number of
getworks requested or local work generated. Use a pthread conditional to wake up
the thread whenever work is removed to generate enough work to stay above the
watermark set by opt_queue. Remove all remnants of the old queueing mechanism,
deleting the now defunct queued count.
- libztex: fixed some warnings and removed some whitespaces
- libztex: silenced some warnings
- Remove all references to the now unused workio_cmd structure.
- Remove the old workio command queue thread, replacing it with a kill
conditional to exit the program.
- Remove getwork command from workio_cmd queues and do them directly from
queue_request.
- Begin tearing down the old workio command queues by removing submit commands
from there and submit them asynchronously via their own threads.
- Update windows build instructions.
- Set pool probed to true on successful authorisation with stratum to avoid it
being pinged later with pool_getswork.
- driver-ztex: libztex_setFreq() must be called before ztex_releaseFpga()
- driver-ztex: changed two pairs of malloc()/memset() to calloc()
- libztex: Read bitstream file in 2kb blocks with simpler and faster code
- Added the binary versions of ztex_ufm1_15d4.ihx and ztex_ufm1_15y1.ihx
- Trivial space removal.
- libztex: Add firmware download support for ZTEX 1.15d and 1.15x
- libztex: Factor out local version of libusb_get_string_descriptor_ascii()
- Shut up some boring old cpu warnings.
- Style changes.
- Allow pool active to be called on stratum or disabled pools in the watchpool
thread if the pool has not been probed.
- libztex: Make log messages say bitstream when refering to bitstreams
- libztex: Don't return error when a bitstream was already configured
- libztex: Read bitstream file in 64kb blocks with simpler and faster code
- libztex: Verify that the mining firmware is not a dummy firmware
- libztex: Match mining firmware ZTEX descriptor against the dummy firmware
- Combine shared padding into one char.
- libztex: Start download sequence only after reading in the new firmware
- libztex: Download mining firmware to all devices with dummy firmware
- lock (most of) the threaded statistics updates
- README stats don't add up
- usbutils.c remove compiler warning
- Make need connection return true if a pool is idle.
- API add Best Share to summary
- Check on creating new GBT work if the structures are up to date and update
them as required rather than regularly.
- Update windows build instructions.
- Enable backup stratum connections for getwork when the primary pool doesn't
have longpoll aka solo mining.
- Check for correct absence of opt_fail_only in cnx_needed.
- Remove unused variable.
- The specification for stratum has been elaborated to say that a changed diff
applies only to new work so do not retarget when submitting shares.
- Use a variable length string array in submit_upstream_work to cope with
massive GBT submissions.
- API lock access to some summary statistics (and copy them)
- Suspend stratum connections to backup pools when there is no requirement to
potentially grab work from them.
- Fix missing export for RenameThread.
- enumerate the mining threadnames
- MMQ avoid possible number overrun crashes
- mmq usb v0.4 + api usb stats
- setting the name of the threads for linux,freebsd,openbsd and osx code is
borrowed from bitcoins util.c, so it is already tested
- Don't show broken WU value with scrypt mining.
- Style police.
- Remove unused getwork times in getswork.
- Fix readme wordwrap.
8831  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.9.7 on: December 10, 2012, 03:01:13 AM
<Farnsworth>Good news everyone</>

Okay after a day of debugging on windows, I found the disconnect crash bug was actually in libcurl itself, which was rather awkward but anyway it means it should get better if you download and use the following dll instead:

http://ck.kolivas.org/apps/cgminer/temp/libcurl-4.dll

Just put it into your cgminer directory, replacing the existing libcurl dll.

EDIT: I've repackaged the 2.9.7 release for win32 as 2.9.7-1 including the fixed dll. I urge anyone on windows to update at least the dll. The package is otherwise the same version of cgminer.

EDIT2: Bug submitted to curl maintainers so hopefully it will be fixed next version: https://sourceforge.net/tracker/?func=detail&aid=3594381&group_id=976&atid=100976
8832  Other / CPU/GPU Bitcoin mining hardware / Re: nVidia GeForce GTX 680 on: December 09, 2012, 11:45:12 AM
On the other hand, coinlab will eventually start having some cuda based workloads for nvidia to make them earn something at some stage in the future.
wait what specifically do we know about coinlab's doing?
They're (we're) working on custom GPU software that will be used for bitcoin mining initially and long term for other HPC jobs.

is there any specific thread on this?
The coinlab pool thread itself...
https://bitcointalk.org/index.php?topic=99643.0
8833  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.9.7 on: December 09, 2012, 06:51:02 AM
I just did a git pull to update cgminer on my rigs, and I noticed that it says I'm running version 2.10.0.  Did I time warp to the future?
Nope. It's not tagged as such, but it's there to demonstrate the substantially different code base if anyone's running it. That will be the version when it is finally released. Release versions are tagged in git (except when I forget to do it).

Dang.  I was hoping I just figured out how to time travel.
Shit if you did that, you'd go back and mine with your current hardware 2 years ago.
8834  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.9.7 on: December 09, 2012, 06:45:43 AM
I just did a git pull to update cgminer on my rigs, and I noticed that it says I'm running version 2.10.0.  Did I time warp to the future?
Nope. It's not tagged as such, but it's there to demonstrate the substantially different code base if anyone's running it. That will be the version when it is finally released. Release versions are tagged in git (except when I forget to do it).
8835  Other / CPU/GPU Bitcoin mining hardware / Re: nVidia GeForce GTX 680 on: December 09, 2012, 06:27:04 AM
On the other hand, coinlab will eventually start having some cuda based workloads for nvidia to make them earn something at some stage in the future.
wait what specifically do we know about coinlab's doing?
They're (we're) working on custom GPU software that will be used for bitcoin mining initially and long term for other HPC jobs.
8836  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.9.7 on: December 08, 2012, 08:42:02 PM
Just experienced a crash with cgminer 2.9.7 on Windows. Two miners crashed at the same time. I'm using stratum on BitMinter. Didn't have any crashing problems before with 2.9.x versions, and I saw this on the patch notes:

"Windows builds are built and shipped with a new libcurl (and libusb) dll that hopefully improves stability."

Could this be actually causing problems instead of improving stability? If it's possible, I'd be interested in trying out a build with the old dlls.
No, likely it's the same windows special crash to do with internet going down which has been there a while. The new dll was there in the hope it fixed this, but obviously it does not.

Anyone debugging on windows could you try the instructions and builds in http://ck.kolivas.org/apps/cgminer/debug/ and use the debug build of libcurl dll that's in there as well please. Thanks.
8837  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.9.7 on: December 08, 2012, 11:46:06 AM
The rewrite of how work is gathered into a getwork scheduler is well underway and in the git master tree now undergoing testing. It would not be surprising if it introduces new instability, but I'm hoping for the master branch to be tested and debugged over the next week paving the way for the next version. For what it's worth, it's currently running fine for me. Other goodies including new mmq and ztex code are in there too.
8838  Bitcoin / Mining software (miners) / Re: Best for a Cuda machine? on: December 07, 2012, 09:16:18 PM
I experimented with native cuda on nvidia GPUs here at home and it performed the same speed as opencl for bitcoin mining. The only advantage I found with native cuda was I could get the CPU usage down by disabling polling in it, which you cannot do with opencl on nvidia. So in summary, just use any miner with an opencl kernel that runs on your GPU. cgminer works fine.
8839  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.9.6 on: December 07, 2012, 10:45:20 AM
LOL, was just coming back to post that I upgraded to latest version and the problem is fixed... Thank you for cgminer ckolivas!
You're welcome Smiley The price of continued development is temporary instability, and it's users that give feedback that allow me to achieve stability once more.
8840  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windows/osx/mip/r-pi 2.9.6 on: December 07, 2012, 10:37:24 AM
Yeah, are you specifying the stratum server with stratum+tcp:// ? There's an issue with backup pools specified that way at the moment. Try leaving out the prefix, or specify them as http:// and it will just do stratum.

I'm not adding the stratum+tcp:// specification, but the program does add it automatically when I run it even though I am specifically pointing it at http://mint.bitminer.com:8332

I think it might be like Inaba was saying with it being a problem with the pools listed as a failover because I am also attempting to use BitMinter as a failover while receiving this error.

I will test by switching it's order and report back.
Make sure to test latest, it was addressed in 2.9.7
Pages: « 1 ... 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 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 ... 570 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!