Bitcoin Forum
June 07, 2024, 07:58:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 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 ... 570 »
8601  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windws/osx/mip/r-pi 2.10.5 on: March 02, 2013, 06:54:46 AM
New version: 2.11.0, 2nd March 2013 Happy birthday to me

New unstable version preparing for ASIC hardware. This version is being released to fix any bugs found in the USB and hotplug code prior to it being needed by real ASIC hardware. I had one last go at improving the OpenCL kernels for GPU mining since this code will soon become of historical interest only except in the case of scrypt.

IF YOU ARE ON WINDOWS YOU NEED A NEW AND DIFFERENT USB DRIVER
From FPGA readme:
Quote
For ModMinerQuad (MMQ) and BitForce (BFL)
-----------------------------------------

...

The best solution for this is to use a tool called Zadig to set the driver:
 http://sourceforge.net/projects/libwdi/files/zadig/

This allows you set the driver for the device to be WinUSB which is usually
required to make it work if you're having problems

Human readable changelog:

- Huge updates to USB code including direct USB and hotplug changes by Kano, including updates to various FPGA driver modules to suit the new code.
- New OpenCL GPU kernels for poclbm, diablo and scrypt! First speed up in a long time (but absolutely miniscule). As always, any faster kernel tends to bring out hardware instability if you've overclocked your GPUs to within an inch of their stability.
- Resume support for stratum. Currently only one pool supports it but hopefully others will follow suit.
- Try to not lose stratum shares across pool switches.
- Fix for scrypt kernels with thread concurrency set to >9999
- Lots of minor bugfixes and improvements.
- Lots of infrastructure added to allow for queueing devices in the future (i.e. BFL asics if/when they appear) but not currently used.


Full changelog:

- Update kernel file names signifying changes.
- Update a pool's last work time when the work is popped as well as staged.
- API always report failed send() replies
- Update diff stale: total and pools when stratum throws away shares
- Keep stratum connections open for 2 minutes after the last work item was
staged to allow stray shares to be submitted on pool switching.
- Try to extract the sessionid associated with mining.notify on 3rd level array
and submit it along with the userid to support mining resume, failing gracefully
and restarting if the pool rejects it.
- Speed up watchdog interval and therefore display updates to 2 seconds.
- Update copyright dates.
- Cope with misread sessionid on stratum for now.
- Use constants from the array of __constants throughout the diablo kernel.
- Create a __constant array for use within diablo kernel.
- Fix --benchmark generating valid work for cgminer.
- Use the sessionid as passed on stratum connect to attempt to resume a
connection once and then clear it if it fails, to use a new connection.
- Move to storing the nonce1 in the work struct instead of the sessionid for the
now defunct first draft mining.resume protocol.
- Use global constant arrays for all other constants used in scrypt kernel.
- Use global __constants for sha functions in scrypt kernel.
- Use constants for endian swap macros.
- Revise scrypt kernel copyright notice.
- Separate out additions in scrypt kernel.
- Reuse some Vals[] variables that can be assigned to constants earlier in the
poclbm kernel, making for fewer ops.
- Put all constants used in poclbm kernel into __const memory array to speed up
concurrent reads on the wavefront.
- BFL stop 1st init command if no device
- Add a get_queued function for devices to use to retrieve work items from the
queued hashtable.
- Bugfix: Duplicate stratum sessionid when copying work, to avoid double-free
- Bugfix: Missing pool_no parameter to applog for no-stratum-sessionid debug
message
- Add the choice of hash loop to the device driver, defaulting to hash_sole_work
if none is specified.
- Add comments.
- Add a driver specific flush_work for queued devices that may have work items
already queued to abort working on them on the device and discard them.
- Flush queued work on a restart from the hash database and discard the work
structs.
- Create a central point for removal of work items completed by queued device
drivers.
- Create a fill_queue function that creates hashtables of as many work items as
is required by the device driver till it flags the queue full.
- Create the hash queued work variant for use with devices that are fast enough
to require a queue.
- Update copyright year.
- Fix tv_lastupdate being made into tv_end and update the hashmeter on cycle,
not opt_log_interval.
- Fix tv_lastupdate being made into tv_end and update the hashmeter on cycle,
not opt_log_interval.
- Only continue submitting shares with mining.resume support on stratum when the
session id matches.
- Provide support for mining.resume with stratum, currently re-authorising after
successful resumption pending finalising of the protocol process.
- Provide basic framework for restarting stratum depending on whether resume
support exists or not.
- Abstract out the setting up of the stratum curl socket.
- Free sessionid in clean_work and remove redundant setting of strings to NULL
since the whole work struct is zeroed.
- Only clear stratum shares mandatorily on stratum dropouts when the pool does
not support resume.
- Try resubmitting stratum shares every 5 seconds for up to 2 minutes if the
pool session id exists and matches on failure to submit.
- Do as much outside of mutex locking of sshare_lock as possible.
- Remove last reference to struct work used outside the sshare_lock in
submit_work_thread
- Unlock the sshare_lock in submit_work_thread when all references to work and
sshare are complete.
- Add timestamps to stratum_share structs as they're generated and copy the
stratum sessionid if it exists to stratum work generated.
- Store session id for stratum if the pool supports it for future mining.resume
support.
- API.java allow partial reads
- debug_cb buffer type warning
- MMQ rewrite the last of the old scanhash loop and drastically reduce CPU
- hash_sole_work can be static
- Make the numbuf larger to accept larger scrypt parameters.
- Keep the unique id of each work item across copy_work to prevent multiple work
items having the same id.
- Abstract out the main hashing loop to allow us to use a separate loop for
devices that are fast enough to require queued work.
- Provide a noop thread_enable function for drivers that don't support it.
- Provide a noop thread_shutdown function for drivers that don't support it.
- Provide a noop hw_error function for drivers that don't support it.
- Provide a noop prepare_work for drivers that don't support it.
- Provide a noop thread_init for drivers that don't support it.
- Provide a noop can_limit_work for devices that don't support it.
- Provide a noop thread_prepare function for drivers that don't use
thread_prepare.
- Use blank_get_statline_before for GPU devices that don't support adl
monitoring.
- Provide a noop get_stats function for drivers that don't support it.
- Provide a blank get_statline for drivers that don't support it.
- Provide a blank get_statline_before function for drivers that don't have one.
- Fill drivers missing reinit_device with a noop version.
- add 'count' to cumstomsummarypage 'calc'
- hotplug use get_thread() where appropriate
- convert sleep(const) to nmsleep()
- remove empty #ifdef
- call a separate get_devices() with locking, as required
- usbutils - avoid free cgusb twice
- usbutils hotplug v0.1
- Report USB nodev as ZOMBIE on the screen
- Change file modes.
8602  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windws/osx/mip/r-pi 2.10.5 on: March 01, 2013, 08:41:18 PM
Is there a way to make the timeout for pools that are down quicker? Only on startup, When I shut my primary pool down, the cgminer process hangs for 2-30 seconds before it gives up and drops to pool 2/backup. In older versions it was instant. In 2.10.x it just sits there.
That's cause it's checking all 3 protocols and has to give all of them a reasonable timeout duration... Kind of a catch 22 problem. I want to shorten it next version but some pools really need up to 60 seconds to connect.
8603  Bitcoin / Pools / Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 01, 2013, 03:23:23 PM

not quite true, u can even use BFL FPGA's with p2pool if you use cgminer in combination with --bfl-range

--bfl-range does not work with singles, but only with minirigs, if I remember correctly.

spiccioli
Minirigs only, yes, and the first generation MRs didn't even support it.

On the other hand, it will be totally irrelevant with ASIC hardware since it hashes so fast there is no need to cut work up into smaller chunks.
8604  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windws/osx/mip/r-pi 2.10.5 on: February 28, 2013, 09:17:29 PM
I'm trying to mine litecoins under linux with a 6950 and a 6990. The 6950 works fine but the 6990 isn't detected. I tried it with and without the crossfire cable but the result is the same:

Quote
./cgminer -n
[2013-02-28 17:53:16] This error says the device is not enabled                   

Any ideas?
It's not enabled...

Try reconfiguring Xorg
sudo aticonfig --adapter=all -f --initial
8605  Other / CPU/GPU Bitcoin mining hardware / Re: Mining on a HD4000 and a 2500 (Yes, I hate the Enviroment ) on: February 28, 2013, 12:39:25 PM
I knew the GPUs had the capability, it's just that Intel hadn't created an openCL SDK for them till very recently, and as you can see it's still listed as beta.
8606  Bitcoin / Hardware / Re: Delivery estimate for BFL single? on: February 28, 2013, 10:56:08 AM
4-6 weeks
8607  Bitcoin / Hardware / Re: Are Avalon's hard to use or setup compared to Butterfly? on: February 28, 2013, 09:43:37 AM
Avalon is almost trivial to set up. Initially you need a computer to set it up but after that, even the computer is not needed. But... the firmware that is currently installed on it is still not stable with the few Avalon owners out there forced to regularly reboot it when it just stops. Of course with time this will be fixed, but as trivial as it is to set up, it's not a set-up-and-forget affair just yet...

When the BFL hardware eventually comes out, we plan to work very hard to make cgminer work very well on it and become reliable software to use quickly and to run stable for very long periods without intervention. However it will require a separate PC/laptop/tablet/phone or something to actually keep running it.
8608  Other / CPU/GPU Bitcoin mining hardware / Re: Mining on a HD4000 and a 2500 (Yes, I hate the Enviroment ) on: February 28, 2013, 09:27:04 AM
OpenCL still does not work on the integrated GPU on Intel CPUs.

I hate to say this but why is CGminer working on it then? would you like screen shots?

Also CKo since i trust you I can let you log into one of the remote boxes to poke it.
I take it back, having looked at the intel websHite again, http://software.intel.com/en-us/vcsource/tools/opencl-sdk says "OpenCL 1.2
(OpenCL 1.2 on CPU mixed with OpenCL 1.1 on Intel® HD Graphics) (Version 2013 Beta)" which is new to me.
8609  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windws/osx/mip/r-pi 2.10.5 on: February 28, 2013, 03:57:41 AM
Queued work and efficiency mean pretty much nothing now, especially with stratum. It's simply a function of how often the pool is sending you a new template and there is no "standard" for that, some do 30 seconds, some 60 etc. The more often they're sending you a template, then potentially the more transactions you're supporting if the pool is adding all the latest transactions every 30 seconds instead of 60, but even that equation isn't clear with bitcoind not necessarily simply taking all transactions. The work queueing in cgminer is a fairly complex machine designed for optimally keeping devices as busy as possible, and trying to balance things between pools for whatever reason is a distant second priority. Trying to improve the latter will come at the price of the former. This will become far more acute with ASIC hashrates than it is at the moment with GPUs, and it clearly works with avalon running ~66 or 88 GH off a very low power CPU with cgminer. I doubt the equivalent of the CPU hardware in the Avalon could handle a 1.5TH minirig when they come out but a regular desktop/laptop/tablet CPU will easily do so, and cgminer is heavily multithreaded so multicore/mulithread CPUs (which are everywhere in these devices) are advantageous.
8610  Other / CPU/GPU Bitcoin mining hardware / Re: Mining on a HD4000 and a 2500 (Yes, I hate the Enviroment ) on: February 27, 2013, 11:19:28 PM
OpenCL still does not work on the integrated GPU on Intel CPUs.
8611  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: February 27, 2013, 08:30:59 AM
Intrinsically stratum is inherently faster and lower overhead than longpoll for both the server and the client. Minerd is fast. Cgminer is fast. Stratum is fast. On the other hand I can't speak for any other implementation at the other end.
8612  Bitcoin / Pools / Re: [8000 GH] BTC Guild - PPS/PPLNS with TxFees, Stratum+Vardiff ASIC Tested on: February 26, 2013, 08:05:12 PM
UPDATE 3:  Looks like my noon estimate might have been in BFL-time!  I promise it won't take 6+ months to finally deploy!
No, but it might take 4-6 weeks.
8613  Bitcoin / Mining software (miners) / Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windws/osx/mip/r-pi 2.10.5 on: February 26, 2013, 05:13:03 AM
When spreading shares out to multiple pools it is guaranteed your reject rate will be higher because every pool has a slightly different time they see the block change. How to best manage that is a point of contention. It was far more useful for shares to "leak" with the old getwork protocol because it would be common one pool could not keep up the work for all miners especially across longpoll. I do recall one lucky user in this thread had shares leak to his local bitcoind and actually found a block with one of those! Since stratum (and gbt) use completely local work generation, there is not much point to this any more.
8614  Other / CPU/GPU Bitcoin mining hardware / Re: How do you overclock a 7970 past 1125Mhz? on: February 26, 2013, 04:04:56 AM
Weird. I don't change voltage on any of mine on linux and just set the engine clock to whatever I want just from cgminer. Overvolting is about the only kind of overclocking which is dangerous and hugely wasteful powerwise. Some were stable at 1145 while one was stable at 1200.
8615  Bitcoin / Pools / Re: [2000 GH/s] EMC: No Fee/PPS/DGM/Dwolla/SMS/2FA/GBT/Stratum/Vardiff on: February 25, 2013, 10:06:24 PM
Pretty much every pool except for deepbit is ready for ASIC hashrates.
I've spent the past few days scouring thru this thread, and only like half of them seem to be ASIC ready. I consider ASIC ready to be Stratum and VarrDiff, but I'll accept GBT and manually adjusted diff, if you must. Now you would know more about what goes into making a stable pool ASIC ready than I would, but I'm just looking for who has the features I want. Either way, I only found about 5-6 pools that I considered to be top notch, and EMC was in that list.
Indeed you're right, stratum alone is not enough, as higher diffs are required, but I tend to only think of 5-6 pools as being significant and perhaps I was just looking for an opportunity to point out that deepbit was not one of them.
8616  Other / Archival / Re: Pictures of your mining rigs! on: February 25, 2013, 09:55:13 AM
If its on a really nice looking rack, it should be less of an eye sore and should open up the number of opportunities we have at getting is placed somewhere.
Always a fan of a really nice looking rack.
8617  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: February 25, 2013, 07:21:30 AM
This looks good. Thanks for including the user-agent in there as well.

Note the session ID has changed between the initial subscription and the resume, BUT the extranonce1 has remained the same. This tells the miner it can (re)submit shares before the disconnection.

If the resume fails, how should the server respond? Give an error, or just a new extranonce1?

If the old connection is still there, I guess the server could disconnect it. That means the session ID must be hard to guess so you can't disconnect other people. You must also be very sure that you don't give out the same session ID twice, or you'll have two workers disconnecting each other all day.

It's safer to never resume a connection that still appears up to the server. But I wonder how often it will happen that a client tries to resume before the server discovers that the old connection is dead.

Letting both connections stay seems like a bad idea. They'd both be doing the same hashes in the unlikely event that they both keep hashing.

I think submitting a new extranonce1 is all that is required. We should view the sessionid submission as a hint only and let the pool decide what to do. You will indeed need unique session IDs for this support to work. When luke-Jr tested it, he found that the old connection was not actually detached before I was requesting a new one with the sessionID. This is not surprising given how difficult it can be to tell that a raw socket is actually broken or not. I suspect that dropping the first connection there is the answer.
8618  Bitcoin / Pools / Re: [2000 GH/s] EMC: No Fee/PPS/DGM/Dwolla/SMS/2FA/GBT/Stratum/Vardiff on: February 25, 2013, 06:38:22 AM
Hey Josh,

This had probably been asked before, but will EMC be ready for the wave of ASIC? I assume you'd get a ton more traffic with all the shares being submitted. Was just hoping once I get my new tech, I'd have a pool I could start mining with.
Pretty much every pool except for deepbit is ready for ASIC hashrates.
8619  Other / Beginners & Help / Re: Quad HD 7970 Bitcoin Miner - PSU Req.? on: February 25, 2013, 06:05:34 AM
My 4x7970 rig had a 1250W OCZ Gold PSU. It uses ~1150 at the wall when maxed out hot fans high overclocked and no real power saving option is in use. Bear in mind it had a couple of hard drives and the case has lots of fans too.
8620  Bitcoin / Pools / Re: [ANN] Stratum mining protocol - ASIC ready on: February 25, 2013, 02:22:24 AM
Ok for those not watching the discussion on #stratum on IRC, I believe we have a final protocol for mining resume which should not break any clients or pools.

It was decided that the parameters could include both the user agent and the session ID as the first and second parameters. If this fails cgminer/other clients should resort to sending blank set of parameters as previously.

The session Id, it was decided, would be encoded along with the notification message "mining.notify" as a member of the 3 deep array parameters returned for "result" by the pool.

See the following for an example of an initial connect followed by a reconnect.
Code:
 [2013-02-25 10:30:58] SEND: {"id": 0, "method": "mining.subscribe", "params": ["cgminer/2.10.5"]}
 [2013-02-25 10:30:58] RECVD: {"result": [[["mining.notify", "02000000b507a8fd1ea2b7d9cdec867086f6935228aba1540154f83930377ea5a2e37108"], ["mining.set_difficulty", "02000000b507a8fd1ea2b7d9cdec867086f6935228aba1540154f83930377ea5a2e371082"]], "02000000", 4], "id": 0, "error": null}
 [2013-02-25 10:30:58] Pool 0 stratum session id: 02000000b507a8fd1ea2b7d9cdec867086f6935228aba1540154f83930377ea5a2e37108
 [2013-02-25 10:30:58] Pool 0 confirmed mining.subscribe with extranonce1 02000000 extran2size 4

 [2013-02-25 10:33:00] SEND: {"id": 2, "method": "mining.subscribe", "params": ["cgminer/2.10.5", "02000000b507a8fd1ea2b7d9cdec867086f6935228aba1540154f83930377ea5a2e37108"]}
 [2013-02-25 10:33:00] RECVD: {"result": [[["mining.notify", "02000000c33cfaa37a964c2ba76c78b99dc170a1b1fe7a5fe025f72e89afba7fc6f23d0e"], ["mining.set_difficulty", "02000000c33cfaa37a964c2ba76c78b99dc170a1b1fe7a5fe025f72e89afba7fc6f23d0e2"]], "02000000", 4], "id": 2, "error": null}
 [2013-02-25 10:33:00] Pool 0 stratum session id: 02000000c33cfaa37a964c2ba76c78b99dc170a1b1fe7a5fe025f72e89afba7fc6f23d0e
 [2013-02-25 10:33:00] Pool 0 confirmed mining.subscribe with extranonce1 02000000 extran2size 4
Note the session ID has changed between the initial subscription and the resume, BUT the extranonce1 has remained the same. This tells the miner it can (re)submit shares before the disconnection.

Hopefully we will not need to revise this any further.
Pages: « 1 ... 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 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 ... 570 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!