Log

Author Commit Date CI Message
Con Kolivas 9e8726b1 2012-07-06T10:09:02 Increase bitforce timeout to 10 seconds.
Con Kolivas a3faf63c 2012-07-06T09:54:27 Add more hysteresis and poll ~5 times to allow for timer delays in bitforce devices.
Con Kolivas afc6ae58 2012-07-05T22:42:04 Change message about broken nonce range support to verbose level instead of debug.
Con Kolivas 86ba7d79 2012-07-05T22:39:41 Display the actual duration of wait when it is greater than the cutoff.
Con Kolivas 5a096c1c 2012-07-05T22:39:11 Set nonce to maximum once we determine nonce range support is broken.
Con Kolivas 88dd599f 2012-07-05T22:33:21 Initial wait time is always known so no need to zero it beforehand in bitforce.
Con Kolivas 1b0a0ac5 2012-07-05T22:32:05 No point counting wait time until the work is actually sent to bitforce devices.
Con Kolivas c0c48060 2012-07-05T21:51:42 Use string comparison functions elsewhere in bitforce code.
Con Kolivas d4e526c9 2012-07-05T21:29:06 Use string comparison functions instead of explicit comparisons.
Con Kolivas 23841337 2012-07-05T20:47:43 Show device id in debug when disabling nonce range.
Con Kolivas 9e10a6c0 2012-07-05T20:42:19 Account for wait_ms time when nonce_range is in use on BFL.
Con Kolivas 9d9963b0 2012-07-05T17:15:18 Split nonces up into 1/5 chunks when nonce range is supported.
Con Kolivas 274a4011 2012-07-05T16:45:05 Merge branch 'master' into mr
Con Kolivas 892e9bf8 2012-07-04T23:44:29 Merge pull request #253 from pshep/master Clear buffer bug fix
Paul Sheppard 1ee191a7 2012-07-04T23:31:42 limit clear buffer iterations.
Paul Sheppard 2aa95ab8 2012-07-04T18:48:27 Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Paul Sheppard 54f8554a 2012-07-04T18:46:41 Ad fd check to clear buffer.
Con Kolivas 72777f1f 2012-07-05T09:30:53 Disable nonce range support in BFL when broken support is detected.
Con Kolivas 96183bbd 2012-07-05T09:21:46 Minor bfl tidy.
Con Kolivas 75eca078 2012-07-05T09:15:21 Restart_wait is only called with a ms value so incorporate that into the function.
Con Kolivas 8bc7d1c9 2012-07-05T08:59:09 Only try to adjust dev width when curses is built in.
Con Kolivas e5aba760 2012-07-05T00:40:01 Fix off-by-one error in nonce increment in bfl.
Con Kolivas ba5c1fc0 2012-07-05T00:22:42 Use BE when setting nonce in bitforce nonce range work.
Con Kolivas d6a6d70f 2012-07-05T00:18:58 Set work blk nonce after work is queued to prevent duplicates.
Con Kolivas 870ba0c7 2012-07-05T00:17:35 Revert "Loop in bitforce scanhash till end nonce reaches full nonce range." This reverts commit e10aa2092bcb2f1e5b313c5bacb8853b00393126.
Con Kolivas e10aa209 2012-07-05T00:14:04 Loop in bitforce scanhash till end nonce reaches full nonce range.
Con Kolivas 1f2e9a49 2012-07-05T00:08:33 Enable nonce range in the normal init sequence for bfl.
Con Kolivas 8766bca4 2012-07-04T23:57:54 Queue extra work at 2/3 differently depending on whether we're using nonce range or not.
Con Kolivas 6314a12b 2012-07-04T23:53:55 Initially enable support for nonce range support on bfl, splitting nonces up into 3/4 size and only disable it if it fails on work submit.
Con Kolivas 96fba30b 2012-07-04T17:31:02 Attempt to detect nonce range support in BFL by sending work requring its support.
Con Kolivas a9746b9f 2012-07-04T16:58:08 Limit retrying on busy for up to BITFORCE_TIMEOUT_MS
Con Kolivas 7046c976 2012-07-04T16:51:55 Attempt to initialise while bitforce device returns BUSY.
Con Kolivas ac8db06e 2012-07-04T16:41:28 Extend length of string that can be passed to BFL devices.
Con Kolivas 8b3c20bc 2012-07-04T16:28:51 Abstract out ms to timeval as a function.
Con Kolivas 93a7967e 2012-07-04T15:22:05 Fix signedness warning.
Con Kolivas 6b11d4e4 2012-07-03T22:19:41 Merge pull request #252 from pshep/master More timing changes
Con Kolivas 67e92de1 2012-07-04T15:16:39 Adjust device width column to be consistent.
Con Kolivas ce93c2fc 2012-07-04T14:40:02 Use cgpu-> not gpus[] in watchdog thread.
Paul Sheppard c4870676 2012-07-03T10:40:02 Add api stats (sleep time)
Paul Sheppard 6e6029de 2012-07-03T10:22:11 Timing tweaks Added long and short timeouts, short for detecting throttling, long to give up totally. Reset sleep time when device re-initialised Still check results after timeout Back up a larger time if result on first poll.
Con Kolivas 454607c3 2012-07-02T21:52:58 Merge pull request #251 from kanoi/notifycomms Add API Notify counter 'Comms Error'
Kano ff0afb94 2012-07-03T13:14:30 Add API Notify counter 'Comms Error'
Con Kolivas 732783fa 2012-07-03T11:35:58 Merge branch 'bfl' Conflicts: miner.h
Con Kolivas 8b050083 2012-07-03T11:32:42 Style police on api.c
Con Kolivas 2ec0fb97 2012-07-02T18:26:18 Merge pull request #247 from kanoi/master api.c data structure + updated get_api_stats/driver-icarus.c
Con Kolivas 44726324 2012-07-03T11:09:33 More style police on bitforce.
Con Kolivas 7ada258b 2012-07-03T11:04:44 Merge branch 'master' into bfl
Con Kolivas 8783db0d 2012-07-03T11:01:57 Do all logging outside of the bitforce mutex locking to avoid deadlocks.
Con Kolivas 0f405c7c 2012-07-03T10:59:37 Remove applog call from bfwrite to prevent grabbing nested mutexes.
Con Kolivas 978ec0d8 2012-07-03T10:58:30 Bitforce style changes.
Con Kolivas 610cf0f0 2012-07-03T10:48:42 Minor style changes.
Con Kolivas 336dbd5c 2012-07-03T10:44:59 Remove needless roundl define.
Con Kolivas 9d37d33d 2012-07-03T10:32:33 Merge branch 'master' of https://github.com/pshep/cgminer into bfl
Con Kolivas 6bbd753c 2012-07-02T16:53:54 Merge pull request #249 from iHateInventNames/master Made JSON error message verbose.
Sergei Krivonos aaa9f62b 2012-07-03T01:01:37 Made JSON error message verbose.
Paul Sheppard ad5b470b 2012-07-02T14:27:19 Fine-tune timing adjustment. Also remove old work_restart timing.
Paul Sheppard 75519cb0 2012-07-02T14:26:11 Merge branch 'master' of git@github.com:pshep/cgminer.git
ckolivas 66e7dc70 2012-07-02T16:51:52 Check for gpu return times of >= 0, not just 0, to fix intensity dropping to -10.
Paul Sheppard ce850883 2012-07-01T23:39:09 Merge branch 'master' of git://github.com/ckolivas/cgminer.git Conflicts: driver-bitforce.c
Paul Sheppard cc0ad5ea 2012-07-01T23:35:06 Merge branch 'master' of git://github.com/ckolivas/cgminer.git Conflicts: driver-bitforce.c
ckolivas 391e1f7e 2012-07-02T16:13:53 Restart is zeroed in the mining thread so no need to do it inside the bitforce code.
ckolivas ac45260e 2012-07-02T16:12:35 Random style cleanups.
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.
Kano c8535133 2012-07-01T15:29:41 api.c put version up to 1.14
Kano 080e8b24 2012-07-01T15:28:27 API-README correct for 2.4.4
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)
Kano 06f5f35a 2012-07-01T00:42:34 api.c allow NULL data displayed as (null)
Kano 37e95ced 2012-07-01T00:17:13 API-README add a comment re: code rewrite in the changelog
Kano 82b14c4d 2012-06-30T23:48:35 api.c data structure - remove unnecessary driver-icarus.c comments
Kano eab9debc 2012-06-30T23:41:22 api.c data structure - all testing attempted successful
Kano d8abfb71 2012-06-30T15:58:31 api.c data structure - tested + updated get_api_stats/driver-icarus.c
Paul Sheppard 926fb062 2012-06-29T22:30:38 Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Paul Sheppard 68ba1a13 2012-06-29T20:14:26 Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Kano 538653a5 2012-06-30T12:44:57 api.c data structure - 2nd - untested
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.
Kano 21e4cd85 2012-06-30T02:49:01 api.c data structure rather than raw sprintf - 1st test
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