Kano
|
ea327f7ba2
|
work queues - remove new but unnecessary functions
|
2013-04-01 13:10:15 +11:00 |
|
Kano
|
131e20042a
|
functions for handling work queues
|
2013-04-01 00:35:50 +11:00 |
|
Kano
|
b3ae0f168e
|
find_work() to find work in devices work queue
|
2013-03-31 21:54:32 +11:00 |
|
Con Kolivas
|
6c418f45b1
|
Remove increasingly irrelevant discarded work from status lines.
|
2013-03-21 15:11:38 +11:00 |
|
Con Kolivas
|
886df16d01
|
Remove increasingly irrelevant queued and efficiency values from status and move WU to status line.
|
2013-03-21 15:06:14 +11:00 |
|
Con Kolivas
|
1a19729aaa
|
Allow cgminer to start if usb hotplug is enabled but no devices yet exist.
|
2013-03-21 14:56:44 +11:00 |
|
Con Kolivas
|
1ed86decf3
|
If the hashmeter is less than the log interval and being updated by the watchdog, don't update the hashrate.
|
2013-03-18 14:36:10 +11:00 |
|
Con Kolivas
|
072ffbba42
|
Update the hashmeter at most 5 times per second.
|
2013-03-17 16:29:51 +11:00 |
|
Con Kolivas
|
13e19de4d5
|
Calculate work utility for devices that support target diffs of greater than 1, and update scrypt code to use it.
|
2013-03-17 10:15:24 +11:00 |
|
Con Kolivas
|
d7d630b86c
|
Set default GPU threads to 1 for scrypt.
|
2013-03-16 08:56:37 +11:00 |
|
Con Kolivas
|
21a36f4840
|
Connect backup stratum pools if the primary pool cannot deliver work.
|
2013-03-16 00:04:30 +11:00 |
|
Con Kolivas
|
e10a7041d8
|
Merge pull request #406 from kanoi/bflsc
USB device list - convert some common error numbers to messages + nDevs required for -n with usb
|
2013-03-15 00:23:05 -07:00 |
|
Con Kolivas
|
8d27ecf987
|
Merge branch 'master' of github.com:ckolivas/cgminer
|
2013-03-15 17:57:36 +11:00 |
|
Con Kolivas
|
5a2c2a7a85
|
Update the hashmeter once per second but only display the extra logs every opt_log_inteval.
|
2013-03-15 17:56:55 +11:00 |
|
Kano
|
28f515e91d
|
nDevs required for -n with usb
|
2013-03-15 06:22:22 +11:00 |
|
Kano
|
b21747b978
|
USB modify -n and --usb-dump to only show known devices or use new --usb-list-all option to see all
|
2013-03-15 00:02:17 +11:00 |
|
Con Kolivas
|
e9a9a51547
|
Merge pull request #404 from kanoi/bflsc
cgminer -n to include a USB device list
|
2013-03-14 04:48:35 -07:00 |
|
Con Kolivas
|
b6e3d5b4fa
|
Make pool adding while running asynchronous, using the pool test thread functionality.
|
2013-03-14 22:34:53 +11:00 |
|
Kano
|
1c04d14067
|
cgminer -n to include a USB device list
|
2013-03-13 23:24:34 +11:00 |
|
Con Kolivas
|
ffc8681f91
|
Merge pull request #403 from kanoi/bflsc
USB add --usb options to limit USB device selection v0.1 + --usb-dump display brief dump if value = 0
|
2013-03-12 18:07:17 -07:00 |
|
Con Kolivas
|
b5b3ca4911
|
Convert gbt_lock to a cg_lock.
|
2013-03-12 22:44:41 +11:00 |
|
Con Kolivas
|
b8ed231f64
|
Add intermediate variants of cglocks that can be up or downgraded to read or write locks and use them for stratum work generation.
|
2013-03-12 22:40:23 +11:00 |
|
Con Kolivas
|
26ddd1fd20
|
Move the stratum and GBT data to be protected under a new cg_lock data_lock.
|
2013-03-12 22:31:45 +11:00 |
|
Con Kolivas
|
fd87825bf9
|
Convert the ch_lock to cg_lock.
|
2013-03-12 22:17:08 +11:00 |
|
Con Kolivas
|
0bbaaa9723
|
Convert the control_lock to a cg_lock.
|
2013-03-12 22:07:06 +11:00 |
|
Con Kolivas
|
74164a3ae6
|
Remove unused qd_lock.
|
2013-03-12 22:00:44 +11:00 |
|
Kano
|
6d629d6856
|
do usb_initialise() after the started message so we see it
|
2013-03-11 11:52:05 +11:00 |
|
Kano
|
3f50e878a2
|
USB add --usb options to limit USB device selection v0.1
|
2013-03-11 10:58:28 +11:00 |
|
Con Kolivas
|
5412323e26
|
Fix memory leak with share submission on GPU work structures as discovered by twobitcoins.
|
2013-03-09 15:12:41 +11:00 |
|
Kano
|
f24fab3fd4
|
Show pool number in switch message
|
2013-03-09 11:47:36 +11:00 |
|
Con Kolivas
|
e0196a3307
|
Don't start testing any pools with the watchpool thread if any of the test threads are still active.
|
2013-03-09 11:33:50 +11:00 |
|
Con Kolivas
|
81c02123f8
|
Set pool died on failed testing to allow idle flag and time to be set.
|
2013-03-09 09:56:36 +11:00 |
|
Con Kolivas
|
6c77e9a884
|
Perform pool_resus on all pools that are found alive with the test pool threads.
|
2013-03-09 09:39:19 +11:00 |
|
Con Kolivas
|
d932a36c46
|
Use pool_unworkable in select_balanced as well.
|
2013-03-09 09:34:01 +11:00 |
|
Con Kolivas
|
90a1114a46
|
Differentiate pool_unusable from pool_unworkable.
|
2013-03-09 09:31:40 +11:00 |
|
Con Kolivas
|
3b84131f10
|
Keep a connection open on higher priority stratum pools to fail back to them.
|
2013-03-09 09:07:20 +11:00 |
|
Con Kolivas
|
f3ce5777a2
|
Rename threads according to what pool they're associated with as well.
|
2013-03-09 08:51:51 +11:00 |
|
Con Kolivas
|
9b34d82154
|
Set the wrong bool in pool_active
|
2013-03-09 08:10:57 +11:00 |
|
Con Kolivas
|
de28944328
|
Revert "Rollback breakage to 81567e515707891837f52bc3aac7d5916dfff5a2"
This reverts commit a8863995de .
This should work now...
|
2013-03-08 20:52:54 +11:00 |
|
ckolivas
|
8c87807519
|
Start the stratum thread only if we successfully init and authorise it, otherwise unset the init flag.
|
2013-03-08 15:32:10 +11:00 |
|
ckolivas
|
e746ed6412
|
Make the initialisation of the stratum thread more robust allowing the watchpool thread safe access to it after the stratum thread is started.
|
2013-03-08 15:18:10 +11:00 |
|
Con Kolivas
|
d7c4be30ba
|
Only set stratum auth once to prevent multiple threads being started.
|
2013-03-07 21:41:01 +11:00 |
|
Con Kolivas
|
3db4d6f0eb
|
Display select return value on select fail in stratum thread.
|
2013-03-07 21:07:15 +11:00 |
|
Con Kolivas
|
a8863995de
|
Rollback breakage to 81567e5157
|
2013-03-07 19:00:47 +11:00 |
|
Con Kolivas
|
a5d35e822a
|
Only bypass unusable pools if they're not the selected ones.
|
2013-03-07 18:44:40 +11:00 |
|
Con Kolivas
|
1468feb0d3
|
Find the first usable pool in preference to the current pool in select_pool for work.
|
2013-03-07 18:13:25 +11:00 |
|
Con Kolivas
|
ade8c6c79c
|
Add a pool_unusable function which checks if a pool is stratum but not active to use within switch_pools.
|
2013-03-07 18:00:15 +11:00 |
|
Con Kolivas
|
81567e5157
|
Perform pool resus on pools that were not set as the initial pool at startup.
|
2013-03-07 17:00:23 +11:00 |
|
Con Kolivas
|
c7c21e6c37
|
Revert "Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools."
This reverts commit 370e8fc862 .
|
2013-03-07 16:56:03 +11:00 |
|
Con Kolivas
|
370e8fc862
|
Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools.
|
2013-03-07 16:49:16 +11:00 |
|