Con Kolivas
6197ff2009
Remove silly debugging output.
2011-08-24 20:13:05 +10:00
Con Kolivas
9ab15a8266
Merge branch 'hash'
2011-08-24 17:34:19 +10:00
Con Kolivas
93f4163aca
Create a hash list of all the blocks created and search them to detect when a new block has definitely appeared, using that information to detect stale work and discard it.
2011-08-24 17:32:36 +10:00
Con Kolivas
b81077f36a
Since we roll work all the time now, we end up staging a lot of work without queueing, so don't queue if we've already got staged work.
2011-08-24 12:51:38 +10:00
Con Kolivas
bf3033e0f1
Make restarting of GPUs optional for systems that hang on any attempt to restart them.
...
Fix DEAD status by comparing it to last live time rather than last attempted restart time since that happens every minute.
2011-08-24 12:51:38 +10:00
Con Kolivas
666fcc3f55
Move staged threads to hashes so we can sort them by time.
2011-08-24 12:51:38 +10:00
Con Kolivas
bca84c3ba0
Make restarting of GPUs optional for systems that hang on any attempt to restart them.
...
Fix DEAD status by comparing it to last live time rather than last attempted restart time since that happens every minute.
2011-08-24 08:23:22 +10:00
Con Kolivas
2630c6d68d
Bump version to 1.5.8.
2011-08-23 12:35:14 +10:00
Con Kolivas
d9accc4846
Put a lower limit on the nonce increment in cpu mining.
2011-08-23 12:34:32 +10:00
Con Kolivas
175ef7d936
Update news.
2011-08-23 12:33:18 +10:00
Con Kolivas
f6591379fb
Minimise how much more work can be given in cpu mining threads each interval.
2011-08-23 12:17:21 +10:00
Con Kolivas
5acdbec47d
Make the fail-pause progressively longer each time it fails until the network recovers.
2011-08-23 12:04:26 +10:00
Con Kolivas
b4d6b11b9a
Only display the lagging message if we've requested the work earlier.
2011-08-23 11:57:08 +10:00
Con Kolivas
ced4a9ac92
Clean up the pool switching to not be dependent on whether the work can roll or not by setting a lagging flag and then the idle flag.
2011-08-23 11:40:48 +10:00
Con Kolivas
088ee2fa29
Only use one thread to determine if a GPU is sick or well, and make sure to reset the sick restart attempt time.
2011-08-23 10:47:47 +10:00
Con Kolivas
02e126f42d
The worksize was unintentionally changed back to 4k by mistake, this caused a slowdown.
2011-08-23 10:28:30 +10:00
Con Kolivas
cc9d5f5927
Bump version number to 1.5.7.
2011-08-22 10:48:14 +10:00
Con Kolivas
f465397fa6
Update news for 1.5.7.
2011-08-22 10:47:54 +10:00
Con Kolivas
6d10ef2f6e
Bump version numbers of kernels to indicate slightly different versions.
2011-08-22 10:17:23 +10:00
Con Kolivas
dfec430cb8
Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al to compile.
2011-08-22 08:05:21 +10:00
Con Kolivas
7c6dfaccf1
Display which longpoll failed and don't free the ram for lp_url since it belongs to the pool hdr path.
2011-08-21 08:55:31 +10:00
Con Kolivas
6f741597f8
Use any longpoll available, and don't disable it if switching to a server that doesn't have it.
2011-08-20 23:36:18 +10:00
Con Kolivas
b358bdc07e
Never automatically disable any pools but just specify them as idle if they're unresponsive at startup.
2011-08-20 23:11:12 +10:00
Con Kolivas
324d849bf2
Attempt to restart a GPU once every minute while it's sick.
...
Don't kill off the reinit thread if it fails to init a GPU but returns safely.
Only declare a GPU dead if there's been no sign of activity from the reinit thread for 10 mins.
2011-08-20 23:03:49 +10:00
Con Kolivas
1b228ee3d4
Re-enable devices immediately after ther old threads would have been killed off in case the first attempt to restart them fails but we still want them emabled.
2011-08-20 22:39:20 +10:00
Con Kolivas
75018d0d48
Release cl resources should the gpu mining thread abort.
2011-08-20 22:22:11 +10:00
Con Kolivas
f062765c94
Explicitly link in ws2_32 on the windows build and update README file on how to compile successfully on windows.
2011-08-20 10:08:59 +10:00
Con Kolivas
bd79a61c43
Move poclbm to new branch optimisation as well.
2011-08-19 17:20:49 +10:00
Con Kolivas
aaa2e19e0e
Add one more instruction to avoid one branch point in the common path in the cl return code.
...
Although this adds more ALUs overall and more branch points, the common path code has the same number of ALUs and one less jmp, jmps being more expensive.
2011-08-19 11:55:00 +10:00
Con Kolivas
a754cc3f0c
Suppress correct log output when display per-device status.
2011-08-18 23:07:30 +10:00
Con Kolivas
4beade3772
Retain the program immediately after it's created from source.
2011-08-18 22:42:37 +10:00
Con Kolivas
082e20df5f
Explicitly tell the compiler to retain the program to minimise the chance of the zero sized binary errors.
2011-08-18 22:34:03 +10:00
Con Kolivas
6f769e0f8f
Add the ability to enable/disable per-device stats on the fly and match logging on/off.
2011-08-18 22:17:55 +10:00
Con Kolivas
e414490bf7
Don't display rolling status if per device stats is enabled.
2011-08-18 22:07:06 +10:00
Con Kolivas
2798b8c549
Merge branch 'master' of github.com:ckolivas/cgminer
2011-08-18 21:35:37 +10:00
Con Kolivas
d89a6c57b1
Since we check roll time per work item now, it need only be debug log level.
2011-08-18 21:35:05 +10:00
Con Kolivas
64e7cdd61b
The new phatk kernel needs a different nonce passed according to how many vectors are in use.
...
This fixes breakage that otherwise occurs when 1 or 4 vectors are chosen.
2011-08-18 21:32:45 +10:00
Con Kolivas
3926ad96c8
Merge pull request #36 from znort987/per-device-stats
...
Add per-device statics log output
2011-08-18 04:28:02 -07:00
Znort 987
e49bfbf2ec
Add per-device statics log output
2011-08-18 12:17:10 +02:00
Con Kolivas
3edc1dfe2a
Test at appropriate target difficulty now.
2011-08-17 22:33:46 +10:00
Con Kolivas
2e0ecb6475
Merge pull request #35 from znort987/fix-autocpu-crash
...
Fix a crash with --algo auto
2011-08-17 03:14:29 -07:00
Znort 987
f66dec74e6
Fix a crash with --algo auto
2011-08-17 11:45:17 +02:00
Con Kolivas
4060ae3757
Bump version number.
2011-08-17 16:51:26 +10:00
Con Kolivas
5d517729e3
Update news for 1.5.6.
2011-08-17 16:50:57 +10:00
Con Kolivas
cf54f9b850
Move to 256 sized buffers and don't risk overwrite by using only 127 mask.
2011-08-17 16:07:15 +10:00
Con Kolivas
52e521a7c1
Revert "Copy the work before returning from creating a thread in case we change the work before copying it."
...
This reverts commit 6bf4d781e9
.
Causing a double free error.
2011-08-17 15:48:07 +10:00
Con Kolivas
0f782ba6bd
Update poclbm kernel to FF sized mask and only check that range.
2011-08-17 15:47:18 +10:00
Con Kolivas
93ff09e577
Dos2unix.
2011-08-17 15:22:26 +10:00
Con Kolivas
1f1f2c3de1
Just use 256 sized output.
2011-08-17 15:21:09 +10:00
Con Kolivas
c40f51c7c1
Move to cgminer style buffer return and file naming convention and fix a compiler warning.
2011-08-17 15:06:59 +10:00