Bitcoin Forum
May 23, 2024, 08:57:20 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 »
81  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 06, 2014, 04:50:51 PM
Thanks to riecoin my gmp is already custom compiled and tuned.  I only mentioned testnet as the diffidently was high and was increasing at a steady rate.

Interesting that you get some performance out of SIMD with the code as is.  One of the first things I did was to compile with "-ftree-vectorize -mavx2 -ftree-vectorizer-verbose=5" to see what auto-vectorising found.  It didn't find much (any?) to vectorise as most of the size of the loops aren't know at compile time (there are trick you can use however) or a non-uniform step being used.

Regards,

PS.  The fact that GCC couldn't vectorise what should be very conducive to vectorising is a good avenue to work on for speed-ups.

--
bsunau7

Its not only the vector extensions that are added, its switching between march=native to everything up to core-avx2. And O2 to O3. I dont know what exactly did the trick, has to be something thats added here.

82  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 06, 2014, 10:31:28 AM
Anyone else been keeping an eye on testnet?

Difficulty is rising pretty fast, which means some serious mining from a very small base is happening.

Regards,

--
bsunau7

I see a difficulty below 17. Thats <100k pps total.

Let me show you how to optimize the miner:

My I7-4770k with 8 threads, stock-miner:
pps: 31821 / 31160  10g/h 4473 / 3429  15g/h 0 / 0

Now go on and build your own libgmp from source. When done, run the tune utility for optimum results. Copy your final libgmp.so.10 to /usr/local/lib/.

Now we're at:
pps: 34039 / 34041  10g/h 6077 / 4479  15g/h 0 / 0

Optimizing sieve size:
open src/main.cpp

line 252:
  1048576);

to
   8 * 1048576);


and line 256
  500000);

to
  15000000);

make sure to also change the shift, otherwise you wont be able to submit most blocks! You could specify it on command line, but this is safer:

line 128:
  uint16_t shift = (opts->has_shift() ?  atoi(opts->get_shift().c_str()) : 20);

change to:
  uint16_t shift = (opts->has_shift() ?  atoi(opts->get_shift().c_str()) : 23);


Now its mining at
pps: 38276 / 37068  10g/h 5156 / 5265  15g/h 0 / 0


Lets also add the tuning for Haswell AVX2:
open Makefile and set

OTFLAGS   = -march=core-avx2 -mtune=core-avx2 -O3
(if you have a haswell, of cause)

Results:
pps: 39691 / 39553  10g/h 6059 / 5635  15g/h 0 / 0





83  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][CACH] CACHeCoin released based on scrypt-jane on: November 05, 2014, 10:20:06 AM
I've just added CACH to my blockchain-explorer:

https://bchain.info/CACH/

Comes with a richlist:

https://bchain.info/CACH/rich/


edit: removed it again. Did not know about what was going on here.
84  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 03, 2014, 11:30:46 PM
Prime numbers are interesting for lots of mathematicians around the globe,
and they're also important to every day cryptography (see RSA).

Researches about prime gaps could not only lead to new breakthroughs in the bounded gap,
it may also help proving the Twin Prime Conjecture and maybe even the millennium problem,
the Riemann hypothesis. Who knows?

To sum it up: Its a lot more than just "cause we can".
85  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 03, 2014, 02:45:28 PM
Did anyone manage to get a working vanityaddress? -X 38 resulted in an invalid privkey -.-

Vanitygen assumes the private key magic bytes are (public key) + 128, which is not true for lots of coins. For Gap its +59.

go to vanitygen.c

Line 399
   privtype = 128 + addrtype;

change to
   privtype = 59 + addrtype;

then hit make again

Now it generates valid private keys
86  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 03, 2014, 08:29:08 AM
They don't understand this point-"Difficulty adjusts every block and increases logarithmic (it will probably take years to get to 50)"
 Smiley

Let me explain it to you:

Difficulty increases just like with every other coin. But as the effort needed to find gaps increases exponentially with higher merit, the log of actual difficulty is shown.
87  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 03, 2014, 03:24:13 AM
Big sieve.
Small shift.
Coins lost.
To bad.

For everyone who is tuning the miner:
Max. sieve size is 2^shift

88  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 02, 2014, 10:34:29 PM
another gap block has arrived..

Credit: 22.xxxxxx GAP (matures in xxx more blocks)

thanks goes to you @dcct, dcct increased my block count Today

as I wrote this post another GAO block popped in!

How many instances do you use?
89  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 02, 2014, 10:20:33 PM
Hi!

A couple of questions: doesn't proof of work verification necessary involve testing all numbers in the gap? Even using a sieve, wouldn't it become too slow?
If merit is about gap size/log(p), but max gap size is O(log^2(p)), then max merit is O(log(p)). So in order to get more merit, you'll eventually need larger primes, otherwise you'll have an upper bound for the merit! How do you handle this?
I'm really interested in seeing how would this work.

Best regards,
Gatra


Verification is quite fast. Even a 7k gap is verified within seconds.
With O(log(p)) the max. merit is already above 256, with a larger shift difficulty can raise further. I don't see any limit here.

Quote
If expected average merit and max merit depend on the size of the primes, wouldn't I get an advantage by mining a pool using smaller primes? (restricting myself to smaller "shifts") Smaller primes mean faster computations, so more chances of getting a share, but at the expense of less changes of getting an actual block!

Its a bit of a tradeoff here. Larger shifts allow for larger, more efficient sieves, while lower ones speed up the fermat tests. I figured out the optimum is somewhere between 20 (the default value) and 26. Its only a minor improvement anyway.
90  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 02, 2014, 06:11:44 PM
New merit record!

http://coinia.net/gapcoin/blockexplorer.php?q=9ba300fb1ccee419d6c99c9a7b1f3434f5c09124a66dee9d2f1274c5115b2eb4

merit: 32.92211489
gap length: 6396
start prime: 2362114383441832500322011387943037977164194150997773091406607778787608479543714 567191
end prime: 2362114383441832500322011387943037977164194150997773091406607778787608479543714 573587

./gapcoind signmessage "GMhhQ2Evh5P6mjoQRHokkz17gakvLjAizC" "Yes thats my address - dcct"
H654Z+DUgc78Q3L/gcg7lHCxiARH3unyEC08tZ6/d868ZZvtHz1P3j/G0k8cijEUbHpa5sRL3pv3xIoL1XonhkM=


I think we will find a lot more high merits soon. 35.4245 is the largest known.
91  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 02, 2014, 05:54:46 PM
I didnt get which is the supposed speed with i7-4790 for example?
EDIT: I cant reach above 27000 pps with mine.
command line:
Code:
gapminer.exe -o http://mine3.gap.nonce-pool.com -p 4200 -u *** -x *** -t 4

The i7-4790 has hyperthreading. Try 8 threads.
92  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 02, 2014, 01:40:14 PM
yes, sudo killall gapminer; make clean;   building libgmp next and wiring, report soonish

shoot.. gcc 4.8 uses older version of gmp/mpfr compiling my own verison quick linking with gmp 6.0.0 and latest mpfr..

might as well gcc 4.9 ... funny I think someone was doing what I am doing now..

I was using 4.8.2. 4.9 was about the same speed.
93  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 02, 2014, 01:01:12 PM
awesome! you probably added few blocks for me just now.. be right back

ok..

-O3 -march=corei7-avx -mtune=corei7-avx

not much effect, optimizing for libgmp next...

[2014-11-02 12:58:17] pps: 108848 / 108592  10g/h 15910 / 13667  15g/h 319 / 160
[2014-11-02 12:58:27] pps: 109088 / 108756  10g/h 9263 / 12198  15g/h 0 / 106
[2014-11-02 12:58:37] pps: 108834 / 108775  10g/h 15621 / 13050  15g/h 0 / 80
[2014-11-02 12:58:42] Got new target: 22.4406137 @ 22.4406137
[2014-11-02 12:58:47] pps: 108882 / 108796  10g/h 14987 / 13437  15g/h 0 / 64

you did make clean first?
While tune is running you need to stop the miner of cause.
94  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 02, 2014, 12:45:54 PM
this could indeed be GPU's in operation, he is scoring large number of blocks and consistent, he overrode others with 1 to 3 million and is trying to "corner" supply quick.. not good

that or he/she launched 100,000 PPS x 10 x 8 = 80 servers x 50 cents per hour each... (40$ a hour!) AWS .. that would be down right brave

116 left   Autolycus   11/03/2014 00:21:05   22.4675   22.4678   28,325   83,020   127,856   451.39

With spot instances its a lot cheaper than that. One c3-8xlarge is ~25 cents per hour für ~135,000 pps.


at 25c my instance was killed after 2 hours (trust me I tried) at 40cents it was killed, had to redo setup (this was few days back) so conservative is 50cents or 55 cents I was getting approximately 108K PPS consistent

even at 25 cents.. (if survived and autolycus is surviving without interupption) it is still a lot of money, so something else is going on there

Try us-east-1e.

Also there is a beautiful api you can use. If it gets terminated just let it automatically spawn a new one in a different data center. Copy the miner and start it using a automated small script.


Let me guess: Not optimized for avx, using stock libgmp.

-O3 -march=corei7-avx -mtune=corei7-avx

+tune for libgmp.

And you are at ~144K pps



95  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 02, 2014, 12:38:28 PM
this could indeed be GPU's in operation, he is scoring large number of blocks and consistent, he overrode others with 1 to 3 million and is trying to "corner" supply quick.. not good

that or he/she launched 100,000 PPS x 10 x 8 = 80 servers x 50 cents per hour each... (40$ a hour!) AWS .. that would be down right brave

116 left   Autolycus   11/03/2014 00:21:05   22.4675   22.4678   28,325   83,020   127,856   451.39

With spot instances its a lot cheaper than that. One c3-8xlarge is ~25 cents per hour für ~135,000 pps.

Thats ~15$ per hour with on average about 5 Blocks. Actually profitable!
96  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 02, 2014, 04:06:06 AM
To me the primes/s metric looks to be useless.  It is a counter which is only incremented when a composite isn't found which makes it a valid comparison only for the same sieve parameters.

At the moment its a useful metric as everyone is using the same implementation. I agree this needs to be changed soon.
97  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 01, 2014, 10:06:08 PM
Not a Polo fan, and I also don't want to support a low sell price, I suggest that 30k sat should be an absolute mininmum.

At the moment you could still buy cheaper @polo, so why not sell for 30k.

But with rising difficulty you wont be able to buy this cheap soon.
98  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 01, 2014, 04:57:49 PM
Sure that might work on other coins but not on GAP. Block verification is slow, we need to fix this.

Just started the node on a fresh server (Core 2 dual core), and it finished syncing in < 10 minutes.
99  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 01, 2014, 04:26:12 PM
is that a gpu miner?

What makes  you think its a GPU miner ?? Stop the FUD.

 Roll Eyes Gotta love the newbies telling the Sr. Members how to act...

Dosn't change the fact that its a CPU miner  Wink
100  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU only - Zero Premine on: November 01, 2014, 04:05:14 PM
Is there anything that can be done to speed up syncing ? At the moment it takes over 1h to sync 10 days worth of blockchain data.

It took only minutes here. Whats slowing it down? Network? HDD?
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!