NEWS 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. Version 1.5.0 - July 26, 2011
  2. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  3. this by detecting which threads cannot complete searching a work item within the
  4. scantime and then divide up a work item into multiple smaller work items.
  5. Detect the age of the work items and if they've been cloned before to prevent
  6. doing the same work over. If the work is too old to be divided, then see if it
  7. can be time rolled and do that to generate work. This dramatically decreases the
  8. number of queued work items from a pool leading to higher overall efficiency
  9. (but the same hashrate and share submission rate).
  10. - Don't request work too early for CPUs as CPUs will scan for the full
  11. opt_scantime anyway.
  12. - Simplify gpu management enable/disable/restart code.
  13. - Implement much more accurate rolling statistics per thread and per gpu and
  14. improve accuracy of rolling displayed values.
  15. - Make the rolling log-second average more accurate.
  16. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  17. try restarting them.
  18. - Keep track of which GPUs are alive versus enabled.
  19. - Start threads for devices that are even disabled, but don't allow them to
  20. start working.
  21. - The last pool is when we are low in total_pools, not active_pools.
  22. - Make the thread restart do a pthread_join after disabling the device, only
  23. re-enabling it if we succeed in restarting the thread. Do this from a separate
  24. thread so as to not block any other code.This will allow cgminer to continue
  25. even if one GPU hangs.
  26. - Try to do every curses manipulation under the curses lock.
  27. - Only use the sockoptfunction if the version of curl is recent enough.
  28. Version 1.4.1 - July 24, 2011
  29. - Do away with GET for dealing with longpoll forever. POST is the one that works
  30. everywhere, not the other way around.
  31. - Detect when the primary pool is lagging and start queueing requests on backup
  32. pools if possible before needing to roll work.
  33. - Load balancing puts more into the current pool if there are disabled pools.
  34. Fix.
  35. - Disable a GPU device should the thread fail to init.
  36. - Out of order command queue may fail on osx. Try without if it fails.
  37. - Fix possible dereference on blank inputs during input_pool.
  38. - Defines missing would segfault on --help when no sse mining is built in.
  39. - Revert "Free up resources/stale compilers." - didn't help.
  40. - Only try to print the status of active devices or it would crash.
  41. - Some hardware might benefit from the less OPS so there's no harm in leaving
  42. kernel changes that do that apart from readability of the code.
  43. Version 1.4.0 - July 23, 2011
  44. - Feature upgrade: Add keyboard input during runtime to allow modification of
  45. and viewing of numerous settings such as adding/removing pools, changing
  46. multipool management strategy, switching pools, changing intensiy, verbosity,
  47. etc. with a simple keypress menu system.
  48. - Free up resources/stale compilers.
  49. - Kernels are safely flushed in a way that allows out of order execution to
  50. work.
  51. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  52. seems to fix it.
  53. - Don't try to stop/cancel threads that don't exist.
  54. - Only set option to show devices and exit if built with opencl support.
  55. - Enable curses earlier and exit with message in main for messages to not be
  56. lost in curses windows.
  57. - Make it possible to enter server credentials with curses input if none are
  58. specified on the command line.
  59. - Abstract out a curses input function and separate input pool function to allow
  60. for live adding of pools later.
  61. - Remove the nil arguments check to allow starting without parameters.
  62. - Disable/enable echo & cbreak modes.
  63. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  64. verbose, normal, rpc protocol debugging and clear screen options.
  65. - Add pool option to input and display current pool status, pending code to
  66. allow live changes.
  67. - Add a bool for explicit enabling/disabling of pools.
  68. - Make input pool capable of bringing up pools while running.
  69. - Do one last check of the work before submitting it.
  70. - Implement the ability to live add, enable, disable, and switch to pools.
  71. - Only internally test for block changes when the work matches the current pool
  72. to prevent interleaved block change timing on multipools.
  73. - Display current pool management strategy to enable changing it on the fly.
  74. - The longpoll blanking of the current_block data may not be happening before
  75. the work is converted and appears to be a detected block change. Blank the
  76. current block be
  77. - Make --no-longpoll work again.
  78. - Abstract out active pools count.
  79. - Allow the pool strategy to be modified on the fly.
  80. - Display pool information on the fly as well.
  81. - Add a menu and separate out display options.
  82. - Clean up the messy way the staging thread communicates with the longpoll
  83. thread to determine who found the block first.
  84. - Make the input windows update immediately instead of needing a refresh.
  85. - Allow log interval to be set in the menu.
  86. - Allow scan settings to be modified at runtime.
  87. - Abstract out the longpoll start and explicitly restart it on pool change.
  88. - Make it possible to enable/disable longpoll.
  89. - Set priority correctly on multipools. Display priority and alive/dead
  90. information in display_pools.
  91. - Implement pool removal.
  92. - Limit rolltime work generation to 10 iterations only.
  93. - Decrease testing log to info level.
  94. - Extra refresh not required.
  95. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  96. - Tell getwork how much of a work item we're likely to complete for future
  97. splitting up of work.
  98. - Remove the mandatory work requirement at startup by testing for invalid work
  99. being passed which allows for work to be queued immediately. This also
  100. removes the requirem
  101. - Make sure intensity is carried over to thread count and is at least the
  102. minimum necessary to work.
  103. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  104. - Clear log window from consistent place. No need for locking since logging is
  105. disabled during input.
  106. - Cannot print the status of threads that don't exist so just queue enough work
  107. for the number of mining threads to prevent crash with -Q N.
  108. - Update phatk kernel to one with new parameters for slightly less overhead
  109. again. Make the queue kernel parameters call a function pointer to select
  110. phatk or poclbm.
  111. - Make it possible to select the choice of kernel on the command line.
  112. - Simplify the output part of the kernel. There's no demonstrable advantage from
  113. more complexity.
  114. - Merge pull request #18 from ycros/cgminer
  115. - No need to make leaveok changes win32 only.
  116. - Build support in for all SSE if possible and only set the default according to
  117. machine capabilities.
  118. - Win32 threading and longpoll keepalive fixes.
  119. - Win32: Fix for mangled output on the terminal on exit.
  120. Version 1.3.1 - July 20, 2011
  121. - Feature upgrade; Multiple strategies for failover. Choose from default which
  122. now falls back to a priority order from 1st to last, round robin which only
  123. changes pools when one is idle, rotate which changes pools at user-defined
  124. intervals, and load-balance which spreads the work evenly amongst all pools.
  125. - Implement pool rotation strategy.
  126. - Implement load balancing algorithm by rotating requests to each pool.
  127. - Timeout on failed discarding of staged requests.
  128. - Implement proper flagging of idle pools, test them with the watchdog thread,
  129. and failover correctly.
  130. - Move pool active test to own function.
  131. - Allow multiple strategies to be set for multipool management.
  132. - Track pool number.
  133. - Don't waste the work items queued on testing the pools at startup.
  134. - Reinstate the mining thread watchdog restart.
  135. - Add a getpoll bool into the thread information and don't restart threads stuck
  136. waiting on work.
  137. - Rename the idlenet bool for the pool for later use.
  138. - Allow the user/pass userpass urls to be input in any order.
  139. - When json rpc errors occur they occur in spits and starts, so trying to limit
  140. them with the comms error bool doesn't stop a flood of them appearing.
  141. - Reset the queued count to allow more work to be queued for the new pool on
  142. pool switch.
  143. Version 1.3.0 - July 19, 2011
  144. - Massive infrastructure update to support pool failover.
  145. - Accept multiple parameters for url, user and pass and set up structures of
  146. pool data accordingly.
  147. - Probe each pool for what it supports.
  148. - Implement per pool feature support according to rolltime support as
  149. advertised by server.
  150. - Do switching automatically based on a 300 second timeout of locally generated
  151. work or 60 seconds of no response from a server that doesn't support rolltime.
  152. - Implement longpoll server switching.
  153. - Keep per-pool data and display accordingly.
  154. - Make sure cgminer knows how long the pool has actually been out for before
  155. deeming it a prolonged outage.
  156. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  157. infinite rejects.
  158. - Make warning about empty http requests not show by default since many
  159. servers do this regularly.
  160. Version 1.2.8 - July 18, 2011
  161. - More OSX build fixes.
  162. - Add an sse4 algorithm to CPU mining.
  163. - Fix CPU mining with other algorithms not working.
  164. - Rename the poclbm file to ensure a new binary is built since.
  165. - We now are guaranteed to have one fresh work item after a block change and we
  166. should only discard staged requests.
  167. - Don't waste the work we retrieve from a longpoll.
  168. - Provide a control lock around global bools to avoid racing on them.
  169. - Iterating over 1026 nonces when confirming data from the GPU is old code
  170. and unnecessary and can lead to repeats/stales.
  171. - The poclbm kernel needs to be updated to work with the change to 4k sized
  172. output buffers.
  173. - longpoll seems to work either way with post or get but some servers prefer
  174. get so change to httpget.
  175. Version 1.2.7 - July 16, 2011
  176. - Show last 8 characters of share submitted in log.
  177. - Display URL connected to and user logged in as in status.
  178. - Display current block and when it was started in the status line.
  179. - Only pthread_join the mining threads if they exist as determined by
  180. pthread_cancel and don't fail on pthread_cancel.
  181. - Create a unique work queue for all getworks instead of binding it to thread 0
  182. to avoid any conflict over thread 0's queue.
  183. - Clean up the code to make it clear it's watchdog thread being messaged to
  184. restart the threads.
  185. - Check the current block description hasn't been blanked pending the real
  186. new current block data.
  187. - Re-enable signal handlers once the signal has been received to make it
  188. possible to kill cgminer if it fails to shut down.
  189. - Disable restarting of CPU mining threads pending further investigation.
  190. - Update longpoll messages.
  191. - Add new block data to status line.
  192. - Fix opencl tests for osx.
  193. - Only do local generation of work if the work item is not stale itself.
  194. - Check for stale work within the mining threads and grab new work if
  195. positive.
  196. - Test for idle network conditions and prevent threads from being restarted
  197. by the watchdog thread under those circumstances.
  198. - Make sure that local work generation does not continue indefinitely by
  199. stopping it after 10 minutes.
  200. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  201. nonce value instead of a compare and loop for a shorter code path.
  202. - Allow queue of zero and make that default again now that we can track how
  203. work is being queued versus staged. This can decrease reject rates.
  204. - Queue precisely the number of mining threads as longpoll_staged after a
  205. new block to not generate local work.
  206. Version 1.2.6 - July 15, 2011
  207. - Put a current system status line beneath the total work status line
  208. - Fix a counting error that would prevent cgminer from correctly detecting
  209. situations where getwork was failing - this would cause stalls sometimes
  210. unrecoverably.
  211. - Limit the maximum number of requests that can be put into the queue which
  212. otherwise could get arbitrarily long during a network outage.
  213. - Only count getworks that are real queue requests.
  214. Version 1.2.5 - July 15, 2011
  215. - Conflicting -n options corrected
  216. - Setting an intensity with -I disables dynamic intensity setting
  217. - Removed option to manually disable dynamic intensity
  218. - Improve display output
  219. - Implement signal handler and attempt to clean up properly on exit
  220. - Only restart threads that are not stuck waiting on mandatory getworks
  221. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  222. - Explicitly grab first work item to prevent false positive hardware errors
  223. due to working on uninitialised work structs
  224. - Add option for non curses --text-only output
  225. - Ensure we connect at least once successfully before continuing to retry to
  226. connect in case url/login parameters were wrong
  227. - Print an executive summary when cgminer is terminated
  228. - Make sure to refresh the status window
  229. Versions -> 1.2.4
  230. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  231. - Massive rewrite to incorporate GPU mining.
  232. - Incorporate original oclminer c code.
  233. - Rewrite gpu mining code to efficient work loops.
  234. - Implement per-card detection and settings.
  235. - Implement vector code.
  236. - Implement bfi int patching.
  237. - Import poclbm and phatk ocl kernels and use according to hardware type.
  238. - Implement customised optimised versions of opencl kernels.
  239. - Implement binary kernel generation and loading.
  240. - Implement preemptive asynchronous threaded work gathering and pushing.
  241. - Implement variable length extra work queues.
  242. - Optimise workloads to be efficient miners instead of getting lots of extra
  243. work.
  244. - Implement total hash throughput counters, per-card accepted, rejected and
  245. hw error count.
  246. - Staging and watchdog threads to prevent fallover.
  247. - Stale and reject share guarding.
  248. - Autodetection of new blocks without longpoll.
  249. - Dynamic setting of intensity to maintain desktop interactivity.
  250. - Curses interface with generous statistics and information.
  251. - Local generation of work (xroll ntime) when detecting poor network
  252. connectivity.
  253. Version 1.0.2
  254. - Linux x86_64 optimisations - Con Kolivas
  255. - Optimise for x86_64 by default by using sse2_64 algo
  256. - Detects CPUs and sets number of threads accordingly
  257. - Uses CPU affinity for each thread where appropriate
  258. - Sets scheduling policy to lowest possible
  259. - Minor performance tweaks
  260. Version 1.0.1 - May 14, 2011
  261. - OSX support
  262. Version 1.0 - May 9, 2011
  263. - jansson 2.0 compatibility
  264. - correct off-by-one in date (month) display output
  265. - fix platform detection
  266. - improve yasm configure bits
  267. - support full URL, in X-Long-Polling header
  268. Version 0.8.1 - March 22, 2011
  269. - Make --user, --pass actually work
  270. - Add User-Agent HTTP header to requests, so that server operators may
  271. more easily identify the miner client.
  272. - Fix minor bug in example JSON config file
  273. Version 0.8 - March 21, 2011
  274. - Support long polling: http://deepbit.net/longpolling.php
  275. - Adjust max workload based on scantime (default 5 seconds,
  276. or 60 seconds for longpoll)
  277. - Standardize program output, and support syslog on Unix platforms
  278. - Suport --user/--pass options (and "user" and "pass" in config file),
  279. as an alternative to the current --userpass
  280. Version 0.7.2 - March 14, 2011
  281. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  282. This is a substantial speed improvement on Intel CPUs.
  283. - Move all JSON-RPC I/O to separate thread. This reduces the
  284. number of HTTP connections from one-per-thread to one, reducing resource
  285. usage on upstream bitcoind / pool server.
  286. Version 0.7.1 - March 2, 2011
  287. - Add support for JSON-format configuration file. See example
  288. file example-cfg.json. Any long argument on the command line
  289. may be stored in the config file.
  290. - Timestamp each solution found
  291. - Improve sha256_4way performance. NOTE: This optimization makes
  292. the 'hash' debug-print output for sha256_way incorrect.
  293. - Use __builtin_expect() intrinsic as compiler micro-optimization
  294. - Build on Intel compiler
  295. - HTTP library now follows HTTP redirects
  296. Version 0.7 - February 12, 2011
  297. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  298. - Use bswap_32, if compiler intrinsic is not available
  299. - Disable full target validation (as opposed to simply H==0) for now
  300. Version 0.6.1 - February 4, 2011
  301. - Fully validate "hash < target", rather than simply stopping our scan
  302. if the high 32 bits are 00000000.
  303. - Add --retry-pause, to set length of pause time between failure retries
  304. - Display proof-of-work hash and target, if -D (debug mode) enabled
  305. - Fix max-nonce auto-adjustment to actually work. This means if your
  306. scan takes longer than 5 seconds (--scantime), the miner will slowly
  307. reduce the number of hashes you work on, before fetching a new work unit.
  308. Version 0.6 - January 29, 2011
  309. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  310. - BeeCee1's sha256 4way optimizations
  311. - lfm's byte swap optimization (improves via, cryptopp)
  312. - Fix non-working short options -q, -r
  313. Version 0.5 - December 28, 2010
  314. - Exit program, when all threads have exited
  315. - Improve JSON-RPC failure diagnostics and resilience
  316. - Add --quiet option, to disable hashmeter output.
  317. Version 0.3.3 - December 27, 2010
  318. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  319. Version 0.3.2 - December 23, 2010
  320. - Critical fix for sha256_via
  321. Version 0.3.1 - December 19, 2010
  322. - Critical fix for sha256_via
  323. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  324. Version 0.3 - December 18, 2010
  325. - Add crypto++ 32bit assembly implementation
  326. - show version upon 'minerd --help'
  327. - work around gcc 4.5.x bug that killed 4way performance
  328. Version 0.2.2 - December 6, 2010
  329. - VIA padlock implementation works now
  330. - Minor build and runtime fixes
  331. Version 0.2.1 - November 29, 2010
  332. - avoid buffer overflow when submitting solutions
  333. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  334. - minor internal optimizations and cleanups
  335. Version 0.2 - November 27, 2010
  336. - Add script for building a Windows installer
  337. - improve hash performance (hashmeter) statistics
  338. - add tcatm 4way sha256 implementation
  339. - Add experimental VIA Padlock sha256 implementation
  340. Version 0.1.2 - November 26, 2010
  341. - many small cleanups and micro-optimizations
  342. - build win32 exe using mingw
  343. - RPC URL, username/password become command line arguments
  344. - remove unused OpenSSL dependency
  345. Version 0.1.1 - November 24, 2010
  346. - Do not build sha256_generic module separately from cpuminer.
  347. Version 0.1 - November 24, 2010
  348. - Initial release.