Comments (15)
Looks like the Zuikkis modifications are only available in .bin format, which isn't very useful since it can't be inspected....
from sgminer.
Actually, it's detailed here
https://litecointalk.org/index.php?topic=6058.msg92691#msg92691
And here
http://www.reddit.com/r/dogecoin/comments/1ui3bx/increase_such_hashrate_1_to_5_scrypt_tweaking/
from sgminer.
This is the original optimized script file built by LANTIS:
https://litecointalk.org/index.php?topic=6020.0
Script included. However the way his works is values like TC and GAP LOOKUP are hard-coded in the script so its not universal.
from sgminer.
Yup, I've noticed the hard-coded stuff. Are there any other changes, or is that it? Including 2^N files for all possible configurations, especially binary kernels, is unacceptible.
EDIT: I'll only get to faithfully review it once some of the more pressing issues are resolved.
I'm not following the forums that much, so if there are any other kernels, open up new issues or pull requests, by all means.
from sgminer.
Here's another one https://bitcointalk.org/index.php?topic=369858.0
It's going to be tough sorting through versions.
I suspect that at least there may be a break in either the driver versions, or hardware versions.
from sgminer.
Most of these optimized kernels (including mine), have fixed lookup-gap=2. However, I have never seen anyone use any other value, for any GPU, so I think you could just remove the configurable value.
Or with some #if LOOKUP_GAP==2 magic it is of course possible to make such source that allows any value.
Lantis code is problematic. If you take his released sources and compile them, you end up with slower hashrate than stock. However binaries generated by him are much faster. I assume he had some compiler parameter tweaking which is not showing in the source?
Some users have reported slightly slower hashrate with my kernel as well, but this could be some misconfiguration also.. If scrypt kernel becomes faster, you may need to lower the GPU engine clock to get full speed. Same as if you increase GPU clock too high, you will get a drop in hash rate.
My source is free to use in sgminer. And if you diff to original you will see that the changes are not very big.
Removing of #pragma unrolls helps in any GPU, in my opinion.. Current compilers know better when unrolling helps.
from sgminer.
@Zuikkis: I've been looking over the different kernels, but just haven't had the time to organise them properly. Thanks for outlining your changes, and the reason why you made them.
The good thing is that we don't have to have just one kernel, we can easily have them all (as long as there are sources) and use the kernel switching functionality that has remained from cgminer.
from sgminer.
Removing #pragma unroll improved my 7850's by a few percent but reduced a 7550 and a 6870 by a few percent
from sgminer.
Yes, it seems to help a little with low end cards, but hurts on higher end.
Try my scrypt main loop change as well?
2014/1/20 Gabriel Devenyi [email protected]
Removing #pragma unroll improved my 7850's by a few percent but reduced a
7550 and a 6870 by a few percentβ
Reply to this email directly or view it on GitHubhttps://github.com/veox/sgminer/issues/4#issuecomment-32792055
.
Teemu Suikki
http://www.ksportfinland.com
http://www.z-power.fi/
from sgminer.
Technically, my 7850's are high end (~400kHash) compared to the 6870 (320kHash) and 7550 (~120kHash)
from sgminer.
The first two commits above have been rebased, so just use the third in branch kernels
. Commit history.
from sgminer.
OTOH, we can have some hard-coded stuff, same way that vectors
is now hard-coded to 1. Worksize and lookup gap are not as important as thread-concurrency. It can probably "be improved later".
from sgminer.
agreed, as far as I know, worksize and lookup gap arent really changed from config to config.
from sgminer.
Okay, I suggest we start splitting off this issue into one per proposed "major" kernel modification, to discuss their merits and drawbacks, as well as their best implementation.
from sgminer.
@gdevenyi OK, done.
The original scrypt kernel (that's now called ckolivas.cl
, after the latest committer) should probably stay the default for now, to avoid unexpected behaviour.
Closing issue, reopen if something remained unanswered.
from sgminer.
Related Issues (20)
- api-ms-win-core-libraryloader-l1-2-0.dll
- No Error, No Launch HOT 1
- Please Release Compiled Binaries...
- Error with ws2tcpip.h
- can you update AMD ADL SDK link ??? HOT 1
- sha256_fixed and sha256_fresh HOT 1
- Odd jansson problem
- print extranonce1 in log file
- sgminer opencl problem. HOT 1
- test
- Mining rate too low
- LLVM Error HOT 1
- Make error please help ππ
- windows building issues compat.h / unistd.h
- lpthread problem in android HOT 18
- Miner literally returns nothing.
- WARNING: GPU_USE_SYNC_OBJECTS
- Bitcoin Diamond is the internetβs native currency
- help
- /usr/bin/ld: sgminer-api.o:(.bss+0xe0): multiple definition of `opencl_drv'; sgminer-sgminer.o:(.bss+0x16e0): first defined here
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sgminer.