Martin Danielsen
7aeae40af2
EXPERIMENTAL: A new way of setting intensity; introducing xintensity!
...
All of this is credited to ArGee of RGMiner, he did the initial ground work for this setting.
This new setting allows for a much finer grained intensity setting and also opens up for dual gpu threads on devices not previously able to. Note: make sure to use lower thread-concurrency values when you increase cpu threads.
Intensity is currently used to spawn GPU threads as a simple 2^value setting.
I:13 = 8192 threads
I:15 = 32768 threads
I:17 = 131072 threads
I:18 = 262144 threads
I:19 = 524288 threads
I:20 = 1048576 threads
Notice how the higher settings increase thread count tremendously.
Now enter the xintensity setting (Yes, I am a genius with my naming convention!).
It is simply a shader multiplier, obviously based on the amount of shaders you got on a card, this should allow the same value to scale with different card models.
6970 with 1536 shaders: xI:64 = 98304 threads
R9 280X with 2048 shaders: xI:64 = 131072 threads
R9 290 with 2560 shaders: xI:64 = 180224 threads
R9 290X with 2816 shaders: xI:64 = 163840 threads
6970 with 1536 shaders: xI:300 = 460800 threads
R9 280X with 2048 shaders: xI:300 = 614400 threads
R9 290 with 2560 shaders: xI:300 = 768000 threads
R9 290X with 2816 shaders: xI:300 = 844800 threads
It's now much easier to control thread intensity and it potentially allows for a uniform way of setting the intensity on your system. I'm very interested in constructive feedback, as I do not have access to a lot of different card models.
This change has been tested on 6970, R9 290, R9 290X - all with equal or a little better speeds than regular intensity setting after a little tuning, but your mileage may vary. Don't fret it, if this doesn't work for you, the regular intensity setting is still available.
Conflicts:
driver-opencl.c
sgminer.c
2014-01-18 21:11:31 +02:00
Martin Danielsen
d7e469bd76
Stratum servers can now be named.
...
The names will be used throughout the display in the program, when not set "Pool 1" will
simply be used instead. The names are not exposed through API yet, it's on my TODO list.
Use "poolname" like this:
{
"poolname" : "Example pool",
"url" : "stratum+tcp://example.com:8080",
"user" : "y",
"pass" : "x"
},
Conflicts:
sgminer.c
util.c
2014-01-18 21:05:26 +02:00
Noel Maersk
2f0fac6c66
core: Allow setting kernel.
...
https://github.com/veox/sgminer/issues/14
2014-01-17 17:44:18 +02:00
Noel Maersk
b16a05aa0e
core: lower maximum intensity to 31.
...
Intensity determines the number of threads started, is an unsigned int and
is used as (1 << intensity), so anything over 31 is meaningless.
2014-01-17 16:00:20 +02:00
Wolf
39b9945c11
Changed API reporting of MH/s for added precision.
2014-01-17 11:55:13 +02:00
Noel Maersk
bc1ce6984b
doc: minor FAQ update.
2014-01-17 10:37:34 +02:00
Noel Maersk
f16f1b1b05
Merge pull request #13 from Drogean/patch-1
...
doc: Added SGMINER specific steps (for building on Windows)
2014-01-16 14:35:27 -08:00
Drogean
b1de4c896b
Added SGMINER specific steps
...
Modified multiple steps for specifically compiling the 4.0.0 SGMINER build
2014-01-16 17:19:39 -05:00
Noel Maersk
3845e89d00
doc: wrong link in ADL_SDK readme.txt.
...
https://github.com/veox/sgminer/issues/7
2014-01-16 16:27:12 +02:00
Noel Maersk
693a5679e6
Merge pull request #3 from jbruggeman/master
...
doc: update faq and windows build docs
2014-01-16 04:01:48 -08:00
Joseph Bruggeman
4b7cf40e63
doc: update faq to remove non-scrypt (irrelevent) information
2014-01-15 23:57:52 -05:00
Joseph Bruggeman
9b37a0131b
doc: update windows doc to reflect changes in configure.ac
2014-01-15 23:46:45 -05:00
Noel Maersk
3af2534e22
doc: missing 'make' in README + file name misspelled.
2014-01-16 02:48:31 +02:00
Noel Maersk
3bf3df09b7
Bump version to 4.0.0.
...
First sgminer release.
2014-01-15 17:26:18 +02:00
Noel Maersk
cbad2d67df
doc: clarify what doc/GPU is.
2014-01-15 17:25:27 +02:00
Noel Maersk
11920081ec
ui: Don't pad most displayed strings with spaces.
2014-01-15 17:20:54 +02:00
Noel Maersk
e46581dea1
Remove --vectors (current kernel only supports 1 vector).
...
The functionality to set the number of vectors still remains, though.
2014-01-15 17:03:50 +02:00
Noel Maersk
e6b5fb7aa8
core: remove deprecated --scrypt option.
2014-01-15 16:45:04 +02:00
Noel Maersk
50066cf3c7
misc: Replace all remaining instances of 'cgminer' with 'sgminer'.
...
sed again.
2014-01-15 16:36:48 +02:00
Noel Maersk
6ea3b93809
core: fix build error due to CGMINER_PREFIX reference.
2014-01-15 16:03:24 +02:00
Noel Maersk
9d16ff98f5
doc: reference veox/sgminer in ChangeLog.
2014-01-15 15:58:51 +02:00
Noel Maersk
683abd0b17
build: fix warning + other small fixes.
2014-01-15 15:52:05 +02:00
Noel Maersk
5b977125fa
misc: Replace many (but not all) instances of 'cgminer' with 'sgminer'.
...
Just ran a `sed -i 's/cgminer/sgminer/'` on several files.
2014-01-15 15:36:19 +02:00
Noel Maersk
909af927c3
Merge pull request #2 from veox/forward-port
...
Forward-port relevant changes up to ckolivas/cgminer 3.10.0
2014-01-15 04:43:24 -08:00
Kano
65518d3712
api.c no decref if not json
2014-01-15 14:32:31 +02:00
Con Kolivas
350fe7f135
Minimise risk of nonce2 overflow with small nonce2 lengths by always encoding the work little endian, and increasing the maximum size of nonce2 to 8 bytes.
2014-01-15 14:31:28 +02:00
Con Kolivas
9628207066
Provide a helper function that can reset cgsems to zero.
2014-01-15 14:28:24 +02:00
Con Kolivas
155945094f
Add to cgminer_CPPFLAGS instead of redefining them.
...
Conflicts:
Makefile.am
2014-01-15 13:54:14 +02:00
Noel Maersk
747d870d32
build: remove reference to a linux-usb-miner
2014-01-15 13:49:01 +02:00
Con Kolivas
d26fb09e7c
Replace deprecated use of INCLUDES with _CPPFLAGS.
...
Conflicts:
Makefile.am
2014-01-15 13:48:33 +02:00
Con Kolivas
1ca4198a45
Quieten down jansson component of build.
2014-01-15 13:44:49 +02:00
Tim Bateman
0a187bdd41
Fixed one byte stack overflow in mcast recvfrom.
...
The actual overflow happens when enforcing the NULL termination shortly
after the recvfrom.
2014-01-15 13:43:10 +02:00
Con Kolivas
65d9136dd5
Fix json parsing in api.c
2014-01-15 13:39:51 +02:00
Con Kolivas
79521fe8f0
Initialise devices before attempting to connect to pools to allow their thread prepare function to be called before having to connect to pools.
...
Conflicts:
cgminer.c
2014-01-15 13:38:44 +02:00
Con Kolivas
7d2cee3066
Drop json stratum auth failed message log level to verbose.
2014-01-15 13:35:19 +02:00
Con Kolivas
39b7bc26cb
Silence irrelevant warning.
2014-01-15 13:34:31 +02:00
Con Kolivas
05d69bf75c
Provide a function to discard queued work based on age. (NOTE: may be unused)
2014-01-15 13:25:30 +02:00
Con Kolivas
ebeb710375
Decrement json references in api.c to not leak memory.
...
The json_val in api.c is a borrowed reference, not a new one so don't decref it.
2014-01-15 13:22:28 +02:00
ouɐɹɔs ʞɹɐɯ
c8b97fbd8a
line 2913 added urlencode
...
There was a cross site scripting vulnerability due to insufficient input sanitation on the $pg parameter. This patch fixes that issue.
2014-01-15 13:21:00 +02:00
Con Kolivas
93782c30ed
Update api example compilation instructions.
2014-01-15 13:20:14 +02:00
Con Kolivas
7dd8b316ac
Prevent a deadlock with use of restart_threads by spawning a thread to send the driver flush work messages.
...
Conflicts:
cgminer.c
2014-01-15 13:19:30 +02:00
Con Kolivas
39121183e1
Set priority of various threads if possible.
...
Conflicts:
cgminer.c
2014-01-15 12:59:54 +02:00
Con Kolivas
e9f20f5e0b
Do not hold the mining thread lock in restart_threads when calling the driver flush work commands.
2014-01-15 12:54:33 +02:00
Con Kolivas
b5eddd1159
Don't run device restart code if the device is not enabled.
2014-01-15 12:53:41 +02:00
Con Kolivas
9ed6c3b1b5
Provide a function for setting the work ntime.
2014-01-15 12:49:48 +02:00
Kano
89000ffb1a
api.c trylock() add missing locklock
2014-01-15 12:48:11 +02:00
Maksym Borodin
d976abe12d
api.c: Release apisock on error in api()
2014-01-15 12:45:51 +02:00
Maksym Borodin
7383e19a9d
api.c: Release io_data->ptr when releasing io_data in io_free()
2014-01-15 12:45:29 +02:00
Con Kolivas
f1902fe6ac
We can't connect to a GBT pool at all with fix protocol enabled.
2014-01-15 12:44:56 +02:00
Noel Maersk
cb806d2437
core: Display difficulty in cgminer style, not true network difficulty (for consistency within the interface).
...
This regression was introduced by commit 3f6b9d6796
.
2014-01-14 19:33:20 +02:00