Con Kolivas
|
ce6af96821
|
Make the rolling log-second average more accurate.
|
2011-07-26 10:45:52 +10:00 |
|
Con Kolivas
|
7707ed4db1
|
Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or try restarting them.
Keep track of which GPUs are alive versus enabled.
Start threads for devices that are even disabled, but don't allow them to start working.
|
2011-07-26 10:26:03 +10:00 |
|
Con Kolivas
|
7143c25b72
|
The last pool is when we are low in total_pools, not active_pools.
|
2011-07-25 16:44:24 +10:00 |
|
Con Kolivas
|
a53716dc7f
|
Fix compiler warnings.
|
2011-07-25 13:59:34 +10:00 |
|
Con Kolivas
|
b3d20b573c
|
Make the thread restart do a pthread_join after disabling the device, only re-enabling it if we succeed in restarting the thread.
Do this from a separate thread so as to not block any other code.
This will allow cgminer to continue even if one GPU hangs.
|
2011-07-25 13:55:01 +10:00 |
|
Con Kolivas
|
a187fe1e7b
|
Try to do every curses manipulation under the curses lock.
|
2011-07-25 13:00:44 +10:00 |
|
Con Kolivas
|
508c5c4b12
|
Detect when the primary pool is lagging and start queueing requests on backup pools if possible before needing to roll work.
|
2011-07-24 12:07:44 +10:00 |
|
Con Kolivas
|
afcff07012
|
Load balancing puts more into the current pool if there are disabled pools. Fix.
|
2011-07-24 11:25:23 +10:00 |
|
Con Kolivas
|
27c7d2a480
|
Disable a GPU device should the thread fail to init.
|
2011-07-24 10:59:19 +10:00 |
|
Con Kolivas
|
9a928e3407
|
Fix possible dereference on blank inputs during input_pool.
|
2011-07-24 08:55:16 +10:00 |
|
Con Kolivas
|
1a789a40c7
|
Defines missing would segfault on --help when no sse mining is built in.
|
2011-07-24 08:51:07 +10:00 |
|
Con Kolivas
|
fd473afedc
|
Revert "Free up resources/stale compilers."
This reverts commit b4960ec36bca6663ecb0853752d0d777d81f9df1.
Didn't help and might have caused other issues.
|
2011-07-24 08:44:14 +10:00 |
|
Con Kolivas
|
f3c5f55481
|
Only try to print the status of active devices.
|
2011-07-24 08:42:07 +10:00 |
|
Con Kolivas
|
020cf7d63f
|
Build support in for all SSE if possible and only set the default according to machine capabilities.
|
2011-07-23 16:19:51 +10:00 |
|
Con Kolivas
|
039a5ea7cd
|
No need to make leaveok changes win32 only.
|
2011-07-23 16:17:28 +10:00 |
|
Ycros
|
a150140eb7
|
Merge branch 'cgminer' of git://github.com/ckolivas/cgminer into cgminer
|
2011-07-23 16:00:49 +10:00 |
|
Con Kolivas
|
a9e1a25518
|
Make it possible to select the choice of kernel on the command line.
|
2011-07-23 15:15:46 +10:00 |
|
Con Kolivas
|
116a9dc025
|
Update phatk kernel to one with new parameters for slightly less overhead again.
Make the queue kernel parameters call a function pointer to select phatk or poclbm.
|
2011-07-23 14:17:25 +10:00 |
|
Con Kolivas
|
b5358483c3
|
Cannot print the status of threads that don't exist so just queue enough work for the number of mining threads to prevent crash with -Q N.
|
2011-07-23 09:37:22 +10:00 |
|
Ycros
|
e615b61f0a
|
Merge branch 'cgminer' of git://github.com/ckolivas/cgminer into cgminer
|
2011-07-23 02:26:07 +10:00 |
|
Ycros
|
e04aee24d3
|
Win32: Fix for mangled output on the terminal on exit.
|
2011-07-23 02:25:54 +10:00 |
|
Con Kolivas
|
8d4fbc3258
|
Clear log window from consistent place. No need for locking since logging is disabled during input.
|
2011-07-23 00:45:03 +10:00 |
|
Con Kolivas
|
ba89a0a44f
|
Unlocking error on retry. Locking unnecessary anyway so remove it.
|
2011-07-23 00:33:01 +10:00 |
|
Con Kolivas
|
f94ca32dcf
|
Make sure intensity is carried over to thread count and is at least the minimum necessary to work.
|
2011-07-22 23:53:24 +10:00 |
|
Ycros
|
d37c3fe56b
|
Win32 threading and longpoll keepalive fixes.
|
2011-07-22 23:43:26 +10:00 |
|
Con Kolivas
|
e83a32a4e2
|
Remove the mandatory work requirement at startup by testing for invalid work being passed which allows for work to be queued immediately.
This also removes the requirement for resetting the timecodes at the start which caused huge over-estimates of hashing for a short period.
|
2011-07-22 23:37:50 +10:00 |
|
Con Kolivas
|
61e555e44c
|
Tell getwork how much of a work item we're likely to complete for future splitting up of work.
|
2011-07-22 22:22:14 +10:00 |
|
Con Kolivas
|
9e42d63cd6
|
With huge variation in GPU performance, allow intensity to go from -10 to +10.
|
2011-07-22 21:57:43 +10:00 |
|
Con Kolivas
|
61e5cc10e9
|
Extra refresh not required.
|
2011-07-22 20:12:32 +10:00 |
|
Con Kolivas
|
ae6eb1b0a3
|
Decrease testing log to info level.
|
2011-07-22 20:07:15 +10:00 |
|
Con Kolivas
|
ec86da70e1
|
Limit rolltime work generation to 10 iterations only.
|
2011-07-22 20:06:06 +10:00 |
|
Con Kolivas
|
6e9b6bf840
|
Implement pool removal.
|
2011-07-22 17:46:28 +10:00 |
|
Con Kolivas
|
532587eba4
|
Set priority correctly on multipools.
Display priority and alive/dead information in display_pools.
|
2011-07-22 17:23:57 +10:00 |
|
Con Kolivas
|
56defd6e0b
|
Make it possible to enable/disable longpoll.
|
2011-07-22 17:02:29 +10:00 |
|
Con Kolivas
|
53529a842d
|
Abstract out the longpoll start and explicitly restart it on pool change.
|
2011-07-22 16:51:38 +10:00 |
|
Con Kolivas
|
62c8a8c1e1
|
Allow scan settings to be modified at runtime.
|
2011-07-22 16:32:38 +10:00 |
|
Con Kolivas
|
a8c84da4c9
|
Allow log interval to be set in the menu.
|
2011-07-22 16:10:47 +10:00 |
|
Con Kolivas
|
2f976c7406
|
Make the input windows update immediately instead of needing a refresh.
|
2011-07-22 15:17:09 +10:00 |
|
Con Kolivas
|
0909facfaf
|
Clean up the messy way the staging thread communicates with the longpoll thread to determine who found the block first.
|
2011-07-22 15:00:57 +10:00 |
|
Con Kolivas
|
0106c56797
|
Add a menu and separate out display options.
|
2011-07-22 14:29:48 +10:00 |
|
Con Kolivas
|
4bfa2809c3
|
Display pool information on the fly as well.
|
2011-07-22 14:07:50 +10:00 |
|
Con Kolivas
|
75bf36ff0e
|
Allow the pool strategy to be modified on the fly.
|
2011-07-22 13:58:06 +10:00 |
|
Con Kolivas
|
cca6f49ef8
|
Abstract out active pools count.
|
2011-07-22 12:39:32 +10:00 |
|
Con Kolivas
|
31a8944564
|
Tidy.
|
2011-07-22 12:33:54 +10:00 |
|
Con Kolivas
|
ad53696f3f
|
The longpoll blanking of the current_block data may not be happening before the work is converted and appears to be a detected block change.
Blank the current block before submitting the work and stop passing the longpoll bool around.
|
2011-07-22 12:17:44 +10:00 |
|
Con Kolivas
|
44bcc32234
|
Display current pool management strategy to enable changing it on the fly.
|
2011-07-22 12:14:24 +10:00 |
|
Con Kolivas
|
b534ad0aad
|
Only internally test for block changes when the work matches the current pool to prevent interleaved block change timing on multipools.
|
2011-07-22 12:02:04 +10:00 |
|
Con Kolivas
|
b0a8f279f7
|
Implement the ability to live add, enable, disable, and switch to pools.
|
2011-07-22 11:46:26 +10:00 |
|
Con Kolivas
|
baddb82ad9
|
Do one last check of the work before submitting it.
|
2011-07-22 07:50:20 +10:00 |
|
Con Kolivas
|
20336ea15d
|
Make input pool capable of bringing up pools while running.
|
2011-07-21 15:15:38 +10:00 |
|