Commit Graph

  • fd473afedc Revert "Free up resources/stale compilers." Con Kolivas 2011-07-24 08:44:14 +1000
  • f3c5f55481 Only try to print the status of active devices. Con Kolivas 2011-07-24 08:42:07 +1000
  • d5fbf8f987 Some hardware might benefit from the less OPS so there's no harm in leaving it there apart from readability of the code. Con Kolivas 2011-07-24 01:09:30 +1000
  • 8b859aa72f Merge pull request #19 from ycros/cgminer Con Kolivas 2011-07-23 00:30:17 -0700
  • 0c25ff8416 OSX: fix setsockopt compile bug Ycros 2011-07-23 17:11:16 +1000
  • f0f6a0046c Bump version number to 1.4.0 Con Kolivas 2011-07-23 16:28:11 +1000
  • cf616ba4b6 Update NEWS. Con Kolivas 2011-07-23 16:24:00 +1000
  • 020cf7d63f Build support in for all SSE if possible and only set the default according to machine capabilities. Con Kolivas 2011-07-23 16:19:51 +1000
  • 039a5ea7cd No need to make leaveok changes win32 only. Con Kolivas 2011-07-23 16:17:28 +1000
  • 4a34d10477 Merge pull request #18 from ycros/cgminer Con Kolivas 2011-07-22 23:16:01 -0700
  • a150140eb7 Merge branch 'cgminer' of git://github.com/ckolivas/cgminer into cgminer Ycros 2011-07-23 16:00:49 +1000
  • 53b53cb666 Simplify the output part of the kernel. There's no demonstrable advantage from more complexity. Con Kolivas 2011-07-23 15:58:41 +1000
  • a9e1a25518 Make it possible to select the choice of kernel on the command line. Con Kolivas 2011-07-23 15:15:46 +1000
  • 116a9dc025 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. Con Kolivas 2011-07-23 14:17:25 +1000
  • b5358483c3 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. Con Kolivas 2011-07-23 09:37:22 +1000
  • e615b61f0a Merge branch 'cgminer' of git://github.com/ckolivas/cgminer into cgminer Ycros 2011-07-23 02:26:07 +1000
  • e04aee24d3 Win32: Fix for mangled output on the terminal on exit. Ycros 2011-07-23 02:25:54 +1000
  • 8d4fbc3258 Clear log window from consistent place. No need for locking since logging is disabled during input. Con Kolivas 2011-07-23 00:45:03 +1000
  • ba89a0a44f Unlocking error on retry. Locking unnecessary anyway so remove it. Con Kolivas 2011-07-23 00:33:01 +1000
  • f94ca32dcf Make sure intensity is carried over to thread count and is at least the minimum necessary to work. Con Kolivas 2011-07-22 23:53:24 +1000
  • d37c3fe56b Win32 threading and longpoll keepalive fixes. Ycros 2011-07-22 23:43:26 +1000
  • e83a32a4e2 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. Con Kolivas 2011-07-22 23:37:50 +1000
  • 61e555e44c Tell getwork how much of a work item we're likely to complete for future splitting up of work. Con Kolivas 2011-07-22 22:22:14 +1000
  • 9e42d63cd6 With huge variation in GPU performance, allow intensity to go from -10 to +10. Con Kolivas 2011-07-22 21:57:43 +1000
  • 65b4876431 Update README. Con Kolivas 2011-07-22 21:02:40 +1000
  • 5f360394c0 News update. Con Kolivas 2011-07-22 20:36:28 +1000
  • 61e5cc10e9 Extra refresh not required. Con Kolivas 2011-07-22 20:12:32 +1000
  • ae6eb1b0a3 Decrease testing log to info level. Con Kolivas 2011-07-22 20:07:15 +1000
  • ec86da70e1 Limit rolltime work generation to 10 iterations only. Con Kolivas 2011-07-22 20:06:06 +1000
  • 6e9b6bf840 Implement pool removal. Con Kolivas 2011-07-22 17:46:28 +1000
  • 532587eba4 Set priority correctly on multipools. Display priority and alive/dead information in display_pools. Con Kolivas 2011-07-22 17:23:57 +1000
  • 56defd6e0b Make it possible to enable/disable longpoll. Con Kolivas 2011-07-22 17:02:29 +1000
  • 53529a842d Abstract out the longpoll start and explicitly restart it on pool change. Con Kolivas 2011-07-22 16:51:38 +1000
  • 62c8a8c1e1 Allow scan settings to be modified at runtime. Con Kolivas 2011-07-22 16:32:38 +1000
  • a8c84da4c9 Allow log interval to be set in the menu. Con Kolivas 2011-07-22 16:10:47 +1000
  • 2f976c7406 Make the input windows update immediately instead of needing a refresh. Con Kolivas 2011-07-22 15:17:09 +1000
  • 0909facfaf Clean up the messy way the staging thread communicates with the longpoll thread to determine who found the block first. Con Kolivas 2011-07-22 15:00:57 +1000
  • 0106c56797 Add a menu and separate out display options. Con Kolivas 2011-07-22 14:29:48 +1000
  • 4bfa2809c3 Display pool information on the fly as well. Con Kolivas 2011-07-22 14:07:50 +1000
  • 75bf36ff0e Allow the pool strategy to be modified on the fly. Con Kolivas 2011-07-22 13:58:06 +1000
  • cca6f49ef8 Abstract out active pools count. Con Kolivas 2011-07-22 12:39:32 +1000
  • 31a8944564 Tidy. Con Kolivas 2011-07-22 12:33:54 +1000
  • fe8b041654 Make --no-longpoll work again. Con Kolivas 2011-07-22 12:22:55 +1000
  • ad53696f3f 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. Con Kolivas 2011-07-22 12:17:44 +1000
  • 44bcc32234 Display current pool management strategy to enable changing it on the fly. Con Kolivas 2011-07-22 12:14:24 +1000
  • b534ad0aad Only internally test for block changes when the work matches the current pool to prevent interleaved block change timing on multipools. Con Kolivas 2011-07-22 12:02:04 +1000
  • b0a8f279f7 Implement the ability to live add, enable, disable, and switch to pools. Con Kolivas 2011-07-22 11:46:26 +1000
  • baddb82ad9 Do one last check of the work before submitting it. Con Kolivas 2011-07-22 07:50:20 +1000
  • 20336ea15d Make input pool capable of bringing up pools while running. Con Kolivas 2011-07-21 15:15:38 +1000
  • 7841486f83 Add a bool for explicit enabling/disabling of pools. Con Kolivas 2011-07-21 14:41:12 +1000
  • 0bc9574628 Add pool option to input and display current pool status, pending code to allow live changes. Con Kolivas 2011-07-21 14:29:33 +1000
  • ec06940c21 Add a thread that takes keyboard input and allow for quit, silent, debug, verbose, normal, rpc protocol debugging and clear screen options. Con Kolivas 2011-07-21 14:05:08 +1000
  • b4f651f4ff Disable/enable echo & cbreak modes. Con Kolivas 2011-07-21 13:26:18 +1000
  • 6fdbe01412 Remove the nil arguments check to allow starting without parameters. Con Kolivas 2011-07-21 13:11:15 +1000
  • 9d60b107f1 Abstract out a curses input function and separate input pool function to allow for live adding of pools later. Con Kolivas 2011-07-21 13:08:36 +1000
  • 365c90096c Make it possible to enter server credentials with curses input if none are specified on the command line. Con Kolivas 2011-07-21 12:25:21 +1000
  • 2b7e5e58c8 Enable curses earlier and exit with message in main for messages to not be lost in curses windows. Con Kolivas 2011-07-21 11:46:01 +1000
  • 4766463b78 Only set option to show devices and exit if built with opencl support. Con Kolivas 2011-07-21 11:07:51 +1000
  • f4f018b498 Don't try to stop/cancel threads that don't exist. Con Kolivas 2011-07-21 10:15:17 +1000
  • 1c67f6068c Sometimes the cl compiler generates zero sized binaries and only a reboot seems to fix it. Con Kolivas 2011-07-21 10:07:29 +1000
  • 7b13812efb Kernels are safely flushed in a way that allows out of order execution to work. Con Kolivas 2011-07-21 09:58:28 +1000
  • b4960ec36b Free up resources/stale compilers. Con Kolivas 2011-07-21 09:48:06 +1000
  • d987006cd8 TCP KEEPALIVE support for long polling. Michael Kedzierski 2011-07-20 23:48:06 +1000
  • 3f202fe8cc Bump version number. Con Kolivas 2011-07-20 13:59:54 +1000
  • b4430f1247 Document changes. Con Kolivas 2011-07-20 13:59:34 +1000
  • fa9e03f487 Implement pool rotation strategy. Con Kolivas 2011-07-20 13:48:23 +1000
  • 521025aa75 Implement load balancing algorithm by rotating requests to each pool. Con Kolivas 2011-07-20 13:35:55 +1000
  • 0ba06c69f9 Timeout on failed discarding of staged requests. Con Kolivas 2011-07-20 13:15:52 +1000
  • 6305146bea Implement proper flagging of idle pools, test them with the watchdog thread, and failover correctly. Con Kolivas 2011-07-20 13:07:41 +1000
  • 7c8919328c Move pool active test to own function. Con Kolivas 2011-07-20 11:49:03 +1000
  • 40419f1a78 Allow multiple strategies to be set for multipool management. Con Kolivas 2011-07-20 11:39:02 +1000
  • d518f7cbfd Track pool number. Con Kolivas 2011-07-20 10:24:25 +1000
  • 02e0e12529 Don't waste the work items queued on testing the pools at startup. Con Kolivas 2011-07-20 10:07:39 +1000
  • ced0e5ad81 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 2011-07-20 09:31:45 +1000
  • 0afab92cd4 Allow the user/pass userpass urls to be input in any order. Con Kolivas 2011-07-19 23:16:30 +1000
  • b56ed74867 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 2011-07-19 23:06:11 +1000
  • 0d8b8793b5 Reset the queued count to allow more work to be queued for the new pool on pool switch. Con Kolivas 2011-07-19 17:00:56 +1000
  • 0c07328fd4 Bump version number to 1.3.0 Con Kolivas 2011-07-19 14:35:08 +1000
  • 012456f3b7 Display per pool summary at the end if multiple pools in use. Fine tune statistics and make localgen fail at 5 mins. Con Kolivas 2011-07-19 14:33:52 +1000
  • 6de8de3e0e Documentation. Con Kolivas 2011-07-19 14:20:28 +1000
  • 85bf965cda Force a mandatory work item on pool switch and determine what to do based on server supporting roll time or not. Con Kolivas 2011-07-19 14:09:36 +1000
  • f91a048ae7 Implement the actual switch logic which changes over after 5 minutes of local work generation. Con Kolivas 2011-07-19 13:30:29 +1000
  • 81ff7fb3dc Explicitly probe each pool to see if work can be retrieved from it and what it supports. Con Kolivas 2011-07-19 13:01:08 +1000
  • 913e120262 Test for rolltime and save it correctly when testing for longpoll. Con Kolivas 2011-07-19 12:29:33 +1000
  • 0ce3df10d2 Store whether each server supports X-Roll-Ntime or not. Con Kolivas 2011-07-19 11:45:58 +1000
  • 321c4798d4 Make longpoll switch servers should it not match the current pool. Con Kolivas 2011-07-19 10:53:04 +1000
  • 529aa70c38 Set pool on work retrieved from longpoll. Con Kolivas 2011-07-19 10:32:24 +1000
  • 048bea201f Set first localgen time to max. Con Kolivas 2011-07-19 10:31:05 +1000
  • ecda75946b Set and get the current pool under lock. Con Kolivas 2011-07-19 10:19:59 +1000
  • b8ba2fd44e Implement a per-pool mutex and use that for locking the internal flags. Con Kolivas 2011-07-19 09:54:50 +1000
  • fd10b993b0 Move add pool to somewhere clean and obvious. Con Kolivas 2011-07-19 09:43:15 +1000
  • 05dfc16035 Merge branch 'cgminer' into pools Con Kolivas 2011-07-19 09:33:54 +1000
  • 3a9fd06c42 Revert "total_queued should always be >= total_staged" Con Kolivas 2011-07-19 09:30:17 +1000
  • cdc72daed9 Some servers regularly return empty responses. Drop the message from ERR to INFO. Con Kolivas 2011-07-19 09:26:23 +1000
  • 5a861bf1e4 total_queued should always be >= total_staged Con Kolivas 2011-07-19 09:23:04 +1000
  • 7073493911 Merge branch 'cgminer' into pools Con Kolivas 2011-07-19 01:46:16 +1000
  • 44c975be65 Long timeouts are causing reset connections and longpoll can recover if the connection needs to be restarted, so remove the timeout settings. Con Kolivas 2011-07-19 01:39:22 +1000
  • a46b5d1e0a Make it possible to pass multiple urls/users etc in preparation for multiple pool support but only use pool 0 for now. Con Kolivas 2011-07-19 01:27:56 +1000
  • 19b80d6db3 Curl's global init can trample dynamically allocated data so do it before anything else. Con Kolivas 2011-07-19 00:14:58 +1000
  • 961c43067b Abstract out the pool data to begin move to multiple pool support. Con Kolivas 2011-07-19 00:09:45 +1000