NEWS 22 KB

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