Bitcoin Forum
May 28, 2018, 08:15:44 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
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 ... 190 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 408703 times)
minerbaba
Jr. Member
*
Offline Offline

Activity: 67
Merit: 0


View Profile
February 15, 2016, 05:54:56 AM
 #361

from where i can download binary?

AND COIN  -  AJK73gUQcRvWu7jixHHv3SPxWNDeyTmPXe
1527495344
Hero Member
*
Offline Offline

Posts: 1527495344

View Profile Personal Message (Offline)

Ignore
1527495344
Reply with quote  #2

1527495344
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1527495344
Hero Member
*
Offline Offline

Posts: 1527495344

View Profile Personal Message (Offline)

Ignore
1527495344
Reply with quote  #2

1527495344
Report to moderator
1527495344
Hero Member
*
Offline Offline

Posts: 1527495344

View Profile Personal Message (Offline)

Ignore
1527495344
Reply with quote  #2

1527495344
Report to moderator
joblo
Legendary
*
Offline Offline

Activity: 1134
Merit: 1016


View Profile
February 15, 2016, 02:38:13 PM
 #362

from where i can download binary?

Sorry no binaries available, only source compileable in Linux.

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

Activity: 132
Merit: 100


View Profile
February 18, 2016, 08:24:54 PM
 #363

ill play around with this on my 4690k
running mint too but will be switching soon to dunno what
xrandr is annoying and im still learning linux in general
joblo
Legendary
*
Offline Offline

Activity: 1134
Merit: 1016


View Profile
March 22, 2016, 11:12:45 PM
 #364

After extensive testing I have found too many rejects on all 3.1 releases and am recommending
v3.0.7 for general use until I decide on a plan forward.

v3.0.7: https://drive.google.com/file/d/0B0lVSGQYLJIZWjJpXzAtemRaUWc/view?usp=sharing

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

Activity: 1134
Merit: 1016


View Profile
March 23, 2016, 08:14:01 PM
 #365

I beleive I've found the bug causing all the rejects in the 3.1 stream. After full testing I will release a new
version with algo-gate fully implemented.

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

Activity: 1666
Merit: 1081


Black Belt Developer


View Profile
March 23, 2016, 09:13:13 PM
 #366

Thanks, will test when ready.

joblo
Legendary
*
Offline Offline

Activity: 1134
Merit: 1016


View Profile
March 24, 2016, 03:25:19 AM
 #367

Release 3.1.4 of cpuminer-opt is available for download.

https://drive.google.com/file/d/0B0lVSGQYLJIZWmxHa05LOFNlTVE/view?usp=sharing

This is a stable release with full implementation of algo-gate and all issues
resolved. cpuminer-opt now supports 25 algos.

All users are encouraged to upgrade.

See OP for details.

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

Activity: 1134
Merit: 1016


View Profile
March 24, 2016, 03:31:30 AM
 #368

Thanks, will test when ready.

I made a mess of 3.1, sloppy testing. Much cleaner code now.

You might want to get in on the lyra2 action on nicehash before the bubble breaks. cpuminer-opt
is a particularly good performer on this algo. It's even hit most prof. with GPUs a few times.

I thought lyra2 was dead after all the coins converted to v2.
I haven't found any existing lyra2 coins that could be driving demand on nicehash.

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

Activity: 128
Merit: 10


View Profile
March 24, 2016, 07:15:13 AM
 #369

hello

i want to compile it on my linux machine.i was  download the file then extract it.write this commands but get error.how can i slove it
 regards

./autogen.sh
./configure CFLAGS="-O3"
make

error message

algo/cryptonight/cryptonight-aesni.c:251:2: warning: passing argument 1 of ‘kecc
In file included from algo/cryptonight/cryptonight-aesni.c:2:0:
algo/cryptonight/cryptonight.h:65:6: note: expected ‘uint64_t *’ but argument is
make[2]: *** [algo/cryptonight/cpuminer-cryptonight-aesni.o] Error 1
make[2]: Leaving directory `/root/cpuminer-opt-3.1.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt-3.1.4'
make: *** [all] Error 2


joblo
Legendary
*
Offline Offline

Activity: 1134
Merit: 1016


View Profile
March 24, 2016, 12:56:58 PM
 #370

hello

i want to compile it on my linux machine.i was  download the file then extract it.write this commands but get error.how can i slove it
 regards

./autogen.sh
./configure CFLAGS="-O3"
make

error message

algo/cryptonight/cryptonight-aesni.c:251:2: warning: passing argument 1 of ‘kecc
In file included from algo/cryptonight/cryptonight-aesni.c:2:0:
algo/cryptonight/cryptonight.h:65:6: note: expected ‘uint64_t *’ but argument is
make[2]: *** [algo/cryptonight/cpuminer-cryptonight-aesni.o] Error 1
make[2]: Leaving directory `/root/cpuminer-opt-3.1.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt-3.1.4'
make: *** [all] Error 2


You're missing some stuff on the configure command line

./configure CFLAGS="-O3 -march=native" --with-curl --with-crypto

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

Activity: 1134
Merit: 1016


View Profile
March 24, 2016, 02:38:54 PM
 #371

cpuminer-opt v3.1.5 available for download. AES_NI optimisations added to nist5 (+54%) and zr5 (+47%).

https://drive.google.com/file/d/0B0lVSGQYLJIZVnB3NkwyckxlTk0/view?usp=sharing

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

Activity: 1134
Merit: 1016


View Profile
March 25, 2016, 07:34:35 PM
 #372

There has been some discussion in the pools forum about algo profitability normalisation and I thought
I'd post some norms for optimized cpuminer-opt algos. Measurements were taken using an i7-6700K with
8 threads running except cryptonight which performs best with 4 threads.

algo * norm = x11 equivalent

x11             = 1
x13             = .50
x14             = .48
x15             = .40
quark          = 1.6
qubit           = 1.45
lyra2re        = 1.25
lyra2rev2    = .65
nist5            = 1.97
neoscrypt    = .043
cryptonight = .00039

Compared with ccminer cpuminer-opt is most efficient with lyra2, then  x11, qubit and quark. The X algo efficiency drops
as the chains get longer because only the x11 functions are optimized.

I will update the OP to include these numbers for reference.


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

Activity: 1134
Merit: 1016


View Profile
March 26, 2016, 05:29:30 PM
 #373

Algo naming is becoming a bigger issue. With the many variatoins of the blake algo in use Nicehash
has decided to use more technical name rather than vanilla etc.

To make handling aliases easier I have implemeted a little utility in cpuminer-opt to make it easier
to support aliases and avoid a long cascading switch/case. It can be easilly ported to ccminer.

Code:
// an algo can have multiple aliases but the aliases must be unique

#define ALGO_PROPER (1)
#define ALGO_ALIAS  (0)
#define NUM_ALIASES (11)

// Need to sort out all the blakes
// blake256r14 is apparently decred
// Vanilla was obvious, blakecoin is almosty identical to vanilla
// What is blake2s, pentablake?

const char* algo_alias_map[NUM_ALIASES][2] =
{
//   alias                proper
  { "blake256r8vnl",     "vanilla"     },
  { "blake256r8",        "blakecoin"   },
  { "cryptonight-light", "cryptolight" },
  { "droplp",            "drop"        },
  { "flax",              "c11"         },
  { "lyra2",             "lyra2re"     },
  { "lyra2v2",           "lyra2rev2"   },
  { "myriad",            "myr-gr"      },
  { "neo",               "neoscrypt"   },
  { "sibcoin",           "sib"         },
  { "ziftr",             "zr5"         }
};

// updates arg with proper algo name if it is a valid alias.
void get_algo_alias( char** algo_or_alias )
{
  int i;
  for ( i=0; i < NUM_ALIASES; i++ )
    if ( !strcasecmp( *algo_or_alias, algo_alias_map[i][ ALGO_ALIAS ] ) )
    {
      // found valid alias, return proper name
      *algo_or_alias = algo_alias_map[i][ ALGO_PROPER ];
      return;
    }
}

// example of usage

           case 'a':
              get_algo_alias( &arg );

              for (i = 0; i < ALGO_COUNT; i++)
              {
                  v = (int) strlen(algo_names[i]);
                  if (v && !strncasecmp(arg, algo_names[i], v))
                  {
                        if (arg[v] == '\0')
                        {
                                opt_algo = (enum algos) i;
                                break;
                        }
                        if (arg[v] == ':')
                        {
                                char *ep;
                                v = strtol(arg+v+1, &ep, 10);
                                if (*ep || v & (v-1) || v < 2)
                                        continue;
                                opt_algo = (enum algos) i;
                                opt_scrypt_n = v;
                                break;
                        }
                  }
              }

              if (i == ALGO_COUNT)
                 show_usage_and_exit(1);

           break;

The current implementation requires the array size to be hardcoded. I tried terminating with NULLs but all
I got were segfaults and bus errors. If any C gurus out there know how to do it properly please advise.

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

Activity: 1666
Merit: 1081


Black Belt Developer


View Profile
March 26, 2016, 06:17:13 PM
 #374

Could you post the code which segfaults, so I can have a look?

joblo
Legendary
*
Offline Offline

Activity: 1134
Merit: 1016


View Profile
March 26, 2016, 06:35:24 PM
 #375

cpuminer-opt v3.1.6 is out.

Download:

https://drive.google.com/file/d/0B0lVSGQYLJIZcnJOU0VsWTBWZG8/view?usp=sharing

Support for the following algos was added, pool tested:
  x14 with AES_NI optimisations
  blake
  vanilla (blake256r14vnl on nicehash).
  blake2s, requires custom diff on yiimp: -p d=0.2

Added blakecoin & fresh algos, benchmark tested only.

Added aliases for vanilla and blakecoin to match nicehash names:
   blake256r8vnl = vanilla
   blake256r8    = blakecoin



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

Activity: 1134
Merit: 1016


View Profile
March 26, 2016, 06:58:35 PM
 #376

Could you post the code which segfaults, so I can have a look?

I'l have to recode it, will send via pm.

In brief i tried 2 things:

1. char **algo_aliases = ...

The last entry has the second level pointer (algo_aliases->alias) is set to null with no sub-array.
I test with algo_aliases[ i ]==null

2. char * algo_aliases[num_aliases][2] = ...

The last entry has the sub-array with both names set to null (head->algo-aliases->alias->name, head->algo_aliases->proper->name )
I test with *algo_aliases[ i ][alias]==null   (extra deref for head pointer)

I have a couple of ideas to mix the two methods to see if something works, but it's just trial and error. If it doesn't work
out I'll send you the code.

Thanks for your interest.


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

Activity: 1666
Merit: 1081


Black Belt Developer


View Profile
March 26, 2016, 07:41:01 PM
 #377

const char algo_alias_map[][2][] = {

...

{NULL, NULL}
}

if (algo_alias_map[n][0] == NULL)

should work.

joblo
Legendary
*
Offline Offline

Activity: 1134
Merit: 1016


View Profile
March 26, 2016, 07:58:53 PM
 #378

const char algo_alias_map[][2][] = {

...

{NULL, NULL}
}

if (algo_alias_map[n][0] == NULL)

should work.

Almost worked, needed to make a slight adjustment:

const char *algo_alias_map[][2] = {

Thanks.

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

Activity: 1134
Merit: 1016


View Profile
March 26, 2016, 08:37:07 PM
 #379

const char algo_alias_map[][2][] = {

...

{NULL, NULL}
}

if (algo_alias_map[n][0] == NULL)

should work.

Almost worked, needed to make a slight adjustment:

const char *algo_alias_map[][2] = {

Thanks.

Still had to work a few things out, got mixed up with operator precedence:
char * a[] means a array of char pointers, not a pointer to an array.

The working version will be in the next release, just missed 3.1.6.

Code:
// an algo can have multiple aliases but the aliases must be unique

#define PROPER (1)
#define ALIAS  (0)

// Need to sort out all the blakes
// blake256r14 is apparently decred
// Vanilla was obvious, blakecoin is almosty identical to vanilla
// What is blake2s, pentablake?

const char* algo_alias_map[][2] =
{
//   alias                proper
  { "blake256r8vnl",     "vanilla"     },
  { "blake256r8",        "blakecoin"   },
  { "cryptonight-light", "cryptolight" },
  { "droplp",            "drop"        },
  { "flax",              "c11"         },
  { "lyra2",             "lyra2re"     },
  { "lyra2v2",           "lyra2rev2"   },
  { "myriad",            "myr-gr"      },
  { "neo",               "neoscrypt"   },
  { "sibcoin",           "sib"         },
  { "ziftr",             "zr5"         },
  { NULL,                NULL          }   //add new aliases above this line
};

// if arg is a valid alias for a known algo it is updated with the proper name.
// No validation of the algo or alias is done, It is the responsinility of the
// calling function to validate the algo after return.
void get_algo_alias( char** algo_or_alias )
{
  int i;
  for ( i=0; algo_alias_map[i][ALIAS]; i++ )
    if ( !strcasecmp( *algo_or_alias, algo_alias_map[i][ ALIAS ] ) )
    {
      // found valid alias, return proper name
      *algo_or_alias = algo_alias_map[i][ PROPER ];
      return;
    }
}



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

Activity: 1134
Merit: 1016


View Profile
March 26, 2016, 08:53:03 PM
 #380

const char algo_alias_map[][2][] = {

...

{NULL, NULL}
}

if (algo_alias_map[n][0] == NULL)

should work.

Almost worked, needed to make a slight adjustment:

const char *algo_alias_map[][2] = {

Thanks.

Still had to work a few things out, got mixed up with operator precedence:
char * a[] means a array of char pointers, not a pointer to an array.

The working version will be in the next release, just missed 3.1.6.

Code:
// an algo can have multiple aliases but the aliases must be unique

#define PROPER (1)
#define ALIAS  (0)

// Need to sort out all the blakes
// blake256r14 is apparently decred
// Vanilla was obvious, blakecoin is almosty identical to vanilla
// What is blake2s, pentablake?

const char* algo_alias_map[][2] =
{
//   alias                proper
  { "blake256r8vnl",     "vanilla"     },
  { "blake256r8",        "blakecoin"   },
  { "cryptonight-light", "cryptolight" },
  { "droplp",            "drop"        },
  { "flax",              "c11"         },
  { "lyra2",             "lyra2re"     },
  { "lyra2v2",           "lyra2rev2"   },
  { "myriad",            "myr-gr"      },
  { "neo",               "neoscrypt"   },
  { "sibcoin",           "sib"         },
  { "ziftr",             "zr5"         },
  { NULL,                NULL          }   //add new aliases above this line
};

// if arg is a valid alias for a known algo it is updated with the proper name.
// No validation of the algo or alias is done, It is the responsinility of the
// calling function to validate the algo after return.
void get_algo_alias( char** algo_or_alias )
{
  int i;
  for ( i=0; algo_alias_map[i][ALIAS]; i++ )
    if ( !strcasecmp( *algo_or_alias, algo_alias_map[i][ ALIAS ] ) )
    {
      // found valid alias, return proper name
      *algo_or_alias = algo_alias_map[i][ PROPER ];
      return;
    }
}


After all that it might have been simpler to list all the aliases in ALGO_NAMES and
use multiple case statements for algo with aliases.  Undecided

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
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 ... 190 »
  Print  
 
Jump to:  

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!