Bitcoin Forum
May 27, 2024, 12:53:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 [7] 8 9 »
121  Bitcoin / Development & Technical Discussion / Re: RFC: Remove mining from bitcoin? on: November 08, 2010, 09:15:25 AM
This "remote mining" scheme with active TCP connections is superior to the polled 'getwork' method in use by some GPU miners.  Incorporating remote mining into upstream will also provide a very strong incentive for GPU miner authors to use upstream bitcoin without modification (a win for open source, IMO).

I definitely agree. Push-based work distribution is the way to go. I just wanted to make as few changes as possible using existing RPC server. My hope was that BTC developers will evaluate the idea and make something better to get in the mainline. Perhaps we should just implement this 8334 push patch and propose it for inclusion?

Also, it's OK to have CPU generation in mainline. Just let the user decide how much resources he is willing to give. Something like how many lottery tickets he is willing to buy.
122  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: November 03, 2010, 01:48:19 PM
Its not for the masses obviously.  Sad

Edit btc_miner.cl

Insert at the top

#pragma OPENCL EXTENSION cl_amd_media_ops : enable

change

#define rot(x, y) rotate(x, (uint)y)

to

#define rot(x, y) amd_bitalign(x, x, (uint)(32-y))

See Stream SDK OpenCL Programming Guide for details.

I'll try to add some macro to resolve this by default.
123  Economy / Speculation / Re: Bitcoin Technical Analysis on: November 01, 2010, 02:55:39 PM
If some commodity (bitcoin for example) has changed it's price significantly against some well established currency ($) shouldn't its trading volume decline? Because volume of 50 000 BTC at 0.06$ and 0.2$ represents proportionally different volume in $. It will stay the same only if the actual volume of the economy is larger.

Perhaps BTC exchangers should provide volume data in their other currencies? This will provide more realistic view in my opinion.
124  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: November 01, 2010, 10:15:50 AM
Just fixed problem with getwork (different miners were showing same results). Updated to SVN 173. See for windows build in first post.
125  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 31, 2010, 08:17:19 AM
Sorry guys, I screwed it with the update to SVN 170. There is a bug in getwork patch that makes poclbm useless with more than a single instance. Until this is fixed anyone using more than one instance should use previous version of the patch (against SVN 166). Win32 binary bitcoin-getwork-svn166-win32.7z
126  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 31, 2010, 06:23:39 AM
Well, this is not good. I will take a look to figure it out.
127  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 30, 2010, 09:14:43 PM
The block won't show up. This happens when the network discovered block just after last request for work by the miner. This is the drawback of the pull manner in which getwork... works. The probability for this to happen is 1/60 with ask rate of 10 seconds and 1/120 with ask rate of 5 seconds. It will be better if work is provided in 'push' manner, but I didn't want to complicate the client with separate server thread.
128  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 23, 2010, 04:59:26 PM
From now on I'll post latest versions only in the initial post of this thread.
129  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 23, 2010, 04:43:32 PM
The miner should display 'bitcoin is downloading blocks...' until all blocks are downloaded. Please test. This was added in the SVN 163 patched client.

David, I removed usage of vectors. So the '-w 128' is not relevant anymore. Of course you can grab the vectors version from git and use it like before. It is really difficult to optimize for all possible devices. Current version is kind of best for all.
130  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 21, 2010, 01:45:40 PM
bitcoin-getwork-svn170-win32.7z

poclbm_win32_exe.7z Wrong kernel was packed in the py2exe version, now fixed. Removed AMD OpenCL.dll to prevent conflicts.

I also reverted back to scalars. With vectors it was faster, but required hardware specific tweaks and was making it slower for others. Unfortunately OpenCL is not mature enough to provide means of automatic performance optimization.
131  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 19, 2010, 02:54:54 PM
Thanks Jef! There is new version that should work on Nvidia now. I also changed default getwork request rate to 5 seconds to reduce the risk of solving stale block. The patch itself has now one more check to not show 'proof of work found' in this case.

Can someone with Nvidia please test this, it should resolve the 'code selection failed to select' issue.
132  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 18, 2010, 05:11:21 AM
Jef, at least it's now clear the problem is in the bytereverse(x) macro. Please try to replace it with:

uint bytereverse(const uint x)
{
   uint result;
   uchar* b = (uchar *)&x;
   uchar* l = (uchar *)&result;
   l[0] = b[3];
   l[1] = b[2];
   l[2] = b[1];
   l[3] = b[0];
   return result;
}
133  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 17, 2010, 04:23:47 AM
jef.blanc, try to replace the rotate() function with some native rotate left. rotate() is compiled to bit_align AMD specific instruction on AMD. Also there are problems with casts... I switched to uint2 vectors and all operations with mixed types (vector, scalar) work fine on AMD, but Nvidia compilator has problems.
134  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 16, 2010, 05:18:48 PM
The IDs stay the same as long as there are no changes in hardware (new cards for example).

The -w parameter sets the number of 'work group size' (local threads). Unfortunately it's very difficult to determine the optimal value for this because it's different on different hardware platforms. The default is to use maximum reported by OpenCL for the specific hardware. This also was the behavior of previous versions. Last days I tried an optimization which tests two hashes in kernel run and it is 1-2% slower with default local threads (5770 - 256), but 5-6% faster with half of them (128) and global threads little bit more (-f 35). Generally, with default parameters one should achieve about the same or slightly worse performance than before.
135  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 16, 2010, 07:08:11 AM
bethel, what are 5870s showing at stock frequency (850 MHz)? Perhaps one of the cards throttles down?

Latest version has new parameter, -w, to set work group size. I have best results on 5770 with -w 128 -f 35.
136  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 13, 2010, 07:57:02 PM
Jimbo, please try this and see if the tool shows OpenCL is supported. It would be helpful if you post a screenshot.
137  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 11, 2010, 07:49:15 AM

Error: Code selection failed to select: 0x138fdc0: i32 = bswap 0x138fbc0


Try to update your GPU driver. See http://forums.nvidia.com/index.php?showtopic=150585

It seems OpenCL is still problematic on Nvidia GPUs. Unfortunately I don't have one to try to make a PyCuda miner.
138  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 10, 2010, 05:10:12 AM
It only tries to keep single kernel run under specific time by changing the number of 'global' threads. If you start a game, kernel execution will get slower. The number of threads will then be gradually adjusted to achieve the desired execution time.

By default this time is 1/60 of a second. If shorter i.e. 1/120 sec it will leave more time for other GPU tasks.

This is adjusted with the '-f' switch.
139  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 08, 2010, 01:47:26 PM
Right after these lines is there something like:

ProcessBlock: ACCEPTED
sending: inv (37 bytes)

If so (and you are sure this is the block in question) it was announced to the network, but another block got included in the chain instead. Do you have other blocks after that?

BTW, if you want poclbm to crunch slower, start it with something like -f 400. Experiment with the number.
140  Bitcoin / Mining software (miners) / Re: OpenCL miner for the masses on: October 08, 2010, 05:23:15 AM
Here's one for you.

It just found another block, and... bitcoin doesn't show anything...

The miner asks for work at an interval of 10 seconds. If there is a new block from the network in the last such interval your client won't even try to announce your own next block. I am not sure, but I think this is the behavior of the original client too. Please take a look at your debug.log and if possible send me an excerpt from around where this happened. Look for terms like "SetBestChain" and "height=" if you know the block number.

Sometimes the client just doesn't show the new transaction right away.
Pages: « 1 2 3 4 5 6 [7] 8 9 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!