|
2e2b2ba1
|
2011-07-27T22:20:57
|
|
Add debugging output to tq_push calls.
|
|
70fa8f31
|
2011-07-27T21:58:08
|
|
Make the display options clearer.
|
|
c7978f11
|
2011-07-27T20:40:06
|
|
Dividing work is like the work is never removed at all so treat it as such. However the queued bool needs to be reset to ensure we *can* request more work even if we didn't initially.
|
|
e82e3902
|
2011-07-27T16:40:52
|
|
If work has been cloned it is already at the head of the list and when being reinserted into the queue it should be placed back at the head of the list.
|
|
9c12d496
|
2011-07-27T16:29:37
|
|
Attribute split work as local work generation.
|
|
720032da
|
2011-07-27T15:11:57
|
|
Make sure to decrease queued count if we discard the work.
|
|
967acd39
|
2011-07-27T15:06:04
|
|
Don't put an extra work item in the queue as each new device thread will do so itself.
|
|
82698fbf
|
2011-07-27T15:01:08
|
|
Do away with queueing work separately at the start and let each thread grab its own work as soon as it's ready.
|
|
6cc8d22b
|
2011-07-27T14:53:43
|
|
Properly detect stale work based on time from staging and discard instead of handing on, but be more lax about how long work can be divided for up to the scantime.
|
|
45d54357
|
2011-07-27T14:29:51
|
|
Make cpu mining work submission asynchronous as well.
|
|
380d145c
|
2011-07-27T14:03:01
|
|
Make threads report out when they're queueing a request and report if they've failed.
|
|
324dd93b
|
2011-07-27T10:36:16
|
|
Don't take more than one lock at a time.
|
|
98f609b5
|
2011-07-27T10:31:44
|
|
Sanity check to prove locking.
|
|
c7284028
|
2011-07-27T10:00:58
|
|
Abstract out the decay time function and use it to make hash_div a rolling average so it doesn't change too abruptly and divide work in chunks large enough to guarantee they won't overlap.
|
|
a4889582
|
2011-07-27T09:41:52
|
|
Update both windows separately, but not at the same time to prevent the double refresh crash that old libncurses has.
Do the window resize check only when about to redraw the log window to minimise ncurses cpu usage.
|
|
6f905932
|
2011-07-27T08:32:25
|
|
Only free the thread structures if the thread still exists.
|
|
40bc82d4
|
2011-07-27T02:03:59
|
|
Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
|
|
1aadfc58
|
2011-07-27T01:41:16
|
|
Two redraws in a row cause a crash in old libncurses so just do one redraw using the main window.
|
|
93b284db
|
2011-07-26T23:17:25
|
|
Best to serialise the restarting of threads to avoid device initialisation issues.
|
|
d5d56920
|
2011-07-26T22:41:42
|
|
Off by one limit in device selection.
|
|
f9bc3771
|
2011-07-26T21:40:11
|
|
The first work item is tricky so don't try and divide it up to begin with.
|
|
1536e085
|
2011-07-26T20:48:05
|
|
Increase efficiency of slow mining threads such as CPU miners dramatically.
Do this by detecting which threads cannot complete searching a work item within the scantime and then divide up a work item into multiple smaller work items.
Detect the age of the work items and if they've been cloned before to prevent doing the same work over.
If the work is too old to be divided, then see if it can be time rolled and do that to generate work.
This dramatically decreases the number of queued work items from a pool leading to higher overall efficiency (but the same hashrate and share submission rate).
|
|
7e7a5f77
|
2011-07-26T15:16:39
|
|
Don't request work too early for CPUs as CPUs will scan for the full opt_scantime anyway.
|
|
6045c4d1
|
2011-07-26T13:47:18
|
|
Simplify gpu management enable/disable/restart code.
|
|
fa17f034
|
2011-07-26T11:58:45
|
|
Implement much more accurate rolling statistics per thread and per gpu and improve accuracy of rolling displayed values.
|
|
ce6af968
|
2011-07-26T10:45:52
|
|
Make the rolling log-second average more accurate.
|
|
7707ed4d
|
2011-07-26T10:26:03
|
|
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.
|
|
7143c25b
|
2011-07-25T16:44:24
|
|
The last pool is when we are low in total_pools, not active_pools.
|
|
a53716dc
|
2011-07-25T13:59:34
|
|
Fix compiler warnings.
|
|
b3d20b57
|
2011-07-25T13:55:01
|
|
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.
|
|
a187fe1e
|
2011-07-25T13:00:44
|
|
Try to do every curses manipulation under the curses lock.
|
|
508c5c4b
|
2011-07-24T12:07:44
|
|
Detect when the primary pool is lagging and start queueing requests on backup pools if possible before needing to roll work.
|
|
afcff070
|
2011-07-24T11:25:23
|
|
Load balancing puts more into the current pool if there are disabled pools. Fix.
|
|
27c7d2a4
|
2011-07-24T10:59:19
|
|
Disable a GPU device should the thread fail to init.
|
|
9a928e34
|
2011-07-24T08:55:16
|
|
Fix possible dereference on blank inputs during input_pool.
|
|
1a789a40
|
2011-07-24T08:51:07
|
|
Defines missing would segfault on --help when no sse mining is built in.
|
|
fd473afe
|
2011-07-24T08:44:14
|
|
Revert "Free up resources/stale compilers."
This reverts commit b4960ec36bca6663ecb0853752d0d777d81f9df1.
Didn't help and might have caused other issues.
|
|
f3c5f554
|
2011-07-24T08:42:07
|
|
Only try to print the status of active devices.
|
|
020cf7d6
|
2011-07-23T16:19:51
|
|
Build support in for all SSE if possible and only set the default according to machine capabilities.
|
|
039a5ea7
|
2011-07-23T16:17:28
|
|
No need to make leaveok changes win32 only.
|
|
a150140e
|
2011-07-23T16:00:49
|
|
Merge branch 'cgminer' of git://github.com/ckolivas/cgminer into cgminer
|
|
a9e1a255
|
2011-07-23T15:15:46
|
|
Make it possible to select the choice of kernel on the command line.
|
|
116a9dc0
|
2011-07-23T14:17:25
|
|
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.
|
|
b5358483
|
2011-07-23T09:37:22
|
|
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.
|
|
e615b61f
|
2011-07-23T02:26:07
|
|
Merge branch 'cgminer' of git://github.com/ckolivas/cgminer into cgminer
|
|
e04aee24
|
2011-07-23T02:25:54
|
|
Win32: Fix for mangled output on the terminal on exit.
|
|
8d4fbc32
|
2011-07-23T00:45:03
|
|
Clear log window from consistent place. No need for locking since logging is disabled during input.
|
|
ba89a0a4
|
2011-07-23T00:33:01
|
|
Unlocking error on retry. Locking unnecessary anyway so remove it.
|
|
f94ca32d
|
2011-07-22T23:53:24
|
|
Make sure intensity is carried over to thread count and is at least the minimum necessary to work.
|
|
d37c3fe5
|
2011-07-22T23:43:26
|
|
Win32 threading and longpoll keepalive fixes.
|
|
e83a32a4
|
2011-07-22T23:37:50
|
|
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.
|
|
61e555e4
|
2011-07-22T22:22:14
|
|
Tell getwork how much of a work item we're likely to complete for future splitting up of work.
|
|
9e42d63c
|
2011-07-22T21:57:43
|
|
With huge variation in GPU performance, allow intensity to go from -10 to +10.
|
|
61e5cc10
|
2011-07-22T20:12:32
|
|
Extra refresh not required.
|
|
ae6eb1b0
|
2011-07-22T20:07:15
|
|
Decrease testing log to info level.
|
|
ec86da70
|
2011-07-22T20:06:06
|
|
Limit rolltime work generation to 10 iterations only.
|
|
6e9b6bf8
|
2011-07-22T17:46:28
|
|
Implement pool removal.
|
|
532587eb
|
2011-07-22T17:23:57
|
|
Set priority correctly on multipools.
Display priority and alive/dead information in display_pools.
|
|
56defd6e
|
2011-07-22T17:02:29
|
|
Make it possible to enable/disable longpoll.
|
|
53529a84
|
2011-07-22T16:51:38
|
|
Abstract out the longpoll start and explicitly restart it on pool change.
|
|
62c8a8c1
|
2011-07-22T16:32:38
|
|
Allow scan settings to be modified at runtime.
|
|
a8c84da4
|
2011-07-22T16:10:47
|
|
Allow log interval to be set in the menu.
|
|
2f976c74
|
2011-07-22T15:17:09
|
|
Make the input windows update immediately instead of needing a refresh.
|
|
0909facf
|
2011-07-22T15:00:57
|
|
Clean up the messy way the staging thread communicates with the longpoll thread to determine who found the block first.
|
|
0106c567
|
2011-07-22T14:29:48
|
|
Add a menu and separate out display options.
|
|
4bfa2809
|
2011-07-22T14:07:50
|
|
Display pool information on the fly as well.
|
|
75bf36ff
|
2011-07-22T13:58:06
|
|
Allow the pool strategy to be modified on the fly.
|
|
cca6f49e
|
2011-07-22T12:39:32
|
|
Abstract out active pools count.
|
|
31a89445
|
2011-07-22T12:33:54
|
|
Tidy.
|
|
ad53696f
|
2011-07-22T12:17:44
|
|
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.
|
|
44bcc322
|
2011-07-22T12:14:24
|
|
Display current pool management strategy to enable changing it on the fly.
|
|
b534ad0a
|
2011-07-22T12:02:04
|
|
Only internally test for block changes when the work matches the current pool to prevent interleaved block change timing on multipools.
|
|
b0a8f279
|
2011-07-22T11:46:26
|
|
Implement the ability to live add, enable, disable, and switch to pools.
|
|
baddb82a
|
2011-07-22T07:50:20
|
|
Do one last check of the work before submitting it.
|
|
20336ea1
|
2011-07-21T15:15:38
|
|
Make input pool capable of bringing up pools while running.
|
|
7841486f
|
2011-07-21T14:41:12
|
|
Add a bool for explicit enabling/disabling of pools.
|
|
0bc95746
|
2011-07-21T14:29:33
|
|
Add pool option to input and display current pool status, pending code to allow live changes.
|
|
ec06940c
|
2011-07-21T14:05:08
|
|
Add a thread that takes keyboard input and allow for quit, silent, debug, verbose, normal, rpc protocol debugging and clear screen options.
|
|
b4f651f4
|
2011-07-21T13:26:18
|
|
Disable/enable echo & cbreak modes.
|
|
6fdbe014
|
2011-07-21T13:11:15
|
|
Remove the nil arguments check to allow starting without parameters.
|
|
9d60b107
|
2011-07-21T13:08:36
|
|
Abstract out a curses input function and separate input pool function to allow for live adding of pools later.
|
|
365c9009
|
2011-07-21T12:25:21
|
|
Make it possible to enter server credentials with curses input if none are specified on the command line.
|
|
2b7e5e58
|
2011-07-21T11:46:01
|
|
Enable curses earlier and exit with message in main for messages to not be lost in curses windows.
|
|
4766463b
|
2011-07-21T11:07:51
|
|
Only set option to show devices and exit if built with opencl support.
|
|
f4f018b4
|
2011-07-21T10:15:17
|
|
Don't try to stop/cancel threads that don't exist.
|
|
b4960ec3
|
2011-07-21T09:48:06
|
|
Free up resources/stale compilers.
|
|
fa9e03f4
|
2011-07-20T13:48:23
|
|
Implement pool rotation strategy.
|
|
521025aa
|
2011-07-20T13:35:55
|
|
Implement load balancing algorithm by rotating requests to each pool.
|
|
0ba06c69
|
2011-07-20T13:15:52
|
|
Timeout on failed discarding of staged requests.
|
|
6305146b
|
2011-07-20T13:07:41
|
|
Implement proper flagging of idle pools, test them with the watchdog thread, and failover correctly.
|
|
7c891932
|
2011-07-20T11:49:03
|
|
Move pool active test to own function.
|
|
40419f1a
|
2011-07-20T11:39:02
|
|
Allow multiple strategies to be set for multipool management.
|
|
d518f7cb
|
2011-07-20T10:24:25
|
|
Track pool number.
|
|
02e0e125
|
2011-07-20T10:07:39
|
|
Don't waste the work items queued on testing the pools at startup.
|
|
ced0e5ad
|
2011-07-20T09:31:45
|
|
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.
|
|
0afab92c
|
2011-07-19T23:16:30
|
|
Allow the user/pass userpass urls to be input in any order.
|
|
0d8b8793
|
2011-07-19T17:00:56
|
|
Reset the queued count to allow more work to be queued for the new pool on pool switch.
|
|
012456f3
|
2011-07-19T14:33:52
|
|
Display per pool summary at the end if multiple pools in use. Fine tune statistics and make localgen fail at 5 mins.
|
|
85bf965c
|
2011-07-19T14:09:36
|
|
Force a mandatory work item on pool switch and determine what to do based on server supporting roll time or not.
|
|
f91a048a
|
2011-07-19T13:30:29
|
|
Implement the actual switch logic which changes over after 5 minutes of local work generation.
|