Bitcoin Forum
May 03, 2024, 01:03:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 [553] 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 »
11041  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 14, 2011, 11:45:55 PM
Please, can someone reliable make an official 1.5.4 windows build? Smiley

i`m begging for a newer win32 build for about a week or so Sad
If you look back a few pages, you will see i compiled an unofficial 1.5.3 version for windows, which works compared to the one ycros made, which doesn't. I can compile 1.5.4 as well, but since ckolivas is here, i am sure he will provide a windows binary of 1.5.4 himself.
Don't be so sure. The windows binaries till now have been provided by Ycros, not me. I've never compiled anything on windows before and spent a day yesterday trying to do it in a virtual machine and have so far failed. I will keep trying today but if I give up in disgust then I may ping you for your help. Alas I don't know you that well so the web of trust between us needs to be built up for me to be happy to distribute your binaries.
11042  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 14, 2011, 11:26:57 AM
HEADS UP TO GIT USERS.

The default branch is now "master" once more. Please use that instead of the branch called cgminer.
11043  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 14, 2011, 10:21:18 AM
What version of cgminer are you testing that does that? Because that's precisely what it does in submit_nonce:

   /* Do one last check before attempting to submit the work */
   if (!fulltest(work->data + 64, work->target))
      return true;

Or am I missing something Huh

Sorry, I am still on 1.4.something.  I avoided 1.5.x because of the several reports of problems with it and because you were out of town.  I'll try that now.
"forrestv" just informed me the fulltest function was disabled due to endian issues (I think) in the original cpuminer code that cgminer grew out of. Since cgminer pretty much only builds on little endian machines now anyway, it has been re-enabled, but only in the git tree. So this test is not active yet in the current release (1.5.4).
11044  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 14, 2011, 09:57:24 AM
Looks like the 1.5.3 configure script inadvertently dropped support for alternate cURL library path support via --with-libcurl:

Yes, because it's the crappy way to do it. The right way is to export a variable to specify the PKG_CONFIG_PATH to the correct *.pc file. See my RPMs for reference...

Sorry for bringing this up again but how do i compile  >=1.5.3  without installing curl?
You cannot.
11045  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 14, 2011, 04:29:25 AM
New release 1.5.4:

Source:
http://ck.kolivas.org/apps/cgminer/cgminer-1.5.4.tar.bz2
http://ck.kolivas.org/apps/cgminer/cgminer-1.5.4.tar.lrz

Linux x86_64 ubuntu binary:
http://ck.kolivas.org/apps/cgminer/cgminer-1.5.4-x86_64-built.tar.bz2
http://ck.kolivas.org/apps/cgminer/cgminer-1.5.4-x86_64-built.tar.lrz

Hopefully we can get a windows version from someone somewhere soon :O

Summary: cgminer should now use the backup pools much less frequently, should drop in performance on a longpoll much less, communicate with the server less, have higher efficiency, and hopefully have less problems with dying GPUs. It also supports the --monitor command (linux only at this stage).


Full Changelog:

- Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
will get forked by cgminer on startup. cgminer's stderr output subsequently gets
piped directly to this command.
- Allocate work from one function to be able to initialise variables added
later.
- Add missing fflush(stdout) for --ndevs and conclusion summary.
- Preinitialise the devices only once on startup.
- Move the non cl_ variables into the cgpu info struct to allow creating a new
cl state on reinit, preserving known GPU variables.
- Create a new context from scratch in initCQ in case something was corrupted to
maximise our chance of succesfully creating a new worker thread. Hopefully this
makes thread restart on GPU failure more reliable, without hanging everything
in the case of a completely wedged GPU.
- Display last initialised time in gpu management info, to know if a GPU has
been re-initialised.
- When pinging a sick cpu, flush finish and then ping it in a separate thread in
the hope it recovers without needing a restart, but without blocking code
elsewhere.
- Only consider a pool lagging if we actually need the work and we have none
staged despite queue requests stacking up. This decreases significantly the
amount of work that leaks to the backup pools.
- The can_roll function fails inappropriately in stale_work.
- Only put the message that a pool is down if not pinging it every minute. This
prevents cgminer from saying pool down at 1 minute intervals unless in debug
mode.
- Free all work in one place allowing us to perform actions on it in the future.
- Remove the extra shift in the output code which was of dubious benefit. In
fact in cgminer's implementation, removing this caused a miniscule speedup.
- Test each work item to see if it can be rolled instead of per-pool and roll
whenever possible, adhering to the 60 second timeout. This makes the period
after a longpoll have smaller dips in throughput, as well as requiring less
getworks overall thus increasing efficiency.
- Stick to rolling only work from the current pool unless we're in load balance
mode or lagging to avoid aggressive rolling imitating load balancing.
- If a work item has had any mining done on it, don't consider it discarded
work.
11046  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 13, 2011, 09:51:02 PM
What version of cgminer are you testing that does that? Because that's precisely what it does in submit_nonce:

   /* Do one last check before attempting to submit the work */
   if (!fulltest(work->data + 64, work->target))
      return true;

Or am I missing something Huh
11047  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 13, 2011, 02:20:26 AM
After running it for a while on my 6970s, I find even this change is of no benefit either  Undecided It's ever so slightly slower it appears. Not sure what to do now about all this.
I'll just be quiet and go back in my hole for a bit. :/
Don't be disheartened. I'm forever hacking up code and then deleting it. You wouldn't believe how much code I've thrown out so far working on cgminer. Not every experiment is successful.
11048  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 12, 2011, 10:48:05 PM
Current 110810 kernel on git has 1368 ALU OPs for 58XX and 1696 for 69XX, that's neither phatk 2.2 nor my latest result (which is 1364 / 1688), but a bit faster than the last official CGMINER kernel. I mailed my latest version to Con for review Wink.

The added __attribute__((vec_type_hint(u))) is unknown to the compiler and throws a warning, but IS mentioned in the OpenCL 1.1 manual ... strange.

Dia
Correct, it's not 2.2, nor your most recent. It was an honest attempt at integrating *both* of them, but I think now that  I missed a few things.

I had noticed the Kernel Analyzer threw an error about vec_type_hint, but it compiles without issue on linux. I don't have native windows (only virtualized) to test anything there. In testing, I was unsure as to whether vec_type_hint made an improvement, but I was certain that it wasn't the opposite.
After running it for a while on my 6970s, I find even this change is of no benefit either  Undecided It's ever so slightly slower it appears. Not sure what to do now about all this.
11049  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 12, 2011, 03:06:00 PM
Ofcourse. Just use cgminer.exe -c pool1.cfg -c pool2.cfg

or use multiple -o, -u, -p statements. Works fine here. (.ie cgminer.exe -o http://url_pool1:port -u username_pool1 -p pass_pool1 -o http://url_pool2:port -u username_pool2 -p pass_pool2)

Nice, I'll give that a shot.  So, the second -o/u/p set is not used at all unless the first is down?  Will it automatically failback to the original?  Can you have a third or fourth set as well?

Just wondering Smiley
You can have as many as you like, and it will trickle work to the 2nd and 3rd when the 1st is relatively slow, or fail over completely to the 2nd when the 1st dies. Alternatively you can change the pool strategy to load balance where it shares work between all of them, etc... check the readme or top post in this forum. Also you can do all of this live while it's running just by pressing P and checking the options.
11050  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 12, 2011, 09:29:49 AM

Just tried cgminer's latest head (@5411a13ad7140ced511782914e58395c10c76c1b)
and it's consistently slower than yesterday's head by about 10MH/s per GPU core.

Sad



And that's almost certainly the return code which affected mine also. I'll be reverting it shortly.

edit: reverting just that change fixes it instantly.
11051  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 12, 2011, 06:08:44 AM
Unfortunately, on my 6970s it is actually appearing to be slower  Huh I may have to revert this change.

edit: On my 6770 it's clearly faster and clearly slower on the 6970s... now I'm really confused.

The OpenCL compiler and resulting performance seems to be far way of beeing consistent :-/.
Are you on SDK 2.5 yet?

Dia
Was on 2.4, tried 2.5 and it's still consistently slower.
11052  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 12, 2011, 04:30:03 AM
Unfortunately, on my 6970s it is actually appearing to be slower  Huh I may have to revert this change.

edit: On my 6770 it's clearly faster and clearly slower on the 6970s... now I'm really confused.
11053  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 12, 2011, 01:58:06 AM
One thing I definitely want from Diapolo's most recent work is the new output method.
It's interesting that it should be faster

a = (b == c);
is the same as
if (b == c) a = 1; else a = 0;

as far as code is concerned and ends up being compiled into the same thing in c.

Perhaps it's a weakness in the opencl compiler, or maybe it's just the jump path is inefficient since there are multiple statements in the if {} loop.

Anyway I've merged it for what it's worth, and updated poclbm accordingly as well.

(EDIT: By the way, I'm not seeing any improvement).
11054  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 12, 2011, 01:14:36 AM
I would say you need to attribute ZERO value to any perceived changed to utility and efficiency. It's entirely network dependent, so please do not place any value on it. When pools with 3Thash or more can go from -40 to +10% efficiency, it's impossible to use those to determine performance.
11055  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 11, 2011, 11:22:24 PM
Sorry I mixed you up with ah42. I'm quite aware of the changes required to make it work though, thanks.
11056  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 11, 2011, 09:47:49 PM

It's not Diapolo's last changes I want in cgminer, but rather phateus's latest (phatk 2.2).
This runs at 371 MH/s on my 5970s


And now that I look at the code ... the phatk kernel has an API that is not compatible
with what cgminer calls (phatk OpenCL code requires pre-computed values that aren't
provided by cgminer) Sad

I guess the approach phoenix took is the best: via the __init__.py module it lets a
kernel precompute whatever it wants before it calls the OpenCL code ... we would
need something similar for cgminer (i.e. a combination of a .cl kernel and some
init code). Unfortunately, that's kind of hard to pull off in C (short of adding a LUA
interpreter to cgminer). Tough.



I was mistakenly under the impression your changes incorporated everything from the latest kernels. Perhaps I may have to roll them all back and start porting it all myself. Darn.  Undecided
11057  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 11, 2011, 01:00:37 PM
ALUs are not the only way to judge performance.
11058  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 11, 2011, 10:46:42 AM
I have incorporated his changes into the main git tree now.
11059  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: August 10, 2011, 03:19:11 PM
Since Con is away...

I thought I'd take a try at integrating some of the recent changes in both phatk kernel threads. (here and here)
I've also changed the method used to specify various #defines for the kernels by simply specifying the defines as build options for clBuildProgram() instead of editing the .cl text on the fly. (so much simpler!)

Compared to the current kernel in cgminer 1.5.3, this does benefit from reduced ALU OPs, although not as much as either of the other phatk kernels:

1.5.3:
VLIW4: 1699 ALU OPs
VLIW5: 1376 ALU OPs

Mine:
VLIW4: 1694 ALU OPs
VLIW5: 1368 ALU OPs

My changes are here at github, but it's all in one big ugly commit, and not broken out by the individual changes, so i don't feel comfortable in the slightest offering a pull request to CK for it.
Don't be scared. You're doing good work. I'll play with your changes and see if they break anything Smiley
11060  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 30, 2011, 03:23:42 PM
Also be aware that it may silently pretend to set the values but not actually do so. Although my 6970s report ram speeds possible of 320-1450, if I set them to anything below 825, it actually just resets them to normal values.
Pages: « 1 ... 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 [553] 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!