NEWS 20 KB

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