NEWS 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915
  1. Version 2.0.4 - September 23, 2011
  2. - Confused Longpoll messages should be finally fixed with cgminer knowing for
  3. sure who found the new block and possibly avoiding a rare crash.
  4. - Display now shows the actual hash and will say BLOCK! if a block is deemed
  5. solved.
  6. - Extra spaces, which would double space lines on small terminals, have been
  7. removed.
  8. - Fan speed change is now damped if it is already heading in the correct
  9. direction to minimise overshoot.
  10. - Building without opencl libraries is fixed.
  11. - GPUs are autoselected if there is only one when in the GPU management menu.
  12. - GPU menu is refreshed instead of returning to status after a GPU change.
  13. Version 2.0.3 - September 17, 2011
  14. - Various modes of failure to set fanspeeds and adl values have been addressed
  15. and auto-fan should work now on most hardware, and possibly other values
  16. which previously would not have worked.
  17. - Fixed a crash that can occur on switching pools due to longpoll thread races.
  18. - Use ATISTREAMSDKROOT if available at build time.
  19. - Fanspeed management is returned to the driver default on exit instead of
  20. whatever it was when cgminer was started.
  21. - Logging of events deemed WARNING or ERR now will display even during
  22. periods where menu input is being awaited on.
  23. Version 2.0.2 - September 11, 2011
  24. - Exit cleanly if we abort before various threads are set up or if they no
  25. longer exist.
  26. - Fix a rare crash in HASH_DEL due to using different mutexes to protect the
  27. data.
  28. - Flag devices that have never started and don't allow enabling of devices
  29. without restarting them.
  30. - Only force the adapter speed to high if we've flagged this device as being
  31. managed.
  32. - Flag any devices with autofan or autogpu as being managed.
  33. - Use a re-entrant value to store what fanspeed we're trying to set in case the
  34. card doesn't support small changes. Force it to a multiple of 10% if it
  35. fails on trying to speed up the fan.
  36. - Do not bother resetting values to old ones if changes to GPU parameters report
  37. failure, instead returning a failure code only if the return value from get()
  38. differs.
  39. - Remove redundant check.
  40. - Only display supported values from fanspeed on change settings.
  41. - Missing bracket from output.
  42. - Display fan percentage on devices that only support reporting percent and not
  43. RPM.
  44. - Properly substitute DLOPEN flags to build with ADL support when -ldl is needed
  45. and not when opencl is not found.
  46. Version 2.0.1 - September 9, 2011
  47. - Fix building on 32bit glibc with dlopen with -lpthread and -ldl
  48. - ByteReverse is not used and the bswap opcode breaks big endian builds. Remove
  49. it.
  50. - Ignore whether the display is active or not since only display enabled devices
  51. work this way, and we skip over repeat entries anwyay.
  52. - Only reset values on exiting if we've ever modified them.
  53. - Flag adl as active if any card is successfully activated.
  54. - Add a thermal cutoff option as well and set it to 95 degrees by default.
  55. - Change the fan speed by only 5% if it's over the target temperature but less
  56. than the hysteresis value to minimise overshoot down in temperature.
  57. - Add a --no-adl option to disable ADL monitoring and GPU settings.
  58. - Only show longpoll received delayed message at verbose level.
  59. - Allow temperatures greater than 100 degrees.
  60. - We should be passing a float for the remainder of the vddc values.
  61. - Implement accepting a range of engine speeds as well to allow a lower limit to
  62. be specified on the command line.
  63. - Allow per-device fan ranges to be set and use them in auto-fan mode.
  64. - Display which GPU has overheated in warning message.
  65. - Allow temperature targets to be set on a per-card basis on the command line.
  66. - Display fan range in autofan status.
  67. - Setting the hysteresis is unlikely to be useful on the fly and doesn't belong
  68. in the per-gpu submenu.
  69. - With many cards, the GPU summaries can be quite long so use a terse output
  70. line when showing them all.
  71. - Use a terser device status line to show fan RPM as well when available.
  72. - Define max gpudevices in one macro.
  73. - Allow adapterid 0 cards to enumerate as a device as they will be non-AMD
  74. cards, and enable ADL on any AMD card.
  75. - Do away with the increasingly confusing and irrelevant total queued and
  76. efficiency measures per device.
  77. - Only display values in the log if they're supported and standardise device log
  78. line printing.
  79. Version 2.0.0 - September 6, 2011
  80. Major feature upgrade - GPU monitoring, (over)clocking and fan control for ATI
  81. GPUs.
  82. New command line switches:
  83. --auto-fan- Automatically adjust all GPU fan speeds to maintain a target
  84. temperature
  85. --auto-gpu- Automatically adjust all GPU engine clock speeds to maintain
  86. a target temperature
  87. --gpu-engine <arg> Set the GPU engine (over)clock in Mhz - one value for all or
  88. separate by commas for per card.
  89. --gpu-fan <arg> Set the GPU fan percentage - one value for all or separate
  90. by commas for per card.
  91. --gpu-memclock <arg> Set the GPU memory (over)clock in Mhz - one value for all
  92. or separate by commas for per card.
  93. --gpu-powertune <arg> Set the GPU powertune percentage - one value for all or
  94. separate by commas for per card.
  95. --gpu-vddc <arg> Set the GPU voltage in Volts - one value for all or separate
  96. by commas for per card.
  97. --temp-hysteresis <arg> Set how much the temperature can fluctuate outside
  98. limits when automanaging speeds (default: 3)
  99. --temp-overheat <arg> Set the overheat temperature when automatically managing
  100. fan and GPU speeds (default: 85)
  101. --temp-target <arg> Set the target temperature when automatically managing fan
  102. and GPU speeds (default: 75)
  103. - Implement ATI ADL support for GPU parameter monitoring now and setting later
  104. (temp, fan, clocks etc.).
  105. - Check for the presence of the ADL header files in ADL_SDK.
  106. - Import adl_functions.h from amd overdrive ctrl.
  107. - Implement a setup function that tries to detect GPUs that support the ADL and
  108. link in the parameters into the gpus struct.
  109. - Put a summary of monitoring information from the GPU menu.
  110. - Implement changing memory speed and voltage on the fly.
  111. - Implement fan speed setting.
  112. - Minor corrections to set fan speed by percentage.
  113. - Make sure to read off the value in RPM only.
  114. - Implement auto fanspeed adjustment to maintain a target temperature and
  115. fanspeed below 85%, with an overheat check that will speed the fan up to 100%.
  116. - Add an --auto-fan command line option to allow all GPUs to have autofan
  117. enabled from startup.
  118. - Add a gpu autotune option which adjusts GPU speed to maintain a target
  119. temperature within the bounds of the default GPU speed and any overclocking set.
  120. - Avoid a dereference if the longpoll thread doesn't exist.
  121. - Clean up by setting performance profiles and fan settings to startup levels on
  122. exit.
  123. - Add a small amount of hysteresis before lowering clock speed.
  124. - Allow target, overheat and hysteresis temperatures to be set from command
  125. line.
  126. - Combine all stats collating into one function to avoid repeating function
  127. calls on each variable.
  128. - Add gpu statistics to debugging output via the watchdog thread.
  129. - Implement menus to change temperature limits.
  130. - Implement setting the GPU engine clock speed of all devices or each device as
  131. a comma separated value.
  132. - Implement setting the GPU memory clock speed of all devices or each device as
  133. a comma separated value.
  134. - Implement setting the GPU voltage of all devices or each device as a comma
  135. separated value.
  136. - Implement setting the GPU fan speed of all devices or each device as a comma
  137. separated value.
  138. - Add support for monitoring powertune setting.
  139. - Implement changing of powertune value from the GPU change settings menu.
  140. - Get the value of powertune in get_stats.
  141. - Implement setting the GPU powertune value of all devices or each device as a
  142. comma separated value.
  143. - Remove the safety checks in speed setting since confirmation is done first in
  144. the menu, then show the new current values after a short pause.
  145. - Force the speed to high on startup and restore it to whatever the setting was
  146. on exit.
  147. - Add temperature to standard output where possible and use more compact output.
  148. - Move and print at the same time in curses to avoid random trampling display
  149. errors.
  150. - Update the status window only from the watchdog thread, do not rewrite the top
  151. status messages and only refresh once all the status window is complete,
  152. clearing the window each time to avoid corruption.
  153. - Set a safe starting fan speed if we're automanaging the speeds.
  154. - Provide locking around all adl calls to prevent races.
  155. - Lower profile settings cannot be higher than higher profile ones so link any
  156. drops in settings.
  157. - Add new needed text files to distribution.
  158. - Queue requests ignoring the number of staged clones since they get discarded
  159. very easily leading to false positives for pool not providing work fast enough.
  160. - Include libgen.h in opt.c to fix win32 compilation warnings.
  161. - Fix compilation warning on win32.
  162. - Add the directory name from the arguments cgminer was called from as well to
  163. allow it running from a relative pathname.
  164. - Add a --disable-adl option to configure and only enable it if opencl support
  165. exists.
  166. - Retry before returning a failure to get upstream work as a failure to avoid
  167. false positives for pool dead.
  168. - Retry also if the decoding of work fails.
  169. - Use the presence of X-Roll-Ntime in the header as a bool for exists unless N
  170. is found in the response.
  171. Version 1.6.2 - September 2, 2011
  172. - Add --failover-only option to not leak work to backup pools when the primary
  173. pool is lagging.
  174. - Change recommendation to intensity 9 for dedicated miners.
  175. - Fix the bouncing short term value by allowing it to change dynamically when
  176. the latest value is very different from the rolling value, but damp the change
  177. when it gets close.
  178. - Use the curses_lock to protect the curses_active variable and test it under
  179. lock.
  180. - Go back to requesting work 2/3 of the way through the current scantime with
  181. CPU mining as reports of mining threads running out of work have occurred with
  182. only 5 seconds to retrieve work.
  183. - Add start and stop time scheduling for regular time of day running or once off
  184. start/stop options.
  185. - Print summary on quit modes.
  186. - Put some sanity checks on the times that can be input.
  187. - Give a verbose message when no active pools are found and pause before
  188. exiting.
  189. - Add verbose message when a GPU fails to initialise, and disable the correct
  190. GPU.
  191. - Cryptopp asm32 was not correctly updated to the incremental nonce code so the
  192. hash counter was bogus.
  193. - Get rid of poorly executed curl check.
  194. - If curl does not have sockopts, do not try to compile the
  195. json_rpc_call_sockopt_cb function, making it possible to build against older
  196. curl libraries.
  197. - Most people expect /usr/local when an unspecified prefix is used so change to
  198. that.
  199. - Rename localgen occasions to getwork fail occasions since localgen is
  200. unrelated now.
  201. Version 1.6.1 - August 29, 2011
  202. - Copy cgminer path, not cat it.
  203. - Switching between redrawing windows does not fix the crash with old
  204. libncurses, so redraw both windows, but only when the window size hasn't
  205. changed.
  206. - Reinstate minimum 1 extra in queue to make it extremely unlikely to ever have
  207. 0 staged work items and any idle time.
  208. - Return -1 if no input is detected from the menu to prevent it being
  209. interpreted as a 0.
  210. - Make pthread, libcurl and libcurses library checks mandatory or fail.
  211. - Add a --disable-opencl configure option to make it possible to override
  212. detection of opencl and build without GPU mining support.
  213. - Confusion over the variable name for number of devices was passing a bogus
  214. value which likely was causing the zero sized binary issue.
  215. - cgminer no longer supports default url user and pass so remove them.
  216. - Don't show value of intensity since it's dynamic by default.
  217. - Add options to explicitly enable CPU mining or disable GPU mining.
  218. - Convert the opt queue into a minimum number of work items to have queued
  219. instead of an extra number to decrease risk of getting idle devices without
  220. increasing risk of higher rejects.
  221. - Statify tv_sort.
  222. - Check for SSE2 before trying to build 32 bit SSE2 assembly version. Prevents
  223. build failure when yasm is installed but -msse2 is not specified.
  224. - Add some defines to configure.ac to enable exporting of values and packaging,
  225. and clean up output.
  226. - Give convenient summary at end of ./configure.
  227. - Display version information and add --version command line option, and make
  228. sure we flush stdout.
  229. - Enable curses after the mining threads are set up so that failure messages
  230. won't be lost in the curses interface.
  231. - Disable curses after inputting a pool if we requested no curses interface.
  232. - Add an option to break out after successfully mining a number of accepted
  233. shares.
  234. - Exit with a failed return code if we did not reach opt_shares.
  235. - The cpu mining work data can get modified before we copy it if we submit it
  236. async, and the sync submission is not truly sync anyway, so just submit it sync.
  237. Version 1.6.0 - August 26, 2011
  238. - Make restarting of GPUs optional for systems that hang on any attempt to
  239. restart them. Fix DEAD status by comparing it to last live time rather than
  240. last attempted restart time since that happens every minute.
  241. - Move staged threads to hashes so we can sort them by time.
  242. - Create a hash list of all the blocks created and search them to detect when a
  243. new block has definitely appeared, using that information to detect stale work
  244. and discard it.
  245. - Update configure.ac for newer autoconf tools.
  246. - Use the new hashes directly for counts instead of the fragile counters
  247. currently in use.
  248. - Update to latest sse2 code from cpuminer-ng.
  249. - Allow LP to reset block detect and block detect lp flags to know who really
  250. came first.
  251. - Get start times just before mining begins to not have very slow rise in
  252. average.
  253. - Add message about needing one server.
  254. - We can queue all the necessary work without hitting frequent stales now with
  255. the time and string stale protection active all the time. This prevents a
  256. pool being falsely labelled as not providing work fast enough.
  257. - Include uthash.h in distro.
  258. - Implement SSE2 32 bit assembly algorithm as well.
  259. - Fail gracefully if unable to open the opencl files.
  260. - Make cgminer look in the install directory for the .cl files making make
  261. install work correctly.
  262. - Allow a custom kernel path to be entered on the command line.
  263. - Bump threshhold for lag up to maximum queued but no staged work.
  264. - Remove fragile source patching for bitalign, vectors et. al and simply pass it
  265. with the compiler options.
  266. - Actually check the value returned for the x-roll-ntime extension to make sure
  267. it isn't saying N.
  268. - Prevent segfault on exit for when accessory threads don't exist.
  269. - Disable curl debugging with opt protocol since it spews to stderr.
  270. Version 1.5.8 - August 23, 2011
  271. - Minimise how much more work can be given in cpu mining threads each interval.
  272. - Make the fail-pause progressively longer each time it fails until the network
  273. recovers.
  274. - Only display the lagging message if we've requested the work earlier.
  275. - Clean up the pool switching to not be dependent on whether the work can roll
  276. or not by setting a lagging flag and then the idle flag.
  277. - Only use one thread to determine if a GPU is sick or well, and make sure to
  278. reset the sick restart attempt time.
  279. - The worksize was unintentionally changed back to 4k by mistake, this caused a
  280. slowdown.
  281. Version 1.5.7 - August 22, 2011
  282. - Fix a crash with --algo auto
  283. - Test at appropriate target difficulty now.
  284. - Add per-device statics log output with --per-device-stats
  285. - Fix breakage that occurs when 1 or 4 vectors are chosen on new phatk.
  286. - Make rolltime report debug level only now since we check it every work
  287. item.
  288. - Add the ability to enable/disable per-device stats on the fly and match
  289. logging on/off.
  290. - Explicitly tell the compiler to retain the program to minimise the chance of
  291. the zero sized binary errors.
  292. - Add one more instruction to avoid one branch point in the common path in the
  293. cl return code. Although this adds more ALUs overall and more branch points, the
  294. common path code has the same number of ALUs and one less jmp, jmps being more
  295. expensive.
  296. - Explicitly link in ws2_32 on the windows build and update README file on how
  297. to compile successfully on windows.
  298. - Release cl resources should the gpu mining thread abort.
  299. - Attempt to restart a GPU once every minute while it's sick.
  300. - Don't kill off the reinit thread if it fails to init a GPU but returns safely.
  301. - Only declare a GPU dead if there's been no sign of activity from the reinit
  302. thread for 10 mins.
  303. - Never automatically disable any pools but just specify them as idle if they're
  304. unresponsive at startup.
  305. - Use any longpoll available, and don't disable it if switching to a server that
  306. doesn't have it. This allows you to mine solo, yet use the longpoll from a pool
  307. even if the pool is the backup server.
  308. - Display which longpoll failed and don't free the ram for lp_url since it
  309. belongs to the pool hdr path.
  310. - Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al
  311. to compile.
  312. Version 1.5.6 - August 17, 2011
  313. - New phatk and poclbm kernels. Updated phatk to be in sync with latest 2.2
  314. courtesy of phateus. Custom modified to work best with cgminer.
  315. - Updated output buffer code to use a smaller buffer with the kernels.
  316. - Clean up the longpoll management to ensure the right paths go to the right
  317. pool and display whether we're connected to LP or not in the status line.
  318. Version 1.5.5 - August 16, 2011
  319. - Rework entirely the GPU restart code. Strike a balance between code that
  320. re-initialises the GPU entirely so that soft hangs in the code are properly
  321. managed, but if a GPU is completely hung, the thread restart code fails
  322. gracefully, so that it does not take out any other code or devices. This will
  323. allow cgminer to keep restarting GPUs that can be restarted, but continue
  324. mining even if one or more GPUs hangs which would normally require a reboot.
  325. - Add --submit-stale option which submits all shares, regardless of whether they
  326. would normally be considered stale.
  327. - Keep options in alphabetical order.
  328. - Probe for slightly longer for when network conditions are lagging.
  329. - Only display the CPU algo when we're CPU mining.
  330. - As we have keepalives now, blaming network flakiness on timeouts appears to
  331. have been wrong. Set a timeout for longpoll to 1 hour, and most other
  332. network connectivity to 1 minute.
  333. - Simplify output code and remove HW errors from CPU stats.
  334. - Simplify code and tidy output.
  335. - Only show cpu algo in summary if cpu mining.
  336. - Log summary at the end as per any other output.
  337. - Flush output.
  338. - Add a linux-usb-cgminer guide courtesy of Kano.
  339. Version 1.5.4 - August 14, 2011
  340. - Add new option: --monitor <cmd> Option lets user specify a command <cmd> that
  341. will get forked by cgminer on startup. cgminer's stderr output subsequently gets
  342. piped directly to this command.
  343. - Allocate work from one function to be able to initialise variables added
  344. later.
  345. - Add missing fflush(stdout) for --ndevs and conclusion summary.
  346. - Preinitialise the devices only once on startup.
  347. - Move the non cl_ variables into the cgpu info struct to allow creating a new
  348. cl state on reinit, preserving known GPU variables.
  349. - Create a new context from scratch in initCQ in case something was corrupted to
  350. maximise our chance of succesfully creating a new worker thread. Hopefully this
  351. makes thread restart on GPU failure more reliable, without hanging everything
  352. in the case of a completely wedged GPU.
  353. - Display last initialised time in gpu management info, to know if a GPU has
  354. been re-initialised.
  355. - When pinging a sick cpu, flush finish and then ping it in a separate thread in
  356. the hope it recovers without needing a restart, but without blocking code
  357. elsewhere.
  358. - Only consider a pool lagging if we actually need the work and we have none
  359. staged despite queue requests stacking up. This decreases significantly the
  360. amount of work that leaks to the backup pools.
  361. - The can_roll function fails inappropriately in stale_work.
  362. - Only put the message that a pool is down if not pinging it every minute. This
  363. prevents cgminer from saying pool down at 1 minute intervals unless in debug
  364. mode.
  365. - Free all work in one place allowing us to perform actions on it in the future.
  366. - Remove the extra shift in the output code which was of dubious benefit. In
  367. fact in cgminer's implementation, removing this caused a miniscule speedup.
  368. - Test each work item to see if it can be rolled instead of per-pool and roll
  369. whenever possible, adhering to the 60 second timeout. This makes the period
  370. after a longpoll have smaller dips in throughput, as well as requiring less
  371. getworks overall thus increasing efficiency.
  372. - Stick to rolling only work from the current pool unless we're in load balance
  373. mode or lagging to avoid aggressive rolling imitating load balancing.
  374. - If a work item has had any mining done on it, don't consider it discarded
  375. work.
  376. Version 1.5.3 - July 30, 2011
  377. - Significant work went into attempting to make the thread restart code robust
  378. to identify sick threads, tag them SICK after 1 minute, then DEAD after 5
  379. minutes of inactivity and try to restart them. Instead of re-initialising the
  380. GPU completely, only a new cl context is created to avoid hanging the rest of
  381. the GPUs should the dead GPU be hung irrevocably.
  382. - Use correct application name in syslog.
  383. - Get rid of extra line feeds.
  384. - Use pkg-config to check for libcurl version
  385. - Implement per-thread getwork count with proper accounting to not over-account
  386. queued items when local work replaces it.
  387. - Create a command queue from the program created from source which allows us
  388. to flush the command queue in the hope it will not generate a zero sized binary
  389. any more.
  390. - Be more willing to get work from the backup pools if the work is simply being
  391. queued faster than it is being retrieved.
  392. Version 1.5.2 - July 28, 2011
  393. - Restarting a hung GPU can hang the rest of the GPUs so just declare it dead
  394. and provide the information in the status.
  395. - The work length in the miner thread gets smaller but doesn't get bigger if
  396. it's under 1 second. This could end up leading to CPU under-utilisation and
  397. lower and lower hash rates. Fix it by increasing work length if it drops
  398. under 1 second.
  399. - Make the "quiet" mode still update the status and display errors, and add a
  400. new --real-quiet option which disables all output and can be set once while
  401. running.
  402. - Update utility and efficiency figures when displaying them.
  403. - Some Intel HD graphics support the opencl commands but return errors since
  404. they don't support opencl. Don't fail with them, just provide a warning and
  405. disable GPU mining.
  406. - Add http:// if it's not explicitly set for URL entries.
  407. - Log to the output file at any time with warnings and errors, instead of just
  408. when verbose mode is on.
  409. - Display the correct current hash as per blockexplorer, truncated to 16
  410. characters, with just the time.
  411. Version 1.5.1 - July 27, 2011
  412. - Two redraws in a row cause a crash in old libncurses so just do one redraw
  413. using the main window.
  414. - Don't adjust hash_div only up for GPUs. Disable hash_div adjustment for GPUs.
  415. - Only free the thread structures if the thread still exists.
  416. - Update both windows separately, but not at the same time to prevent the double
  417. refresh crash that old libncurses has. Do the window resize check only when
  418. about to redraw the log window to minimise ncurses cpu usage.
  419. - Abstract out the decay time function and use it to make hash_div a rolling
  420. average so it doesn't change too abruptly and divide work in chunks large enough
  421. to guarantee they won't overlap.
  422. - Sanity check to prove locking.
  423. - Don't take more than one lock at a time.
  424. - Make threads report out when they're queueing a request and report if they've
  425. failed.
  426. - Make cpu mining work submission asynchronous as well.
  427. - Properly detect stale work based on time from staging and discard instead of
  428. handing on, but be more lax about how long work can be divided for up to the
  429. scantime.
  430. - Do away with queueing work separately at the start and let each thread grab
  431. its own work as soon as it's ready.
  432. - Don't put an extra work item in the queue as each new device thread will do so
  433. itself.
  434. - Make sure to decrease queued count if we discard the work.
  435. - Attribute split work as local work generation.
  436. - If work has been cloned it is already at the head of the list and when being
  437. reinserted into the queue it should be placed back at the head of the list.
  438. - Dividing work is like the work is never removed at all so treat it as such.
  439. However the queued bool needs to be reset to ensure we *can* request more work
  440. even if we didn't initially.
  441. - Make the display options clearer.
  442. - Add debugging output to tq_push calls.
  443. - Add debugging output to all tq_pop calls.
  444. Version 1.5.0 - July 26, 2011
  445. - Increase efficiency of slow mining threads such as CPU miners dramatically. Do
  446. this by detecting which threads cannot complete searching a work item within the
  447. scantime and then divide up a work item into multiple smaller work items.
  448. Detect the age of the work items and if they've been cloned before to prevent
  449. doing the same work over. If the work is too old to be divided, then see if it
  450. can be time rolled and do that to generate work. This dramatically decreases the
  451. number of queued work items from a pool leading to higher overall efficiency
  452. (but the same hashrate and share submission rate).
  453. - Don't request work too early for CPUs as CPUs will scan for the full
  454. opt_scantime anyway.
  455. - Simplify gpu management enable/disable/restart code.
  456. - Implement much more accurate rolling statistics per thread and per gpu and
  457. improve accuracy of rolling displayed values.
  458. - Make the rolling log-second average more accurate.
  459. - Add a menu to manage GPUs on the fly allowing you to enable/disable GPUs or
  460. try restarting them.
  461. - Keep track of which GPUs are alive versus enabled.
  462. - Start threads for devices that are even disabled, but don't allow them to
  463. start working.
  464. - The last pool is when we are low in total_pools, not active_pools.
  465. - Make the thread restart do a pthread_join after disabling the device, only
  466. re-enabling it if we succeed in restarting the thread. Do this from a separate
  467. thread so as to not block any other code.This will allow cgminer to continue
  468. even if one GPU hangs.
  469. - Try to do every curses manipulation under the curses lock.
  470. - Only use the sockoptfunction if the version of curl is recent enough.
  471. Version 1.4.1 - July 24, 2011
  472. - Do away with GET for dealing with longpoll forever. POST is the one that works
  473. everywhere, not the other way around.
  474. - Detect when the primary pool is lagging and start queueing requests on backup
  475. pools if possible before needing to roll work.
  476. - Load balancing puts more into the current pool if there are disabled pools.
  477. Fix.
  478. - Disable a GPU device should the thread fail to init.
  479. - Out of order command queue may fail on osx. Try without if it fails.
  480. - Fix possible dereference on blank inputs during input_pool.
  481. - Defines missing would segfault on --help when no sse mining is built in.
  482. - Revert "Free up resources/stale compilers." - didn't help.
  483. - Only try to print the status of active devices or it would crash.
  484. - Some hardware might benefit from the less OPS so there's no harm in leaving
  485. kernel changes that do that apart from readability of the code.
  486. Version 1.4.0 - July 23, 2011
  487. - Feature upgrade: Add keyboard input during runtime to allow modification of
  488. and viewing of numerous settings such as adding/removing pools, changing
  489. multipool management strategy, switching pools, changing intensiy, verbosity,
  490. etc. with a simple keypress menu system.
  491. - Free up resources/stale compilers.
  492. - Kernels are safely flushed in a way that allows out of order execution to
  493. work.
  494. - Sometimes the cl compiler generates zero sized binaries and only a reboot
  495. seems to fix it.
  496. - Don't try to stop/cancel threads that don't exist.
  497. - Only set option to show devices and exit if built with opencl support.
  498. - Enable curses earlier and exit with message in main for messages to not be
  499. lost in curses windows.
  500. - Make it possible to enter server credentials with curses input if none are
  501. specified on the command line.
  502. - Abstract out a curses input function and separate input pool function to allow
  503. for live adding of pools later.
  504. - Remove the nil arguments check to allow starting without parameters.
  505. - Disable/enable echo & cbreak modes.
  506. - Add a thread that takes keyboard input and allow for quit, silent, debug,
  507. verbose, normal, rpc protocol debugging and clear screen options.
  508. - Add pool option to input and display current pool status, pending code to
  509. allow live changes.
  510. - Add a bool for explicit enabling/disabling of pools.
  511. - Make input pool capable of bringing up pools while running.
  512. - Do one last check of the work before submitting it.
  513. - Implement the ability to live add, enable, disable, and switch to pools.
  514. - Only internally test for block changes when the work matches the current pool
  515. to prevent interleaved block change timing on multipools.
  516. - Display current pool management strategy to enable changing it on the fly.
  517. - The longpoll blanking of the current_block data may not be happening before
  518. the work is converted and appears to be a detected block change. Blank the
  519. current block be
  520. - Make --no-longpoll work again.
  521. - Abstract out active pools count.
  522. - Allow the pool strategy to be modified on the fly.
  523. - Display pool information on the fly as well.
  524. - Add a menu and separate out display options.
  525. - Clean up the messy way the staging thread communicates with the longpoll
  526. thread to determine who found the block first.
  527. - Make the input windows update immediately instead of needing a refresh.
  528. - Allow log interval to be set in the menu.
  529. - Allow scan settings to be modified at runtime.
  530. - Abstract out the longpoll start and explicitly restart it on pool change.
  531. - Make it possible to enable/disable longpoll.
  532. - Set priority correctly on multipools. Display priority and alive/dead
  533. information in display_pools.
  534. - Implement pool removal.
  535. - Limit rolltime work generation to 10 iterations only.
  536. - Decrease testing log to info level.
  537. - Extra refresh not required.
  538. - With huge variation in GPU performance, allow intensity to go from -10 to +10.
  539. - Tell getwork how much of a work item we're likely to complete for future
  540. splitting up of work.
  541. - Remove the mandatory work requirement at startup by testing for invalid work
  542. being passed which allows for work to be queued immediately. This also
  543. removes the requirem
  544. - Make sure intensity is carried over to thread count and is at least the
  545. minimum necessary to work.
  546. - Unlocking error on retry. Locking unnecessary anyway so remove it.
  547. - Clear log window from consistent place. No need for locking since logging is
  548. disabled during input.
  549. - Cannot print the status of threads that don't exist so just queue enough work
  550. for the number of mining threads to prevent crash with -Q N.
  551. - Update phatk kernel to one with new parameters for slightly less overhead
  552. again. Make the queue kernel parameters call a function pointer to select
  553. phatk or poclbm.
  554. - Make it possible to select the choice of kernel on the command line.
  555. - Simplify the output part of the kernel. There's no demonstrable advantage from
  556. more complexity.
  557. - Merge pull request #18 from ycros/cgminer
  558. - No need to make leaveok changes win32 only.
  559. - Build support in for all SSE if possible and only set the default according to
  560. machine capabilities.
  561. - Win32 threading and longpoll keepalive fixes.
  562. - Win32: Fix for mangled output on the terminal on exit.
  563. Version 1.3.1 - July 20, 2011
  564. - Feature upgrade; Multiple strategies for failover. Choose from default which
  565. now falls back to a priority order from 1st to last, round robin which only
  566. changes pools when one is idle, rotate which changes pools at user-defined
  567. intervals, and load-balance which spreads the work evenly amongst all pools.
  568. - Implement pool rotation strategy.
  569. - Implement load balancing algorithm by rotating requests to each pool.
  570. - Timeout on failed discarding of staged requests.
  571. - Implement proper flagging of idle pools, test them with the watchdog thread,
  572. and failover correctly.
  573. - Move pool active test to own function.
  574. - Allow multiple strategies to be set for multipool management.
  575. - Track pool number.
  576. - Don't waste the work items queued on testing the pools at startup.
  577. - Reinstate the mining thread watchdog restart.
  578. - Add a getpoll bool into the thread information and don't restart threads stuck
  579. waiting on work.
  580. - Rename the idlenet bool for the pool for later use.
  581. - Allow the user/pass userpass urls to be input in any order.
  582. - When json rpc errors occur they occur in spits and starts, so trying to limit
  583. them with the comms error bool doesn't stop a flood of them appearing.
  584. - Reset the queued count to allow more work to be queued for the new pool on
  585. pool switch.
  586. Version 1.3.0 - July 19, 2011
  587. - Massive infrastructure update to support pool failover.
  588. - Accept multiple parameters for url, user and pass and set up structures of
  589. pool data accordingly.
  590. - Probe each pool for what it supports.
  591. - Implement per pool feature support according to rolltime support as
  592. advertised by server.
  593. - Do switching automatically based on a 300 second timeout of locally generated
  594. work or 60 seconds of no response from a server that doesn't support rolltime.
  595. - Implement longpoll server switching.
  596. - Keep per-pool data and display accordingly.
  597. - Make sure cgminer knows how long the pool has actually been out for before
  598. deeming it a prolonged outage.
  599. - Fix bug with ever increasing staged work in 1.2.8 that eventually caused
  600. infinite rejects.
  601. - Make warning about empty http requests not show by default since many
  602. servers do this regularly.
  603. Version 1.2.8 - July 18, 2011
  604. - More OSX build fixes.
  605. - Add an sse4 algorithm to CPU mining.
  606. - Fix CPU mining with other algorithms not working.
  607. - Rename the poclbm file to ensure a new binary is built since.
  608. - We now are guaranteed to have one fresh work item after a block change and we
  609. should only discard staged requests.
  610. - Don't waste the work we retrieve from a longpoll.
  611. - Provide a control lock around global bools to avoid racing on them.
  612. - Iterating over 1026 nonces when confirming data from the GPU is old code
  613. and unnecessary and can lead to repeats/stales.
  614. - The poclbm kernel needs to be updated to work with the change to 4k sized
  615. output buffers.
  616. - longpoll seems to work either way with post or get but some servers prefer
  617. get so change to httpget.
  618. Version 1.2.7 - July 16, 2011
  619. - Show last 8 characters of share submitted in log.
  620. - Display URL connected to and user logged in as in status.
  621. - Display current block and when it was started in the status line.
  622. - Only pthread_join the mining threads if they exist as determined by
  623. pthread_cancel and don't fail on pthread_cancel.
  624. - Create a unique work queue for all getworks instead of binding it to thread 0
  625. to avoid any conflict over thread 0's queue.
  626. - Clean up the code to make it clear it's watchdog thread being messaged to
  627. restart the threads.
  628. - Check the current block description hasn't been blanked pending the real
  629. new current block data.
  630. - Re-enable signal handlers once the signal has been received to make it
  631. possible to kill cgminer if it fails to shut down.
  632. - Disable restarting of CPU mining threads pending further investigation.
  633. - Update longpoll messages.
  634. - Add new block data to status line.
  635. - Fix opencl tests for osx.
  636. - Only do local generation of work if the work item is not stale itself.
  637. - Check for stale work within the mining threads and grab new work if
  638. positive.
  639. - Test for idle network conditions and prevent threads from being restarted
  640. by the watchdog thread under those circumstances.
  641. - Make sure that local work generation does not continue indefinitely by
  642. stopping it after 10 minutes.
  643. - Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
  644. nonce value instead of a compare and loop for a shorter code path.
  645. - Allow queue of zero and make that default again now that we can track how
  646. work is being queued versus staged. This can decrease reject rates.
  647. - Queue precisely the number of mining threads as longpoll_staged after a
  648. new block to not generate local work.
  649. Version 1.2.6 - July 15, 2011
  650. - Put a current system status line beneath the total work status line
  651. - Fix a counting error that would prevent cgminer from correctly detecting
  652. situations where getwork was failing - this would cause stalls sometimes
  653. unrecoverably.
  654. - Limit the maximum number of requests that can be put into the queue which
  655. otherwise could get arbitrarily long during a network outage.
  656. - Only count getworks that are real queue requests.
  657. Version 1.2.5 - July 15, 2011
  658. - Conflicting -n options corrected
  659. - Setting an intensity with -I disables dynamic intensity setting
  660. - Removed option to manually disable dynamic intensity
  661. - Improve display output
  662. - Implement signal handler and attempt to clean up properly on exit
  663. - Only restart threads that are not stuck waiting on mandatory getworks
  664. - Compatibility changes courtesy of Ycros to build on mingw32 and osx
  665. - Explicitly grab first work item to prevent false positive hardware errors
  666. due to working on uninitialised work structs
  667. - Add option for non curses --text-only output
  668. - Ensure we connect at least once successfully before continuing to retry to
  669. connect in case url/login parameters were wrong
  670. - Print an executive summary when cgminer is terminated
  671. - Make sure to refresh the status window
  672. Versions -> 1.2.4
  673. - Con Kolivas - July 2011. New maintainership of code under cgminer name.
  674. - Massive rewrite to incorporate GPU mining.
  675. - Incorporate original oclminer c code.
  676. - Rewrite gpu mining code to efficient work loops.
  677. - Implement per-card detection and settings.
  678. - Implement vector code.
  679. - Implement bfi int patching.
  680. - Import poclbm and phatk ocl kernels and use according to hardware type.
  681. - Implement customised optimised versions of opencl kernels.
  682. - Implement binary kernel generation and loading.
  683. - Implement preemptive asynchronous threaded work gathering and pushing.
  684. - Implement variable length extra work queues.
  685. - Optimise workloads to be efficient miners instead of getting lots of extra
  686. work.
  687. - Implement total hash throughput counters, per-card accepted, rejected and
  688. hw error count.
  689. - Staging and watchdog threads to prevent fallover.
  690. - Stale and reject share guarding.
  691. - Autodetection of new blocks without longpoll.
  692. - Dynamic setting of intensity to maintain desktop interactivity.
  693. - Curses interface with generous statistics and information.
  694. - Local generation of work (xroll ntime) when detecting poor network
  695. connectivity.
  696. Version 1.0.2
  697. - Linux x86_64 optimisations - Con Kolivas
  698. - Optimise for x86_64 by default by using sse2_64 algo
  699. - Detects CPUs and sets number of threads accordingly
  700. - Uses CPU affinity for each thread where appropriate
  701. - Sets scheduling policy to lowest possible
  702. - Minor performance tweaks
  703. Version 1.0.1 - May 14, 2011
  704. - OSX support
  705. Version 1.0 - May 9, 2011
  706. - jansson 2.0 compatibility
  707. - correct off-by-one in date (month) display output
  708. - fix platform detection
  709. - improve yasm configure bits
  710. - support full URL, in X-Long-Polling header
  711. Version 0.8.1 - March 22, 2011
  712. - Make --user, --pass actually work
  713. - Add User-Agent HTTP header to requests, so that server operators may
  714. more easily identify the miner client.
  715. - Fix minor bug in example JSON config file
  716. Version 0.8 - March 21, 2011
  717. - Support long polling: http://deepbit.net/longpolling.php
  718. - Adjust max workload based on scantime (default 5 seconds,
  719. or 60 seconds for longpoll)
  720. - Standardize program output, and support syslog on Unix platforms
  721. - Suport --user/--pass options (and "user" and "pass" in config file),
  722. as an alternative to the current --userpass
  723. Version 0.7.2 - March 14, 2011
  724. - Add port of ufasoft's sse2 assembly implementation (Linux only)
  725. This is a substantial speed improvement on Intel CPUs.
  726. - Move all JSON-RPC I/O to separate thread. This reduces the
  727. number of HTTP connections from one-per-thread to one, reducing resource
  728. usage on upstream bitcoind / pool server.
  729. Version 0.7.1 - March 2, 2011
  730. - Add support for JSON-format configuration file. See example
  731. file example-cfg.json. Any long argument on the command line
  732. may be stored in the config file.
  733. - Timestamp each solution found
  734. - Improve sha256_4way performance. NOTE: This optimization makes
  735. the 'hash' debug-print output for sha256_way incorrect.
  736. - Use __builtin_expect() intrinsic as compiler micro-optimization
  737. - Build on Intel compiler
  738. - HTTP library now follows HTTP redirects
  739. Version 0.7 - February 12, 2011
  740. - Re-use CURL object, thereby reuseing DNS cache and HTTP connections
  741. - Use bswap_32, if compiler intrinsic is not available
  742. - Disable full target validation (as opposed to simply H==0) for now
  743. Version 0.6.1 - February 4, 2011
  744. - Fully validate "hash < target", rather than simply stopping our scan
  745. if the high 32 bits are 00000000.
  746. - Add --retry-pause, to set length of pause time between failure retries
  747. - Display proof-of-work hash and target, if -D (debug mode) enabled
  748. - Fix max-nonce auto-adjustment to actually work. This means if your
  749. scan takes longer than 5 seconds (--scantime), the miner will slowly
  750. reduce the number of hashes you work on, before fetching a new work unit.
  751. Version 0.6 - January 29, 2011
  752. - Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
  753. - BeeCee1's sha256 4way optimizations
  754. - lfm's byte swap optimization (improves via, cryptopp)
  755. - Fix non-working short options -q, -r
  756. Version 0.5 - December 28, 2010
  757. - Exit program, when all threads have exited
  758. - Improve JSON-RPC failure diagnostics and resilience
  759. - Add --quiet option, to disable hashmeter output.
  760. Version 0.3.3 - December 27, 2010
  761. - Critical fix for sha256_cryptopp 'cryptopp_asm' algo
  762. Version 0.3.2 - December 23, 2010
  763. - Critical fix for sha256_via
  764. Version 0.3.1 - December 19, 2010
  765. - Critical fix for sha256_via
  766. - Retry JSON-RPC failures (see --retry, under "minerd --help" output)
  767. Version 0.3 - December 18, 2010
  768. - Add crypto++ 32bit assembly implementation
  769. - show version upon 'minerd --help'
  770. - work around gcc 4.5.x bug that killed 4way performance
  771. Version 0.2.2 - December 6, 2010
  772. - VIA padlock implementation works now
  773. - Minor build and runtime fixes
  774. Version 0.2.1 - November 29, 2010
  775. - avoid buffer overflow when submitting solutions
  776. - add Crypto++ sha256 implementation (C only, ASM elided for now)
  777. - minor internal optimizations and cleanups
  778. Version 0.2 - November 27, 2010
  779. - Add script for building a Windows installer
  780. - improve hash performance (hashmeter) statistics
  781. - add tcatm 4way sha256 implementation
  782. - Add experimental VIA Padlock sha256 implementation
  783. Version 0.1.2 - November 26, 2010
  784. - many small cleanups and micro-optimizations
  785. - build win32 exe using mingw
  786. - RPC URL, username/password become command line arguments
  787. - remove unused OpenSSL dependency
  788. Version 0.1.1 - November 24, 2010
  789. - Do not build sha256_generic module separately from cpuminer.
  790. Version 0.1 - November 24, 2010
  791. - Initial release.