Bitcoin Forum
May 02, 2024, 06:35:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 »
11141  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 21, 2011, 09:48:24 PM
Great work, ckolivas.

Just being unclear about the mining-speed hinders me from switching all my miners to cgminer. I'm on Windows 7 (x86) with a 6950

phoenix shows 245.5 Mh/s with these settings:

Code:
phoenix -u http://user:pass@nl.btcguild.com:8332/ -k phatk DEVICE=0 VECTORS AGGRESSION=11 BFI_INT WORKSIZE=128 FASTLOOP=false

With cgminer the avg value is like 244.0 Mh/s (the momentary value show next to GPU 0 is like 252.5 Mh/s).with:

Code:
cgminer --algo c -o http://nl.btcguild.com:8332 -u user -p pass -I 8 -l 2


Which of the values shown are comparable?

I don't really want to run long-term tests to compare the number of shares produced by each one of them.

Thanks. The "algo c" does nothing with GPU mining, it's for CPU mining. That is pretty much the best settings for your hardware. The 5 second average unfortunately is always going to jump around (due to it being coarse intentionally to avoid overhead, and in your case you have it set to 2 seconds with -l 2) and the overall average settles down after about 5 minutes or so.  That is a true all time average of hashes done / time running.
11142  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 21, 2011, 09:06:39 PM
I thought this miner would be faster than ufasoft miner for CPU(SSE4).
However, it is much slower on windows.
There is no windows build with the sse2 and sse4 support. Someone needs to build a 64 bit version to get those.
11143  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 21, 2011, 01:55:33 AM
So your shell was also 80 columns Tongue
11144  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 21, 2011, 01:45:22 AM
The 1.3.1 release solved my issue with blank lines between the log entries. Thanks!
You're welcome! The issue was that windows opens a standard dos shell in 80 columns and the default text was slightly wider than 80 so I made it more concise. Smiley
11145  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 21, 2011, 01:06:00 AM
One thing I've been meaning to ask: why is the -n option available when cgminer isn't compiled with GPU mining support? Is the output actually useful (i.e. it shows the amount of devices that could be used for GPU mining), or will it just simply always print out "0 GPU devices detected"?
Oversight.
11146  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 21, 2011, 12:45:16 AM
Darn. You do have the 2.4 SDK installed don't you?
11147  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 09:39:09 PM
On a side note, cgminer seems to use a lot of CPU for GPU mining in Windows, and all found hashes get rejected.  Same nVidia card, and I know phoenix gets a lot of rejects too if I use BFI_INT.  I saw that BFI_INT is used in the original post, but I didn't see any way to disable it in the parameters.  Is it possible to disable it, or is this miner meant for ATI only?
That should not be the case (the infinite rejects). There was an older version which had a bug with the nvidia implemented kernel and that would happen, but shouldn't happen with the latest version. cgminer only uses bfi int patching on cards that support it, and uses a separate kernel for nvidia cards.

Re the high cpu usage: Setting an intensity level usually uses a lot less CPU than letting it figure it out dynamically, but the windows build just uses a lot more cpu in general.
11148  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 09:36:55 PM
I use a windows batch file to run it.

anyone windows can use it too.
pastes this into bat file you make inside the cgminer directory

Code:
@echo off
:A
Cls
cgminer -o http://pit.deepbit.net:8332 -u tasty@wtfiswrongwu.com -p passwurd -g 10 -w 256 -d 0

I haven't been able to figure out kernel, work size GPU and CPU threads yet though.
I need to figure out how many threads my GPU has first though.

oh just figured out GPU threads and worksize. -g 10 -w 256

MAN, that works good!
I suggest you don't give it a -g parameter at all. The default of 2 is often the best, but feel free to experiment.
11149  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 09:35:00 PM
2) Running the program from /usr/local/bin/ results in non-ncurses output (without flag) and the program segfaults on exit (ctrl-c) without displaying statistics.

If i use the screen and start the program, I can never exit properly and get the stats.
 
BTW, I did not run install on cgminer so it is not in /opt/ or   /usr/local/bin/

It does not support "make install" just yet.
11150  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 03:02:28 PM
Running 1.3.0 on Fedora 14 x86.. Had it hang last night, and no either awareness of the hang, and/or no attempt at recovery.. Here's what I saw on the screen:
Ideas?

Thread restart was temporarily disabled on 1.3.0 pending further changes. It's been reimplemented in 1.3.1 so please upgrade. Sometimes the GPU code just gets stuck and the GPU never returns, killing off the thread. That's why I put the thread watchdog in there but I had to disable it in 1.3.0 till more code went in to match architectural changes.
11151  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 03:00:06 PM
Thank you!

Further along the road, but still bombing out with a "This program has stopped working" error:

Code:
[2011-07-20 15:55:04] Long-polling activated for http://pit.deepbit.net:8332/listenChannel
[2011-07-20 15:55:04] Successfully retreived and deciphered work from pool 0 http://pit.deepbit.net:8332
[2011-07-20 15:55:04] Pool 0 http://pit.deepbit.net:8332 active
[2011-07-20 15:55:04] Init GPU thread 0
[2011-07-20 15:55:04] List of devices:
[2011-07-20 15:55:04]   0       Cayman
[2011-07-20 15:55:04]   1       Cayman
[2011-07-20 15:55:04] Selected 0: Cayman
[2011-07-20 15:55:04] Preferred vector width reported 4
[2011-07-20 15:55:04] Max work group size reported 256
[2011-07-20 15:55:04] No binary found, generating from source
[2011-07-20 15:55:04] Patched source to suit 2 vectors
[2011-07-20 15:55:04] cl_amd_media_ops found, patched source with BITALIGN
[2011-07-20 15:55:04] cl_amd_media_ops found, patched source with BFI_INT
[2011-07-20 15:55:05] binary size 0 : 0

Then boom!  Undecided

Reboot?
11152  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 02:51:31 PM
I have a problem getting 1.3.1 running on Windows. I'm starting using the following parameters:

Code:
cgminer -o http://deepbit.net -u myusername -p mypass -D

And get the following response:

Code:
[2011-07-20 14:09:44] JSON decode failed(1): '[' or '{' expected near '<'
[2011-07-20 14:09:44] Received kill message

Followed by a "This program has stopped working" message in Windows. I'm running Windows 7 64-bit and have SDK 2.4.

Any idea what could be wrong?
-o http://pit.deepbit.net:8332
11153  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 01:03:00 PM
ck, installed latest Catalyst, sdk 2.1, Ubuntu 10.04.3 x86_64, ATI FirePro V5700, compiles fine, when run:

Quote
cgminer version 1.3.1 - Started: [2011-07-20 14:45:22]
--------------------------------------------------------------------------------

 TQ: 1  ST: 1  LS: 0  SS: 0  DW: 0  NB: 0  LW: 0  LO: 0  RF: 0  I: 0
 Connected to http://api2.bitcoin.cz:8332 as user xxx
 Block xxx  started: [2011-07-20 14:45:22]
--------------------------------------------------------------------------------
 GPU 0: [0.0 Mh/s] [Q:0  A:0  R:0  HW:0  E:0%  U:0.00/m]
--------------------------------------------------------------------------------

[2011-07-20 14:45:24] Attempting to restart thread 0, idle for more than 60 seco
nds

Segmentation fault

Any idea?
Looks like it never got the threads started. Grab a fresh tarball, uninstall sdk2.1 and install sdk2.4 perhaps. The phatk kernel in it may no longer be compatible with 2.1.
11154  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 12:22:47 PM
Thanks for this great program!  I'll be sure to donate as soon as I start generating some decent bitcoin.

I had an issue with the (now) older version 1.2.8 where it would crash on startup when a system had more than 4 NVIDIA GPUs available (Windows 7 64-bit).  I'll test it again with the new version.


One issue I see with the new 1.3.1 version is with the --load-balance option with 2 pools, it continually repeats that new block detected before longpoll.  One pool is bitcoin while the other is namecoin if that makes a difference.  Running 2 instances separately this message does not occur.

Thanks for positive feedback Smiley Don't know about the nvidia gpus thing, sorry.

You can't mix bitcoin and namecoin in the same instance as the blocks won't match and it will continue to think every work item is from a new block. That's how it detects new blocks without a longpoll.
11155  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 12:07:20 PM
Btw, forgot to mention this doesn't seem to be working on Windows. And should the run time output include hash rate per thread? I only see per device.
The runtime summary only happens if the program exits cleanly. Windows just doesn't like me and the program has to be killed instead of stopped at this stage which is why you never get that summary. The hash rate per thread will add no useful information since the work is spread precisely evenly between each thread going to the same CPU.
11156  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 11:09:24 AM
I have never been able to get this miner working, added the -D flag to show results before windows error saying it has stopped working....

Code:
[2011-07-20 16:35:48] binary size 0 : 0

C:\Users\xxxxx\Desktop\cgm>

Any Suggestions?
When I've seen this bug before, those who had it reported that it got better after a reboot. Why, I don't know. Something to do with leaving the GPU in some indeterminate state from old code maybe. Make sure you delete any filenames with .bin in their name on the next boot before running it if it hasn't started successfully please.
11157  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 04:22:17 AM
New release: 1.3.1
Source:
http://ck.kolivas.org/apps/cgminer/cgminer-1.3.1.tar.bz2

Windows binary:
http://ck.kolivas.org/apps/cgminer/cgminer-1.3.1-win32.zip

Executive summary:
Multiple failover strategies available by user choice. More lax with inputting values for multiple pools. Faster switch on pool change. Watchdog thread for dead GPU threads reinstated.


- Feature upgrade; Multiple strategies for failover. Choose from default which
now falls back to a priority order from 1st to last, round robin which only
changes pools when one is idle, rotate which changes pools at user-defined
intervals, and load-balance which spreads the work evenly amongst all pools.
- Implement pool rotation strategy.
- Implement load balancing algorithm by rotating requests to each pool.
- Timeout on failed discarding of staged requests.
- Implement proper flagging of idle pools, test them with the watchdog thread,
and failover correctly.
- Move pool active test to own function.
- Allow multiple strategies to be set for multipool management.
- Track pool number.
- Don't waste the work items queued on testing the pools at startup.
- Reinstate the mining thread watchdog restart.
- Add a getpoll bool into the thread information and don't restart threads stuck
waiting on work.
- Rename the idlenet bool for the pool for later use.
- Allow the user/pass userpass urls to be input in any order.
- When json rpc errors occur they occur in spits and starts, so trying to limit
them with the comms error bool doesn't stop a flood of them appearing.
- Reset the queued count to allow more work to be queued for the new pool on
pool switch.


New options:
--load-balance      Change multipool strategy from failover to even load balance
--rotate <arg>      Change multipool strategy from failover to regularly rotate at N minutes (default: 0)
--round-robin       Change multipool strategy from failover to round robin on failure


From the README:

FAILOVER STRATEGIES WITH MULTIPOOL:
A number of different strategies for dealing with multipool setups are
available. Each has their advantages and disadvantages so multiple strategies
are available by user choice, as per the following list:

FAILOVER:
The default strategy is failover. This means that if you input a number of
pools, it will try to use them as a priority list, moving away from the 1st
to the 2nd, 2nd to 3rd and so on. If any of the earlier pools recover, it will
move back to the higher priority ones.

ROUND ROBIN:
This strategy only moves from one pool to the next when the current one falls
idle and makes no attempt to move otherwise.

ROTATE:
This strategy moves at user-defined intervals from one active pool to the next,
skipping pools that are idle.

LOAD BALANCE:
This strategy sends work in equal amounts to all the pools specified. If any
pool falls idle, the rest will take up the slack keeping the miner busy.
11158  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 20, 2011, 12:19:23 AM
There isn't a binary distribution packaging command, only a source one (make distdir). Ycros has been packaging the 3 necessary dlls, the 2 .cl files, the executable and READMEs himself into zips. He may have automated it for himself, I'm not sure.
11159  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 19, 2011, 11:53:37 PM
Updated tree: Re-enabled the watchdog thread code (which was disabled in 1.3.0), reworked to be smarter and only restart threads not waiting on work and have gone idle for some other reason (gpu overheated, gpu code stuck etc.).
11160  Bitcoin / Mining software (miners) / Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx on: July 19, 2011, 01:52:08 PM
Updated git tree:
- The order of urls/user/pass is not critical any more so long as you give it the same number of urls and credentials
- json config file is now working again. json does not allow the same entry to be used twice so for the time being, to get two or more pools working you need to create a config file for each and pass multiple -c to cgminer. I'm considering options for how to tackle this, but likely using a urlX counter in the parameters will be the solution I go with. Or move to a different format entirely.
Pages: « 1 ... 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!