1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 14:28:12 +00:00
Commit Graph

5839 Commits

Author SHA1 Message Date
Noel Maersk
d7c8d1d300 core: change scantime/expiry to 10/30 from 30/120. 2014-01-27 02:43:52 +02:00
Noel Maersk
64fc8324b8 pools: initial implementation of pool state machines.
moved enable_pool(), disable_pool() and other functions related to
state. These could probably be factored out altogether.

Pool state default is now "enabled" - it was previosly "disabled",
but there was an unconditional function call to enable all pools
in main() previously. It was factored out by joe's earlier commits,
so not visible in this one.
2014-01-27 02:28:58 +02:00
Noel Maersk
1ebcb07302 Merge branch 'master' into pools 2014-01-27 00:54:16 +02:00
Noel Maersk
cae071b837 Merge branch 'kernels' 2014-01-27 00:48:25 +02:00
Noel Maersk
67d15f2843 Merge branch 'adl-extra-logging' 2014-01-27 00:45:47 +02:00
Noel Maersk
e269656959 Merge branch 'pools-joe' 2014-01-26 23:57:18 +02:00
Noel Maersk
048c82b9b2 pools: rename 'pool->enabled' to 'pool->state'. 2014-01-26 20:02:00 +02:00
Noel Maersk
22b78e91f6 tui: Refactor status line printing.
Default pool name is now URL and port instead of "Pool N" (which
is confusing).

Status line displays user-defined name.
2014-01-26 19:44:39 +02:00
Noel Maersk
6417bcce61 Merge remote-tracking branch 'joe/pool_options' into pools 2014-01-26 16:51:38 +02:00
Joe4782
90d49e9ad3 Updated the README file to explain the 'remove-pool' json config file option 2014-01-26 01:37:30 +00:00
Joe4782
b1eb2ab8f8 Implemented the 'remove-pool' config option for json file pools 2014-01-26 01:26:00 +00:00
Joe4782
817ed55b6a Pool management option now shows pool name when available 2014-01-26 00:56:58 +00:00
Joe4782
dd7bd69786 Updated README to explain new 'disable-pool' configuration file option 2014-01-26 00:17:56 +00:00
Joe4782
1d81196238 Added a 'disable-pool' option to the json configuration, to allow pools to be started up disabled 2014-01-25 20:33:45 +00:00
Noel Maersk
8a6c716c86 Merge pull request #40 from gacheson/master
Fixes for "--pools" flag and fatal JSON error
2014-01-25 12:05:42 -08:00
gacheson
1eacb3f1c2 Fixes for "--pools" flag and fatal JSON error 2014-01-25 10:50:18 -06:00
Noel Maersk
e0ca8ebc2f doc: Simplify paths for cross-compiling instructions in windows-build.txt 2014-01-25 00:57:47 +02:00
Angus Gratton
f321a0211b Add clarification on Windows cross-build, out of tree is possible 2014-01-24 15:16:00 +02:00
Noel Maersk
47d83df892 doc: revert some formatting changes made by Drogean to windows-build.txt 2014-01-24 15:15:36 +02:00
Angus Gratton
1ceedd562d Add some notes about cross-compiling cgminer for Windows from Linux 2014-01-24 15:13:49 +02:00
Noel Maersk
06240b91a6 cross-compile: comment out sleep().
Reported as unneded:
https://github.com/veox/sgminer/issues/37

When is this true? Which IDEs, Windows/MinGW versions?
2014-01-24 14:46:05 +02:00
Noel Maersk
6089dfbbac adl: code cleanup after last commit. 2014-01-24 00:08:34 +02:00
Joe4782
712385160b Added the stratum port to the status print 2014-01-23 21:54:40 +00:00
Joe4782
a7bca56633 Getting some extra log messages in the adl handling code 2014-01-23 23:33:35 +02:00
Noel Maersk
08abb9e417 build: reorder ADL checks.
If `--disable-adl-checks` is given, enable ADL immediately.
2014-01-23 23:17:15 +02:00
Noel Maersk
de08e71ea2 core: write xintensity and rawintensity to config, add vectors back as a hidden option; a little whitespace for readability. 2014-01-23 21:43:22 +02:00
Noel Maersk
dda62843fd core: Add -v as an shorthand for --verbose. 2014-01-23 20:42:14 +02:00
Noel Maersk
e8978db55f kernel: slight refactor, add warnings about new kernels, and known limitations of zuikkis.
Limitations of alexkar* kernels are not known to me.

Closes https://github.com/veox/sgminer/issues/28
2014-01-23 20:08:29 +02:00
Noel Maersk
7a69044cff doc: update KERNEL.md 2014-01-23 18:25:12 +02:00
Noel Maersk
abf1b940b5 doc: update README.md to point to KERNEL.md 2014-01-23 12:05:49 +02:00
Noel Maersk
5f795be64a core: use kernel name defines now that version date is not in the filenames.
Ideally, even this should not be needed, and specifying a kernel name string
should search for the appropriate file in kernel-path.
2014-01-23 11:46:47 +02:00
Noel Maersk
68f0a45034 doc: BUGS.md
Outline on bug reporting.
2014-01-23 03:15:31 +02:00
Noel Maersk
e9af2109c3 doc: change bog reporting address. 2014-01-22 22:39:00 +02:00
Noel Maersk
45848edff4 misc: Add Kalroth's bitcoin donation address. 2014-01-22 18:45:23 +02:00
Noel Maersk
d04a8d174b tui: display line getting off-screen on narrow terminals. 2014-01-22 18:43:22 +02:00
Martin Danielsen
d11df698d1 --rawintensity option, by request of Dead2.
This setting allows to set the GPU intensity value directly without any modifiers, it does not
get any more raw than this! Look at the xintensity description raw for examples of regular
intensity values. You can also set this value through the ncurses interface by pressing:
G -> A -> select device id -> enter value.

Minor xintensity code cleanup as well.

Conflicts:
	driver-opencl.c
	miner.h
	sgminer.c
2014-01-22 18:24:43 +02:00
Martin Danielsen
967c757cdf Cleaned a few messages up after pool naming feature. 2014-01-22 17:42:09 +02:00
Noel Maersk
0c38db6393 build: Add --disable-adl-checks
Requested in https://github.com/veox/sgminer/issues/26

configure.ac needs an overhaul (see SDMINER_SDK).
2014-01-22 12:56:06 +02:00
Martin Danielsen
cb174d433a Failover pool switching back delay is now configurable.
--failover-switch-delay sets the delay in seconds before switching back to a failed pool,
default is 60 seconds.
2014-01-22 12:06:04 +02:00
Noel Maersk
35a23942b1 kernel: fix alexkar* kernel crashes due to missing case in switch.
Fixes https://github.com/veox/sgminer/issues/27
2014-01-21 21:46:59 +02:00
Noel Maersk
45bf2f2335 doc: Add debug compilation instructions. 2014-01-21 21:03:04 +02:00
Noel Maersk
2f1fafedb9 doc: skeleton KERNEL documentation.
On how to submit new kernels. This should allow a broad community review.
2014-01-21 16:28:43 +02:00
Noel Maersk
629f7b15e2 kernel/zuikkis: remove unneeded comments and change defines.
I thought I've already fixed and committed this before. It probably got
merged back in when I wasn't looking.
2014-01-21 16:04:47 +02:00
Noel Maersk
4de27856af misc: add ozbenh and gdevenyi to AUTHORS.md. 2014-01-21 15:05:20 +02:00
Noel Maersk
4ac17b03f6 misc: Add Zuikkis and Alex Karimov to authors. 2014-01-21 15:04:08 +02:00
Noel Maersk
8bb66adc48 Merge remote-tracking branch 'origin/kernels' into kernels 2014-01-21 10:46:09 +02:00
Noel Maersk
5f326d64f5 kernel: allow choosing Alexey Karimov's kernels.
Am I the only one who gets a segfault?..
2014-01-21 10:36:55 +02:00
Noel Maersk
9545c143e8 Merge pull request #25 from gdevenyi/kernels
Replace multiply by 2 (i*2) with left shift.
2014-01-21 00:34:01 -08:00
Noel Maersk
81337e0064 kernel: vanilla Alexey Karimov kernels (alexkarnew and alexkarold).
alexkarnew: (for driver 13.4 and newer, and cgminer 3.3.1)
alexkarold: (for older drivers than 13.4, and cgminer 3.3.1)

https://litecointalk.org/index.php?topic=4082.0

> I was able to optimize the code of cgminer's scrypt.cl.
> It gives 0-3% increase, depending on the drivers and hardware.

> 1. Without optimization, when "CO" is used, every time
> z+x*zSIZE+y*xSIZE*zSIZE is calculated.

> I have created "CO" variable, and made so that x*SIZE is calculated only
> once. Now, when "CO" is used, every time z+y*xSIZE*zSIZE is calculated.

> In one case, variable y is incremented by 1 after 8 "CO" calculations.
> I have created "CO_tmp" variable, where contains result of xSIZE*zSIZE.
> And after 8 "CO" calculations I add "CO_tmp" to "CO".

> Now, when "CO" is used, every time only z is calculated. It is faster as
> z+x*zSIZE+y*xSIZE*zSIZE :)

> In other case when "CO" is used, every time z+y*xSIZE*zSIZE is
> calculated, but it faster than z+x*zSIZE+y*xSIZE*zSIZE too.

> 2. I have replaced multiplication by 2 with bit rotation - it is faster.

> For 7xxx cards you can try to set --thread-concurrency equal to (2^n + 1).
> It may give a little more mining speed.
> For example: 16385 (it is 2^14 + 1), 8193 (2^13 + 1), or 4097 (2^12 + 1).
> I have almost no information, how it works on other series.

> LMqRcHdwnZtTMH6c2kWoxSoKM5KySfaP5C
2014-01-21 09:45:10 +02:00
Gabriel A. Devenyi
a6ccc05e5f Replace multiply by 2 (i*2) with left shift. This should be slightly faster. Can't use OpenCL rotate becase of bit carry overs 2014-01-20 17:13:18 -05:00