Bitcoin Forum
July 05, 2024, 04:15:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [33] 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 ... 166 »
641  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.3, open source optimized multi-algo CPU miner on: November 24, 2017, 11:00:48 PM
I have a question - why in Monero cryptonight on 6950x on cpuminer-opt-3.7.3 the speed is lower than on xmrig-2.4.2 -? In xmrig with 10 streams, the speed is higher than cpuminer-opt at 20. Is it possible to somehow configure the config file to give more speed at 6950x than in xmrig-2.4.2?

From what I know, cryptonight requires 2mb of cache per thread

6950x has 25mb, which brings us to 12 threads
Try benchmarking with 12 threads and see the performance (use -t 12)


Agreed. Test both with 12 threads and post the results.
642  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.3, open source optimized multi-algo CPU miner on: November 24, 2017, 08:55:29 PM
I stumbled upon this today, well done with a lot of detail. I'll add the link
to the compile instructions in RELEASE_NOTES.

https://lxadm.com/Static_compilation_of_cpuminer
643  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.3, open source optimized multi-algo CPU miner on: November 24, 2017, 03:36:25 PM
Hello joblo can you add AES to yescryptr16 algo .. it only mines with avx and sse2 on my sandy bridge machine Sad

That will be difficult because yescrypt doesn't use any AES.
644  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.3, open source optimized multi-algo CPU miner on: November 24, 2017, 03:35:20 PM
Are we likely to see gains with 4-way in lyra2z in the future, or the algo isn't affected by this optimization?

The simple answer is no, but it's not so simple.

The lyra2 code is already AVX2 optimimized. Converting it to 4way would not improve it and would be
double the work because the existing optimizations would have to be undone first. This applies to all
lyra2 based algos.

A small part of lyra2z could be improved with 4way but it wouldn't have a big impact on the overall
algo performance.

Finally the lyra2z algo is on life support. It's only used by Zcoin and only until their new algo is ready.


645  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.3, open source optimized multi-algo CPU miner on: November 23, 2017, 03:18:04 PM
cpuminer-opt maximum support only 64 threads CPU? My CPU threads more than 64, how to use it to be able to fully play

There is nothing in cpuminer-opt to limit threads, maybe resource limitations or a system issue.
646  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.3, open source optimized multi-algo CPU miner on: November 23, 2017, 03:16:29 PM
need support for argon2d...the only miner that support it is unitus_cpuminer but it gives half the hash of the solomining...
so please helppp!!!

Unitus is a merge mined coin that can be mined with several algos. You can't compare hashrates between different algos.
Argon2 has a very low hashrate compared to the other algos.

I don't know if argon2d in unitus_cpuminer is different from argon2 in cpuminer-opt but it looks very similar and written
by the same people so it's as good as it gets. Try cpuminer-opt and let me kow.


647  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.3, open source optimized multi-algo CPU miner on: November 22, 2017, 12:14:06 AM
When there are no orders to mine Nicehash disconnects.
648  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.3, open source optimized multi-algo CPU miner on: November 21, 2017, 08:17:48 PM

No problem. Hit me up if I can somehow help, I'm not that familiar with those technologies either but I'd like to help and learn Smiley
By the way, I posted a few benchmarks on GitHub to see from which algorithms the speed difference between Alpine and Ubuntu comes.

Just posting a link because I don't really want to re-create the table here: https://github.com/JayDDee/cpuminer-opt/pull/41#issuecomment-346017309

I commented about the benchmarks.

I had wanted to give a try at cuda dev but the learning curve was steep and resources (ie documentation) are expensive.
CPU mining isn't very lucrative but I can better transfer my skills when I can google anything that stumps me.

649  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.3, open source optimized multi-algo CPU miner on: November 21, 2017, 05:16:27 PM
Maybe this could be useful: https://gist.github.com/panzi/6856583.
Also, any particular reason you don't merge PRs?

The openssl version on Alpine is actually 1.0.2m, not 1.0.0, no idea why there is a conflict with an old version.

Thanks I'll look into it.

I don't develop using git. I develop in my own confort zone and upload to git when ready fo release. If I merge
a PR it messes up MY development environment. It's easier for me to import the changes to my env.

Also most everything, git, autoconf, x86, even to some extent c, are all foreign to me and I just hack my way through.
I'm learning as I go. Even my vector processing knowledge is based on 1980's tech (Cray). I even knew about OO in
the 80s before it was called OO. It took me a while to make the connection when OO became popular.

So in a sense I'm working in a foreign country with unfamiliar culture and different language. It's a fascinating
experience, I just have to manage my frustration with the many stupid mistakes I make.
650  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.2, open source optimized multi-algo CPU miner on: November 21, 2017, 02:31:38 PM
Got it to compile, you can try filoozom/cpuminer-opt:alpine.
It's quite a bit smaller but also a little bit slower. Also needs a fix in `algo/hodl/sha512_avx.c`.

More info: https://github.com/JayDDee/cpuminer-opt/pull/41#issuecomment-345828950
Help would be appreciated! Smiley

Endian issues with hodl, I've seen this movie before. I had to write a custom one for Windows.

Can you show me the hodl error? I'd like to see it as it might help find a solution, if there is one.
If it's an Alpine only issue it may be hard to select.

I have a release ready to go, I can include a fix if one is quickly found. It will include the new docker file
regardless.


Posted it on GitHub, but guess you're more active here? By the way, this can easily be fixed by adding "#include <endian.h>", just need to know in which case ("#ifnfed") I need to include it.

Code:
algo/hodl/cpuminer-sha512_avx.o: In function `sha512Compute32b_parallel':
sha512_avx.c:(.text+0x369a): undefined reference to `htobe64'
sha512_avx.c:(.text+0x36c8): undefined reference to `htobe64'

Also:

Code:
/usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libssl.so.43, needed by /usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../lib/libcurl.so, may conflict with libssl.so.1.0.0
/usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcrypto.so.41, needed by /usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../lib/libcurl.so, may conflict with libcrypto.so.1.0.0

But that's only a warning.
There are A LOT of warnings actually.

That hodl error is familiar. If <endian.h> works it may solve the issue that also required the custom version I wrote for Windows.
If Alpine is a special case I don't know how to test for it. I'll look into it for he next release.

The ssl warnings might be related to your old version of oenssl. My system has openssl-1.0.1. If you can you should upgrade to 1.1,
it will give better performance on algos that use sha256 even if it doesn't fix the warnings.

Yes there are a lot of warnings. Some are my own doing and I try to keep them under control. But there are also a bunch related to
 the hashing macros and i don't want to touch those macros. Fortunately 4way will make them obsolete and I will be able
to remove them.
651  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.3, open source optimized multi-algo CPU miner on: November 21, 2017, 03:01:10 AM
cpuminer-opt-3.7.3 is released.

git: https://github.com/JayDDee/cpuminer-opt

tarball: https://drive.google.com/file/d/1Nw-kHZ1bnkEjtuKlOdf3XSh-LNZReH4E/view?usp=sharing

Windows binaries: https://drive.google.com/file/d/1r6KLL_YBYvL3Lr0nfeVOEBlPXkATSIxw/view?usp=sharing

New in 3.7.3:

Added polytimos algo

Updated dockerfile

Introducing 4-way AVX2 optimization giving up to 4x performance inprovement
on many compute bound algos. First supported algos: skein, skein2, blake &
keccak. This feature is only available when compiled from source. See
RELEASE_NOTES for instructions how to enable 4-way during compilation
and which algos are currently supported.

Edit: It should be noted that not all algos have been fully tested using 4way.
Skein and keccak have both been tested but I couldn't find a pool for skein2 or blake.

For devs and geeks:

What is 4-way AVX2?

4-way AVX2 uses AVX2 instructions to hash 4 nonces in parallel per CPU thread instead of
just one yielding a theorectical 4x increase. The realized improvement will be lower due
to AVX2 operating at reduced clock speed and some overhead. 4-way AVX2 optimization
uses vertical vectoring similar to GPU miners instead of the existing horizontal vectoring
of some algos. Horizontal vectoring uses AVX2 instructions to hash one nonce faster.

Only CPUs with AVX2 will support 4-way.

Which algos can benefit?

This is the bad news. 4-way will help compute bound algos that use SPH functions the most,
the same algos that already have very efficient GPU miners available, or even ASICS.
They include the entire x11 family as well as more recent algos like hsr and polytimos.

Typical CPU algos will see little benefit as they don't usually rely on SPH or it is only a small
part of the algo.

Hashing 4 nonces in parallel creates the possbility of submitting multiple nonces per scan,
though I haven't seen this in my testing. It will likely be rare but is supported.

What overhead can reduce the gain?

As previously mentioned AVX2 code runs at a reduced CPU clock rate but there is also coding overhead
and workarounds that will affect some algos more than others.

Algos that are pure SPH chains will improve the most. The only overhead is to inlerleave the input data
then deinterleave the vectorized hash.

Some SPH functions work on 32 bit data for their 256 bit versions while other work on 64 bit data for both 512
bit and 256 bit versions. If an algo has a mix of 32 bit and 64 bit data extra interleaving/deinterleaving will be
required. This is not expected to have a significant impact.

Algos that use HW acceleration (AES or SHA) have additional challenges to implement vertical vectoring
and it may be very difficult or possible to implement vertical vectoring on these functions. These
functions will have to be run 4 times serially completely nullifying the benefits of 4-way for those
functions. Oher parts of such algos can use 4-way with intermediate interleaving/deinterleaving.

Algos that already use horizontal vectoring when rewritten for vertical vectoring are not likely to see
any further improvement.

What's the implementation plan?

Around 20 SPH functions need to be rewritten for 4-way but algos only become supported when the entire
function chain is optimized. The shorter chains will be implemented first and the longer ones last. There
is some flexibility in some instances and I can be convinced to modify my initial plan with some motivation.

The pure SPH algos will be done first as they receive the biggest gains. Algos with existing SIMD code or
HW acceleration will be done next with the existing optimizations run serially.

Next are algos that have a portion use SPH. Since SPH is only used for part of the algo the gains will be
limited.

Then I will try to rewrite the functions that use AES_NI to see if they can be improved with 4way.
SHA looks too daunting as it means rewriting openssl.

I may eventually look at rewriting the exiting SIMD optimized functions to work with 4-way. The gains
will be limited due to losing the existing optimizations. It's a matter of hashing 4 nonces in parallel using
vertical vectoring vs hashing 4 nonces serially using horizontal vectoring.

What about the future?

All of the functions that will support 4-way with AVX2 can easilly be extended to 8-way with AVX-512.
652  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.2, open source optimized multi-algo CPU miner on: November 20, 2017, 11:44:20 PM
thats a VERY nice improvement!
Can't wait... Smiley

By the way, please consider releasing cross-compiled binaries for windows, they give much better performance that mingw on windows.
I have described the process earlier in the post, but sadly I have could not make neoscrypt work in that build (just crashes every time), probably something in the compile flags or algo settings.
If something is missing in what I posted and you want full instructions for the cross build, just say )

I tried a mingw cross compile a few weks ago but had problems. I gave up easily so it must have been serious,
possibly the fact that I have an old build env and was missing some packages or package versions.

However, I'm all in with the 4-way feature and it's going to be a massive amount of work. Keccak is only one of
around 20 functions I need to rewrite. And the keccac algo only needs the keccak hash function. Imagine x17
or xevan.

I will revisit the mingw cross compile but probably not until I upgrade my build system, probably buy a new PC with Ryzen.
In the meantime, if you're up for it, you could manage the Windows binaries. You can build them and host them yourself
or I could put your builds up on my gdrive. I'll certainly use them on my Windows PC.

Neoscrypt has some ASM options but I haven't dug into it. It would be nice to fix it but it's generally a poor performer
so it's not a priority for me.
653  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.2, open source optimized multi-algo CPU miner on: November 20, 2017, 11:28:48 PM
Got it to compile, you can try filoozom/cpuminer-opt:alpine.
It's quite a bit smaller but also a little bit slower. Also needs a fix in `algo/hodl/sha512_avx.c`.

More info: https://github.com/JayDDee/cpuminer-opt/pull/41#issuecomment-345828950
Help would be appreciated! Smiley

Endian issues with hodl, I've seen this movie before. I had to write a custom one for Windows.

Can you show me the hodl error? I'd like to see it as it might help find a solution, if there is one.
If it's an Alpine only issue it may be hard to select.

I have a release ready to go, I can include a fix if one is quickly found. It will include the new docker file
regardless.
654  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.2, open source optimized multi-algo CPU miner on: November 20, 2017, 05:08:48 PM
A little teaser of what I'm working on. It's only the beginning.

Code:
cpuminer-opt/3.7.3	d=4	keccak	4		27 MH/s

Code:
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
CPU features: SSE2 AES AVX AVX2
SW built on Nov 20 2017 with GCC 4.8.4
SW features: SSE2 AES AVX AVX2
Algo features: SSE2 AVX2
Start mining with SSE2 AVX2

[2017-11-20 11:58:16] Starting Stratum on stratum+tcp://keccak.mine.zpool.ca:5133
[2017-11-20 11:58:16] 8 miner threads started, using 'keccak' algorithm.
[2017-11-20 11:58:16] Stratum difficulty set to 4
 1 nonces submitted
[2017-11-20 11:58:31] Accepted 1/1 (100%), 24.21 MH, 23.45 MH/s, 63C
 1 nonces submitted
[2017-11-20 11:58:34] Accepted 2/2 (100%), 52.09 MH, 23.61 MH/s, 63C
 1 nonces submitted
[2017-11-20 11:58:39] Accepted 3/3 (100%), 235.98 MH, 24.21 MH/s, 63C
 1 nonces submitted
[2017-11-20 11:58:39] Accepted 4/4 (100%), 200.89 MH, 24.21 MH/s, 63C
 1 nonces submitted
[2017-11-20 11:58:41] Accepted 5/5 (100%), 199.70 MH, 24.19 MH/s, 63C
 1 nonces submitted
[2017-11-20 11:58:42] Accepted 6/6 (100%), 202.41 MH, 24.19 MH/s, 63C
 1 nonces submitted
[2017-11-20 11:58:48] Accepted 7/7 (100%), 45.96 MH, 24.20 MH/s, 63C
 1 nonces submitted
[2017-11-20 11:58:48] Accepted 8/8 (100%), 43.01 MH, 24.21 MH/s, 63C

Code:
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
CPU features: SSE2 AES AVX AVX2
SW built on Nov  4 2017 with GCC 4.8.4
SW features: SSE2 AES AVX AVX2
Algo features: SSE2
Start mining with SSE2

[2017-11-20 11:56:35] Starting Stratum on stratum+tcp://keccak.mine.zpool.ca:5133
[2017-11-20 11:56:35] 8 miner threads started, using 'keccak' algorithm.
[2017-11-20 11:56:35] Stratum difficulty set to 4
[2017-11-20 11:56:54] Accepted 1/1 (100%), 26.41 MH, 7735.68 kH/s, 62C
[2017-11-20 11:57:02] Accepted 2/2 (100%), 44.40 MH, 7736.24 kH/s, 62C
[2017-11-20 11:57:29] Accepted 3/3 (100%), 199.67 MH, 7745.76 kH/s, 62C
[2017-11-20 11:57:36] Accepted 4/4 (100%), 194.64 MH, 7737.53 kH/s, 62C
[2017-11-20 11:58:00] Accepted 5/5 (100%), 220.11 MH, 7741.79 kH/s, 63C
[2017-11-20 11:58:02] Accepted 6/6 (100%), 222.54 MH, 7745.23 kH/s, 63C
655  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.2, open source optimized multi-algo CPU miner on: November 19, 2017, 07:00:50 PM
Gosh, I'm so lost with all this. I think I need a dummy's guide, I have no technical skills whatsoever.

Me too. a quick manual will surely help

A manual for what? cpuminer-opt works like any other fork of minerd, cpuminer or ccminer.
The only difference is you need to know your CPU archietcture and its capabilities. Use google for that.
656  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.2, open source optimized multi-algo CPU miner on: November 18, 2017, 09:04:49 PM

I'll put it on my todo list for next release but it may take a while since I'm in the middle of some other heavy
development.
657  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.2, open source optimized multi-algo CPU miner on: November 18, 2017, 08:48:39 PM
Hi!

Older AMD CPU than Piledriver is not supported including Phenom II.
But what about Bulldozer?

I have a server with four Opteron 6276 on Linux.
Can I use this miner go mine Hodl (or ROI coin) with my Opterons?
Bulldozer and Piledriver is not very different architecture.

Edit: I am using Arch Linux

I don't know about specific CPUs, you need to try for yourself.
Hodl is a special case. If you're CPU doesn't have AES_NI you should try
the legacy version of cpuminer-opt. The non-AES code for hodl has been removed
from the master release.
 
658  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.2, open source optimized multi-algo CPU miner on: November 18, 2017, 08:38:59 PM
Hello joblo, How to use install-sh file on linux to install cpuminer to system ? im using arch linux.Thanks in advance.

I've never used install-sh so I can't help you. You could probably google it for help if you really want to use it, but you
don't ned to install to run.
659  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.2, open source optimized multi-algo CPU miner on: November 17, 2017, 05:47:32 PM
Quote
The Windows binaries are pretty bad on AMD, not so great on Intel either. You'll need Linux and compile your own to get the best
performance on any platform.

As far as scrypt algo goes, I haven't paid much attention to it due to the existance of scrypt ASICs. However the verium
version uses a different N factor that can't be mined with the scrypt ASIC.
 
The implementation in cpuminer-opt was taken from Pooler and I haven't (intentionally) changed it. You could try his version
to see if it gives better performance. I think cpuminer-multi also uses the same version. Their Windows binaries might be better.

Thanks. I could do that, install Linux in a secondary partition.

Any recommended distro and compile instructions?

PS: And for older CPU's like my 6-core Xeon E5645, will I see a difference in hashrate using Linux?


Compile instructions are in RELEASE_NOTES. Ubuntu is favoured by many.
I can't really coment on performance as I said I haven't paid much attention to this
algo. But a native compile with a newer compiler can't hurt.

Please post your results as I am curious also.
660  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.2, open source optimized multi-algo CPU miner on: November 17, 2017, 05:40:41 PM
Hi, there's no link to legacy binaries now (link points to regular binaries). Is it useless now? I mean non-AES-NI cpus...

Aha!, Now I know how I screwed up the 3.7.2 links upon its release. Fixed the legacy links now.

Your post was timely, I'm rethinking the usefullnes of the legacy release.

Technically it only affects algo that use the Groestl function on CPUs that don't have AES_NI. These include
algos like X11 which are either dominated by ASICs or GPUs. Spefically the legacy version continues to use
the Groestl macro implementation which may be slightly faster than the SPH version in the current release.

I have been considering dropping the legacy release because:
   - lack of AES_NI is the real killer for Groestl
   - the macro version probably isn't really much faster than SPH
   - it only affects algos where CPU mining is obsolete
   - anyone who actually uses it already has it
   - it's getting dusty (no new algos) and I have no  intentions of ever updating it
   - some users are probably using it who shouldn't

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [33] 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 ... 166 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!