566 Commits (1334e17c52af88737e44e000f9f969ed32e372ed)

Author SHA1 Message Date
Znort 987 39bdec8bbe Various minor changes 14 years ago
Znort 987 75639da1e3 Add WIN32 safe CPU benchmark method 14 years ago
Znort 987 84b0467cb2 Fix broken assert in algo bencher 14 years ago
Znort 987 6fd06387b3 On unix, make algo benchmark more generic 14 years ago
Znort 987 01886493cf Add set_non_blocking routing 14 years ago
Znort 987 29f0f9bc18 Properly detect number of cores on WIN32 14 years ago
Znort 987 7158f9f9ed Add automated benchmark of the CPU hashers 14 years ago
Con Kolivas 50504ef9e0 If a work item has had any mining done on it, don't consider it discarded work. 14 years ago
Con Kolivas 656067a44e Stale work test should respect age of rolled work as well. 14 years ago
Con Kolivas 232408050c Stick to rolling only work from the current pool unless we're in load balance mode or lagging to avoid aggressive rolling imitating load balancing. 14 years ago
Con Kolivas 01aadda25c Simply set the time of day when the work is decoded. 14 years ago
Con Kolivas 639d38fbd4 Revert "Make sure to give work items a starting time only once when they're staged." 14 years ago
Con Kolivas 626ae10d7c Make sure to give work items a starting time only once when they're staged. 14 years ago
Con Kolivas d6dd5d700b Test each work item to see if it can be rolled instead of per-pool and roll whenever possible, adhering to the 60 second timeout. 14 years ago
Con Kolivas e9b8344a37 Free all work in one place allowing us to perform actions on it in the future. 14 years ago
Con Kolivas 6da13fb87f Only put the message that a pool is down if not pinging it every minute. 14 years ago
Con Kolivas 510be5c9a4 Summary on exit is sometimes getting lost without a flush of stdout. 14 years ago
Con Kolivas 42c22025d8 The can_roll function fails inappropriately in stale_work. 14 years ago
Con Kolivas d39e5abfba We can't hit this path since the earlier check for stale work will prevent us ever finding work it can roll here. 14 years ago
Con Kolivas 17e5e17e88 Only consider a pool lagging if we actually need the work and we have none staged despite queue requests stacking up. 14 years ago
Con Kolivas a466942fd8 When pinging a sick cpu, flush finish and then ping it in a separate thread in the hope it recovers, but without blocking code elsewhere. 14 years ago
Con Kolivas 177e07aed3 Display last initialised time in gpu management info. 14 years ago
Con Kolivas 28880d0dc7 Move the non cl_ variables into the cgpu info struct to allow creating a new cl state on reinit, preserving known GPU variables. 14 years ago
Con Kolivas 071a0ad2f1 Preinitialise the devices only once on startup. 14 years ago
Znort 987 2e31e1687c Add missing fflush(stdout) for --ndevs 14 years ago
Znort 987 353789da0b Use tab to indent code instead of spaces 14 years ago
Znort 987 83fa2158d9 Lots more verbiage in error messages 14 years ago
Znort 987 1cbfcba2c1 Disable --monitor-stderr on WIN32 14 years ago
Con Kolivas 467c52bb4a Allocate work from one function to be able to initialise variables added later. 14 years ago
Znort 987 79c989dd48 Add new option: --monitor <cmd> 14 years ago
Con Kolivas 1725a1c021 Fix non-opencl build. 14 years ago
Con Kolivas bc2976f538 Be more willing to get work from the backup pools if the work is simply being queued faster than it is being retrieved. 14 years ago
Con Kolivas 8f186e61e2 Restart threads by abstracting out the clcontext initialisation and using that instead of probing all cards. 14 years ago
Con Kolivas 411570d348 Revert "Don't use asynchronous work with flushes as it decreases reliability and two threads per GPU achieves the same throughput." 14 years ago
Con Kolivas decafea0ad Revert "Read buffers only after reading data back now that we're sync." 14 years ago
Con Kolivas 5f2c3151b4 Read buffers only after reading data back now that we're sync. 14 years ago
Con Kolivas 7223508f7e Don't use asynchronous work with flushes as it decreases reliability and two threads per GPU achieves the same throughput. 14 years ago
Con Kolivas f763b0db10 Don't free up any ram from the dying thread to avoid dereferences. 14 years ago
Con Kolivas 43faa11358 Use correct name in syslog. 14 years ago
Con Kolivas 37115c0e1b RPC call debugging is a mess with \r in it so remove it. 14 years ago
Con Kolivas 59b640870c So we can pthread cancel a stuck thread, but can't pthread join it. 14 years ago
Con Kolivas 74a07eb461 Revert "Send threads message to stop and then send cancel message but don't pthread_join them if they're stuck nor reinit the opencl code to not hang everything." 14 years ago
Con Kolivas e100fcc672 Revert "Send ping to wake up new threads." 14 years ago
Con Kolivas bf4c3626bc Send ping to wake up new threads. 14 years ago
Con Kolivas 62521f3e53 Send threads message to stop and then send cancel message but don't pthread_join them if they're stuck nor reinit the opencl code to not hang everything. 14 years ago
Con Kolivas b2cbaa1ae4 Send a hung device a command. If it returns, try to reinitialise it. 14 years ago
Con Kolivas a702f599d3 Disable the reinit_thread option till we know it actually works. 14 years ago
Con Kolivas bb575a5585 Reference correct GPU and only try to restart if it reaches DEAD. 14 years ago
Con Kolivas 947a74bfa3 Differentiate thread failure from GPU failure by declaring a GPU sick first and trying to restart the thread without re-initialising the card. 14 years ago
Con Kolivas 20ce1ebf2a Typo. 14 years ago