Bitcoin Forum
May 06, 2024, 07:59:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 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 ... 164 »
1401  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: July 14, 2013, 04:07:43 AM
I'm getting about 8000 PPM on a Core i7 2700K @ 4.4 GHz

No blocks yet

edit: Spoke too soon, just got a block in 4 minutes
1402  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 13, 2013, 10:11:00 PM
Code:
getdifficulty
7.98816758

Just about to 8.  Remember that we're on a wacky logarithmic approximately base-30 scale for difficulty, so difficulty 8 is 30x harder to find a block as compared to difficulty 7.
1403  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 13, 2013, 08:21:40 PM
Linux? Windows 7? What processor? How many PPS/Blocks per 10min? Using Cheisist's build right now on combined 1000PPS. Nothing.

Linux (Ubuntu 64-bit)
Core i7 2700K @ 4.4 GHz
~2200 PPS on average
I'm getting a block every 4 or so hours

Are you having the client stops syncing blockchain problem?.

No

Here is my binary
1404  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 13, 2013, 08:07:51 PM
Linux? Windows 7? What processor? How many PPS/Blocks per 10min? Using Cheisist's build right now on combined 1000PPS. Nothing.

Linux (Ubuntu 64-bit)
Core i7 2700K @ 4.4 GHz
~2200 PPS on average
I'm getting a block every 4 or so hours
1405  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 13, 2013, 07:53:43 PM
Alright, so just updated my version (currently on github) such that each thread an independent evolving weave timing parameter.  To compare to mine with Sunny's most recent update, I used the testnet where my version found 30 confirmed blocks in 10 minutes while the original code found 16 confirmed blocks.  I feel that this is a legitimate comparison because there were no other nodes on the test net currently mining (I know this because my client found every continuous block in both cases).  This comparison was performed with a t61p IBM laptop with a T9300 Core 2 Duo processor.  The current difficulty on the testnet is 5.4426.  

Going to test this with the 8 threads on my Core i7 next.

Mind linking to your github? The speed this thread is updating is a bit overwhelming. Thanks in advance.

Updated my profile website to link directly to it, just fyi so you dont have to keep coming back here...

https://github.com/Chemisist/primecoin

Good news, got 4 blocks today on the main net with your fork!
1406  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 12, 2013, 11:01:25 PM
Just so you're aware (not sure if you've been following the last 5-6 pages), the makefile.unix has -O3 set instead of the -O2 like the one from Sunny King has

Yeah, it's compiled with -O3 and the correct architecture

Your version so far: averaging about 2100 PPM on a Core i7 2700K @ 4.4 GHz

I will run it overnight and see if it picks up any blocks on the main net, today I have 2 so far, yesterday I had 4
1407  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 12, 2013, 10:55:02 PM
Going to test this with the 8 threads on my Core i7 next.
A report:

Substantially faster than your previous version, based on logged primemeter numbers, on my dual quad-core xeon box.

Ahh, so it likely was due to threaded race conditions, hooray!  Thanks for helping me test this Smiley  Are you running on the test net or main net?

building and running on main net now
1408  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 12, 2013, 10:19:09 PM
with
Code:
        int64 nSieveRoundLimit = (int)GetArg("-gensieveroundlimitms", 400);
I get about 3000 PPS on my 4.4 GHz 2700K, however I have no idea if my block generation rate will actually be higher

I suspect ideal sieve time restrictions are processor speed dependent and vary with the bandwidth of your processor
1409  Alternate cryptocurrencies / Altcoin Discussion / Re: MC2 ("Netcoin"): A cryptocurrency based on a hybrid PoW/PoS system on: July 12, 2013, 07:12:40 PM
LOL, then Chrome is not only able to protect u from virus and malware but from crap content ....

yap, smart one Smiley

Use Firefox.
Aye, aye sir! I will!
Not!  Roll Eyes


So anyway, how's Netcoin doing these days?



I will be doing my damndest to complete the wiki updates by the end of the weekend and the (hopefully) final version of the whitepaper next week, then handing things over to ingsoc to begin the kickstarter and developmental process.
1410  Economy / Computer hardware / Re: WTS Butterfly Labs 5gh/s Jalapeno IN HAND on: July 12, 2013, 03:57:26 PM
7 btc shipped in canada
1411  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 11, 2013, 03:18:20 AM
With old optimized build: average 340 pps
With new optimized build: average 1450 pps

Core i7 2700K @ 4.4 GHz
1412  Bitcoin / Hardware / Re: Which USB hub to use with Block Eruptors? on: July 10, 2013, 09:09:03 PM
I use D-Link DUB-H7 for 5 devices and it works fine.  Output is 5.0 V DC at 3.0 amps, so it powers 5 devices easily.

friedcat has a pretty cool store too
http://friedcat.taobao.com/
1413  Alternate cryptocurrencies / Altcoin Discussion / Re: [Primecoin] How to build the client from source on Linux (Ubuntu 12.04) on: July 10, 2013, 09:01:13 PM
You guys are welcome to my optimized ubuntu64 executable too, but I'll warn you that I have no idea if it's generating primes correctly (I altered a bunch of the code according to Mike's recommendations)

download here
1414  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 10, 2013, 08:29:25 PM
I think it'd be ideal to use a 2D array with the three composite values stored sequentially in memory as single bits each

Probably should be a std::bitset datatype too
1415  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 10, 2013, 08:21:21 PM
did you measure the speedup of every change? the first rule of optimization is: measure! otherwise you may be making it worse without knowing...
just a few comments:
those bool arrays are probably no much better than the vectors. Each bool takes 1 byte of RAM. If you want to make that faster you have use an array of ints that is 1/32 of the size, and encode each bool in a single bit of the 32 bits. That will make arrays shorter, speeding up mallocs and making more bools fit in the cache.

Also, probably changing the call to size() by a variable, and splitting the loop look like not worth it. However the upper and lower_bound are definitly better

Agreed
1416  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 10, 2013, 08:12:36 PM
-prime.h: Removed nSieveSize and replaced all occurrences with nMaxSieveSize. Removed nSieveSize from the initializer as it's become obsolete.

-prime.h: Changed
<     std::vector<bool> vfCompositeCunningham1;
<     std::vector<bool> vfCompositeCunningham2;
<     std::vector<bool> vfCompositeBiTwin;
---
>     bool vfCompositeCunningham1[1000000];
>     bool vfCompositeCunningham2[1000000];
>     bool vfCompositeBiTwin[1000000];
Thus, we should save on quite a few mallocs.

Don't forget to initialize the array by adding the following below in place of the other initialization

Code:
        for (int i = 0; i<1000000; ++i){
            vfCompositeCunningham1[i] = false;
            vfCompositeCunningham2[i] = false;
            vfCompositeBiTwin[i] = false;
        }
1417  Bitcoin / Group buys / Re: [Closed] JIT Group Buy #7 1045+ ASICMiner Erupter USB 1.01618 ea. @ 10 units on: July 10, 2013, 06:15:30 AM
Got mine today, hashing away!  Thanks!
1418  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 10, 2013, 12:50:43 AM
Found a CUDA implementation of the sieve here, too: http://www.mersenneforum.org/showthread.php?t=11900

Oh snap, things be going crazy.
Too bad the sieve is only half the problem.

If you can implement the primality tests, then we're talking.

I'm not sure if this will be of help, but http://www.gpgpgpu.com/gecco2009/6.pdf
1419  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 10, 2013, 12:42:36 AM
Found a CUDA implementation of the sieve here, too: http://www.mersenneforum.org/showthread.php?t=11900
1420  Alternate cryptocurrencies / Altcoin Discussion / Re: [Bounty] Primecoin Standalone CPU Miner! Current: 2.5BTC on: July 10, 2013, 12:35:13 AM
Crossposting for exposure;

If anyone would like to give it a shot, there's an extremely optimized sieve of Eratosthenes implementation here:
https://primesieve.googlecode.com

From the software:
Quote
 The best sieving performance is achieved with a sieve size of your
  CPU's L1 data cache size (usually 32 or 64 KB) when sieving < 10^16
  and a sieve size of your CPU's L2 cache size above.

Quote
primesieve uses the segmented sieve of Eratosthenes with wheel factorization, this algorithm has a complexity of O (N log log N) operations and uses O (sqrt N) space.

Segmentation is currently the best known practical improvement to the sieve of Eratosthenes. Instead of sieving the interval [2, n] at once one subdivides the sieve interval into a number of equal sized segments that are then sieved consecutively. Segmentation drops the memory requirement of the sieve of Eratosthenes from O(N) to O(sqrt N). The segment size is usually chosen to fit into the CPU's fast L1 or L2 cache memory which significantly speeds up sieving. A segmented version of the sieve of Eratosthenes was first published by Singleton in 1969 [1], Bays and Hudson in [2] describe the algorithm in more detail.

From the source, the sieve size is small (1 * 10^6) by default if I'm interpreting it correctly.

I'm wondering if a massively parallel GPU implementation with higher memory bandwidth also benefiting from the reduced memory requirements will see much better performance.

Also,
Quote
primesieve generates the first 50,847,534 primes up to 10^9 in just 0.4 seconds on a single core of an Intel Core i7-920 2.66GHz, this is about 50 times faster than an ordinary C/C++ sieve of Eratosthenes implementation and about 10,000 times faster than trial-division. primesieve outperforms my older ecprime (fastest from 2002 to 2010) by about 30 percent and also substantially outperforms primegen the fastest sieve of Atkin implementation on the web. Here is a list of other fast sieve of Eratosthenes implementations.

If the current implementation is the standard C++ one (I haven't looked at it thoroughly but it seems to be), whoever can race to implement this first may benefit immensely.

For those interested, there's a CUDA implementation here too: http://www.mersenneforum.org/showthread.php?t=11900
Pages: « 1 ... 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 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 ... 164 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!