|
26ab7346
|
2012-08-18T15:27:53
|
|
Implement a new pool strategy, BALANCE, which monitors work performed per pool as a rolling average every 10 minutes to try and distribute work evenly over all the pools.
Do this by monitoring diff1 solutions to allow different difficulty target pools to be treated equally, along with solo mining.
Update the documentation to describe this strategy and more accurately describe the load-balance one.
|
|
d8c76bbd
|
2012-08-18T11:26:11
|
|
Getwork fail was not being detected. Remove a vast amount of unused variables and functions used in the old queue request mechanism and redefine the getfail testing.
|
|
c3e32274
|
2012-08-16T10:41:01
|
|
Cull all the early queue requests since we request every time work is popped now.
|
|
5fadfdb2
|
2012-08-16T09:19:45
|
|
Overlap queued decrementing with staged incrementing.
|
|
611f1cec
|
2012-08-15T22:48:08
|
|
Roll work whenever we can on getwork.
|
|
fd0be1bb
|
2012-08-15T22:28:09
|
|
Queue requests for getwork regardless and test whether we should send for a getwork from the getwork thread itself.
|
|
2480cf23
|
2012-08-15T10:54:38
|
|
Don't try to get bitforce temperature if we're polling for a result to minimise the chance of interleaved responses.
|
|
8745ba1e
|
2012-08-15T09:38:45
|
|
Windows' timer resolution is limited to 15ms accuracy. This was breaking dynamic intensity since it tries to measure below this.
Since we are repeatedly sampling similar timeframes, we can average the gpu_us result over 5 different values to get very fine precision.
|
|
95dff736
|
2012-08-14T12:54:27
|
|
API allow display/change failover-only setting
|
|
8aa61f66
|
2012-08-11T16:47:49
|
|
Make sure we have work from the current pool somewhere in the queue in case the queue is full of requests from a pool that has just died.
|
|
8085ae68
|
2012-08-11T14:04:55
|
|
Further simplify the queue request mechanism.
|
|
3576abf8
|
2012-08-05T15:43:27
|
|
Make pool_disabled the first in the enums == 0, fixing the pool enabled count which compares if value is not enabled before enabling it.
|
|
fc44b6d7
|
2012-08-05T15:32:44
|
|
Use different variables for command line specified lookup gap and thread concurrency to differentiate user defined versus auto chosen values.
|
|
bf9c3247
|
2012-08-05T13:40:46
|
|
The queueing mechanism has become a complex state machine that is no longer predictable. Rewrite it from scratch watching only current queues in flight and staged work available on a pool by pool basis.
|
|
b70ec3cb
|
2012-08-02T17:17:53
|
|
Merge pull request #283 from kanoi/icarus
ICA support 57600 baud rate, up to 8 FPGA and partial working FPGA boards
|
|
7fa794a4
|
2012-08-03T09:26:43
|
|
It is not critical getting the temperature response in bitforce so don't mandatorily wait on the mutex lock.
|
|
e067be42
|
2012-08-01T22:50:30
|
|
ICA support 57600 baud rate, up to 8 FPGA and partial working FPGA boards
|
|
c91148f1
|
2012-07-30T09:02:23
|
|
Remove the low hash count determinant of hardware being sick. A low hash rate can be for poor network connectivity or scrypt mining, neither of which are due to sick hardware.
|
|
500ed85b
|
2012-07-29T03:46:49
|
|
Merge pull request #271 from luke-jr/cg_logfixes
Logging bugfixes
|
|
e87ff7c1
|
2012-07-29T13:15:39
|
|
Keep a counter of enabled pools and use that instead of iterating over the pool list. Use that value to ensure we don't set the last remaining active pool to the rejecting state.
|
|
9a6c082a
|
2012-07-24T20:27:37
|
|
Make the thread concurrency and lookup gap options hidden on the command line and autotune parameters with a newly parsed --shaders option.
|
|
da4ff2bd
|
2012-07-23T20:22:01
|
|
Bugfix: Use a mutex to control non-curses output
Without this, there is no guarantee writes won't overlap (and it happens quite a bit on Windows with the bitforce driver)
|
|
d98e561a
|
2012-07-23T20:15:45
|
|
Simplify code to a single vprintf path for curses-less printing
|
|
80593c47
|
2012-07-23T19:56:03
|
|
Move opt_quiet check to my_log_curses, so it works for curses-less builds
|
|
89eb1fa3
|
2012-07-23T17:41:31
|
|
Check the maximum allocable memory size per opencl device.
|
|
17dfe74f
|
2012-07-22T00:49:47
|
|
Allow intensities up to 20 if scrypt is compiled in.
|
|
39f7d2fa
|
2012-07-21T17:31:06
|
|
Allow lookup gap and thread concurrency to be passed per device and store details in kernel binary filename.
|
|
6ac14f42
|
2012-07-16T13:14:21
|
|
Don't enqueuewrite buffer at all for pad8 and pass work details around for scrypt in dev_blk.
|
|
0f43eb5e
|
2012-07-13T20:35:44
|
|
Don't test nonce with sha and various fixes for scrypt.
|
|
b085c338
|
2012-07-13T20:28:36
|
|
Make scrypt buffers and midstate compatible with cgminer.
|
|
dd740caa
|
2012-07-13T19:02:43
|
|
Provide initial support for the scrypt kernel to compile with and mine scrypt with the --scrypt option.
|
|
5a65415b
|
2012-07-13T14:47:02
|
|
Enable completely compiling scrypt out.
|
|
176cdf8b
|
2012-07-13T14:44:52
|
|
Begin import of scrypt opencl kernel from reaper.
|
|
c1c99f1d
|
2012-07-12T23:09:05
|
|
Merge https://github.com/pshep/cgminer into pshep
|
|
d4d5b28e
|
2012-07-11T14:46:09
|
|
Abbrv. correction
|
|
c57c308d
|
2012-07-11T20:29:06
|
|
Bugfix: Don't declare devices SICK if they're just busy initializing
This mainly applies to ModMiner since it takes 4-5 minutes to upload the bitstream
|
|
5f0a22d2
|
2012-07-11T08:32:41
|
|
Remove superfluous ave_wait
|
|
2c54522d
|
2012-07-11T08:11:53
|
|
Add average wait time to api stats
|
|
01a69ee4
|
2012-07-11T08:07:39
|
|
Revert "Merge branch 'ave_time' of https://github.com/pshep/cgminer.git"
This reverts commit 242e52cdf902aabd124e600a65b7d7140b11fef0, reversing
changes made to 4dc1bf2319daf5d8eae3a486e2bbbaa3ed00c88b.
|
|
5c7e0308
|
2012-07-11T22:59:58
|
|
Modify te scanhash API to use an int64_t and return -1 on error, allowing zero to be a valid return value.
|
|
3cc0aa76
|
2012-07-10T15:34:01
|
|
Add average return time to api stats
|
|
953ecd9e
|
2012-07-08T23:25:02
|
|
Change timeouts to time-vals for accuracy.
|
|
2ce7f28b
|
2012-07-08T04:24:55
|
|
Merge pull request #254 from luke-jr/work_restart2
Turn work_restart array into a bool in thr_info
|
|
fd55fab9
|
2012-07-06T16:54:00
|
|
Make bitforce nonce range support a command line option --bfl-range since enabling it decrease hashrate by 1%.
|
|
d4af2d05
|
2012-07-06T02:39:32
|
|
Turn work_restart array into a bool in thr_info
|
|
3271be14
|
2012-07-06T15:01:39
|
|
Provide a ms based sleep function that uses nanosleep to avoid the inaccuracy of usleep on SMP systems.
|
|
75eca078
|
2012-07-05T09:15:21
|
|
Restart_wait is only called with a ms value so incorporate that into the function.
|
|
e5aba760
|
2012-07-05T00:40:01
|
|
Fix off-by-one error in nonce increment in bfl.
|
|
6314a12b
|
2012-07-04T23:53:55
|
|
Initially enable support for nonce range support on bfl, splitting nonces up into 3/4 size and only disable it if it fails on work submit.
|
|
96fba30b
|
2012-07-04T17:31:02
|
|
Attempt to detect nonce range support in BFL by sending work requring its support.
|
|
ff0afb94
|
2012-07-03T13:14:30
|
|
Add API Notify counter 'Comms Error'
|
|
732783fa
|
2012-07-03T11:35:58
|
|
Merge branch 'bfl'
Conflicts:
miner.h
|
|
2ec0fb97
|
2012-07-02T18:26:18
|
|
Merge pull request #247 from kanoi/master
api.c data structure + updated get_api_stats/driver-icarus.c
|
|
336dbd5c
|
2012-07-03T10:44:59
|
|
Remove needless roundl define.
|
|
cc0ad5ea
|
2012-07-01T23:35:06
|
|
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Conflicts:
driver-bitforce.c
|
|
fd7b21ed
|
2012-07-02T10:54:20
|
|
Use a pthread conditional that is broadcast whenever work restarts are required. Create a generic wait function waiting a specified time on that conditional that returns if the condition is met or a specified time passed to it has elapsed. Use this to do smarter polling in bitforce to abort work, queue more work, and check for results to minimise time spent working needlessly.
|
|
a4a2000c
|
2012-06-30T20:45:56
|
|
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
|
|
1e942147
|
2012-07-01T10:44:23
|
|
Timersub is supported on all build platforms so do away with custom timerval_subtract function.
|
|
eab9debc
|
2012-06-30T23:41:22
|
|
api.c data structure - all testing attempted successful
|
|
d8abfb71
|
2012-06-30T15:58:31
|
|
api.c data structure - tested + updated get_api_stats/driver-icarus.c
|
|
538653a5
|
2012-06-30T12:44:57
|
|
api.c data structure - 2nd - untested
|
|
21e4cd85
|
2012-06-30T02:49:01
|
|
api.c data structure rather than raw sprintf - 1st test
|
|
3be662a2
|
2012-06-28T18:35:32
|
|
Merge branch 'old_gcc'
|
|
123058b5
|
2012-06-28T11:02:03
|
|
Add macro roundl for compilers without said function.
|
|
baa480c1
|
2012-06-28T08:22:55
|
|
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Conflicts:
cgminer.c
|
|
f2253929
|
2012-06-28T08:20:45
|
|
Add low hash threshold in sick/dead processing
Add check for fd in comms procedures
|
|
3267b534
|
2012-06-28T10:43:52
|
|
Implement rudimentary X-Mining-Hashrate support.
|
|
c21fc065
|
2012-06-27T21:28:18
|
|
define API option --api-groups
|
|
78d5a81d
|
2012-06-26T12:32:09
|
|
Merge branch 'master' of https://github.com/ckolivas/cgminer.git
|
|
dffda238
|
2012-06-26T12:50:52
|
|
Increase GPU timing resolution to microsecond and add sanity check to ensure times are positive.
|
|
df9e76bd
|
2012-06-25T10:56:04
|
|
Merge branch 'master' of https://github.com/ckolivas/cgminer.git
|
|
c027492f
|
2012-06-25T17:06:26
|
|
Make the pools array a dynamically allocated array to allow unlimited pools to be added.
|
|
5cf4b7c4
|
2012-06-25T16:59:29
|
|
Make the devices array a dynamically allocated array of pointers to allow unlimited devices.
|
|
eaf15053
|
2012-06-25T13:31:52
|
|
Dynamic intensity for GPUs should be calculated on a per device basis. Clean up the code to only calculate it if required as well.
|
|
f32ffb87
|
2012-06-24T13:20:17
|
|
Work out a rolling average getwork delay stored in pool_stats.
|
|
6a45cbbd
|
2012-06-23T23:45:08
|
|
Merge branch 'master' of https://github.com/ckolivas/cgminer
|
|
c5a21fab
|
2012-06-23T23:43:22
|
|
Extend nrolltime to support the expiry= parameter. Do this by turning the rolltime bool into an integer set to the expiry time. If the pool supports rolltime but not expiry= then set the expiry time to the standard scantime.
|
|
e0370281
|
2012-06-19T10:40:00
|
|
Merge branch 'master' of https://github.com/ckolivas/cgminer.git
Conflicts:
driver-bitforce.c
|
|
f70577b0
|
2012-06-19T04:38:49
|
|
Merge pull request #229 from luke-jr/modminer_primary
modminer: Don't delay 2nd+ FPGAs during work restart
|
|
1215da39
|
2012-06-18T05:51:09
|
|
modminer: Don't delay 2nd+ FPGAs during work restart
Add primary_thread boolean to threads to identify a single one as the "primary" thread for shared-resource multithreading.
This is needed since ModMiners use multiple threads to interface with independent hashing components.
|
|
fe4c0869
|
2012-06-17T09:44:42
|
|
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Conflicts:
cgminer.c
|
|
7ae22e21
|
2012-06-16T20:24:40
|
|
Disable OpenCL code when not available.
|
|
bc4a259a
|
2012-06-14T08:13:07
|
|
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
|
|
30bb3c62
|
2012-06-14T02:38:24
|
|
Merge pull request #224 from kanoi/master
API add ModMinerQuad support
|
|
2d1f9610
|
2012-06-14T00:05:31
|
|
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
|
|
dbe9056d
|
2012-06-14T15:42:43
|
|
Add mandatory and block fields to the work struct. Flag any shares that are detected as blocks as mandatory to submit, along with longpoll work from a previously rejecting pool.
|
|
b94e1996
|
2012-06-13T17:31:20
|
|
Merge branch 'master' of https://github.com/ckolivas/cgminer.git
|
|
eff2d04d
|
2012-06-13T12:31:33
|
|
Merge branch 'master' of https://github.com/ckolivas/cgminer.git
Conflicts:
cgminer.c
|
|
1b63a75d
|
2012-06-13T12:26:03
|
|
Simple auto sleep-time calibration.
Optimises the sleep time while waiting for the BFL work to finish.
Takes ~5 mins to settle to the correct time for each unit, then will continue to make adjustments.
|
|
4eb23c7e
|
2012-06-13T16:56:31
|
|
Bugfix: slay a variety of warnings
|
|
913221c3
|
2012-06-14T02:57:37
|
|
API add ModMinerQuad support
|
|
2384d0fb
|
2012-06-12T18:20:18
|
|
Removed idle mode... again!?
Changed work_reset rate to every 100ms & use defines rather than numerics.
Change total sleep time to 4300ms after performance testing/measurement (now good to 916MH/s).
Changed timeout to 15s - Throttle time is 15s.
Added support for 'Busy' when submitting work.
Improved logging text to include device identifier.
Added a thread_enable api function, called when a thread is re-enabled.
... and removed useless re-init inside scanhash.
Use modminer introduced mutex.
|
|
a78d616b
|
2012-06-12T16:31:17
|
|
modminer: Temperature sensor improvements
Display the temperature of each of the (up to) 4 FPGAs
|
|
861388f9
|
2012-06-12T09:04:42
|
|
Merge branch 'master' of https://github.com/ckolivas/cgminer.git
|
|
76f96f47
|
2012-06-11T03:02:10
|
|
New driver: BTCFPGA ModMiner
|
|
d3fa59d7
|
2012-06-05T02:17:09
|
|
Abstract generally useful FPGA code into fpgautils.c
|
|
bf4d6c34
|
2012-06-11T13:36:35
|
|
Merge branch 'master' of https://github.com/ckolivas/cgminer.git
|
|
4889d7ec
|
2012-06-11T13:09:27
|
|
Merge branch 'master' of git@github.com:pshep/cgminer.git
Conflicts:
driver-bitforce.c
|
|
3347f806
|
2012-06-10T23:14:51
|
|
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
|
|
820d662c
|
2012-06-10T23:11:59
|
|
Removed idle mode.
Added watchdog thread BFL temperature monitoring.
|