Log

Author Commit Date CI Message
Con Kolivas 3f202fe8 2011-07-20T13:59:54 Bump version number.
Con Kolivas b4430f12 2011-07-20T13:59:34 Document changes.
Con Kolivas fa9e03f4 2011-07-20T13:48:23 Implement pool rotation strategy.
Con Kolivas 521025aa 2011-07-20T13:35:55 Implement load balancing algorithm by rotating requests to each pool.
Con Kolivas 0ba06c69 2011-07-20T13:15:52 Timeout on failed discarding of staged requests.
Con Kolivas 6305146b 2011-07-20T13:07:41 Implement proper flagging of idle pools, test them with the watchdog thread, and failover correctly.
Con Kolivas 7c891932 2011-07-20T11:49:03 Move pool active test to own function.
Con Kolivas 40419f1a 2011-07-20T11:39:02 Allow multiple strategies to be set for multipool management.
Con Kolivas d518f7cb 2011-07-20T10:24:25 Track pool number.
Con Kolivas 02e0e125 2011-07-20T10:07:39 Don't waste the work items queued on testing the pools at startup.
Con Kolivas 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.
Con Kolivas 0afab92c 2011-07-19T23:16:30 Allow the user/pass userpass urls to be input in any order.
Con Kolivas b56ed748 2011-07-19T23:06:11 When json rpc errors occur they occur in spits and starts, so trying to limit them with the comms error bool doesn't stop a flood of them appearing. Make the json errors LOG_INFO level instead so they don't normally show up.
Con Kolivas 0d8b8793 2011-07-19T17:00:56 Reset the queued count to allow more work to be queued for the new pool on pool switch.
Con Kolivas 0c07328f 2011-07-19T14:35:08 Bump version number to 1.3.0
Con Kolivas 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.
Con Kolivas 6de8de3e 2011-07-19T14:20:28 Documentation.
Con Kolivas 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.
Con Kolivas f91a048a 2011-07-19T13:30:29 Implement the actual switch logic which changes over after 5 minutes of local work generation.
Con Kolivas 81ff7fb3 2011-07-19T13:01:08 Explicitly probe each pool to see if work can be retrieved from it and what it supports.
Con Kolivas 913e1202 2011-07-19T12:29:33 Test for rolltime and save it correctly when testing for longpoll.
Con Kolivas 0ce3df10 2011-07-19T11:45:58 Store whether each server supports X-Roll-Ntime or not.
Con Kolivas 321c4798 2011-07-19T10:53:04 Make longpoll switch servers should it not match the current pool.
Con Kolivas 529aa70c 2011-07-19T10:32:24 Set pool on work retrieved from longpoll.
Con Kolivas 048bea20 2011-07-19T10:31:05 Set first localgen time to max.
Con Kolivas ecda7594 2011-07-19T10:19:59 Set and get the current pool under lock.
Con Kolivas b8ba2fd4 2011-07-19T09:54:50 Implement a per-pool mutex and use that for locking the internal flags.
Con Kolivas fd10b993 2011-07-19T09:43:15 Move add pool to somewhere clean and obvious.
Con Kolivas 05dfc160 2011-07-19T09:33:54 Merge branch 'cgminer' into pools
Con Kolivas 3a9fd06c 2011-07-19T09:30:17 Revert "total_queued should always be >= total_staged" This reverts commit 5a861bf1e42cc56ad8c6477e5d348f76b09d1363. No good.
Con Kolivas cdc72dae 2011-07-19T09:26:23 Some servers regularly return empty responses. Drop the message from ERR to INFO.
Con Kolivas 5a861bf1 2011-07-19T09:23:04 total_queued should always be >= total_staged
Con Kolivas 70734939 2011-07-19T01:46:16 Merge branch 'cgminer' into pools Conflicts: main.c
Con Kolivas 44c975be 2011-07-19T01:39:22 Long timeouts are causing reset connections and longpoll can recover if the connection needs to be restarted, so remove the timeout settings.
Con Kolivas a46b5d1e 2011-07-19T01:27:56 Make it possible to pass multiple urls/users etc in preparation for multiple pool support but only use pool 0 for now.
Con Kolivas 19b80d6d 2011-07-19T00:14:58 Curl's global init can trample dynamically allocated data so do it before anything else.
Con Kolivas 961c4306 2011-07-19T00:09:45 Abstract out the pool data to begin move to multiple pool support.
Con Kolivas 1d27c119 2011-07-18T22:02:10 Don't let total_queued go below zero.
Con Kolivas 8220af88 2011-07-18T20:22:16 Avoid queueing extra work if there's work staged as well.
Con Kolivas c3e569ed 2011-07-18T13:16:15 Copied the data to longpoll_block too early so the longpoll message will rarely be received. Submit longpoll's converted work after we've flushed requests since that will blank the current_block for stage_thread to see.
Con Kolivas f0006522 2011-07-18T12:07:35 Bump version to 1.2.8
Con Kolivas 0477667f 2011-07-18T12:05:24 Update docs.
Con Kolivas 5e7c37ae 2011-07-18T12:02:37 Make it clear what the sha algorithm is for.
Con Kolivas 5affc3b5 2011-07-17T19:00:24 Merge pull request #17 from ycros/osx Fix suseconds_t for OSX.
Ycros 1f3074d2 2011-07-18T11:49:27 Fix configure.ac for 64bit OSX builds
Con Kolivas e532ac35 2011-07-18T11:37:33 Only clear the longpoll block data if we successfully received a longpoll, and do it before converting the longpoll data to work to avoid the staging thread believing it got the new work before the longpoll.
Ycros 31d98cf1 2011-07-18T11:37:16 Fix suseconds_t for OSX.
Con Kolivas 01eb4c59 2011-07-18T11:36:54 Minimise impact on GUIs by dropping priority and policy in gpu mining threads if dynamic mode is enabled.
Con Kolivas 08cf0742 2011-07-18T11:31:21 News.
Con Kolivas 0aa98873 2011-07-18T11:27:58 Add an sse4 algorithm to CPU mining.
Con Kolivas 0c499352 2011-07-18T11:05:37 Fix CPU mining with other algorithms not working.
Con Kolivas a7707a26 2011-07-18T10:42:24 Rename the poclbm file to ensure a new binary is built since.
Con Kolivas fc184625 2011-07-18T10:33:31 We now are guaranteed to have one fresh work item after a block change and we should only discard staged requests.
Con Kolivas d53ee8e7 2011-07-18T10:19:22 Don't waste the work we retrieve from a longpoll.
Con Kolivas 0c253734 2011-07-18T10:12:38 Provide a control lock around global bools to avoid racing on them.
Con Kolivas 8d8e0669 2011-07-18T00:13:03 News.
Con Kolivas 1c070475 2011-07-17T23:38:29 Cycling over 1026 nonces is a remnant of old code not relevant now and can just lead to repeat submission of the same block increasing rejects. Remove it.
Con Kolivas b6ac9f18 2011-07-17T20:06:43 Revert "Make sure not to try and submit work for nonces higher than already submitted in current work item." This reverts commit a2dd410e362116a12ac5609da77abb3a5ee1b736. Incorrect fix. Missed real shares that are accepted.
Con Kolivas 1d45b7f4 2011-07-17T20:06:25 Revert "Don't miss first work item." This reverts commit 57f5893f4aabdfdbb1395034fefe4ee6c9b8f8ea. Start reverting. This fix didn't help.
Con Kolivas 57f5893f 2011-07-17T19:36:17 Don't miss first work item.
Con Kolivas a2dd410e 2011-07-17T19:33:53 Make sure not to try and submit work for nonces higher than already submitted in current work item. This reduces rejects substantially.
Con Kolivas b198badc 2011-07-17T14:42:44 The poclbm kernel needs to be updated to work with the change to 4k sized output buffers.
Con Kolivas 6e30c070 2011-07-17T14:39:53 longpoll seems to work either way with post or get but some servers prefer get so change to httpget.
Con Kolivas 65b2aff8 2011-07-17T13:55:43 Add SS description to readme.
Con Kolivas a0e799b3 2011-07-16T23:33:17 News.
Con Kolivas c4aefa35 2011-07-16T23:32:44 Bump version number.
Con Kolivas eb91b03e 2011-07-16T23:31:32 Show last 8 characters of the share submitted.
Con Kolivas b7c6d851 2011-07-16T18:12:57 Further update news.
Con Kolivas 96cc141b 2011-07-16T17:43:04 Display URL connected to and user connected as in status.
Con Kolivas 3e032b8a 2011-07-16T12:48:15 Display current block and when it was started in status line.
Con Kolivas a1339d72 2011-07-16T11:06:58 Only pthread_join the mining threads if they exist as determined by pthread_cancel.
Con Kolivas 3cb7ef2b 2011-07-16T10:46:50 Create a unique get work queue instead of faking it all to thread 0.
Con Kolivas 0a9db84d 2011-07-16T10:33:01 Make it clear the restart message is going to the watchdog thread.
Con Kolivas 8203cc67 2011-07-16T10:28:59 Check the current block description hasn't been blanked pending the real new current block data.
Con Kolivas 18af4e62 2011-07-16T10:13:49 Re-enable signal handlers once the custom sighandler has been hit to make it possible to still kill cgminer.
Con Kolivas f762da01 2011-07-16T02:57:55 Update news.
Con Kolivas 70edd0d3 2011-07-16T02:55:43 Disable restarting of CPU mining threads pending further investigation. They may not need it and are easily killed off.
Con Kolivas 75e1d016 2011-07-16T02:53:04 Update NEWS infromation.
Con Kolivas 009e8f31 2011-07-16T02:37:54 Shorten the code path in the kernel even more.
Con Kolivas 274022f2 2011-07-16T02:07:52 Message too verbose. Simplify it.
Con Kolivas 55695066 2011-07-16T01:57:04 Display appropriate messages with/without longpoll to make it clear if stalls happen that cgminer is waiting on more work.
Con Kolivas 3785e50d 2011-07-16T01:47:58 Add new block data to status line.
Con Kolivas ab696001 2011-07-15T08:23:33 Merge pull request #15 from ycros/osx Fix configure.ac OpenCL test for OSX.
Con Kolivas 77b0f946 2011-07-16T00:52:57 Only do local generation of work if existing work is not stale.
Con Kolivas 4a941992 2011-07-16T00:34:05 Abstract out the test for stale work and test for it in the actual mining threads as well.
Con Kolivas 6dcf05ff 2011-07-15T23:35:38 Make sure that local work generation does not proceed indefinitely by limiting it to the average block generation time - 10 minutes. Doing more work will just waste power and will virtually never produce accepted shares.
Con Kolivas b913bc59 2011-07-15T13:06:13 Update makefile to suit new kernel.
Con Kolivas eea05c05 2011-07-15T13:04:25 Update kernel with a shorter output path, and use 4k output buffer to match OS page sizes.
Con Kolivas aeaeac08 2011-07-15T10:42:06 Allow queue of zero again and make it default since we can track queued vs staged now and see if the queue needs to be bigger.
Con Kolivas 8a400369 2011-07-15T10:27:48 Just insist on 1 lp staged work per mining thread on new block.
Con Kolivas a486c5b8 2011-07-15T09:55:18 Bump version number.
Con Kolivas 188beb36 2011-07-15T09:54:15 Update news.
Con Kolivas 4c917179 2011-07-15T09:48:26 Limit the number of work items we put in the queue.
Con Kolivas 32221c45 2011-07-15T09:39:29 We shouldn't be deleting lp_staged value on dec_staged. It prevents detecting get_work failures.
Con Kolivas 23e4add2 2011-07-15T09:38:52 Add a system status line to the formatted output.
Con Kolivas 34ecc59f 2011-07-15T08:56:52 Forgot to set total_devices for the purposes of finding a positive active_device.
Con Kolivas 579bd429 2011-07-15T08:53:05 Revert "Change get_work to use a timeout when trying to tq_pop as a sanity failsafe in case of unusual circumstances." This reverts commit 7b9b0781146dde69378d53bafd3c8817fb8909e9. Conflicts: util.c Timeout was a bandaid for other going-idle reasons and never helped. Revert it.
Con Kolivas c12a2f1b 2011-07-15T01:12:52 Bump version number to 1.2.5
Con Kolivas 6ab29660 2011-07-15T01:11:47 Limit display to total devices to avoid repeating when selecting devices.
Con Kolivas 5fd73374 2011-07-15T01:08:23 Get the device number from the thread id, not the other way around.