Log

Author Commit Date CI Message
Paul Sheppard cc0ad5ea 2012-07-01T23:35:06 Merge branch 'master' of git://github.com/ckolivas/cgminer.git Conflicts: driver-bitforce.c
Paul Sheppard 04a6c3b1 2012-07-01T21:47:18 More improvements to comms. BFL return nothing when throttling, so should not be considered an error. Instead repeat with a longer delay.
ckolivas 06ec47b3 2012-07-02T12:45:16 Must always unlock mutex after cond timedwait.
ckolivas df5d196f 2012-07-02T12:37:15 Must unlock mutex if pthread_cond_wait succeeds.
ckolivas efcce5bb 2012-07-02T11:30:20 Remove unused tdiff value.
ckolivas b1cdacde 2012-07-02T11:28:26 Polling every 10ms there's not much point checking the pthread_cond_timedwait as it just adds overhead. Simply check the value of work_restart in the bfl main polling loop.
ckolivas fd7b21ed 2012-07-02T10:54:20 Use a pthread conditional that is broadcast whenever work restarts are required. Create a generic wait function waiting a specified time on that conditional that returns if the condition is met or a specified time passed to it has elapsed. Use this to do smarter polling in bitforce to abort work, queue more work, and check for results to minimise time spent working needlessly.
Paul Sheppard 855d1bb3 2012-07-01T17:35:53 Add busy time to wait time.
Paul Sheppard a4a2000c 2012-06-30T20:45:56 Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Paul Sheppard a11a322b 2012-06-30T20:45:08 Add tiny delay after writing to BFL Change BFL errors to something more human readable Send work busy re-tries after 10ms delay
ckolivas 2e0a94db 2012-07-01T12:17:48 Bump version number to 2.4.4
ckolivas 1a43f795 2012-07-01T12:02:10 Mingw doesn't support asprintf, use sprintf.
ckolivas 830f2902 2012-07-01T11:09:06 Numerous style police clean ups in cgminer.c
ckolivas 1e942147 2012-07-01T10:44:23 Timersub is supported on all build platforms so do away with custom timerval_subtract function.
ckolivas 75ea6164 2012-07-01T10:35:08 Minor style police on util.c
ckolivas a35f67aa 2012-07-01T10:28:20 Update NEWS.
ckolivas 8f954d40 2012-07-01T10:17:12 Get rid of unused result warning with asprintf.
Paul Sheppard efaa7398 2012-06-30T11:59:53 Tweak sick/dead logic (remove pre-computed time calculations)
Paul Sheppard 926fb062 2012-06-29T22:30:38 Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Paul Sheppard adc26f0e 2012-06-29T17:20:57 Add facility to clear BFL read buffer. Reduce timeout to 10s.
Paul Sheppard 86c8bbe5 2012-06-29T17:19:28 Need to run Hashmeter all the time. and not just if logging/display is enabled
ckolivas 896775e3 2012-06-30T09:47:53 Fix builds on non gnu platforms.
Paul Sheppard 3be662a2 2012-06-28T18:35:32 Merge branch 'old_gcc'
Paul Sheppard 75a651c1 2012-06-28T16:08:10 Revert "Check for submit_stale before checking for work_restart" Makes no sense to continue working on the old block whether submit_stale is enabled or not.
Paul Sheppard 123058b5 2012-06-28T11:02:03 Add macro roundl for compilers without said function.
Paul Sheppard f3a82a0d 2012-06-28T09:17:18 Merge branch 'master' of git@github.com:pshep/cgminer.git
Paul Sheppard baa480c1 2012-06-28T08:22:55 Merge branch 'master' of git://github.com/ckolivas/cgminer.git Conflicts: cgminer.c
Paul Sheppard f2253929 2012-06-28T08:20:45 Add low hash threshold in sick/dead processing Add check for fd in comms procedures
Con Kolivas 3977f6c6 2012-06-28T01:16:57 Merge pull request #245 from kanoi/master api.c ensure old mode is always available when not using --api-groups + quit() on param errors
Kano b63a374d 2012-06-28T11:59:11 api.c ensure old mode is always available when not using --api-groups + quit() on param errors
Con Kolivas 3267b534 2012-06-28T10:43:52 Implement rudimentary X-Mining-Hashrate support.
Con Kolivas 29c0f7bd 2012-06-28T09:42:24 Detect large swings in temperature when below the target temperature range and change fan by amounts dependant on the value of tdiff.
Con Kolivas e16452f0 2012-06-28T09:26:33 Adjust the fanspeed by the magnitude of the temperature difference when in the optimal range.
Con Kolivas 55aaa7c1 2012-06-28T09:11:29 Slightly different message since restart may not be successful.
Con Kolivas 07045055 2012-06-28T09:07:22 Revert "Restarting cgminer from within after ADL has been corrupted only leads to a crash. Display a warning only and disable fanspeed monitoring." This reverts commit 07212db106a1cc654affe3b95bf8acff7b8ed752. Reverting this did not fix the crashes people were having with ADL failing after a week and removed the functionality this patch originally intended.
Con Kolivas 4c5d41a8 2012-06-27T16:03:46 Merge pull request #243 from kanoi/master define, implement and document API option --api-groups
Paul Sheppard 862a362b 2012-06-27T14:55:44 Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Kano f0c2f8dd 2012-06-28T07:43:25 API-README spelling
Con Kolivas 24316fc7 2012-06-28T07:27:57 Revert "Work is checked if it's stale elsewhere outside of can_roll so there is no need to check it again." This reverts commit 5ad58f9a5ce1a6b99f3011e1811fa01040d12aa2.
Kano 05b8f5b0 2012-06-28T05:59:31 api.c fix json already closed
Kano 39ff1575 2012-06-28T03:34:16 API-README --api-groups corrections
Kano 659e5043 2012-06-28T02:29:58 implement and document API option --api-groups
Paul Sheppard 01a7e912 2012-06-27T08:25:25 Lock comms around entire bitforce_init, and move setting of fd to end. Make sleep occur everytime in scanhash.
Paul Sheppard 62c3c66f 2012-06-27T08:18:12 Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Con Kolivas 5ad58f9a 2012-06-27T23:36:48 Work is checked if it's stale elsewhere outside of can_roll so there is no need to check it again.
Con Kolivas eddd02fe 2012-06-27T23:32:50 Put upper bounds to under 2 hours that work can be rolled into the future for bitcoind will deem it invalid beyond that.
Con Kolivas bcec5f51 2012-06-27T23:30:50 Revert "Check we don't exhaust the entire unsigned 32 bit ntime range when rolling time to cope with extremely high hashrates." This reverts commit 522f620c89b5f152f86a2916b0dca7b71b2a5005. Unrealistic. Limits are bitcoind related to 2 hours in the future.
Con Kolivas 383d35b2 2012-06-27T22:35:38 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 522f620c 2012-06-27T22:34:46 Check we don't exhaust the entire unsigned 32 bit ntime range when rolling time to cope with extremely high hashrates.
Con Kolivas a9eb833a 2012-06-27T04:39:59 Merge pull request #242 from kanoi/master api.c allow unwell devices to be enabled so they can be cured
Kano c21fc065 2012-06-27T21:28:18 define API option --api-groups
Kano e4f9cc4e 2012-06-27T21:21:54 api.c allow unwell devices to be enabled so they can be cured
Con Kolivas baaa870d 2012-06-26T22:41:57 Merge pull request #240 from kanoi/master miner.php - fix/enable autorefresh for custom pages
Kano f43ee5d6 2012-06-27T15:26:27 miner.php - fix/enable autorefresh for custom pages
Con Kolivas eae545f2 2012-06-26T22:14:13 Merge pull request #239 from kanoi/master miner.php allow custom summary pages - new 'Mobile' summary
Kano edd1f83a 2012-06-27T15:08:59 miner.php allow custom summary pages - new 'Mobile' summary
ckolivas 794b6558 2012-06-27T10:55:50 Merge branch 'master' of https://github.com/ckolivas/cgminer
ckolivas 21a23a45 2012-06-27T10:15:57 Work around pools that advertise very low expire= time inappropriately as this leads to many false positives for stale shares detected.
Paul Sheppard d3e2b62c 2012-06-26T14:45:48 Change sick/dead processing to use device pointer, not gpu array. Change BFL timing to adjust only when hashing complete (not error/idle etc.).
Paul Sheppard 78d5a81d 2012-06-26T12:32:09 Merge branch 'master' of https://github.com/ckolivas/cgminer.git
Con Kolivas fab619ad 2012-06-26T05:40:22 Merge pull request #238 from kanoi/master fpgautils.c include a debug message for all unknown open errors
Con Kolivas ae400b4f 2012-06-26T22:38:18 Only show ztex board count if any exist.
Con Kolivas 68a3a9ad 2012-06-26T22:37:24 There is no need for work to be a union in struct workio_cmd
Kano c8fcf5ac 2012-06-26T20:45:59 fpgautils.c include a debug message for all unknown open errors
Con Kolivas 028597d3 2012-06-25T23:07:23 Merge pull request #237 from luke-jr/serial_open_failerr Log a specific error when serial opens fail due to lack of user permissions
Con Kolivas 405eeb63 2012-06-25T23:06:57 Merge pull request #236 from kanoi/master fpgautils.c - set BAUD rate according to termio spec
ckolivas b198423d 2012-06-26T16:01:06 Don't keep rolling work right up to the expire= cut off. Use 2/3 of the time between the scantime and the expiry as cutoff for reusing work.
ckolivas 6e80b63b 2012-06-26T15:43:03 Revert "Increase the getwork delay factored in to determine if work vs share is stale to avoid too tight timing." This reverts commit d8de1bbc5baa416148f50938cfde28a5261cb0e1. Wrong fix.
Luke Dashjr f8774ff6 2012-06-26T04:14:57 Log a specific error when serial opens fail due to lack of user permissions
ckolivas c7eb9f37 2012-06-26T14:05:54 Microsecond multiplier error.
ckolivas d8de1bbc 2012-06-26T13:07:08 Increase the getwork delay factored in to determine if work vs share is stale to avoid too tight timing.
ckolivas dffda238 2012-06-26T12:50:52 Increase GPU timing resolution to microsecond and add sanity check to ensure times are positive.
ckolivas 999dba47 2012-06-26T12:26:25 Revert "Use much more damping when determining average opencl duration to change dynamic intensity." This reverts commit 04e528d38faacfe6765494216d6a180793447340. Didn't help.
Paul Sheppard 1ef52e0b 2012-06-25T19:23:10 Check for submit_stale before checking for work_restart (to keep Kano happy)
ckolivas 04e528d3 2012-06-26T11:29:29 Use much more damping when determining average opencl duration to change dynamic intensity.
ckolivas 79a4e257 2012-06-26T11:12:13 Opencl code may start executing before the clfinish order is given to it so get the start timing used for dynamic intensity from before the kernel is queued.
Paul Sheppard df9e76bd 2012-06-25T10:56:04 Merge branch 'master' of https://github.com/ckolivas/cgminer.git
Paul Sheppard f149aea9 2012-06-25T10:33:18 Redo recover removal. FML.
Paul Sheppard 90d82aa6 2012-06-25T10:27:08 Revert to pre pool merge
Paul Sheppard 50e996c7 2012-06-25T10:01:34 Get rid of recover mode. Not useful at all. Change zero hash to no start error. Neither is accurate, but zero hash makes less sense than no start.
Kano c540cd91 2012-06-26T02:34:44 fpgautils.c - set BAUD rate according to termio spec
Con Kolivas b2cef114 2012-06-25T06:18:27 Merge pull request #235 from kanoi/master icarus - must allows allocate memory for icarus_info
Kano 3763cb0b 2012-06-25T23:16:07 icarus - must allows allocate memory for icarus_info
Con Kolivas cc557b3f 2012-06-25T06:05:48 Merge pull request #234 from kanoi/master fpgautils.c - must initialise c_cflag before using it
Kano cb1634de 2012-06-25T22:35:16 fpgautils.c - linux ordering back to the correct way
Con Kolivas e53c033a 2012-06-25T20:12:55 Icarus needs not +2 for realloc, just +1.
Con Kolivas e30e2f78 2012-06-25T03:11:17 Merge pull request #233 from kanoi/master miner.php enhancements: refresh, restart, font configurable
Kano 5ef85284 2012-06-25T20:02:40 miner.php remove unneeded '.'s
Kano f2e6ac50 2012-06-25T19:53:13 miner.php add auto refresh options
Kano 597f5fa3 2012-06-25T18:12:00 miner.php add 'restart' next to 'quit'
Kano cffd5aee 2012-06-25T18:01:49 miner.php make fontname/size configurable with myminer.php
Con Kolivas c027492f 2012-06-25T17:06:26 Make the pools array a dynamically allocated array to allow unlimited pools to be added.
Con Kolivas 5cf4b7c4 2012-06-25T16:59:29 Make the devices array a dynamically allocated array of pointers to allow unlimited devices.
Con Kolivas eaf15053 2012-06-25T13:31:52 Dynamic intensity for GPUs should be calculated on a per device basis. Clean up the code to only calculate it if required as well.
Con Kolivas 17ba2dca 2012-06-25T10:51:45 Logic fail on queueing multiple requests at once. Just queue one at a time.
Con Kolivas 42ea29ca 2012-06-25T00:58:18 Use a queueing bool set under control_lock to prevent multiple calls to queue_request racing.
Con Kolivas 63dd598e 2012-06-25T00:42:51 Queue multiple requests at once when levels are low.
Con Kolivas 757922e4 2012-06-25T00:33:47 Use the work clone flag to determine if we should subtract it from the total queued variable and provide a subtract queued function to prevent looping over locked code.
Con Kolivas 49dd8fb5 2012-06-25T00:25:38 Don't decrement staged extras count from longpoll work.
Con Kolivas d93e5f71 2012-06-25T00:23:58 Count longpoll's contribution to the queue.