NEWS 22 KB

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