Bitcoin Forum
February 23, 2019, 10:26:13 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 [99] 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 ... 191 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 418840 times)
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 14, 2017, 12:11:20 AM
Last edit: February 14, 2017, 12:34:12 AM by joblo
 #1961

if someone have troubles to compile the right Arch

different CPU architecture:

nehalem = 1st Generation Intel® Core™ (also westmere)
sandybridge = 2nd Generation Intel® Core™ (also ivybridge)

I little correction, the family name doesn't always work. On Intel native should always work. One exception
is Westmeme where the native compile may fail to generate AES code. Any Westmere users who compile
there own could confirm. AMD is more difficult, the brand names sometimes work but don't seem to
generate optimum code. My best advoce for AMD users is to choose the arch that best matches the CPUs features.
AMD users who compile may have better advice.

The Windows binaries are all built as follows, most users can find the right fit.

Core2 is "-march=core2".
Nehalem does not have AES or AVX, the arch name is -march=corei7
There aren't any feature differences between core2 and Nehalem that affect cpouminer.
Westemere does have AES but does not have AVX, there is no compile arch name, use "-maes, -msse4.2"
Sandybridge has AES and AVX, the archname is "-march=corei7-avx"
Ivybridge has AES and AVX but it's own arch name "-march=core-avx-i", not built
There are no feature differences between Sandybridge and Ivybridge that affect cpuminer, I build corei7-avx.
Haswell and above use "-march=core-avx2"


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
1550960773
Hero Member
*
Offline Offline

Posts: 1550960773

View Profile Personal Message (Offline)

Ignore
1550960773
Reply with quote  #2

1550960773
Report to moderator
1550960773
Hero Member
*
Offline Offline

Posts: 1550960773

View Profile Personal Message (Offline)

Ignore
1550960773
Reply with quote  #2

1550960773
Report to moderator
1550960773
Hero Member
*
Offline Offline

Posts: 1550960773

View Profile Personal Message (Offline)

Ignore
1550960773
Reply with quote  #2

1550960773
Report to moderator
Your Bitcoin transactions
The Ultimate Bitcoin mixer
made truly anonymous.
with an advanced technology.
Mix coins
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Epsylon3
Legendary
*
Online Online

Activity: 1428
Merit: 1075


ccminer/cpuminer developer


View Profile WWW
February 14, 2017, 12:13:43 AM
 #1962

pentium G can have problems also, native seems to enable AVX which is not on these... but was maybe fixed in the recent gcc.. was the case with 4.8/4.9

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 14, 2017, 12:40:07 AM
 #1963

pentium G can have problems also, native seems to enable AVX which is not on these... but was maybe fixed in the recent gcc.. was the case with 4.8/4.9

Thanks. It looks like Pentium G may be like Westmere, AES without AVX.
The fallback in any case where native compile doesn't match with the CPUs features is to specify
them manually with -m.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
integrale
Full Member
***
Offline Offline

Activity: 144
Merit: 100


Eager to learn


View Profile
February 14, 2017, 12:51:22 AM
 #1964

have also expirenced with my i7 2nd gen (sandybridge)   but wont work when i chose Sandybridge executables ?
on Windows where given binary aviable are and discribed for  this core family
when im using cpum....i7-sse41.exe it works on some miner´s

AltCoin-Mining @ Xubuntu 16.04 LTS
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 14, 2017, 01:01:04 AM
 #1965

have also expirenced with my i7 2nd gen (sandybridge)   but wont work when i chose Sandybridge executables ?
on Windows where given binary aviable are and discribed for  this core family
when im using cpum....i7-sse41.exe it works on some miner´s


This doesn't seem right. All Sandybridge core-i should have AVX. What happens when you compile native?
What happens when you run the AVX binary? Is this the i7-2600 you mentioned earlier? I have an i5-2400
and it perfoms with AVX as expected.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 14, 2017, 01:07:13 AM
 #1966

I found this regarding the difference between Sandybridge and Ivybridge. Not much. It doesn't
affect targetted code and I have no idea what opimizations the compiler may do to portable
code. It does only apply to the core series, not Pentium G or Celeron.

CORE-AVX-I    May generate Intel® AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions for
Intel® processors, including instructions for 3rd generation Intel® Core™ processors. Optimizes for
3rd generation Intel® Core™ processors and the Intel® Xeon® Processor E3 v2, E5 v2 and E7 v2 families.

AVX    May generate Intel® AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions for Intel® processors.
Optimizes for 2nd generation Intel® Core™ i7, i5 and i3 processor families and the Intel® Xeon® Processor
E5 and E3 families.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
integrale
Full Member
***
Offline Offline

Activity: 144
Merit: 100


Eager to learn


View Profile
February 14, 2017, 01:07:44 AM
Last edit: February 14, 2017, 01:23:45 AM by integrale
 #1967

if i compile from source on Linux by myself its ok . it happens only sometimes with precompiled binary on windows

need to find some cheap Dual cpu board ,socket 771 , have here two E5462 2.8 ghz 12Mb  laying around   lazy things   so i cant test something with them
just now found this one :Serverboard Supermicro X7DBP-I Dual Socket 771   inkl heatsinks ram and  2x E5405  affordable price    holy shi...  75€

AltCoin-Mining @ Xubuntu 16.04 LTS
Epsylon3
Legendary
*
Online Online

Activity: 1428
Merit: 1075


ccminer/cpuminer developer


View Profile WWW
February 14, 2017, 10:01:44 AM
 #1968

beware with the memory types of these :p a mistake could double the price

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
integrale
Full Member
***
Offline Offline

Activity: 144
Merit: 100


Eager to learn


View Profile
February 14, 2017, 01:28:49 PM
 #1969

dont know what you mean   Huh , pls advice me   i know  they are only sse3 able  but  what shall i do   the package is cheap

AltCoin-Mining @ Xubuntu 16.04 LTS
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 14, 2017, 04:22:14 PM
Last edit: February 14, 2017, 04:54:40 PM by joblo
 #1970

After a year of trying I've finally made progress improving cryptonight. I think I can get 5% with
a combination of aligning data on a cache line boundary and aggressive prefetching.

Also a reminder the next release will use a new naming scheme for the Windows binaries. The names
indicates the CPU features required to use them. Intel or AMD, choose the one that best matches your CPU's
features. Or you can use trial and error to find the best one.

Code:
cpuminer-sse2.exe         -march=core2,      Core2  
cpuminer-sse42.exe        -march=corei7,     Nehalem
cpuminer-aes-sse42.exe    -maes -msse4.2     Westmere
cpuminer-aes-avx.exe      -march=corei7-avx, Sandybridge, Ivybridge
cpuminer-aes-avx2.exe     -march=core-avx2,  Haswell, Broadwell, Skylake, Kabylake

Prepare to update your scripts, that's bat for Windows users.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
m1n1ngP4d4w4n
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CryptoLearner


View Profile
February 14, 2017, 04:38:41 PM
 #1971

nice work joblo ! Maybe we'll get up par to that private miner from minergate Smiley I'll be more than willing to test that out !

BTC - 1B1RBYkzxiTmrbnFe2vj8EaNPSYftW8186 for tips Wink
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 14, 2017, 06:40:22 PM
 #1972

cpuminer-opt-3.5.7 is released. See OP, link in sig.

After a year of trying I've finally made progress improving cryptonight. I think I can get 5% with
a combination of aligning data on a cache line boundary and aggressive prefetching.

Also a reminder the next release will use a new naming scheme for the Windows binaries. The names
indicates the CPU features required to use them. Intel or AMD, choose the one that best matches your CPU's
features. Or you can use trial and error to find the best one.

Code:
cpuminer-sse2.exe         -march=core2,      Core2  
cpuminer-sse42.exe        -march=corei7,     Nehalem
cpuminer-aes-sse42.exe    -maes -msse4.2     Westmere
cpuminer-aes-avx.exe      -march=corei7-avx, Sandybridge, Ivybridge
cpuminer-aes-avx2.exe     -march=core-avx2,  Haswell, Broadwell, Skylake, Kabylake

Prepare to update your scripts, that's bat for Windows users.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
m1n1ngP4d4w4n
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CryptoLearner


View Profile
February 14, 2017, 08:59:57 PM
 #1973

Excellent work man, it's finally matching minergate private cpu-miner !

Mad props to you  Cool

cpuminer-opt v3.5.7

Code:
[2017-02-14 21:58:47] CPU #2: 508 H, 8.45 H/s
[2017-02-14 21:58:47] CPU #7: 513 H, 8.54 H/s
[2017-02-14 21:58:47] CPU #3: 503 H, 8.38 H/s
[2017-02-14 21:58:47] CPU #0: 515 H, 8.56 H/s
[2017-02-14 21:58:47] CPU #1: 511 H, 8.50 H/s
[2017-02-14 21:58:47] CPU #5: 501 H, 8.34 H/s
[2017-02-14 21:58:47] CPU #4: 503 H, 8.36 H/s
[2017-02-14 21:58:47] CPU #6: 502 H, 8.35 H/s
[2017-02-14 21:59:11] CPU #2: 201 H, 8.45 H/s
[2017-02-14 21:59:11] Accepted 3/3 (100%), 3749 H, 67.47 H/s, 37C

Minergate cli 4.04

Code:
[2017-02-14 22:01:42.485] [ info]  XMR hashrate: 67.3 H/s
[2017-02-14 22:01:52.486] [ info]  XMR hashrate: 67.1933 H/s
[2017-02-14 22:02:00.094] [ info]  New difficulty: 1063
[2017-02-14 22:02:02.485] [ info]  XMR hashrate: 67.435 H/s

I can finally get rid of minergate, you made me a happy man, donation coming your way  Wink

BTC - 1B1RBYkzxiTmrbnFe2vj8EaNPSYftW8186 for tips Wink
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 14, 2017, 09:09:36 PM
 #1974

Excellent work man, it's finally matching minergate private cpu-miner !

Mad props to you  Cool

cpuminer-opt v3.5.7

Code:
[2017-02-14 21:58:47] CPU #2: 508 H, 8.45 H/s
[2017-02-14 21:58:47] CPU #7: 513 H, 8.54 H/s
[2017-02-14 21:58:47] CPU #3: 503 H, 8.38 H/s
[2017-02-14 21:58:47] CPU #0: 515 H, 8.56 H/s
[2017-02-14 21:58:47] CPU #1: 511 H, 8.50 H/s
[2017-02-14 21:58:47] CPU #5: 501 H, 8.34 H/s
[2017-02-14 21:58:47] CPU #4: 503 H, 8.36 H/s
[2017-02-14 21:58:47] CPU #6: 502 H, 8.35 H/s
[2017-02-14 21:59:11] CPU #2: 201 H, 8.45 H/s
[2017-02-14 21:59:11] Accepted 3/3 (100%), 3749 H, 67.47 H/s, 37C

Minergate cli 4.04

Code:
[2017-02-14 22:01:42.485] [ info]  XMR hashrate: 67.3 H/s
[2017-02-14 22:01:52.486] [ info]  XMR hashrate: 67.1933 H/s
[2017-02-14 22:02:00.094] [ info]  New difficulty: 1063
[2017-02-14 22:02:02.485] [ info]  XMR hashrate: 67.435 H/s

I can finally get rid of minergate, you made me a happy man, donation coming your way  Wink


Thanks.

Wow the're pretty close. You might do better with 4 threads depending on your cache size.
threads = cache size MB / 2 MB. Four threads makes a big difference on my i7-6700K.


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
m1n1ngP4d4w4n
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CryptoLearner


View Profile
February 14, 2017, 09:13:30 PM
Last edit: February 14, 2017, 09:34:15 PM by m1n1ngP4d4w4n
 #1975

Excellent work man, it's finally matching minergate private cpu-miner !

Mad props to you  Cool

cpuminer-opt v3.5.7

Code:
[2017-02-14 21:58:47] CPU #2: 508 H, 8.45 H/s
[2017-02-14 21:58:47] CPU #7: 513 H, 8.54 H/s
[2017-02-14 21:58:47] CPU #3: 503 H, 8.38 H/s
[2017-02-14 21:58:47] CPU #0: 515 H, 8.56 H/s
[2017-02-14 21:58:47] CPU #1: 511 H, 8.50 H/s
[2017-02-14 21:58:47] CPU #5: 501 H, 8.34 H/s
[2017-02-14 21:58:47] CPU #4: 503 H, 8.36 H/s
[2017-02-14 21:58:47] CPU #6: 502 H, 8.35 H/s
[2017-02-14 21:59:11] CPU #2: 201 H, 8.45 H/s
[2017-02-14 21:59:11] Accepted 3/3 (100%), 3749 H, 67.47 H/s, 37C

Minergate cli 4.04

Code:
[2017-02-14 22:01:42.485] [ info]  XMR hashrate: 67.3 H/s
[2017-02-14 22:01:52.486] [ info]  XMR hashrate: 67.1933 H/s
[2017-02-14 22:02:00.094] [ info]  New difficulty: 1063
[2017-02-14 22:02:02.485] [ info]  XMR hashrate: 67.435 H/s

I can finally get rid of minergate, you made me a happy man, donation coming your way  Wink


Thanks.

Wow the're pretty close. You might do better with 4 threads depending on your cache size.
threads = cache size MB / 2 MB. Four threads makes a big difference on my i7-6700K.



I was compiling it to other cpu's to test if the speed increase still the same, will try optimizing after this, i'll get back to you with more numbers in a few Wink

Edit :

so i have 2 cpus

Intel(R) Xeon(R) CPU L3426  @ 1.87GHz - SSE2 - 8MB cache L2 - Non fixed thread count (use as much as logical core) - Thread 8

Minergate CLI : ~60 H/s
Cpuminer 3.5.7 :  ~55-56 H/s

Intel(R) Atom(TM) CPU  C2750  @ 2.40GHz - SSE2 / AES - 4MB cache L2 - Non fixed thread count (use as much as logical core) - Thread 8

Minergate CLI : 67-67.5H/s
Cpuminer 3.5.7 : ~68 H/s

So it seems that on AES/SS2 cpu it match and even go a tad above in speed. But for SS2 CPU only, it's better but not on par yet. One thing to note, when i use a lesser thread count than my logical core, it only hash on as much core as the thread allow so it give me less overall hash.




BTC - 1B1RBYkzxiTmrbnFe2vj8EaNPSYftW8186 for tips Wink
oldDIN
Member
**
Offline Offline

Activity: 85
Merit: 10


View Profile
February 14, 2017, 09:20:40 PM
 #1976

joblo, not critical, but....forgotten lyra2re
http://prntscr.com/e8sqcd  ore  http://prntscr.com/e8sr0b
same on intel cpuminer-sse42.exe
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 14, 2017, 09:41:25 PM
 #1977

joblo, not critical, but....forgotten lyra2re
http://prntscr.com/e8sqcd  ore  http://prntscr.com/e8sr0b
same on intel cpuminer-sse42.exe

Oh it crashes. You could have said so.

Seems to be a Windows problem with lyra2RE. I hate it when it works on Linux but not on Windows.
I'm looking into it.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 14, 2017, 09:45:31 PM
 #1978

So it seems that on AES/SS2 cpu it match and even go a tad above in speed. But for SS2 CPU only, it's better but not on par yet. One thing to note, when i use a lesser thread count than my logical core, it only hash on as much core as the thread allow so it give me less overall hash.

Correct I only optimized the AES version. I can port it to the non-aes version, it's a simple copy paste.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
m1n1ngP4d4w4n
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CryptoLearner


View Profile
February 14, 2017, 09:50:49 PM
Last edit: February 14, 2017, 10:06:44 PM by m1n1ngP4d4w4n
 #1979

That would be great, i have a few old servers that would benefit from that, if it's not too much of a hassle for you  Wink

Sent you a beer

Address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
TxId: 1c55626d7c10feacec581988396b367171b18810dadf90ea110038701d274f7c

Keep up the good work  Wink

BTC - 1B1RBYkzxiTmrbnFe2vj8EaNPSYftW8186 for tips Wink
integrale
Full Member
***
Offline Offline

Activity: 144
Merit: 100


Eager to learn


View Profile
February 14, 2017, 10:07:38 PM
 #1980

V.3.5.7 Linux  i7 2600  4 threads

confirming increase + 20 h/s  from previous release

[2017-02-14 23:03:16] CPU #1: 1918 H, 63.90 H/s
[2017-02-14 23:03:20] CPU #1: 266 H, 64.07 H/s
[2017-02-14 23:03:20] Accepted 11/11 (100%), 5431 H, 254.85 H/s, 59C
[2017-02-14 23:03:21] CPU #2: 356 H, 64.00 H/s
[2017-02-14 23:03:21] Accepted 12/12 (100%), 4423 H, 254.74 H/s, 60C
[2017-02-14 23:03:22] CPU #3: 421 H, 63.04 H/s
[2017-02-14 23:03:22] Accepted 13/13 (100%), 2947 H, 254.56 H/s, 60C
[2017-02-14 23:03:25] CPU #0: 568 H, 63.05 H/s
[2017-02-14 23:03:25] Accepted 14/14 (100%), 1611 H, 254.15 H/s, 61C


Great job , thx Joblo

AltCoin-Mining @ Xubuntu 16.04 LTS
Pages: « 1 ... 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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 [99] 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 ... 191 »
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!