Bitcoin Forum

Alternate cryptocurrencies => Announcements (Altcoins) => Topic started by: mikaelh on July 13, 2013, 10:36:06 PM



Title: [XPM] [ANN] Primecoin High Performance | HP14 released!
Post by: mikaelh on July 13, 2013, 10:36:06 PM
This is Primecoin High Performance, a Primecoin wallet with high-performance CPU miner built-in. Only solo mining is supported. For pooled mining, see beeeeer.org (http://www.beeeeer.org/). The main Primecoin thread is here (https://bitcointalk.org/index.php?topic=251850.0).

Notice: CPU mining is no longer profitable. If you have a recent AMD GPU, you can try the following miners:
Open Source XPM Pool + GPU Miner (aka. madPrimeMiner) (https://bitcointalk.org/index.php?topic=602292.0) (with updates by eXtremal)
Claymore XPM (PrimeCoin) GPU Miner (https://bitcointalk.org/index.php?topic=693680.0)

Features:
 * Extended sieve algorithm
 * Cache-friendly segmented sieve
 * Adjustable sieve parameters
 * Mining threads use GMP for faster bignum arithmetic

Recent changes:
Changes in -hp14 (ann (https://bitcointalk.org/index.php?topic=255782.msg6409359#msg6409359)):
 * Huge CPU mining speedup. Up to 73% higher chains/day on Intel's Haswell.
 * Developer fee is now 1% (-donationpercentage defaults to 1.0).
 * Sieve now uses the BTS instruction (same as RapidPrime miner).
 * Added compile-time support for using BMI2 instructions on Haswell.
 * Added compile-time support for SSE2 and AVX2 bitwise operations.
 * New extended sieve algorithm similar to rdebourbon's beta4 code.
 * New default values for the tuning parameters:
   . sievefilterprimes defaults to 14000 (up from 7849)
   . sievesize defaults to 1376256 (up from 917504)
   . sieveextensions defaults to 10 (up from 9)
 * Lots of other minor improvements.

Changes in -hp13 (ann (https://bitcointalk.org/index.php?topic=255782.msg6154169#msg6154169)):
 * Binaries compiled with OpenSSL 1.0.1g which addresses the Heartbleed vulnerability
 * Faster blockchain download

Changes in -hp12 (ann (https://bitcointalk.org/index.php?topic=255782.msg5485681#msg5485681)):
 * IMPORTANT: Fix for multiple machines doing the same work if wallet is shared.
 * New chain statistics in debug.log.
 * Removed 'primespersec' from the output of getmininginfo.
 * Removed 'chainspermin' metric.
 * Replaced -sievepercentage parameter with -sievefilterprimes.
 * New parameter -l1cachesize for specifying the size of sieve segments.
 * Added new blocks/day metric which tries to estimate how many blocks will be found at current difficulty.
 * Better automatic adjustment of primorial factor.
 * New parameter -primorial for manual adjustment of primorial.
 * Implemented early support for v0.2 proposal (needs to be enabled with -miningprotocol=2).
 * David's fix for getwork.
 * Updated to Bitcoin v0.8.6 codebase.
 * Improved the checking of BiTwin chain candidates. As a consequence, short BiTwin chains (1 or 2 primes) are now counted correctly in the mining statistics. Primes/h is now much higher due to this.
 * The Qt application is now titled Primecoin High Performance.
 * Fixes for Mac OS X and the Clang compiler.
 * Revised default sieve parameters.
 * Added an automatic donation feature when a new block is found. The -donationpercentage allows a percentage of the block reward to be donated to an address. E.g. passing the command-line parameter -donationpercentage=1.5 will donate 1.5% of every block to the developer. Alternatively, this value can be set in primecoin.conf. Also, the default address can be changed using -donationaddress.

Changes in -hp11: (ann (https://bitcointalk.org/index.php?topic=255782.msg3151580#msg3151580))
 * Fixed a bug in the BiTwin filter that was inflating the chains/day estimate and reducing the chances of finding a block (thanks to rdebourbon).
 * Slightly improved the accuracy of the prime probability estimate with regards to the 'sieveextensions' parameter.
 * Changed the default value of 'sieveextensions' to 9.
 * Other small fixes and improvements from cabin.

Changes in -hp10: (ann (https://bitcointalk.org/index.php?topic=255782.msg3001711#msg3001711))
 * Major rewrite of the sieve to support extending the sieve (originally implemented by jh000).
 * Added a new parameter 'sieveextensions' which controls how many times the sieve is extended.
 * Removed the problematic and unnecessary fast-division test.
 * Changed the value of nL1CacheElements to 224000 which is slightly faster (thanks to nushor on IRC).
 * The 'roundsievepercentage' parameter is gone. The round primorial is now automatically adjusted.
 * New RPC command 'listtopprimes' by Sunny.

Windows x64 binaries
http://sourceforge.net/projects/primecoin-hp/files/0.1.2-hp14/primecoin-0.1.2-hp14-winx64.zip/download
http://download.muuttuja.org/primecoin/primecoin-hp/0.1.2_hp14/primecoin-0.1.2-hp14-winx64.zip
SHA1SUM: 2610f99d0087bc799050fcbe02482e556df19ae1

Windows x86 binaries
http://sourceforge.net/projects/primecoin-hp/files/0.1.2-hp14/primecoin-0.1.2-hp14-winx86.zip/download
http://download.muuttuja.org/primecoin/primecoin-hp/0.1.2_hp14/primecoin-0.1.2-hp14-winx86.zip
SHA1SUM: d205da20b41d9eebe9c415144efe13a7efa652b5

Linux x64 and x86 binaries
http://sourceforge.net/projects/primecoin-hp/files/0.1.2-hp14/primecoin-0.1.2-hp14-linux.tar.bz2/download
http://download.muuttuja.org/primecoin/primecoin-hp/0.1.2_hp14/primecoin-0.1.2-hp14-linux.tar.bz2
SHA1SUM: 254087afc81dc054f48e7b1db1957c6cd2dabea6

Mac OS X binaries
http://sourceforge.net/projects/primecoin-hp/files/0.1.2-hp14/Primecoin-HP-Qt-0.1.2-hp14.dmg/download
http://download.muuttuja.org/primecoin/primecoin-hp/0.1.2_hp14/Primecoin-HP-Qt-0.1.2-hp14.dmg
SHA1SUM: 240af66fbf07d3a0b85c386a62faefe8d6afc592

Warning to Linux users: My binaries are linked against Berkeley DB 4.8.30. If you have compiled from source before, the database format may be incompatible if you linked against a different version of Berkeley DB. Sunny King's original binaries are linked against Berkeley DB 4.8.24, which should be compatible with my version. Always make sure to backup the database and your wallet before switching builds.

Source code (.tar.bz2)
http://sourceforge.net/projects/primecoin-hp/files/0.1.2-hp14/primecoin-0.1.2-hp14.tar.bz2/download
http://download.muuttuja.org/primecoin/primecoin-hp/0.1.2_hp14/primecoin-0.1.2-hp14.tar.bz2
SHA1SUM: ea772deda9d3a1d3ced99ba5858ec888d869667c

Source code (Git)
https://bitbucket.org/mikaelh/primecoin-hp
https://github.com/mikaelh2/primecoin

Please use the SourceForge link for downloading the source code to ease the load on the repository.

Older releases are stored on SourceForge:
https://sourceforge.net/projects/primecoin-hp/files/

Tutorials

[Tutorial] Primecoin Getting Started and Basic Commands (http://www.peercointalk.org/index.php?topic=462.0)
**Quick Guide!** - How to mine Primecoin (http://www.peercointalk.org/index.php?topic=316.0)
[XPM] Primecoin High Performance Linux Compilation Guide (https://bitcointalk.org/index.php?topic=259022.0)

Configuration

Sample config file for automatic mining:
Code:
# Enable JSON-RPC commands to be received
server=1

# Username and password for JSON-RPC
rpcuser=primecoinrpc
rpcpassword=PASSWORD

# IP restriction for JSON-RPC
rpcallowip=127.0.0.1

# Start mining automatically
gen=1

# An extra seednode to help getting connected to the network
seednode=primeseed.muuttuja.org

# Tuning parameters
#sievesize=1376256
#sievefilterprimes=14000
#sieveextensions=10

# Donate 1% of found blocks by uncommenting the following line
#donationpercentage=1.0

Save the file as primecoin.conf in %APPDATA%\Primecoin (for Windows users), $HOME/.primecoin (for Linux users), or $HOME/Library/Application Support/Primecoin (for Mac OS X users).

FAQ

Q: How many blocks should I expect to find?
A: My current formula for turning chains/day into blocks/day is as follows:
blocks/day = chains/day * (0.97 * (1 - fracDiff) + 0.03)
Here fracDiff is the fractional part of the mining difficulty (i.e. fracDiff = diff - floor(diff)). The 'getmininginfo' command will show both the chains/day value and the difficulty.

Q: Is this compatible with the original client? Can I replace primecoin-qt/primecoind with this release?
A: Yes, the Windows builds should be compatible with the original client. It uses Berkeley DB version 4.8 so the database format should be the same.

Q: Why is the client crashing with the following message?
Assertion failed!
File: src/checkqueue.h, line 171
Expression: pqueue->nTotal == pqueue-> nIdle
A: This is a known bug which is present both in this version and the original Primecoin wallet. A workaround is to use a script or a cron job to automatically restart the wallet.

Q: How can I fix the client crashing on every startup?
A: Try deleting all database files except wallet.dat.

Q: Where is the config file located?
A: Windows users: The configuration file should be located in the %APPDATA%\Primecoin folder.
Linux users: The configuration file is located in your $HOME/.primecoin folder.
Mac OS X users: The configuration file is located in your $HOME/Library/Application Support/Primecoin folder.
The configuration file is not created by default. If it does not exist, simply create a new text file and save it as primecoin.conf.

Q: What are the optimal sieve parameters?
A: The default values should be good for most people. If you want to further optimize them, adjust them one-by-one and compare chains/day.

Q: Why is my performance worse on Linux?
A: This version relies on libgmp to do most of the complex calculations. Make sure your libgmp is up-to-date. Old versions do not support newer CPUs. I suggest compiling your own libgmp from latest source code for maximum performance.

Q: Why has my prime rate dropped after updating?
A: There are two common cases why primes/s can drop:
1. You downloaded the 32-bit version which is slower. Use the 64-bit version if possible.
2. Network difficulty has changed. Prime rate goes down when the integer part of the difficulty changes (i.e. going from 8.xx to 9.xx). It's a feature of the mining algorithm and nothing can be done about it.
Otherwise please make a post wiith system information (especially CPU model), operating system version and miner version.

Q: What is the chains/day estimate?
A: Short version: https://bitcointalk.org/index.php?topic=255782.msg2847844#msg2847844
Longer version: https://bitcointalk.org/index.php?topic=255782.msg2848092#msg2848092

Q: How do I solve a problem with the client not being able to synchronize or connect to any nodes?
A: Try adding this line to your primecoin.conf file:
Code:
seednode=primeseed.muuttuja.org

Also check that your firewall allows outgoing connections to other nodes. You may also allow incoming connections if you want. The default port used by Primecoin is 9911 (TCP).


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: captainfuture on July 13, 2013, 10:38:33 PM
which shall i use for semprons ?  ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 13, 2013, 10:42:45 PM
which shall i use for semprons ?  ;D

Depends on your OS version. If you have a 64-bit Windows, then download the x64 version.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gshk30 on July 13, 2013, 10:43:40 PM
 :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 13, 2013, 10:44:45 PM
Compiling and trying now


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mustyoshi on July 13, 2013, 10:46:57 PM
Hmm, how well will this work with my i3?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 13, 2013, 10:47:43 PM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 13, 2013, 10:49:36 PM
Hmm, how well will this work with my i3?

GMP has optimized assembly for several processors. I'd expect it to give decent performance on an i3.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: simichent on July 13, 2013, 10:51:34 PM
holy s*** 1700 to 99900 on w7 64 fx8350


edit : 9990


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Schwede65 on July 13, 2013, 10:53:26 PM
Hmm, how well will this work with my i3?

GMP has optimized assembly for several processors. I'd expect it to give decent performance on an i3.
yeah, one of my i3 went up from 400 to 3000 / 3 threads - boosting :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: craslovell on July 13, 2013, 10:54:07 PM
Giving it a run now


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Chemisist on July 13, 2013, 10:55:00 PM
Here is my high performance version of Sunny King's Primecoin client. This version improves mining performance significantly.

Notable changes:
 * Use GMP for bignum calculations in the mining threads
 * Reduced sieve size to 100,000 so that important arrays fit into L1 cache
 * Replaced some bignum calculations with 64-bit arithmetic inside the sieve
 * Reduced the amount of memory allocations

Windows x64 binaries
http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp1/primecoin-0.1.1-hp1-winx64.zip/download
https://mega.co.nz/#!ksEDGYLY!M3orWiIf8_Twipn13oVRcA298EMU_GdxxtVvLZTFMDs
SHA1SUM: ee17da5f3be1cd1ca23ee3df57dcca71f560881b

Windows x86 binaries
http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp1/primecoin-0.1.1-hp1-winx86.zip/download
https://mega.co.nz/#!E1lXySbC!EIkrCi3olKURb0RXs8wwRifbvBhiXtu4OzT-FLNL8Kk
SHA1SUM: b557bce76691a391b5328d437180403d6f8eeae0

Source code
https://github.com/mikaelh2/primecoin

Linux users please compile it yourself for now.

Some primes per sec numbers (on 64-bit Linux):
~8700 on an Intel Core i7-4770k
~3100 on an Intel Core 2 Q6600

This release includes mustyoshi's patch from this post:
https://bitcointalk.org/index.php?topic=251850.msg2689981#msg2689981
[/quote

Can you compare the number of blocks found with your code versus sunny's code on the test net per some time interval?  As sunny has said multiple times, the pps rate is not an effective measure of block finding increase.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 13, 2013, 10:57:24 PM
http://puu.sh/3CdpH.png <--- from 700 to 10,000 on a Phenom II 1100t


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: shinkicker on July 13, 2013, 10:58:37 PM
Any new extra libraries / dependences needed?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Moebius327 on July 13, 2013, 10:59:06 PM
Found any blocks?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: SALHERO on July 13, 2013, 11:02:29 PM
Found any blocks?

you think somebody after a mins of the release found a block very easy. i have more than 24 hrs before this release @900pps and not found nothing, give more than 3 hrs for check this


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 13, 2013, 11:03:10 PM
Error when compile on Ubuntu 12.04

In file included from main.cpp:16:0:
prime.h:10:17: fatal error: gmp.h: No such file or directory
compilation terminated.
make: *** [obj/main.o] Error 1


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 13, 2013, 11:03:59 PM
Can you compare the number of blocks found with your code versus sunny's code on the test net per some time interval?  As sunny has said multiple times, the pps rate is not an effective measure of block finding increase.

I believe that has to do with the fact that the PPS varies widely ... this is a dramatic increase on each cpu, i think when PPS is "generally high" or "generally low" is what sunny meant.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 13, 2013, 11:05:06 PM
Found any blocks?

Doesn't reducing the sieve size reduce the likelihood you'll find a solution by the same amount you've increased the primes per second?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: captainfuture on July 13, 2013, 11:05:49 PM
my semprons make 1000pps now


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: torbank on July 13, 2013, 11:06:08 PM
Error when compile on Ubuntu 12.04

In file included from main.cpp:16:0:
prime.h:10:17: fatal error: gmp.h: No such file or directory
compilation terminated.
make: *** [obj/main.o] Error 1

Installing the libgmp-dev package should fix that.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Moebius327 on July 13, 2013, 11:06:44 PM
Found any blocks?

you think somebody after a mins of the release found a block very easy. i have more than 24 hrs before this release @900pps and not found nothing, give more than 3 hrs for check this

I sure hope this was tested before released.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 13, 2013, 11:07:30 PM
First coin found with this miner: http://puu.sh/3CdP6.png 3 minutes ago EST


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 13, 2013, 11:08:30 PM
Found any blocks?

you think somebody after a mins of the release found a block very easy. i have more than 24 hrs before this release @900pps and not found nothing, give more than 3 hrs for check this

I sure hope this was tested before released.

It's likely folks will still find blocks with it, but without running on testnet for a few hours and comparing the results to another build it won't tell us much. Just reduce the prime sieve size on Sunny's client, boom your PPS goes through the roof.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 13, 2013, 11:11:48 PM
Error when compile on Ubuntu 12.04

In file included from main.cpp:16:0:
prime.h:10:17: fatal error: gmp.h: No such file or directory
compilation terminated.
make: *** [obj/main.o] Error 1

You need to install libgmp-dev.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: captainfuture on July 13, 2013, 11:13:12 PM
hmmm
i dont need more pps, i just wanna find more blocks...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Miki77 on July 13, 2013, 11:17:04 PM
About 4000 pps with A10.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 13, 2013, 11:19:41 PM
Found any blocks?

you think somebody after a mins of the release found a block very easy. i have more than 24 hrs before this release @900pps and not found nothing, give more than 3 hrs for check this

I sure hope this was tested before released.

It's likely folks will still find blocks with it, but without running on testnet for a few hours and comparing the results to another build it won't tell us much. Just reduce the prime sieve size on Sunny's client, boom your PPS goes through the roof.

Well, to be honest, I was slightly concerned about changing the sieve size. I'm not 100% sure about the full effects. What I do know is that when you reduce it to 100,000 you stop getting millions of L1 write misses.

I have found quite a lot of blocks on mainnet with the reduced sieve size. I will try to get some better comparison numbers on testnet.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: shinkicker on July 13, 2013, 11:20:51 PM
First coin found with this miner: http://puu.sh/3CdP6.png 3 minutes ago EST

So he checked the code in and released this an hour ago, and its show you mined that coin yesterday..how is that possible?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Plazma on July 13, 2013, 11:22:14 PM
Why is your account created 2 hours ago ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: romerun on July 13, 2013, 11:23:16 PM
does the L1 optimization matter to VPS ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: reb0rn21 on July 13, 2013, 11:25:59 PM
Any chance for AVX2 optimization, should help a lot with haswell?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mingmuang on July 13, 2013, 11:26:48 PM
First coin found with this miner: http://puu.sh/3CdP6.png 3 minutes ago EST

So he checked the code in and released this an hour ago, and its show you mined that coin yesterday..how is that possible?
Today is the 13th...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 13, 2013, 11:29:03 PM
First coin found with this miner: http://puu.sh/3CdP6.png 3 minutes ago EST

So he checked the code in and released this an hour ago, and its show you mined that coin yesterday..how is that possible?

um ... its definitely 7/13/2013 at 7:29pm EST right now ... that shot is half an hour ago.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: shinkicker on July 13, 2013, 11:29:53 PM
First coin found with this miner: http://puu.sh/3CdP6.png 3 minutes ago EST

So he checked the code in and released this an hour ago, and its show you mined that coin yesterday..how is that possible?
Today is the 13th...

Its the 14th here now, and I had a moment of stupidness, I should sleep!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 13, 2013, 11:30:55 PM
does the L1 optimization matter to VPS ?

The effect should be the same on all processors. Doesn't matter if it's a VPS or not.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Lauda on July 13, 2013, 11:33:29 PM
Has anyone with a decent knowledge of the code checked it out yet?
I'm not so sure but I might try this.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: shinkicker on July 13, 2013, 11:35:17 PM
Has anyone with a decent knowledge of the code checked it out yet?
I'm not so sure but I might try this.

I read over the commit, did not understand it all, but certainly did not see anything of concern or malicious.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 13, 2013, 11:38:05 PM
LaudaM ... I backed up all my wallets etc first, just to be safe, but it's doing what it should thus far.  I used the windows binary x86 ... I'll be on this thread instantly if anything goes awry.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 13, 2013, 11:38:18 PM
Performance x10 on windows (64bit)
but linux VPS only x4-x5
 :-\


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Plazma on July 13, 2013, 11:42:33 PM
Got 3200 primes with I7 3770k @ 4600  windows x86.
Donated. keep it up.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bitwarrior on July 13, 2013, 11:44:03 PM
Anyone found a block using this updated version?

thanks


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Kavre on July 13, 2013, 11:44:27 PM
hmm

wtf?

apt-get install libgmp-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libgmp-dev


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 13, 2013, 11:47:24 PM
Anyone found a block using this updated version?

thanks

I did: https://bitcointalk.org/index.php?topic=255782.msg2724591#msg2724591


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Plazma on July 13, 2013, 11:49:05 PM
What is your PPS rate / processor guys?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Moebius327 on July 13, 2013, 11:50:24 PM
What is your PPS rate / processor guys?

32 000 pps mining for 15 mins no results.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Plazma on July 13, 2013, 11:52:29 PM
What is your PPS rate / processor guys?

32 000 pps mining for 15 mins no results.

Say what you are mining with pls, since i feel 3200 is pretty low for I7 3770k, was getting 2000 before.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: simichent on July 13, 2013, 11:56:28 PM
10k fx8350 win764


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 13, 2013, 11:58:04 PM
What is your PPS rate / processor guys?

32 000 pps mining for 15 mins no results.

Say what you are mining with pls, since i feel 3200 is pretty low for I7 3770k, was getting 2000 before.

I think you're using the 32-bit version. I noticed it seems to give worse performance. I'll try to investigate that later. Use the 64-bit version if you can.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Moebius327 on July 13, 2013, 11:58:12 PM
What is your PPS rate / processor guys?

32 000 pps mining for 15 mins no results.

Say what you are mining with pls, since i feel 3200 is pretty low for I7 3770k, was getting 2000 before.

multiple vps.

this is not working for me. peace I'm out.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: FiiNALiZE on July 14, 2013, 12:00:19 AM
My mining rate jumped up 7x.

Good work :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: romerun on July 14, 2013, 12:00:58 AM
1 core VPS here, I got like 150 from 1.1, with this I got up to 1000, what the hell .

Until I get my first block, this pps thing could be just for mental.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Plazma on July 14, 2013, 12:02:53 AM
yea i was using the x86 file,  so should use the x64. should I have it installed at "Program Files" or "Program Files (x84)" or it dosnt matter?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Kruncha on July 14, 2013, 12:05:14 AM
yea i was using the x86 file,  so should use the x64. should I have it installed at "Program Files" or "Program Files (x84)" or it dosnt matter?

unzip it anywhere, it doesn't matter.

EDIT: The part that matters will always be in users>*username*>appdata>roaming>primecoin

K.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: torbank on July 14, 2013, 12:06:26 AM
hmm

wtf?

apt-get install libgmp-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libgmp-dev


When is the last time you did a "apt-get update"?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 12:10:40 AM
Well, I did two 5 minute test runs on the testnet with both Sunny King's version and my version. Here are the raw results.

Code:
$ grep primemeter debug-sk.log
2013-07-13 23:52:03 primemeter   8907663 prime/h  55590547 test/h
2013-07-13 23:54:03 primemeter  11783978 prime/h  75861638 test/h
$ grep primemeter debug-hp.log
2013-07-13 23:58:14 primemeter  40165311 prime/h 337983907 test/h
2013-07-14 00:00:14 primemeter  40200340 prime/h 338913343 test/h
$ grep -c "Probable prime chain" debug-sk.log
26
$ grep -c "Probable prime chain" debug-hp.log
24

These results seem to indicate that the block rate isn't much higher with my version. It definitely doesn't seem to correlate with primespersec. I will try with a bigger sieve.

And thanks for the heads up about the sieve size guys.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Plazma on July 14, 2013, 12:15:43 AM
Ty getting 9,000-10,000 PPS now.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Kavre on July 14, 2013, 12:16:06 AM
hmm

wtf?

apt-get install libgmp-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libgmp-dev


When is the last time you did a "apt-get update"?

hmm 5 min ago

i have ubuntu 10.04  :S


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 14, 2013, 12:16:45 AM
FYI people!


These results seem to indicate that the block rate isn't much higher with my version. It definitely doesn't seem to correlate with primespersec. I will try with a bigger sieve.



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: torbank on July 14, 2013, 12:21:58 AM
i have ubuntu 10.04  :S

Ah that's why.

For lucid you'll need libgmp3-dev.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 12:22:44 AM
Early results with a sieve size of 1,000,000.

Code:
$ grep primemeter debug-hp2.log
2013-07-14 00:16:03 primemeter  43070284 prime/h 300695577 test/h
2013-07-14 00:18:03 primemeter  44915077 prime/h 311393971 test/h
$ grep -c "Probable prime chain" debug-hp2.log
69

Looking good I think.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Kavre on July 14, 2013, 12:27:24 AM
i have ubuntu 10.04  :S

Ah that's why.

For lucid you'll need libgmp3-dev.

solved
thanks  :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 14, 2013, 12:28:34 AM
Early results with a sieve size of 1,000,000.

Code:
$ grep primemeter debug-hp2.log
2013-07-14 00:16:03 primemeter  43070284 prime/h 300695577 test/h
2013-07-14 00:18:03 primemeter  44915077 prime/h 311393971 test/h
$ grep -c "Probable prime chain" debug-hp2.log
69

Looking good I think.

Are you updating github with it yet?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 14, 2013, 12:28:58 AM
Early results with a sieve size of 1,000,000.

Code:
$ grep primemeter debug-hp2.log
2013-07-14 00:16:03 primemeter  43070284 prime/h 300695577 test/h
2013-07-14 00:18:03 primemeter  44915077 prime/h 311393971 test/h
$ grep -c "Probable prime chain" debug-hp2.log
69

Looking good I think.

Is that the same duration as the previous Sunny K run?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 12:33:10 AM
Early results with a sieve size of 1,000,000.

Code:
$ grep primemeter debug-hp2.log
2013-07-14 00:16:03 primemeter  43070284 prime/h 300695577 test/h
2013-07-14 00:18:03 primemeter  44915077 prime/h 311393971 test/h
$ grep -c "Probable prime chain" debug-hp2.log
69

Looking good I think.

Is that the same duration as the previous Sunny K run?

Yes, that's also 5 minutes.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 12:34:05 AM
Early results with a sieve size of 1,000,000.

Code:
$ grep primemeter debug-hp2.log
2013-07-14 00:16:03 primemeter  43070284 prime/h 300695577 test/h
2013-07-14 00:18:03 primemeter  44915077 prime/h 311393971 test/h
$ grep -c "Probable prime chain" debug-hp2.log
69

Looking good I think.

Is that the same duration as the previous Sunny K run?

Yes, that's also 5 minutes.

So what's the eta for the update? I'm still personally a little bit skeptical about this.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: kendog77 on July 14, 2013, 12:40:00 AM
mikaelh,

Do you recommend running with one thread per core? I seem to get a lot higher PPS when I run with up to 8 threads per core, but haven't found nearly as many blocks with the higher thread count as I did when I ran with 1 thread per core.

Of course, this could just be attributed to bad luck or increased primecoin network speed.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gym520 on July 14, 2013, 12:44:29 AM
Found any blocks?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: reb0rn21 on July 14, 2013, 12:45:49 AM
first block mined!
i5 haswell here

PLS AVX2 optimization :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 12:46:46 AM
Early results with a sieve size of 1,000,000.

Code:
$ grep primemeter debug-hp2.log
2013-07-14 00:16:03 primemeter  43070284 prime/h 300695577 test/h
2013-07-14 00:18:03 primemeter  44915077 prime/h 311393971 test/h
$ grep -c "Probable prime chain" debug-hp2.log
69

Looking good I think.

Are you updating github with it yet?

Github is updated now. New binaries coming in a few minutes.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 14, 2013, 12:53:50 AM
Early results with a sieve size of 1,000,000.

Code:
$ grep primemeter debug-hp2.log
2013-07-14 00:16:03 primemeter  43070284 prime/h 300695577 test/h
2013-07-14 00:18:03 primemeter  44915077 prime/h 311393971 test/h
$ grep -c "Probable prime chain" debug-hp2.log
69

Looking good I think.

Are you updating github with it yet?

Github is updated now. New binaries coming in a few minutes.

Compiling and updating now, I will post back how it goes.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: swordfish6975 on July 14, 2013, 12:58:19 AM
txid: 4d873dc93ffe3938f1593e23764b66941df7305ddbb5efefb62f453ede29144

blocked with it, compiled from git just then
orphan :(


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 01:08:25 AM
Original post updated with new binaries. I'm really sleepy so hopefully I didn't screw up anything. Anyway, I'm going to bed now.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 14, 2013, 01:10:00 AM
gnight man ... now running the new update ... I'll post tomorrow if I see better results in general, but my low power may have large variance.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 14, 2013, 01:13:28 AM
So there will not have performance in PPS? you are about performance in blocks ::)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Aggrophobia on July 14, 2013, 01:20:45 AM
3 blocks on 10 xeons in 30 minutes...perhaps luck? :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 14, 2013, 01:25:37 AM
I think the 3 blocks in a few hours has been luck for me, i had 3 blocks total in the first day and nothing until today, probably attributable to luck.  Running an i7-860, some randome older i5, four Phenoms, and an AMD A8 on a laptop (just to watch it burn a hole in the desk >:3 ).


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 14, 2013, 01:45:35 AM
this is weird, i just now stopped the old qt mining, and opened this new one and it says 18hrs behind?  is this on the correct chain or was my last qt mining on a bad chain??


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 14, 2013, 01:49:41 AM
My PPS on linux are back to normal. But the one on windows, it still x10 PPS. How about yours everyone?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: sva_h4cky0 on July 14, 2013, 01:50:58 AM
almost 3 days, zero block. LOL  ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: kendog77 on July 14, 2013, 01:53:05 AM
I just hit two blocks using the latest 64 bit windows executable on a i5 3570@4.4 GHs.

The 3570 pulls ~7200 PPS.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Zalfrin on July 14, 2013, 01:53:34 AM
I got a block with the code from before the latest update, about 45 min ago. Not orphaned yet, crossing fingers.

Interestingly, this block had a slightly higher reward than the last one I got. Diff has dropped slightly.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mustyoshi on July 14, 2013, 01:55:12 AM
Apparently I'm pulling 1.5k pps on a single thread with my i3
Nice.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: coinsplz777 on July 14, 2013, 01:55:59 AM
nice! ,  I've just found 1 block after 24hs of 0  ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 14, 2013, 01:58:34 AM
Anyone using latest update from github on linux? My PPS back to normal before this thread, but my windows doesn't (10x faster)?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 14, 2013, 01:59:29 AM
I got a block with the code from before the latest update, about 45 min ago. Not orphaned yet, crossing fingers.

Interestingly, this block had a slightly higher reward than the last one I got. Diff has dropped slightly.

that probably means its from the wrong chain, this happened to me before, i started getting higher reward blocks, then they all turned to question marks in the transaction page.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 14, 2013, 02:01:42 AM
My PPS on linux are back to normal. But the one on windows, it still x10 PPS. How about yours everyone?

My i7-860 Win8-64 stayed about the same, but the rest went down about 10-20% still 10x the 1.1 though (all Win7-64)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: kendog77 on July 14, 2013, 02:10:08 AM
Anyone using latest update from github on linux? My PPS back to normal before this thread, but my windows doesn't (10x faster)?

Yes, I am using the latest update from github on a couple of linux boxes. My PPS number went down between from ~2000 PPS (hp1) to ~1500 PPS (hp2) per box, and none of the linux boxes have found a block yet on either hp release.

According to this thread, I believe the hp2 build should find more blocks even though it has a lower PPS number versus hp1.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 14, 2013, 02:15:57 AM
Anyone using latest update from github on linux? My PPS back to normal before this thread, but my windows doesn't (10x faster)?

Yes, I am using the latest update from github on a couple of linux boxes. My PPS number went down between from ~2000 PPS (hp1) to ~1500 PPS (hp2) per box, and none of the linux boxes have found a block yet on either hp release.

According to this thread, I believe the hp2 build should find more blocks even though it has a lower PPS number versus hp1.

My windows was 2k after hp1. Then 2k with hp2, too.
But my linux was around 5k PPS after hp1. Then hp2 it back to 1k , just like yesterday.

I don't know why linux build is different from windows???


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: thef on July 14, 2013, 02:22:16 AM
I just updated to hp2 and I found two blocks in five minutes  :o.

Edit: four blocks in less than an hour! Wow.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tgspring on July 14, 2013, 02:42:10 AM
I got a block with the code from before the latest update, about 45 min ago. Not orphaned yet, crossing fingers.

Interestingly, this block had a slightly higher reward than the last one I got. Diff has dropped slightly.

is the hp2 optimized for x64 avx?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: TheSwede75 on July 14, 2013, 02:45:56 AM
Give it til tomorrow and all the botnet and EC2 instance owners will have this installed and diff will skyrocket again..


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Zalfrin on July 14, 2013, 02:48:22 AM
I got a block with the code from before the latest update, about 45 min ago. Not orphaned yet, crossing fingers.

Interestingly, this block had a slightly higher reward than the last one I got. Diff has dropped slightly.

that probably means its from the wrong chain, this happened to me before, i started getting higher reward blocks, then they all turned to question marks in the transaction page.

Seems ok, shows up in the block explorer. 950fd551b34e30f0197ea65d40cdbe1410e11fd3406b9b048124685f6dc2d09a versus this one a half hour earlier: 1554d8d8853aaa02c89cabd958e5050f97f89b01afdd29168fdbba6cfdc90ab4


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tjb0607 on July 14, 2013, 03:13:51 AM
How do you compile the qt GUI in Linux? I'm trying with just changing this pkgbuild (https://aur.archlinux.org/packages/pr/primecoin-git/PKGBUILD) from the AUR to your git instead of the master, and everything works up until running qmake-qt4, where it just spits out the qmake-qt4 usage. It's worked perfectly with /primecoin/primecoin, but not with /mikaelh2/primecoin.

Edit: Figured it out, because there's also a bitcoin-qt-win64.pro, you need to specify "qmake-qt4 bitcoin-qt.pro" rather than just "qmake-qt4" alone.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 03:16:57 AM
Is there a way to combine the hashing power of the pcs together?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vorksholk on July 14, 2013, 03:27:31 AM
Is there a way to combine the hashing power of the pcs together?


When you mine, they are essentially working together, however there isn't a way to point them at one daemon yet, that would require an external miner or change to the core code.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tacotime 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


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 14, 2013, 04:35:11 AM
I did some testing of the effects of using more threads than cores and posted the results here:

https://bitcointalk.org/index.php?topic=253662.msg2725746#msg2725746

Basically using threads > cores does not look promising and might even be worse.

This may apply to mikaelh's code as well. Would be nice to seem someone do a similar test here, I've spent too much time on XPM the last few day ;)



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jpmi1 on July 14, 2013, 04:40:05 AM
How would you start the linux primecoin miner?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 14, 2013, 04:41:52 AM
How would you start the linux primecoin miner?

cat primestart.sh
Code:
#!/bin/bash


PRIMECOIND=/usr/local/bin/primecoind
DATADIR=$HOME/.primecoin


nice ${PRIMECOIND} -datadir=$DATADIR -rescan -maxconnections=8 \
        -rpcuser=primecoinuser -rpcpassword=TopSecretNotWhatIreallyUse \
        -gen=1 -daemon -rpcport=9912

Then to send it commands/queries,

cat primecoind.sh
Code:
#!/bin/bash

PRIMECOIND=/usr/local/bin/primecoind
DATADIR=$HOME/.primecoin

if [ "$1" == "" ]; then
  echo "Syntax: primecoind.sh COMMAND"
  exit
fi

$PRIMECOIND -datadir=$DATADIR \
        -rpcuser=primecoinuser -rpcpassword=TopSecretNotWhatIreallyUse -rpcport=9912 "$@"

NOTE: I do not use config files, if I want to add -addnode or whatever, I add it to my coinstart.sh script.

That means the wallet is the only damn thing in datadir i care about, not having to remember to also copy/save/backup a config file.

(And the wallet can be backed up using ./primecoind.sh backupwallet ~/primecoinwallet-dd-mm.yyyy.sav or whatever so nothing really in datadir at all that I need care about.)

WARNING: If other users get to use top or ps etc on same machine I am using, they get to see my username and password on commandline.

For me that tradeoff, since my real machines are me-only machines behind my steel door here at home, and my out on the internet servers are all dedicated boxes not shared machines, is worth it to not have to worry about deleting a datadir to restart a chain or whatever.

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 14, 2013, 04:46:48 AM
How would you start the linux primecoin miner?

./primecoind -daemon


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jpmi1 on July 14, 2013, 04:49:05 AM
How would you start the linux primecoin miner?

cat primestart.sh
Code:
#!/bin/bash


PRIMECOIND=/usr/local/bin/primecoind
DATADIR=$HOME/.primecoin


nice ${PRIMECOIND} -datadir=$DATADIR -rescan -maxconnections=8 \
        -rpcuser=primecoinuser -rpcpassword=TopSecretNotWhatIreallyUse \
        -gen=1 -daemon -rpcport=9912

Then to send it commands/queries,

cat primcoind.sh
Code:
#!/bin/bash

PRIMECOIND=/usr/local/bin/primecoind
DATADIR=$HOME/.primecoin

if [ "$1" == "" ]; then
  echo "Syntax: primecoind.sh COMMAND"
  exit
fi

$PRIMECOIND -datadir=$DATADIR \
        -rpcuser=primecoinuser -rpcpassword=TopSecretNotWhatIreallyUse -rpcport=9912 "$@"

NOTE: I do not use config files, if I want to add -addnode or whatever, I add it to my coinstart.sh script.

That means the wallet is the only damn thing in datadir i care about, not having to remember to also copy/save/backup a config file.

(And the wallet can be backed up using ./primecoind.sh backupwallet ~/primecoinwallet-dd-mm.yyyy.sav or whatever so nothing really in datadir at all that I need care about.)

-MarkM-


Thanks How would I set a command to watch mining info and latest transactions?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tacotime on July 14, 2013, 04:55:06 AM
Or you can run my primecoin-qt linux binaries as follows
Code:
chmod +x primecoin-qt
./primecoin-qt
then start mining by opening the debug window and
Code:
setgenerate true NUMTHREADS
where NUMTHREADS is the number of threads on the CPU you'd like to use

DOWNLOAD HERE (https://mega.co.nz/#!5k1AEagR!XGMw8VgxLetqTWTiwOs39x_D5dhgd8vNSchQX4OOenc)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 14, 2013, 04:57:30 AM
This code seems to like core i's, my i5 and i7s got a bigger boost than my core 2s and fx 8120. About 1.5x more.

I tried doing builds with -O3 -march=native on a core 2 and fx 8120 and it made no difference.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: seleme on July 14, 2013, 05:06:39 AM
what the heck is wrong with my i3 540, I can't get more than 70 pps, lol. I know it's a crappy cpu but still, it's not Commodore 64 ffs.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 14, 2013, 05:08:44 AM
Error i got..

Quote
primecoind: checkqueue.h:167: CCheckQueueControl<T>::CCheckQueueControl(CCheckQueue                <T>*) [with T = CScriptCheck]: Assertion `pqueue->nTotal == pqueue->nIdle' failed.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 14, 2013, 05:11:30 AM
Or you can run my primecoin-qt linux binaries as follows
Code:
chmod +x primecoin-qt
./primecoin-qt
then start mining by opening the debug window and
Code:
setgenerate true NUMTHREADS
where NUMTHREADS is the number of threads on the CPU you'd like to use

DOWNLOAD HERE (https://mega.co.nz/#!5k1AEagR!XGMw8VgxLetqTWTiwOs39x_D5dhgd8vNSchQX4OOenc)

How is yours verses

https://github.com/mikaelh2/primecoin/


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: SC123 on July 14, 2013, 05:29:52 AM
Good Work!

Used this version: primecoin-0.1.1-hp1-winx64 and got my first block in around 5 hours mining with it. Just updated to primecoin-0.1.1-hp2-winx64 but I'm getting a lower PPS than the previous build:


Ivy 3570K @ 4,4 Ghz

primecoin-0.1.1-hp1-winx64:   around 8000 PPS
primecoin-0.1.1-hp2-winx64:   around 6800 PPS

Gonna trust mikaelh and will use the updated version with the lower PPS.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: SC123 on July 14, 2013, 05:38:07 AM
Just WOW: found another block in just 20 minutes mining with the new version primecoin-0.1.1-hp2-winx64.

This is by far the best miner/version out there right now!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Schleicher on July 14, 2013, 05:40:05 AM
hp2 64bit started at 3240 pps then slowed down to 2340 (2.6GHz AMD Phenom II X4 910e)
Probably overheating CPU, I should clean the dust some time :-)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 14, 2013, 05:40:32 AM
I'm still a bit skeptical. Would like to see updated testnet numbers.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Sunny King on July 14, 2013, 05:43:48 AM
Early results with a sieve size of 1,000,000.

Code:
$ grep primemeter debug-hp2.log
2013-07-14 00:16:03 primemeter  43070284 prime/h 300695577 test/h
2013-07-14 00:18:03 primemeter  44915077 prime/h 311393971 test/h
$ grep -c "Probable prime chain" debug-hp2.log
69

Looking good I think.

mikaelh,

  Good work. Could you try to test how much performance boost were coming from limiting sieve round to 10% on the test net, to separate it from the effect of switching library.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ryen123 on July 14, 2013, 05:46:08 AM
My first ever block found after running 0.1.1-hp2-winx64 in 45mins. Thanks mikaelh.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: wibtc on July 14, 2013, 05:53:18 AM
My laptop cpu's temperature is 18F higher with this verion. 3x pps


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 05:55:16 AM
I'm still a bit skeptical. Would like to see updated testnet numbers.

I was very skeptical at first but after finding 3 blocks in the last 4 hours my opinion changed fairly quickly. Before , I used hardware that was twice as powerful and I couldn't find a block in 10 + hours. Great build mikaelh


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tacotime on July 14, 2013, 05:56:43 AM
I guess the network is all over this new build, we're averaging one block per 6 seconds right now!!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: JohnyBigs on July 14, 2013, 06:01:09 AM
how do you mine this? with cgminer?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 14, 2013, 06:03:14 AM
Hmm, how well will this work with my i3?

I have an i3 2 cores 4 threads. Sould I "set generate -1" or should I go the true core rout and "set generate 2" ????

I've read you solve more blocks while using all the cores not necessarily all the threads.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 14, 2013, 06:04:25 AM
Getting tons of compiling errors when trying to build on osx using the makefile. I guess that makefile wasn't updated?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vingaard on July 14, 2013, 06:08:18 AM
Thanks for this version  ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 14, 2013, 06:10:10 AM
Early results with a sieve size of 1,000,000.

Code:
$ grep primemeter debug-hp2.log
2013-07-14 00:16:03 primemeter  43070284 prime/h 300695577 test/h
2013-07-14 00:18:03 primemeter  44915077 prime/h 311393971 test/h
$ grep -c "Probable prime chain" debug-hp2.log
69

Looking good I think.

mikaelh,

  Good work. Could you try to test how much performance boost were coming from limiting sieve round to 10% on the test net, to separate it from the effect of switching library.


How do I run the windows client on the testnet? The checkbox on the infomation tab of the debug window seems to be disabled. I tried "setgenerate testnet true -1" but it did not like that.


Code:
primecoin-qt -testnet

did it


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: k0vic on July 14, 2013, 06:20:41 AM
I've got several riggs running at about 40,000 total, nothing yet. I'll let you guys know.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: keeron on July 14, 2013, 06:21:54 AM
This sounds awesome....trying it out on my 4 machines now.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: JohnyBigs on July 14, 2013, 06:32:09 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 14, 2013, 06:34:59 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?

Look at primespersec.
use/type the command in the debug window:

getmininginfo


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 14, 2013, 06:36:48 AM
Would appreciate any assistance from someone able to get this compiled / running on osx.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: JohnyBigs on July 14, 2013, 06:38:07 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?

Look at primespersec.
use/type the command in the debug window:

getmininginfo

i see that number but how many coins does that translate into? im getting 4052


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 06:38:30 AM
Would appreciate any assistance from someone able to get this compiled / running on osx.

How did you get the vanity xpm address?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 06:40:24 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?

Look at primespersec.
use/type the command in the debug window:

getmininginfo

i see that number but how many coins does that translate into? im getting 4052

PPS doesn't translate to a specific number of coins for example:

My 8 core Digital Ocean VPS: 2300PPS = 3Blocks
My i7 Extreme Laptop: 3500PPS = 1 Block


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: JohnyBigs on July 14, 2013, 06:41:17 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?

Look at primespersec.
use/type the command in the debug window:

getmininginfo

i see that number but how many coins does that translate into? im getting 4052

PPS doesn't translate to a specific number of coins for example:

My 8 core Digital Ocean VPS: 2300PPS = 3Blocks
My i7 Extreme Laptop: 3500PPS = 1 Block

how long is it taking to generate a block? on the i7 core laptop?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 06:42:29 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?

Look at primespersec.
use/type the command in the debug window:

getmininginfo

i see that number but how many coins does that translate into? im getting 4052

PPS doesn't translate to a specific number of coins for example:

My 8 core Digital Ocean VPS: 2300PPS = 3Blocks
My i7 Extreme Laptop: 3500PPS = 1 Block

how long is it taking to generate a block? on the i7 core laptop?

I think it took me around an hour to create a block but I can't remember exactly.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: JohnyBigs on July 14, 2013, 06:43:23 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?

Look at primespersec.
use/type the command in the debug window:

getmininginfo

i see that number but how many coins does that translate into? im getting 4052

PPS doesn't translate to a specific number of coins for example:

My 8 core Digital Ocean VPS: 2300PPS = 3Blocks
My i7 Extreme Laptop: 3500PPS = 1 Block

how long is it taking to generate a block? on the i7 core laptop?

I think it took me around an hour to create a block but I can't remember exactly.

kk thanks


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Alex P on July 14, 2013, 07:00:08 AM
The speed looks higher but I've been running this version for over 12 hours on 6 computers I7 3770K machines and I have gotten no blocks!  I was better off with the official 1.1 release.  Atleast I was able to get 10 blocks in about 8 hours.  I think there's a bug somewhere in this code.  Speed is 4x faster than the official release but it didn't translate to any blocks.



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: k0vic on July 14, 2013, 07:02:45 AM
I've been going at 36,000 for 2 hours now. Nothing. This sound right to you guys?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 14, 2013, 07:04:33 AM
Works fine for me. Its confusing with the different versions.. And its hard to benchmark..


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Lauda on July 14, 2013, 07:04:55 AM
I've tried it, has higher pps  8)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 14, 2013, 07:05:07 AM
Compiling error:

Quote
In file included from main.cpp:16:0:
prime.h:10:17: fatal error: gmp.h: No such file or directory
compilation terminated.
make: *** [obj/main.o] Error 1


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 14, 2013, 07:05:59 AM
Compiling error:

Quote
In file included from main.cpp:16:0:
prime.h:10:17: fatal error: gmp.h: No such file or directory
compilation terminated.
make: *** [obj/main.o] Error 1

apt-get update
apt-get install libgmp3-dev


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Foamy on July 14, 2013, 07:06:17 AM
Does anyone know what to launch the wallet with so it automaticly starts mining? In windows.

I have my mining rigs set to reboot every 6 hours and want to set the primecoin wallet to auto start.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jjiimm_64 on July 14, 2013, 07:06:28 AM
I've been going at 36,000 for 2 hours now. Nothing. This sound right to you guys?

also going at about 35k.  found 1 in about an hour.


THANK YOU for this version.  


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: JohnyBigs on July 14, 2013, 07:13:43 AM
Does anyone know what to launch the wallet with so it automaticly starts mining? In windows.

I have my mining rigs set to reboot every 6 hours and want to set the primecoin wallet to auto start.


im sure there is a program for windows to do this


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: JohnyBigs on July 14, 2013, 07:14:22 AM
I've been going at 36,000 for 2 hours now. Nothing. This sound right to you guys?

also going at about 35k.  found 1 in about an hour.


THANK YOU for this version.  

how are you guys getting 36,000? what cpus do you have? and how many threads are you running?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ryen123 on July 14, 2013, 07:17:58 AM
Does anyone know what to launch the wallet with so it automaticly starts mining? In windows.

I have my mining rigs set to reboot every 6 hours and want to set the primecoin wallet to auto start.

Under PrimeCoin Wallet > Settings > Options > Main Tab
Check the box for "Start Primecoin on system login"

The wallet will automatically start when windows load. Assuming you had created the .conf file to mine automatically when wallet loads.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Foamy on July 14, 2013, 07:25:44 AM
Does anyone know what to launch the wallet with so it automaticly starts mining? In windows.

I have my mining rigs set to reboot every 6 hours and want to set the primecoin wallet to auto start.

Under PrimeCoin Wallet > Settings > Options > Main Tab
Check the box for "Start Primecoin on system login"

The wallet will automatically start when windows load. Assuming you had created the .conf file to mine automatically when wallet loads.

what do I add to the conf file to make it start mining on start?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ryen123 on July 14, 2013, 07:34:18 AM
Does anyone know what to launch the wallet with so it automaticly starts mining? In windows.

I have my mining rigs set to reboot every 6 hours and want to set the primecoin wallet to auto start.

Under PrimeCoin Wallet > Settings > Options > Main Tab
Check the box for "Start Primecoin on system login"

The wallet will automatically start when windows load. Assuming you had created the .conf file to mine automatically when wallet loads.

what do I add to the conf file to make it start mining on start?

Create a primecoin.conf in the following directory
C:\Users\*userdir*\AppData\Roaming\Primecoin

Inside primecoin.conf add the following lines:
gen=1
genproclimit=x

->genproclimit is the x of threads to run. Use -1 for all threads/cores.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: JohnyBigs on July 14, 2013, 07:38:09 AM
how many blocks are we supposed to be finding been mining over an 1hr on abour 4000ppc i7 and found nothing


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 14, 2013, 07:41:25 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?

Look at primespersec.
use/type the command in the debug window:

getmininginfo

i see that number but how many coins does that translate into? im getting 4052

PPS doesn't translate to a specific number of coins for example:

My 8 core Digital Ocean VPS: 2300PPS = 3Blocks
My i7 Extreme Laptop: 3500PPS = 1 Block

My 4 core Digital Ocean droplet gets 300pps. What does your getmininginfo say?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 07:43:09 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?

Look at primespersec.
use/type the command in the debug window:

getmininginfo

i see that number but how many coins does that translate into? im getting 4052

PPS doesn't translate to a specific number of coins for example:

My 8 core Digital Ocean VPS: 2300PPS = 3Blocks
My i7 Extreme Laptop: 3500PPS = 1 Block

My 4 core Digital Ocean droplet gets 300pps. What does your getmininginfo say?

I don't have a 4 core on Digital Ocean


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 14, 2013, 07:44:19 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?

Look at primespersec.
use/type the command in the debug window:

getmininginfo

i see that number but how many coins does that translate into? im getting 4052

PPS doesn't translate to a specific number of coins for example:

My 8 core Digital Ocean VPS: 2300PPS = 3Blocks
My i7 Extreme Laptop: 3500PPS = 1 Block

My 4 core Digital Ocean droplet gets 300pps. What does your getmininginfo say?

I don't have a 4 core on Digital Ocean

I meant your 8 core.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 07:46:07 AM
Wow, on a crappy A8-3520M i started up for kicks, I'm getting about 3000PPS.

how can you check how much you are getting?

Look at primespersec.
use/type the command in the debug window:

getmininginfo

i see that number but how many coins does that translate into? im getting 4052

PPS doesn't translate to a specific number of coins for example:

My 8 core Digital Ocean VPS: 2300PPS = 3Blocks
My i7 Extreme Laptop: 3500PPS = 1 Block

My 4 core Digital Ocean droplet gets 300pps. What does your getmininginfo say?

I don't have a 4 core on Digital Ocean

I meant your 8 core.

2300PPS + using the HP2 build.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 14, 2013, 07:48:29 AM
so what's the verdict on this build - worth it?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 14, 2013, 07:48:43 AM
I ran some more tests on testnet, this time with mikaelh's builds:

hp1: 25 blocks found in 28.77 minutes = 0.878 blocks/minute

hp2: 49 blocks in 21.4 minutes = 2.29 blocks/minute

hp1: 6 blocks in 12.4 minutes = 0.484 b/m

hp2 is looking much better. I ran hp1 twice, once before and once after the hp2 run, to see if the first run was bad luck but it seems not.

These numbers should be taken with a grain of salt, they were run on testnet which has a pretty low amount of processing power run on it. So if someone with a nice machine was mining will I was testing hp1 it could have thrown off those numbers. I do not know how to tell what's happening on the network as far as total processing power or the number of other miners at this point. Is it possible to run a private network for testing?

I'll still be running hp2 though.

Another interesting point is that both hp1 and hp2 were reporting around 2k pps.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 07:49:41 AM
so what's the verdict on this build - worth it?

It was worth it 5 hours ago but now it's pretty difficult to find a block. However this is probably the best build out there at the moment.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 14, 2013, 07:50:06 AM
I ran some more tests on testnet, this time with mikaelh's builds:

hp1: 25 blocks found in 28.77 minutes = 0.878 blocks/minute

hp2: 49 blocks in 21.4 minutes = 2.29 blocks/minute

hp1: 6 blocks in 12.4 minutes = 0.484 b/m

hp2 is looking much better. I ran hp1 twice, once before and once after the hp2 run, to see if the first run was bad luck but it seems not.

These numbers should be taken with a grain of salt, they were run on testnet which has a pretty low amount of processing power run on it. So if someone with a nice machine was mining will I was testing hp1 it could have thrown off those numbers. I do not know how to tell what's happening on the network as far as total processing power or the number of other miners at this point.

I'll still be running hp2 though.

What is hp1 & hp2?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 07:51:00 AM
I ran some more tests on testnet, this time with mikaelh's builds:

hp1: 25 blocks found in 28.77 minutes = 0.878 blocks/minute

hp2: 49 blocks in 21.4 minutes = 2.29 blocks/minute

hp1: 6 blocks in 12.4 minutes = 0.484 b/m

hp2 is looking much better. I ran hp1 twice, once before and once after the hp2 run, to see if the first run was bad luck but it seems not.

These numbers should be taken with a grain of salt, they were run on testnet which has a pretty low amount of processing power run on it. So if someone with a nice machine was mining will I was testing hp1 it could have thrown off those numbers. I do not know how to tell what's happening on the network as far as total processing power or the number of other miners at this point.

I'll still be running hp2 though.

What is hp1 & hp2?

The version of the build. HP2 is the latest one.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Alex P on July 14, 2013, 07:52:38 AM
Look under settings of the client.

But I suggest installing the official Sunny client instead,until this version is updated.

If that doesn't work.. you can always add it to your windows startup and have it done that way.

Also edit your primecoin.conf file to have get=1

Does anyone know what to launch the wallet with so it automaticly starts mining? In windows.

I have my mining rigs set to reboot every 6 hours and want to set the primecoin wallet to auto start.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 14, 2013, 08:08:25 AM
client looks pretty good on my end - grabbed a block


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: teknohog on July 14, 2013, 08:16:31 AM
How did you get the vanity xpm address?

I think the common vanitygen can do this with an address version of 23.

Code:
./vanitygen -X 23 -i alcohol


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 14, 2013, 08:52:52 AM
ok negative on the new mikaelh2 build it's generating a large # of orphans


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 14, 2013, 08:53:26 AM
Hey Mikael, this update is awesome.  I've sent you my blocks as a thank you.  Transaction ID: 7a75f6b3ce2decf1f6527033ab43e277a6b8a6b157bf88a81ab9db77b133dd12


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 14, 2013, 08:55:38 AM
Running @ ~125k PPS.

Cheers for this build.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jaakkop on July 14, 2013, 08:55:48 AM
Thank you mikaelh for developing this client!
After doing its thing for 1˝ hours, I found one block w/ Win x64 build, i5-2500k @ ~5000pps

I'm also running 5 instances of DigitalOcean VPS' (the cheapest ones), they seem to mine with 300-1000pps.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 14, 2013, 08:58:53 AM
I'm also running 5 instances of DigitalOcean VPS' (the cheapest ones), they seem to mine with 300-1000pps.

Each or in total?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 14, 2013, 09:00:38 AM
ok negative on the new mikaelh2 build it's generating a large # of orphans


The orphan rate on the network is expected to stay relatively high for the next couple of days, while difficulty plays catchup to the growth of mining power on the network.

This phenomenon is a one-off occurrence, could last another week. It likely would not happen again in the future.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 09:49:24 AM
Some questions...

[1] do you have to mine off different rpc names for each computer????

[2] when you mine a block does it make a newly generated address or assign the coins to an  address in the key pool?


[3] also why does a gui, fugu, login to one ec2 ok, but another with an idential key pair it fails


[4] what is the command line to copy files from a unbuntu server (ssh login on osx terminal) bact to my home computer


[5] can you ftp into you ec2 linux?

thanks in advance


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maxsolnc on July 14, 2013, 10:00:19 AM
Some questions...

[1] do you have to mine off different rpc names for each computer????

[2] when you mine a block does it make a newly generated address or assign the coins to an  address in the key pool?


[3] also why does a gui, fugu, login to one ec2 ok, but another with an idential key pair it fails


[4] what is the command line to copy files from a unbuntu server (ssh login on osx terminal) bact to my home computer


[5] can you ftp into you ec2 linux?

thanks in advance

4 and 5 - use sftp (ftp over ssh, i.e. in total commander or winscp in windows)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jaakkop on July 14, 2013, 10:00:43 AM
I'm also running 5 instances of DigitalOcean VPS' (the cheapest ones), they seem to mine with 300-1000pps.

Each or in total?
Each :)

Now found 4 blocks in total with all my miners. This is too awesome


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 14, 2013, 10:03:21 AM
I'm also running 5 instances of DigitalOcean VPS' (the cheapest ones), they seem to mine with 300-1000pps.

Each or in total?
Each :)

Now found 4 blocks in total with all my miners. This is too awesome

Well that's great, and which location?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Lauda on July 14, 2013, 10:04:07 AM
Started mining @ 5.5k pps, let's see if this brings more luck and a block or two  ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maka on July 14, 2013, 10:11:12 AM
ok negative on the new mikaelh2 build it's generating a large # of orphans


The orphan rate on the network is expected to stay relatively high for the next couple of days, while difficulty plays catchup to the growth of mining power on the network.

This phenomenon is a one-off occurrence, could last another week. It likely would not happen again in the future.

His "large # of orphans" probably comes from a wrong chain...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maxsolnc on July 14, 2013, 10:14:10 AM
No performance increase for Linux EC2 instances :(


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Adrenalin on July 14, 2013, 10:20:24 AM
Mining at 6300 pps with i5 2500K 4GHz for about 8 hours with hp2 build, still no blocks found... :(((


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jaakkop on July 14, 2013, 10:26:38 AM
I'm also running 5 instances of DigitalOcean VPS' (the cheapest ones), they seem to mine with 300-1000pps.

Each or in total?
Each :)

Now found 4 blocks in total with all my miners. This is too awesome

Well that's great, and which location?
Current stats:
1st droplet, San Francisco 1 @ ~960pps
2nd droplet, San Francisco 1 @ ~300pps
3rd droplet, New York 1 @ ~350pps
4th droplet, New York 1 @ ~430pps
5th droplet, New York 1 @ ~550pps

There seems to be a lot of variation, give or take a few hundred pps.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: swordfish6975 on July 14, 2013, 10:32:07 AM
ive got a 4 core at San Francisco, only two orphans on my digital oceans

my local machine has been much more lucky 8 blocks, have been mining for a while though (amd fx 6100) 6 core


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 14, 2013, 10:40:31 AM
URGENT!!!!!

Has anyone else just seen a 25% drop in PPS?  I'm getting this on every single machine/VPS I have running.  Happened in the last 30 mins.  Perhaps due to the >8.0 diff increase?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 10:42:40 AM
ok negative on the new mikaelh2 build it's generating a large # of orphans


The orphan rate on the network is expected to stay relatively high for the next couple of days, while difficulty plays catchup to the growth of mining power on the network.

This phenomenon is a one-off occurrence, could last another week. It likely would not happen again in the future.

His "large # of orphans" probably comes from a wrong chain...

how do you get back no the right chain???


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 10:43:00 AM
URGENT!!!!!

Has anyone else just seen a 25% drop in PPS?  I'm getting this on every single machine/VPS I have running.  Happened in the last 30 mins.  Perhaps due to the >8.0 diff increase?

yes I have just seen exactly this


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 14, 2013, 10:44:01 AM
URGENT!!!!!

Has anyone else just seen a 25% drop in PPS?  I'm getting this on every single machine/VPS I have running.  Happened in the last 30 mins.  Perhaps due to the >8.0 diff increase?

Quote
~$ primecoind getdifficulty
8.02573842

Yes pps dropped even more than 25% on my rigs.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: swordfish6975 on July 14, 2013, 10:44:19 AM
hmm both my windows and Linux box primespersec just dropped from ~4000 to ~2500

and my core duo two laptop went from 1000 to 725


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mhps on July 14, 2013, 10:47:49 AM
When difficulty increases from 7 to 8, does it mean no one is going to mine length=7 chains?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: pgbit on July 14, 2013, 10:48:14 AM
URGENT!!!!!

Has anyone else just seen a 25% drop in PPS?  I'm getting this on every single machine/VPS I have running.  Happened in the last 30 mins.  Perhaps due to the >8.0 diff increase?

Quote
~$ primecoind getdifficulty
8.02573842

Yes pps dropped even more than 25% on my rigs.
Yes down from 6143 to 4208


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 10:49:24 AM
URGENT!!!!!

Has anyone else just seen a 25% drop in PPS?  I'm getting this on every single machine/VPS I have running.  Happened in the last 30 mins.  Perhaps due to the >8.0 diff increase?

Quote
~$ primecoind getdifficulty
8.02573842

Yes pps dropped even more than 25% on my rigs.

Jumping to difficulty 8 makes the mining algorithm do more work. That's why PPS numbers are dropping. We'll have to see what happens to block rate.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 14, 2013, 10:49:31 AM
I haven't looked at the code but I think that the diff is controlled by the length of the primes.  Since we've just hit a new whole number on the diff, I suspect the code now needs to search a significantly larger number of primes.  I'm actually seeing about 30-40% drop now :(


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: swordfish6975 on July 14, 2013, 10:51:16 AM
if its across the board its fine nothing really changes... its like we were all running fast now we all run 30-40% slower


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 14, 2013, 10:54:20 AM
Maybe we'll stop having a block per second now.
I think that can only be a good thing.  I'm glad for getting more blocks in the last 12 hours with this version, but the effect on the price is obvious - 30%+ drop


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: oroqen on July 14, 2013, 10:54:34 AM
Code:
2013-07-14 10:23:41 primemeter  23032212 prime/h 166957275 test/h
2013-07-14 10:25:41 primemeter  22158452 prime/h 161093925 test/h
2013-07-14 10:27:41 primemeter  23204613 prime/h 169360713 test/h
2013-07-14 10:29:41 primemeter  23050752 prime/h 170525836 test/h
2013-07-14 10:31:41 primemeter  20008239 prime/h 148573163 test/h
2013-07-14 10:33:41 primemeter  13650612 prime/h 103127001 test/h
2013-07-14 10:35:41 primemeter  15238292 prime/h 118026986 test/h
2013-07-14 10:37:41 primemeter  15485304 prime/h 121930636 test/h
2013-07-14 10:39:41 primemeter  14661231 prime/h 112991294 test/h
quite the drop alright.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: masterOfDisaster on July 14, 2013, 10:57:15 AM
I can confim, that both my Windows and my Linux versions show an approximate 30 % decreased PPS rate.

Referring to Sunny King's paper (and hoping that I understood that part ;) ) a difficulty increase from 7-something to >=8 means that the prime chain length has been incremented by 1.

Although I don't know where the PPS rate is derived from, I assume the drop of the rate has to do with the difficulty increase to 8. But I'm not skilled enough in programming to find the place in the source code where the PPS rate is generated and what variables are taken into account...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 14, 2013, 11:03:20 AM
I'm sure it's been looked at already, but I wonder whether the code doesn't even attempt to find primes with chain length of 7 now.  I hope it skips them out otherwise it's doing unccessary work.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mhps on July 14, 2013, 11:10:24 AM
Maybe we'll stop having a block per second now.

Looking at the information panel of the qt help window, I just counted 10 blocks in 40 seconds :(


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 11:10:32 AM
ok 50k pps



and i get orphans....


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 14, 2013, 11:13:35 AM
ok 50k pps



and i get orphans....
might want to check you're not on a forked chain.  Maybe delete and redownload the blockchain. 


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 11:17:42 AM
Maybe we'll stop having a block per second now.

Looking at the information panel of the qt help window, I just counted 10 blocks in 40 seconds :(


Yup, blocks are being produced quite rapidly. Also difficulty seems to be climbing pretty fast. It just hit 8.1.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 11:29:32 AM
which folder are the blocks in, ??? blocks,  database, chainstate? where???
i am on ubuntu

what exactly do I delete


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: drummerjdb666 on July 14, 2013, 11:32:13 AM
URGENT!!!!!

Has anyone else just seen a 25% drop in PPS?  I'm getting this on every single machine/VPS I have running.  Happened in the last 30 mins.  Perhaps due to the >8.0 diff increase?

Quote
~$ primecoind getdifficulty
8.02573842

Yes pps dropped even more than 25% on my rigs.
Yes down from 6143 to 4208

same drop here..


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Fernandez on July 14, 2013, 11:37:13 AM
I am using two similar Core i3's. One running WIn 7 32 bit on 4threads is giving 700 pps while the other running Win 7 64 bit on 3 threads is giving 1.5k pps.

Seems that the x86 version is lagging in performance.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 14, 2013, 11:38:10 AM
URGENT!!!!!

Has anyone else just seen a 25% drop in PPS?  I'm getting this on every single machine/VPS I have running.  Happened in the last 30 mins.  Perhaps due to the >8.0 diff increase?

Quote
~$ primecoind getdifficulty
8.02573842

Yes pps dropped even more than 25% on my rigs.
Yes down from 6143 to 4208

same drop here..

http://puu.sh/3CBbM.png

Same here, but I've gotten two blocks since the drop, which seems luckier.  I wonder how the difficulty gets calculated if not by PPS.  Because a network wide PPS drop you would expect a diff drop too. I derped, per Aggro's post below.

Edit: in another thought, the difference in diff rise between releases of hp1 and hp2 indicates clearly that hp2 is doing better.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Aggrophobia on July 14, 2013, 11:40:00 AM
difficulty depends on how many blocks are generated ( 4-6s for now)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 01:06:57 PM
im doing about 75,000 pps and getting zip there must be some serious has getiing in on this thing


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 14, 2013, 01:52:42 PM
I wonder if a big botnet or some rogue sys admin with 100s or 1000s or good machines has jump in. Difficulty is already 8.35.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Aggrophobia on July 14, 2013, 02:01:22 PM
200k pps / 1 Block every 10 minutes


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 02:06:06 PM
200k pps / 1 Block every 10 minutes

is this on one machine?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Aggrophobia on July 14, 2013, 02:08:05 PM
15


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 02:13:30 PM
15

a2 ec 8s?

also does any one know how to auto primecoin --deamon if it fall s over???


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 14, 2013, 02:19:53 PM
15

Are you using a service provider such Amazon? If yes, how much does it cost you to run that per hour?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: fabrizziop on July 14, 2013, 02:27:57 PM
Hey, to compile that for windows x64 what version of mingw64 and gcc should I use?.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Aggrophobia on July 14, 2013, 02:31:18 PM
15

Are you using a service provider such Amazon? If yes, how much does it cost you to run that per hour?

4.5$ per hour


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 02:36:16 PM
Hey, to compile that for windows x64 what version of mingw64 and gcc should I use?.

I used the MXE build environment to build the binaries on Linux. It simplifies the process a lot.

Here are the versions used by MXE:
MinGW-w64 Runtime version c28722c
GCC version 4.8.1

Other versions may also work.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: oroqen on July 14, 2013, 02:37:08 PM
Just checked over my logs with this build have 3 "ERROR: AcceptBlock() : incorrect proof of work" on 2 different machines that are not listed as orphans, anyone get that?



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 14, 2013, 02:45:54 PM
I ran some more tests on testnet, this time with mikaelh's builds:

hp1: 25 blocks found in 28.77 minutes = 0.878 blocks/minute

hp2: 49 blocks in 21.4 minutes = 2.29 blocks/minute

hp1: 6 blocks in 12.4 minutes = 0.484 b/m

hp2 is looking much better. I ran hp1 twice, once before and once after the hp2 run, to see if the first run was bad luck but it seems not.

These numbers should be taken with a grain of salt, they were run on testnet which has a pretty low amount of processing power run on it. So if someone with a nice machine was mining will I was testing hp1 it could have thrown off those numbers. I do not know how to tell what's happening on the network as far as total processing power or the number of other miners at this point. Is it possible to run a private network for testing?

I'll still be running hp2 though.

Another interesting point is that both hp1 and hp2 were reporting around 2k pps.

I looked at the log files from my tests again and if "ProcessBlock: ACCEPTED/ORPHANED" means that someone else has mined a block then there was more mining going on during the hp1 tests. Not much more, hp2 still found blocks at 2.3x the rate of hp1.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Aggrophobia on July 14, 2013, 02:47:08 PM
hopefully this orphanage will stop, now its every 2 seconds a block in the network


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 02:53:45 PM
for some reason ec2 images while the will run, and look right, do not seem to find blocks, so you have to do ever instance from scratch....


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 14, 2013, 03:05:57 PM
15

Are you using a service provider such Amazon? If yes, how much does it cost you to run that per hour?

4.5$ per hour

What if same rpcuser and rpcpassword are set for each machine? Does the network see it as a one big instance?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 03:10:37 PM
What if same rpcuser and rpcpassword are set for each machine? Does the network see it as a one big instance?
No, RPC is only between you and the daemon, never public.


thanks


is there any reason and image would not work??? as an istance...eg ir runs but never finds a block?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 14, 2013, 03:17:02 PM
for some reason ec2 images while the will run, and look right, do not seem to find blocks, so you have to do ever instance from scratch....

How identical are images? Is even the entropy pool imaged, for example, so that they all pick the exact same "random" nonce and sequence of transactions and coinbase contents, thus all orphan each other since they are all mining the exact same block in a race to see which of tem mines it first, the rest being orphaned?

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 14, 2013, 03:19:53 PM
What if same rpcuser and rpcpassword are set for each machine? Does the network see it as a one big instance?
No, RPC is only between you and the daemon, never public.


thanks


is there any reason and image would not work??? as an istance...eg ir runs but never finds a block?

How can you certain about that? I mean if it runs, ie the primespersec value greater than 0, it may take many many hours to find a block depending on your luck.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 14, 2013, 03:22:21 PM
Hey guys, I'm a linux newbie, I tried to compile this and got this error:
http://ecoinomist.com/error.png

I already installed these prior to it:
Code:
apt-get install make
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install libgmp-dev


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tacotime on July 14, 2013, 03:23:16 PM
Hey guys, I'm a linux newbie, I tried to compile this and got this error:
http://ecoinomist.com/error.png

I already installed these prior to it:
Code:
apt-get install make
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install libgmp-dev

try my build

https://bitcointalk.org/index.php?topic=255782.msg2725913#msg2725913


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 14, 2013, 03:23:33 PM
Hey guys, I'm a linux newbie, I tried to compile this and got this error:
http://ecoinomist.com/error.png

I already installed these prior to it:
Code:
apt-get install make
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install libgmp-dev

This should work with almost any bitcoin related software on ubuntu..

Code:
sudo apt-get update
sudo apt-get install python-software-properties screen python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev python-dev autoconf automake ncurses-dev sysstat gcc-mingw32 libmysql++-dev cloog-ppl build-essential automake gcc libevent-dev libmemcached-dev libcurl4-openssl-dev zlib1g-dev libjansson-dev curl memcached libtool unzip freeglut3-dev libxi-dev libxmu-dev build-essential freeglut3-dev libxi-dev libxmu-dev mpich2 libdb-dev libminiupnpc-dev libboost-all-dev libdb++-dev git uthash* libgmp3-dev


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: masterOfDisaster on July 14, 2013, 03:26:06 PM
Hey guys, I'm a linux newbie, I tried to compile this and got this error:

[...]


...just to make sure it is not because of the missing compiler...
Code:
apt-get install gcc g++


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Zalfrin on July 14, 2013, 03:27:21 PM
for some reason ec2 images while the will run, and look right, do not seem to find blocks, so you have to do ever instance from scratch....

I've been using cloned instances and they've each been finding their own coins.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 14, 2013, 03:32:31 PM
As more time passes does XPM become less valuable because of how many are flooding wallets now? Will it ever see 1 XPM = 0.01  BTC again? And I'm not talking about if BTC is $30. I mean if BTC stays above $100. I long to hear your opinions/math. Will we ever get to higher difficulty before we've mined way too much of XPM to make a single block worth the electricity it cost to get it?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 14, 2013, 03:38:51 PM
Solar power is worthwhile, it pays for itself in a decade or less. Mining probably should end up very similar I would expect, so that mining using solar power could help you pay off your solar gear faster or help you eke out a longer useful life from your mining gear.

But i guess others would say heck with wasting your solar power on out of date mining gear, if the mining gear wouldn't pay for itself without the low power price your solar gives you then you should upgrade it so you aren't wasting your solar power on inefficient mining gear?

Since people do bother installing solar despite it taking years to pay for itself, oughtn't it make sense that people will similarly install mining gear even if mining gear will take years to pay for itself?

So maybe if you are running into power costing too much, you could consider throwing up some windmills and/or solar panels or something instead of more mining rigs?

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 14, 2013, 03:40:26 PM
I cloned a lot of instance on Digital Ocean.
They share the same wallet.
So i just have to check one instance to get the Privkey.

But i heard a wallet only have 100 adress. What will happen when these adress run out? Do all my instance will have a separate wallet?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: fluffypony on July 14, 2013, 03:44:24 PM
I cloned a lot of instance on Digital Ocean.
They share the same wallet.
So i just have to check one instance to get the Privkey.

But i heard a wallet only have 100 adress. What will happen when these adress run out? Do all my instance will have a separate wallet?

You heard wrong. I just ran the getnewaddress RPC call 5000 times on bitcoind, no problems.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 14, 2013, 03:52:05 PM
Anyone using latest update from github on linux? My PPS back to normal before this thread, but my windows doesn't (10x faster)?

Yes, I am using the latest update from github on a couple of linux boxes. My PPS number went down between from ~2000 PPS (hp1) to ~1500 PPS (hp2) per box, and none of the linux boxes have found a block yet on either hp release.

According to this thread, I believe the hp2 build should find more blocks even though it has a lower PPS number versus hp1.

My windows was 2k after hp1. Then 2k with hp2, too.
But my linux was around 5k PPS after hp1. Then hp2 it back to 1k , just like yesterday.

I don't know why linux build is different from windows???

anyone has normal PPS on linux?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 14, 2013, 03:54:13 PM
This should work with almost any bitcoin related software on ubuntu..

Code:
sudo apt-get update
sudo apt-get install python-software-properties screen python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev python-dev autoconf automake ncurses-dev sysstat gcc-mingw32 libmysql++-dev cloog-ppl build-essential automake gcc libevent-dev libmemcached-dev libcurl4-openssl-dev zlib1g-dev libjansson-dev curl memcached libtool unzip freeglut3-dev libxi-dev libxmu-dev build-essential freeglut3-dev libxi-dev libxmu-dev mpich2 libdb-dev libminiupnpc-dev libboost-all-dev libdb++-dev git uthash* libgmp3-dev

Still not working. Got different error.



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 14, 2013, 03:57:51 PM
A lot of pages have shown up in this thread since I went to sleep last night. Any updates on an osx build? I couldn't get it to compile with the makefile.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: shinkicker on July 14, 2013, 03:59:38 PM
This should work with almost any bitcoin related software on ubuntu..

Code:
sudo apt-get update
sudo apt-get install python-software-properties screen python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev python-dev autoconf automake ncurses-dev sysstat gcc-mingw32 libmysql++-dev cloog-ppl build-essential automake gcc libevent-dev libmemcached-dev libcurl4-openssl-dev zlib1g-dev libjansson-dev curl memcached libtool unzip freeglut3-dev libxi-dev libxmu-dev build-essential freeglut3-dev libxi-dev libxmu-dev mpich2 libdb-dev libminiupnpc-dev libboost-all-dev libdb++-dev git uthash* libgmp3-dev

Still not working. Got different error.



You can use my deployment script if you like

http://pastebin.com/0X9n3K5p

remember to make it executable:
 
$ chmod u+x deploy.sh
 
I am still tweaking it, but it will do a complete install on a new instance (ubuntu 12.04)

Just change your rpc password afterwards.

and then run; primecoin --daemon



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 14, 2013, 04:12:26 PM
for some reason ec2 images while the will run, and look right, do not seem to find blocks, so you have to do ever instance from scratch....

How identical are images? Is even the entropy pool imaged, for example, so that they all pick the exact same "random" nonce and sequence of transactions and coinbase contents, thus all orphan each other since they are all mining the exact same block in a race to see which of tem mines it first, the rest being orphaned?

-MarkM-


I haven't seen this.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 04:14:48 PM
Solar power is worthwhile, it pays for itself in a decade or less. Mining probably should end up very similar I would expect, so that mining using solar power could help you pay off your solar gear faster or help you eke out a longer useful life from your mining gear.

But i guess others would say heck with wasting your solar power on out of date mining gear, if the mining gear wouldn't pay for itself without the low power price your solar gives you then you should upgrade it so you aren't wasting your solar power on inefficient mining gear?

Since people do bother installing solar despite it taking years to pay for itself, oughtn't it make sense that people will similarly install mining gear even if mining gear will take years to pay for itself?

So maybe if you are running into power costing too much, you could consider throwing up some windmills and/or solar panels or something instead of more mining rigs?

-MarkM-


actually dust to dust I'm not sure if current gen solar does pay for itself, you have to take into account the energy used to fabricate the solar system, and dispose of it at the end of lifecylce....and that is large...also degradation of system for power capture (solar cells only work 50% after 7 years or so) not saying tech can't improve...but you always have to do a dust to dust analysis on a system


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: crendore on July 14, 2013, 04:19:38 PM
A lot of pages have shown up in this thread since I went to sleep last night. Any updates on an osx build? I couldn't get it to compile with the makefile.

You want headless or with QT? i built the official source tree with the QT GUI for OSX.
http://waspdigital.com/AltCoinQt-OSX/Primecoin-Qt-v0.1.1.dmg

I'll try building this one right now, just headless first, maybe with QT later.

EDIT:  Just build headless of this version in OSX with no compile errors at all. You are probably missing some dependancies. What is the error you get?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 14, 2013, 04:21:02 PM
Hey guys, I'm a linux newbie, I tried to compile this and got this error:

[...]


...just to make sure it is not because of the missing compiler...
Code:
apt-get install gcc g++

With that installed I get this error 1
http://ecoinomist.com/error2.png


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mustyoshi on July 14, 2013, 04:21:45 PM
Would this miner be compatible with a getwork scheme?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: crendore on July 14, 2013, 04:27:36 PM
Hey guys, I'm a linux newbie, I tried to compile this and got this error:

[...]


...just to make sure it is not because of the missing compiler...
Code:
apt-get install gcc g++

With that installed I get this error 1
http://ecoinomist.com/error2.png

You really should follow the guild to compiling bitcoin from source for linux, it applies to all these clones.  At this point you are missing Boost.

Seriously, read this guide: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md

It is really short, i'm not all like RTFM but it has the steps you need and keep getting stuck on.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 14, 2013, 04:44:59 PM
A lot of pages have shown up in this thread since I went to sleep last night. Any updates on an osx build? I couldn't get it to compile with the makefile.

You want headless or with QT? i built the official source tree with the QT GUI for OSX.
http://waspdigital.com/AltCoinQt-OSX/Primecoin-Qt-v0.1.1.dmg

I'll try building this one right now, just headless first, maybe with QT later.

EDIT:  Just build headless of this version in OSX with no compile errors at all. You are probably missing some dependancies. What is the error you get?

I don't remember the error. I'm about to run out to lunch now but I will try again when I return.

When you said "official source tree" for the QT GUI for osx, do you mean hp2 or Sunny's official (I'm assuming the latter).

I might be missing a dependency. I'll take a look. I'm also using the following for CLFAGS:
CFLAGS = -mmacosx-version-min=10.7 -O3 -mfpmath=sse -march=native -mx32

Edit: it just occurred to me that the mx32 might be the issue. I will try with just native and o3 later.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: UNOE on July 14, 2013, 04:59:38 PM
How do you compile for 64bit
in ubunutu


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 14, 2013, 05:06:30 PM
15

Are you using a service provider such Amazon? If yes, how much does it cost you to run that per hour?

4.5$ per hour

You inspired me to calculate a bit: If you get block at 10 mins average, block is 14.74 XPM now, you get 14.74 * 6 = 88.44 XPM/hour. if you pay 4.5$/hour it means you get 19.65 XPM for 1 US$!!! Wow! No wonder XPM exchange rate is 0.003 for BTC, you are getting 0.05896 BTC/US$, or 16.96US$ for 1BTC through XPM mining!!! Sadly but true, value of XPM should be more than 5x less, to be precise if BTC value is $95.40 now on MtGox, value of XPM should be 0.00053333 BTC. Shocking. Running to sell my poor XPM before people figure this out.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: GSnak on July 14, 2013, 05:08:21 PM
Everybody already figured that out.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 14, 2013, 05:13:03 PM
15

Are you using a service provider such Amazon? If yes, how much does it cost you to run that per hour?

4.5$ per hour

You inspired me to calculate a bit: If you get block at 10 mins average, block is 14.74 XPM now, you get 14.74 * 6 = 88.44 XPM/hour. if you pay 4.5$/hour it means you get 19.65 XPM for 1 US$!!! Wow! No wonder XPM exchange rate is 0.003 for BTC, you are getting 0.05896 BTC/US$, or 16.96US$ for 1BTC through XPM mining!!! Sadly but true, value of XPM should be more than 5x less, to be precise if BTC value is $95.40 now on MtGox, value of XPM should be 0.00053333 BTC. Shocking. Running to sell my poor XPM before people figure this out.
wow aren't you a smart one.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 14, 2013, 05:13:36 PM
Everybody already figured that out.

I haven't! Why didn't you tell me, you dirty bastards  ::) , I had to figure it out myself.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Eli0t on July 14, 2013, 05:15:22 PM
15

Are you using a service provider such Amazon? If yes, how much does it cost you to run that per hour?

4.5$ per hour

You inspired me to calculate a bit: If you get block at 10 mins average, block is 14.74 XPM now, you get 14.74 * 6 = 88.44 XPM/hour. if you pay 4.5$/hour it means you get 19.65 XPM for 1 US$!!! Wow! No wonder XPM exchange rate is 0.003 for BTC, you are getting 0.05896 BTC/US$, or 16.96US$ for 1BTC through XPM mining!!! Sadly but true, value of XPM should be more than 5x less, to be precise if BTC value is $95.40 now on MtGox, value of XPM should be 0.00053333 BTC. Shocking. Running to sell my poor XPM before people figure this out.
this is all based on "If you get block at 10 mins average," which i find very hard to belive


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: crendore on July 14, 2013, 05:18:13 PM
I might be missing a dependency. I'll take a look. I'm also using the following for CLFAGS:
CFLAGS = -mmacosx-version-min=10.7 -O3 -mfpmath=sse -march=native -mx32
Edit: it just occurred to me that the mx32 might be the issue. I will try with just native and o3 later.

Just tried compiling it with those exact flags:
Code:
CFLAGS = -mmacosx-version-min=10.7 -O3 -mfpmath=sse -march=native -mx32

And it worked fine. Only bug i have noticed so far is that it crashes when you do: primecoind stop
But that is a pretty minor problem.

-Crendore


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 14, 2013, 05:19:33 PM
15

Are you using a service provider such Amazon? If yes, how much does it cost you to run that per hour?

4.5$ per hour

You inspired me to calculate a bit: If you get block at 10 mins average, block is 14.74 XPM now, you get 14.74 * 6 = 88.44 XPM/hour. if you pay 4.5$/hour it means you get 19.65 XPM for 1 US$!!! Wow! No wonder XPM exchange rate is 0.003 for BTC, you are getting 0.05896 BTC/US$, or 16.96US$ for 1BTC through XPM mining!!! Sadly but true, value of XPM should be more than 5x less, to be precise if BTC value is $95.40 now on MtGox, value of XPM should be 0.00053333 BTC. Shocking. Running to sell my poor XPM before people figure this out.
wow aren't you a smart one.

He just want cheap coins :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 14, 2013, 05:20:11 PM
15

Are you using a service provider such Amazon? If yes, how much does it cost you to run that per hour?

4.5$ per hour

You inspired me to calculate a bit: If you get block at 10 mins average, block is 14.74 XPM now, you get 14.74 * 6 = 88.44 XPM/hour. if you pay 4.5$/hour it means you get 19.65 XPM for 1 US$!!! Wow! No wonder XPM exchange rate is 0.003 for BTC, you are getting 0.05896 BTC/US$, or 16.96US$ for 1BTC through XPM mining!!! Sadly but true, value of XPM should be more than 5x less, to be precise if BTC value is $95.40 now on MtGox, value of XPM should be 0.00053333 BTC. Shocking. Running to sell my poor XPM before people figure this out.
this is all based on "If you get block at 10 mins average," which i find very hard to belive

Guy has 200.000 pps, it's not hard to belive he is getting block in 10 mins average, I got two blocks today with my miserable 1500 pps.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 14, 2013, 05:28:03 PM
Everybody already figured that out.

I haven't! Why didn't you tell me, you dirty bastards  ::) , I had to figure it out myself.

So there is pretty much zero incentive to hold long term? It's just like every other ALT after LTC? Tank fest?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: geeknik on July 14, 2013, 05:34:22 PM
I'm only running about 5K pps total split between 3 local machines and since about 8 hours ago when I installed the HP2 clients, I've already mined 28.98 XPM. Could be worse, because it's been 4 days of non-stop mining with the original client since I received anything.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 14, 2013, 05:34:49 PM
Everybody already figured that out.

I haven't! Why didn't you tell me, you dirty bastards  ::) , I had to figure it out myself.

So there is pretty much zero incentive to hold long term? It's just like every other ALT after LTC? Tank fest?

No, we just to have to hit new equilibrium somewhere at the midpoint, more people are going to rent AWS resources at US$4.5 * 24 * 30 = US$3240 a month, and it will get few times more difficult to hit a block. Price will probably stabilize around 0.001 XPM/BTC. Since I don't have that kind of money, I'll stick to my 1500 pps and cross my fingers.

Edit:
If there is rich investor around here, I'll be happy to set things up for him and share a profit  ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 14, 2013, 05:44:52 PM
Everybody already figured that out.

I haven't! Why didn't you tell me, you dirty bastards  ::) , I had to figure it out myself.

So there is pretty much zero incentive to hold long term? It's just like every other ALT after LTC? Tank fest?

No, we just to have to hit new equilibrium somewhere at the midpoint, more people are going to rent AWS resources at US$4.5 * 24 * 30 = US$3240 a month, and it will get few times more difficult to hit a block. Price will probably stabilize around 0.001 XPM/BTC. Since I don't have that kind of money, I'll stick to my 1500 pps and cross my fingers.

Edit:
If there is rich investor around here, I'll be happy to set things up for him and share a profit  ;)

Why are people missing the obvious strategy. We should have sold (if you didn't already) at 0.01-0.007 and held until it bottomed out, buy back and watch it rise when scarcity becomes more prevalent. Everyone should have at least dumped initially and then bought back at a lesser price.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 05:47:21 PM
New version is out. It mainly adds a tuning parameter called -sievesize. Use it like this: primecoind -sievesize=2000000

I did some experiments with the sieve size and I was able to get significantly higher more blocks with a sieve size of 2M on a Core i7-4770k. There did seem to be some variance though.

The parameter will also affect your primespersec but it's always better to measure the block rate for now.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 14, 2013, 05:51:07 PM
Everybody already figured that out.

I haven't! Why didn't you tell me, you dirty bastards  ::) , I had to figure it out myself.

So there is pretty much zero incentive to hold long term? It's just like every other ALT after LTC? Tank fest?

No, we just to have to hit new equilibrium somewhere at the midpoint, more people are going to rent AWS resources at US$4.5 * 24 * 30 = US$3240 a month, and it will get few times more difficult to hit a block. Price will probably stabilize around 0.001 XPM/BTC. Since I don't have that kind of money, I'll stick to my 1500 pps and cross my fingers.

Edit:
If there is rich investor around here, I'll be happy to set things up for him and share a profit  ;)

Why are people missing the obvious strategy. We should have sold (if you didn't already) at 0.01-0.007 and held until it bottomed out, buy back and watch it rise when scarcity becomes more prevalent. Everyone should have at least dumped initially and then bought back at a lesser price.

Who said they missed it? Everybody is selling their XPM for 0.003 BTC like crazy, It's just us stupid who needed so much time to find the explanation.

The big winner here is also Amazon, they will sell quite a lot server time this month. At least until GPU miner version comes out. I take back everything I said about GPU moving the small guy out of mining. It's obvious that if GPU doesn't do it, cloud services will.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: reb0rn21 on July 14, 2013, 05:52:45 PM
@mikaelh
I presume you can`t do AVX2 optimization, or primecoin can not benefit from it?
pooler did AVX2 optimization on cpuminer and gain is ~90% with haswell


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ryen123 on July 14, 2013, 06:00:25 PM
New version is out. It mainly adds a tuning parameter called -sievesize. Use it like this: primecoind -sievesize=2000000

I did some experiments with the sieve size and I was able to get significantly higher more blocks with a sieve size of 2M on a Core i7-4770k. There did seem to be some variance though.

The parameter will also affect your primespersec but it's always better to measure the block rate for now.

Can the sievesize tuning parameter be added/tweaked in .conf file (for windows)?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eule on July 14, 2013, 06:05:29 PM
Mikael, how do you decide which sievesize to set for which cpu? Or just experimenting in testnet? How many testnet blocks are there btw, wanted to test too, but downloading those 20k+ blocks from only 3 connections takes ages...
@ryen: sievesize=1000000 should work.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 14, 2013, 06:07:37 PM
Does the sievesize trigger work with "primecoin-qt.exe -sievesize=###"?

I tried and it didn't throw up, but that doesn't mean it worked either.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: SC123 on July 14, 2013, 06:08:30 PM
New version is out. It mainly adds a tuning parameter called -sievesize. Use it like this: primecoind -sievesize=2000000

I did some experiments with the sieve size and I was able to get significantly higher more blocks with a sieve size of 2M on a Core i7-4770k. There did seem to be some variance though.

The parameter will also affect your primespersec but it's always better to measure the block rate for now.

"Use it like this: primecoind -sievesize=2000000" <--- where exactly do I use this? Tried to type it in the console and got an error message.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eule on July 14, 2013, 06:09:54 PM
"Use it like this: primecoind -sievesize=2000000" <--- where exactly do I use this? Tried to type it in the console and got an error message.
You need to stop primecoind first.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ryen123 on July 14, 2013, 06:14:14 PM
Looks like it works adding into .conf file. Drop in pps rate after increase sievesize. Thanks eule.

** Update
Definitely works. Tried increase to max sievesize 10M and my pps dropped from 3500+ to 60.. haha


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 06:17:35 PM
@mikaelh
I presume you can`t do AVX2 optimization, or primecoin can not benefit from it?
pooler did AVX2 optimization on cpuminer and gain is ~90% with haswell

This is about primes, not about hashes.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 06:19:52 PM
Mikael, how do you decide which sievesize to set for which cpu? Or just experimenting in testnet? How many testnet blocks are there btw, wanted to test too, but downloading those blocks takes ages...
@ryen: sievesize=1000000 should work.

I'm guessing the optimal value may have something to do with L2 and L3 cache sizes.

Large sieves also take long to build which means a new block may arrive before it's complete.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 14, 2013, 06:22:23 PM
@mikaelh
I presume you can`t do AVX2 optimization, or primecoin can not benefit from it?
pooler did AVX2 optimization on cpuminer and gain is ~90% with haswell

This is about primes, not about hashes.

On my A8 my PPS actually rose rather then fell with sievesize=2000000 in the conf, though it rose very minimally, which makes me wonder if it does anything at all.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: SC123 on July 14, 2013, 06:23:27 PM
Hmm what would be the optimal sievesize for a Ivy 3570K ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 06:27:04 PM
@mikaelh
I presume you can`t do AVX2 optimization, or primecoin can not benefit from it?
pooler did AVX2 optimization on cpuminer and gain is ~90% with haswell

This is about primes, not about hashes.

On my A8 my PPS actually rose rather then fell with sievesize=2000000 in the conf, though it rose very minimally, which makes me wonder if it does anything at all.

If you really want, you can check that with the debugging options.

debug=1
printmining=1

You should see that the sieve size is whatever you set it to in debug.log.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 14, 2013, 06:31:39 PM
Mikael, how do you decide which sievesize to set for which cpu? Or just experimenting in testnet? How many testnet blocks are there btw, wanted to test too, but downloading those 20k+ blocks from only 3 connections takes ages...
@ryen: sievesize=1000000 should work.

If somebody tested for optimal sievesize on testnet and DigitalOcean small droplet I would be grateful if he shares that value he got, just trying to avoid duplicate work.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eule on July 14, 2013, 06:32:09 PM
Mikael, how do you decide which sievesize to set for which cpu? Or just experimenting in testnet? How many testnet blocks are there btw, wanted to test too, but downloading those blocks takes ages...
I'm guessing the optimal value may have something to do with L2 and L3 cache sizes.

Large sieves also take long to build which means a new block may arrive before it's complete.
Thanks, my i7 930 has 8MB cache aswell so i tried the values 1000000, 2000000 and 3000000 in testnet, 2M seems much faster than 1M indeed, 3M is slower than 2M but faster than 1M.
Finetuning miners to find the best settings is always fun, cheers!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 14, 2013, 06:55:38 PM
Can anyone show me how to use testnet to compare blocks between sievesize values?

on linux please


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: drummerjdb666 on July 14, 2013, 07:08:15 PM
URGENT!!!!!

Has anyone else just seen a 25% drop in PPS?  I'm getting this on every single machine/VPS I have running.  Happened in the last 30 mins.  Perhaps due to the >8.0 diff increase?

Quote
~$ primecoind getdifficulty
8.02573842

Yes pps dropped even more than 25% on my rigs.
Yes down from 6143 to 4208

same drop here..

http://puu.sh/3CBbM.png

Same here, but I've gotten two blocks since the drop, which seems luckier.  I wonder how the difficulty gets calculated if not by PPS.  Because a network wide PPS drop you would expect a diff drop too. I derped, per Aggro's post below.

Edit: in another thought, the difference in diff rise between releases of hp1 and hp2 indicates clearly that hp2 is doing better.

I got three blocks since the release of hp2..  you think one of you guys could post a .conf you are using for hp3 in win7?  pleaase?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 14, 2013, 07:57:16 PM
So to set the -sievesize do you do the following?

Code:
primecoind -sievesize=1000000
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Or?

Code:
primecoind --daemon -sievesize=1000000
watch 'primecoind listtransactions & primecoind getmininginfo'



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 14, 2013, 08:17:11 PM
Mikael, how do you decide which sievesize to set for which cpu? Or just experimenting in testnet? How many testnet blocks are there btw, wanted to test too, but downloading those blocks takes ages...
I'm guessing the optimal value may have something to do with L2 and L3 cache sizes.

Large sieves also take long to build which means a new block may arrive before it's complete.
Thanks, my i7 930 has 8MB cache aswell so i tried the values 1000000, 2000000 and 3000000 in testnet, 2M seems much faster than 1M indeed, 3M is slower than 2M but faster than 1M.
Finetuning miners to find the best settings is always fun, cheers!

So for 3MB L3 (ivy i3 3225) would you set your value to 1000000? What do you type in the .config file? Should I get rid of my .config file (using windows HP3 build) because I haven't changed any settings since the 2nd day of launch?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 14, 2013, 08:18:59 PM
Does setting the sievesize in the config file work? If so, how do you do it? I need help...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: reb0rn21 on July 14, 2013, 08:24:30 PM
for windows just run it like this:
primecoin-qt.exe -sievesize=2000000

conf file don`t work for me


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eule on July 14, 2013, 08:24:47 PM
So for 3MB L3 (ivy i3 3225) would you set your value to 1000000? What do you type in the .config file? Should I get rid of my .config file (using windows HP3 build) because I haven't changed any settings since the 2nd day of launch?
Honestly no idea, best way to find out is to connect to the testnet and compare block finding rate, a 5 minute job.  ;)
Note that my test was really short and i didn't test further.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: megges on July 14, 2013, 08:25:35 PM
        "category" : "immature",
        "amount" : 13.40000000,
        "confirmations" : 230,


how long does it takes to mature?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 14, 2013, 08:26:45 PM
        "category" : "immature",
        "amount" : 13.40000000,
        "confirmations" : 230,


how long does it takes to mature?

3200 confirmations.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: UNOE on July 14, 2013, 08:28:06 PM
I'm confused about building a 64bit client on Ubuntu.  What flag do I use.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 14, 2013, 08:36:42 PM
Seems like this worked.

Code:
primecoind --daemon -sievesize=2000000

Thanks mikaelh for the awesome build!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Magic8Ball on July 14, 2013, 08:37:38 PM
        "category" : "immature",
        "amount" : 13.40000000,
        "confirmations" : 230,


how long does it takes to mature?

Block reward has gone down to 13. Thats a sharp decrease.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 14, 2013, 08:40:00 PM
for windows just run it like this:
primecoin-qt.exe -sievesize=2000000

conf file don`t work for me

I found the opposite on win7 and win8 .... conf worked, but batchfile primecoin.qt.exe -sievesize=2000000 still showed 1000000 in debug.log

Once I had sievesize=2000000 in conf it did work.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eule on July 14, 2013, 08:40:10 PM
Block reward has gone down to 13. Thats a sharp decrease.
primecoind getdifficulty
8.65543556
Rising fast. :o


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 14, 2013, 08:41:37 PM
Block reward has gone down to 13. Thats a sharp decrease.
primecoind getdifficulty
8.65543556
Rising fast. :o

Yup, looks like everyone's getting in some cpu mining / loads of digitalocean accounts and amazon accounts firing up.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 14, 2013, 08:43:39 PM
What's the optimal sievesize? 1M, 2M? Been trying to experiment. Do you want it higher or lower?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 14, 2013, 08:51:43 PM
Can anyone show me how to use testnet to compare blocks between sievesize values?

on linux please
pls anyone, will share my optimal sievesize  8)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 14, 2013, 08:52:24 PM
Can anyone show me how to use testnet to compare blocks between sievesize values?

on linux please
pls anyone, will share my optimal sievesize  8)

primecoind -testnet --daemon

PM me optimal sievesize?  :D

Or add testnet=true to your config file, then restart primecoind.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 14, 2013, 08:55:38 PM
Found any blocks?

you think somebody after a mins of the release found a block very easy. i have more than 24 hrs before this release @900pps and not found nothing, give more than 3 hrs for check this

I sure hope this was tested before released.

It's likely folks will still find blocks with it, but without running on testnet for a few hours and comparing the results to another build it won't tell us much. Just reduce the prime sieve size on Sunny's client, boom your PPS goes through the roof.

Well, to be honest, I was slightly concerned about changing the sieve size. I'm not 100% sure about the full effects. What I do know is that when you reduce it to 100,000 you stop getting millions of L1 write misses.

I have found quite a lot of blocks on mainnet with the reduced sieve size. I will try to get some better comparison numbers on testnet.

So would you recommend setting a sieve size of 100,000 in the .config file by typing "sieve size=100000" ? Also should "gen=1" be there or is that not doing anything? I can't remember for the life of me why I had entered that in my config file a few days ago.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Stinky_Pete on July 14, 2013, 09:03:11 PM


So would you recommend setting a sieve size of 100,000 in the .config file by typing "sieve size=100000" ? Also should "gen=1" be there or is that not doing anything? I can't remember for the life of me why I had entered that in my config file a few days ago.
Probably to start mining automaticaaly when you start PrimeCoin.exe


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Lauda on July 14, 2013, 10:05:23 PM
Block reward has gone down to 13. Thats a sharp decrease.
primecoind getdifficulty
8.65543556
Rising fast. :o
Wow it keeps growing faster and faster. We will hit 9 soon I think  :o


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bitwarrior on July 14, 2013, 10:22:59 PM
And no one will bother mining this coin and shift to other more profitable ones.. sadly but true, due to other people's greed, they are killing this coin.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 14, 2013, 10:24:50 PM
And no one will bother mining this coin and shift to other more profitable ones.. sadly but true, due to other people's greed, they are killing this coin.

I'm not so sure about that. Sure, some will, but the fact that something else underlying is happening aside from just generating coins, there may be a fair number of people who stay in it for that reason. I mean think about the people who were / are running seti / folding @ home. This is sort of like that except it's tied to a cryptocurrency. There will be fluctuations in price, sure, but I don't think it's completely analogous to the other altcoins.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 10:25:05 PM
Found any blocks?

you think somebody after a mins of the release found a block very easy. i have more than 24 hrs before this release @900pps and not found nothing, give more than 3 hrs for check this

I sure hope this was tested before released.

It's likely folks will still find blocks with it, but without running on testnet for a few hours and comparing the results to another build it won't tell us much. Just reduce the prime sieve size on Sunny's client, boom your PPS goes through the roof.

Well, to be honest, I was slightly concerned about changing the sieve size. I'm not 100% sure about the full effects. What I do know is that when you reduce it to 100,000 you stop getting millions of L1 write misses.

I have found quite a lot of blocks on mainnet with the reduced sieve size. I will try to get some better comparison numbers on testnet.

So would you recommend setting a sieve size of 100,000 in the .config file by typing "sieve size=100000" ? Also should "gen=1" be there or is that not doing anything? I can't remember for the life of me why I had entered that in my config file a few days ago.

No, a sieve size of 100k is generally a bad idea. It's already been discussed in this thread. I also implemented L1 optimizations for bigger sieve sizes. Not that it matters much on something like i7.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eule on July 14, 2013, 10:25:14 PM
primecoind getdifficulty
8.69241303

Looks like it has slowed down. 9 tomorrow!  ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 14, 2013, 10:32:27 PM
Found any blocks?

you think somebody after a mins of the release found a block very easy. i have more than 24 hrs before this release @900pps and not found nothing, give more than 3 hrs for check this

I sure hope this was tested before released.

It's likely folks will still find blocks with it, but without running on testnet for a few hours and comparing the results to another build it won't tell us much. Just reduce the prime sieve size on Sunny's client, boom your PPS goes through the roof.

Well, to be honest, I was slightly concerned about changing the sieve size. I'm not 100% sure about the full effects. What I do know is that when you reduce it to 100,000 you stop getting millions of L1 write misses.

I have found quite a lot of blocks on mainnet with the reduced sieve size. I will try to get some better comparison numbers on testnet.

So would you recommend setting a sieve size of 100,000 in the .config file by typing "sieve size=100000" ? Also should "gen=1" be there or is that not doing anything? I can't remember for the life of me why I had entered that in my config file a few days ago.

No, a sieve size of 100k is generally a bad idea. It's already been discussed in this thread. I also implemented L1 optimizations for bigger sieve sizes. Not that it matters much on something like i7.

So is the general consensus 1M or 2M is the best?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 14, 2013, 10:38:56 PM
I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: matt4054 on July 14, 2013, 10:40:58 PM
I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.

I'm having lame pps on osx too with this build :(

Sunnyking's github hardly gives me 1k pps on an i5 MacBook Pro w/ all 4 threads


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 14, 2013, 10:51:37 PM
I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.

I'm having lame pps on osx too with this build :(

Sunnyking's github hardly gives me 1k pps on an i5 MacBook Pro w/ all 4 threads


That's about right. i5 what? There are plenty of different i5 mobile models. In fact, some of them have 4 true cores, other have 2 true cores and 4 threads etc... If you listed the exact year of your mac I could help. I suggest purchasing legally. cough. A copy of VMWare Fusion for mac. You can load up another legal. Cough. Version of Windows 7 64 bit and run the HP3 client and get much better PPS. Enjoy!


BTW. I'm at on average 4000 PPS and no block for nearly 48 hours.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 10:53:19 PM
I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.

Where did you get your libgmp? That's what's doing most of the heavy lifting. I would probably look for optimization opportunities in how libgmp is compiled.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 14, 2013, 10:56:46 PM
@Mikaelh

This error causes daemons to crash. Happens alot really. Might be other errors, but this is what i saw.
https://bitcointalk.org/index.php?topic=255782.msg2725962#msg2725962


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dreamwatcher on July 14, 2013, 11:04:06 PM
I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 14, 2013, 11:14:14 PM
I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 11:23:19 PM
ok this is officially crazy

on a E2 8cc

build  1 = original hp2 compiled = found 7 blocks 2 orphans [17 - 11K pps]/24 hrs
build  2 = original hp1 compiled = found 5 blocks 2 orphans [20k - 16K pps]/24 hrs
build  3 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/12 hrs
build  4 = original hp2 compiled = found 0 [17 - 11K pps]/12 hrs
build  5 = original hp2 compiled = found 0  [17 - 11K pps]/12 hrs
build  6 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]
build  7 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]
build  8 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]


there is no way that the blocks would all would be found in just the first 2....

is statistically impossible

there is something going on here


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 14, 2013, 11:24:12 PM
I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.

Where did you get your libgmp? That's what's doing most of the heavy lifting. I would probably look for optimization opportunities in how libgmp is compiled.

sudo port install gmp


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 14, 2013, 11:24:39 PM
Hp1 report higher pps, but he find less block.
Still, bad luck


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 14, 2013, 11:26:41 PM
ok this is officially crazy

on a E2 8cc

build  1 = original hp2 compiled = found 7 blocks 2 orphans [17 - 11K pps]/24 hrs
build  2 = original hp1 compiled = found 5 blocks 2 orphans [20k - 16K pps]/24 hrs
build  3 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/12 hrs
build  4 = original hp2 compiled = found 0 [17 - 11K pps]/12 hrs
build  5 = original hp2 compiled = found 0  [17 - 11K pps]/12 hrs
build  6 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]
build  7 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]
build  8 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]


there is no way that the blocks would all would be found in just the first 2....

is statistically impossible

there is something going on here

Are all these started in parallel? Can it be explained by the change of difficulty working in different timeframes?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: forsetifox on July 14, 2013, 11:29:25 PM
Man.. this coin is strange. 3 days and no coins. Just got 3 blocks today. O.o

hp3 client @ 2500PPS

http://i.imgur.com/QK2kgaH.png


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 14, 2013, 11:33:56 PM
is statistically impossible

there is something going on here
What's going on is that you do not understand statistics at all.

IIts statistically unlikley that none of the other instances find zero, while the first two find blocks, it's geting to the point where p<0.05 so statistically significant.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 14, 2013, 11:34:06 PM
ok this is officially crazy

on a E2 8cc

build  1 = original hp2 compiled = found 7 blocks 2 orphans [17 - 11K pps]/24 hrs
build  2 = original hp1 compiled = found 5 blocks 2 orphans [20k - 16K pps]/24 hrs
build  3 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/12 hrs
build  4 = original hp2 compiled = found 0 [17 - 11K pps]/12 hrs
build  5 = original hp2 compiled = found 0  [17 - 11K pps]/12 hrs
build  6 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]
build  7 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]
build  8 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]


there is no way that the blocks would all would be found in just the first 2....

is statistically impossible

there is something going on here

What peer IPs are you connected to? Yourself? ARe you talking to your own servers indirectly working together to solve with them? Someone explain is this is kind of possible given the Peer to Peer technology implemented in mining.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 14, 2013, 11:37:00 PM
ok this is officially crazy

on a E2 8cc

build  1 = original hp2 compiled = found 7 blocks 2 orphans [17 - 11K pps]/24 hrs
build  2 = original hp1 compiled = found 5 blocks 2 orphans [20k - 16K pps]/24 hrs
build  3 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/12 hrs
build  4 = original hp2 compiled = found 0 [17 - 11K pps]/12 hrs
build  5 = original hp2 compiled = found 0  [17 - 11K pps]/12 hrs
build  6 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]
build  7 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]
build  8 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]


there is no way that the blocks would all would be found in just the first 2....

is statistically impossible

there is something going on here

These numbers for 8 core instances are great actually


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 14, 2013, 11:41:05 PM
ok this is officially crazy

on a E2 8cc

build  1 = original hp2 compiled = found 7 blocks 2 orphans [17 - 11K pps]/24 hrs
build  2 = original hp1 compiled = found 5 blocks 2 orphans [20k - 16K pps]/24 hrs
build  3 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/12 hrs
build  4 = original hp2 compiled = found 0 [17 - 11K pps]/12 hrs
build  5 = original hp2 compiled = found 0  [17 - 11K pps]/12 hrs
build  6 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]
build  7 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]
build  8 =  AWS image of hp1, compiled = found 0 [20 - 16K pps]/3 hrs [now deleted instance]


there is no way that the blocks would all would be found in just the first 2....

is statistically impossible

there is something going on here

Are all these started in parallel? Can it be explained by the change of difficulty working in different timeframes?


Actually Sunny King was just turning his server room on and off. There's your reason.     8)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Greydon Isis on July 14, 2013, 11:46:56 PM
So... if things continue like that, reward is 1 XPM in two weeks? ;)

is XPM going outta control many good thing may come of this added attention, think I need to check the exchange price again~~~


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: matt4054 on July 14, 2013, 11:47:49 PM
I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.

Where did you get your libgmp? That's what's doing most of the heavy lifting. I would probably look for optimization opportunities in how libgmp is compiled.

As far as I am concerned, I got it fresh from the current MacPorts


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 14, 2013, 11:47:58 PM
I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.

Well I tried "sudo port uninstall gmp" and then "sudo port install mpfr". Then I recompiled. It compiled without errors but the performance was even worse than not having mpfr installed (with macports).

I'm at a loss now... :(


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: fabrizziop on July 14, 2013, 11:49:42 PM
Finally managed to build it on Ubuntu 13.04 amd64, it gives me around 4500 pps on my FX 8350 :D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: forsetifox on July 14, 2013, 11:56:58 PM
Just found another block. 4 blocks in 24 hours @ 2500 PPS.

 :o


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 12:02:30 AM
Just found another block. 4 blocks in 24 hours @ 2500 PPS.

 :o

I'm so jelly. Hold onto those precious coins.



 I've been well over 3000 for the last 48 hours. Nothing. I made sure do re-download the blockchain before switching builds. No excuses. Just bad luck?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 12:05:52 AM
Finally managed to build it on Ubuntu 13.04 amd64, it gives me around 4500 pps on my FX 8350 :D

Congrats! ;D


Next project; improve HP3???  ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dreamwatcher on July 15, 2013, 12:14:42 AM
I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.

Thank you.

I did not know that it used gmp as a dependency.

I see so many libraries and packages that appear to do the same things. Some better at certain applications while worse at others.

I guess the next major step would be to rewrite the mining routine in OpenCL. Though I would not doubt somebody has already did it and is not sharing.  :D

Can't say I would blame them at this point.







Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: fabrizziop on July 15, 2013, 12:15:05 AM
Finally managed to build it on Ubuntu 13.04 amd64, it gives me around 4500 pps on my FX 8350 :D

Congrats! ;D


Next project; improve HP3???  ;)

In my case it's weird, if I compile with march=native the pps rate is lower.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 12:23:45 AM
I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.

Thank you.

I did not know that it used gmp as a dependency.

I see so many libraries and packages that appear to do the same things. Some better at certain applications while worse at others.

I guess the next major step would be to rewrite the mining routine in OpenCL. Though I would not doubt somebody has already did it and is not sharing.  :D

Can't say I would blame them at this point.







Luke Jr we are talking to you!  :P


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 15, 2013, 12:26:35 AM
I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.

Thank you.

I did not know that it used gmp as a dependency.

I see so many libraries and packages that appear to do the same things. Some better at certain applications while worse at others.

I guess the next major step would be to rewrite the mining routine in OpenCL. Though I would not doubt somebody has already did it and is not sharing.  :D

Can't say I would blame them at this point.


Yeah, I was thinking that earlier. It seems a likely explanation to the skyrocketing difficulty (that surprises even Sunny).

I'm curious - how / why were OCL miners even publicly released anyway? What caused the person / group to release it/them and not horde anymore?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: fabrizziop on July 15, 2013, 12:30:27 AM
I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.

Thank you.

I did not know that it used gmp as a dependency.

I see so many libraries and packages that appear to do the same things. Some better at certain applications while worse at others.

I guess the next major step would be to rewrite the mining routine in OpenCL. Though I would not doubt somebody has already did it and is not sharing.  :D

Can't say I would blame them at this point.


Yeah, I was thinking that earlier. It seems a likely explanation to the skyrocketing difficulty (that surprises even Sunny).

I'm curious - how / why were OCL miners even publicly released anyway? What caused the person / group to release it/them and not horde anymore?

Remember that having too much control of a decentralized network by a single person reduces the trust that the public has on the network, that is bad for the guy hoarding the miner. Best is to mine a nice time with the OpenCL miner then when you have your stash just release the miner to the public to make your stash worth more.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 15, 2013, 12:35:53 AM
I was poking through prime.h and prime.cpp and they're not really all that long. Someone who knows c++, OpenCL and / or CUDA should be able to make the conversion. I would be willing to bet it has already happened and they're raking it in at the moment.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 02:05:52 AM
Finally managed to build it on Ubuntu 13.04 amd64, it gives me around 4500 pps on my FX 8350 :D

Congrats! ;D


Next project; improve HP3???  ;)

In my case it's weird, if I compile with march=native the pps rate is lower.


Remember, PPS isn't an accurate measurement.

http://www.reddit.com/r/primecoin/comments/1iaak8/psa_primes_per_second_just_dropped_carry_on/


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: PoolMinor on July 15, 2013, 02:32:26 AM
Should the sievesize be a prime number?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: fabrizziop on July 15, 2013, 02:37:23 AM
Finally managed to build it on Ubuntu 13.04 amd64, it gives me around 4500 pps on my FX 8350 :D

Congrats! ;D


Next project; improve HP3???  ;)

In my case it's weird, if I compile with march=native the pps rate is lower.


Remember, PPS isn't an accurate measurement.

http://www.reddit.com/r/primecoin/comments/1iaak8/psa_primes_per_second_just_dropped_carry_on/

After all, I think that the performance is lower with -march=native, it could be related to my AMD processor fake 8 cores. I could still give a try to march=native to try.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: superfluouso on July 15, 2013, 02:52:01 AM
I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.

That's the route I took - VirtualBox/ubuntu -  been running 4 of my cores at about 3500pps with Mikaelh2 build.  Found 3 blocks but nothing in the last 24 hours


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: fabrizziop on July 15, 2013, 02:56:03 AM
I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.

That's the route I took - VirtualBox/ubuntu -  been running 4 of my cores at about 3500pps with Mikaelh2 build.  Found 3 blocks but nothing in the last 24 hours

Well, to be honest his build is probably the best, but I don't have the guts to run a binary made by a new guy at bitcointalk.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 15, 2013, 03:24:36 AM
does any one have a script to start

primcoind --deamon

if it falls over????

if(check/5 mins if on watch process!)
{primcoind --deamon;}



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hiddenvalleyranch on July 15, 2013, 03:47:58 AM
I'm getting about the same rate but my CPU is way down like less than 20% most of the time. Anyway to allow it to use full CPU. Win 8 by the way.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 15, 2013, 04:21:57 AM
I heard about the a "hp3" build? Is this in the git repo for mikaelh2?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: masterOfDisaster on July 15, 2013, 04:23:37 AM
I'm getting about the same rate but my CPU is way down like less than 20% most of the time. Anyway to allow it to use full CPU. Win 8 by the way.

In the console of the primecoin-qt you can enter
Code:
setgenerate true -1
That allows all cores to be used. Do you have a "primecoin.conf" file on that machine?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: masterOfDisaster on July 15, 2013, 04:24:51 AM
I heard about the a "hp3" build? Is this in the git repo for mikaelh2?

yes: https://github.com/mikaelh2/primecoin


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Armchair Miner on July 15, 2013, 05:53:55 AM
I got an exception running it with maybe 12 threads on 4 core i7 2660. Sorry, removed the error message and restarted the primecoin-qt. Will report details if it happens again.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 15, 2013, 05:56:29 AM
I heard about the a "hp3" build? Is this in the git repo for mikaelh2?

yes: https://github.com/mikaelh2/primecoin

thx one other dumb Q. Do I have to do anything to enable hp3 or is it built by default?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 15, 2013, 06:10:17 AM
update
hp3 falls over alot


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 15, 2013, 06:12:42 AM
update
hp3 falls over alot

What do you mean falls over?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: glongsword on July 15, 2013, 06:16:12 AM
update
hp3 falls over alot

What do you mean falls over?

I'm having the same problem on my two computers; It throws random errors and quits every few hours.  I Have to manually start the program again and start mining.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mhps on July 15, 2013, 06:40:36 AM
New version is out. It mainly adds a tuning parameter called -sievesize. Use it like this: primecoind -sievesize=2000000

@mikaelh to make sure ... the change of sievesize is not what Sunny was talking about in https://bitcointalk.org/index.php?topic=253662.msg2716964#msg2716964 , right?

I have reduced sievesize from 2.5M to 50000 in several steps and the PSS indeed rises (not linearly). But I hope it's not just an illusion.



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 8bitPunk on July 15, 2013, 07:42:05 AM
New version is out. It mainly adds a tuning parameter called -sievesize. Use it like this: primecoind -sievesize=2000000

@mikaelh to make sure ... the change of sievesize is not what Sunny was talking about in https://bitcointalk.org/index.php?topic=253662.msg2716964#msg2716964 , right?

I have reduced sievesize from 2.5M to 50000 in several steps and the PSS indeed rises (not linearly). But I hope it's not just an illusion.


Sieve size isn't directly what Sunny was talking about, but it is related. If you lower the amount of work you perform or the shorten the time you spend working on it before giving up, then you will throw away a lot of potential solutions unnecessarily.

Lowering sieve size to 50,000 will raise PPS but it is an illusion.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 15, 2013, 08:07:24 AM
Optimal sievesize might be 1000000, some people discussed on this topic.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mhps on July 15, 2013, 09:27:23 AM
New version is out. It mainly adds a tuning parameter called -sievesize. Use it like this: primecoind -sievesize=2000000

@mikaelh to make sure ... the change of sievesize is not what Sunny was talking about in https://bitcointalk.org/index.php?topic=253662.msg2716964#msg2716964 , right?

I have reduced sievesize from 2.5M to 50000 in several steps and the PSS indeed rises (not linearly). But I hope it's not just an illusion.


Sieve size isn't directly what Sunny was talking about, but it is related. If you lower the amount of work you perform or the shorten the time you spend working on it before giving up, then you will throw away a lot of potential solutions unnecessarily.

Lowering sieve size to 50,000 will raise PPS but it is an illusion.

Thanks for the explanation and for making the HP client. It's hard to determine where the illusion starts.. all I see is more PPS with lower sievesize.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 8bitPunk on July 15, 2013, 09:47:24 AM
mikaelh is awake and coding  ;D
Latest commit: Precompute two's inverses for all base primes. Idea taken from luke-jr (https://github.com/mikaelh2/primecoin/commit/6c667354fd8881b7811bec697d420311ad3bcd76)

If you're on linux and compiling from the repo:
Remember folks, if you're doing this, keep your primecoind updated:

Code:
cd ~/primecoin
git pull
cd src
make -f makefile.unix USE_UPNP=-
primecoind stop
sudo mv /usr/local/bin/primecoind /usr/local/bin/primecoind.old
sudo mv primecoind /usr/local/bin/primecoind
primecoind --daemon


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dego on July 15, 2013, 09:58:25 AM
compiled and running on Ubuntu 13.04 64bit on a Phenom 1090 hexacore, getting around 4500 - 5000 pps (as before).

What should thelatest changements result in?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 8bitPunk on July 15, 2013, 10:06:51 AM
compiled and running on Ubuntu 13.04 64bit on a Phenom 1090 hexacore, getting around 4500 - 5000 pps (as before).

What should thelatest changements result in?

I wouldn't expect any increase in PPS resulting from this change (remember PPS is not a good performance metric)... The efficiency is in how quickly the sieve is setup, ready to weave then find the prime chains. Within the gensieveroundlimitms parameter (default 1000 milliseconds) primecoind should spend less time setting up the sieve and more time finding the primes before it moves onto the next round.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dego on July 15, 2013, 10:09:08 AM
ok. So it will be very hard to see if there are perfomance inprovements on the real network...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mika1977 on July 15, 2013, 10:09:12 AM
Around 100 hours without a single block this with 20k+ PPS. I try every build. Now with latest - hp3
Please somebody paste your config file, may be there is my mistake.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dego on July 15, 2013, 10:13:13 AM
Quote

rpcuser=username
rpcpassword=password
sievesize=1000000
gen=1


As I understand it right, adding sievesize=1000000 shouldn't be necessary as 1M is already the default sievesize...

I had 5 blocks yesterday during ~15hrs mining at 4k - 5k pps. Today no blocks have been yet found during more than 3hrs @ 4.5k pps.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 15, 2013, 10:18:24 AM
Around 100 hours without a single block this with 20k+ PPS. I try every build. Now with latest - hp3
Please somebody paste your config file, may be there is my mistake.

On Linux:
Code:
gen=1
rpcuser=primecoinrpcuser
rpcpassword=primecoinrpcpassword

On Win: no config file, starting the mining manually with setgenerate. If you have config file just delete it, maybe there really is something wrong in it, but i doubt it, probably just bad luck.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 8bitPunk on July 15, 2013, 10:21:23 AM
Around 100 hours without a single block this with 20k+ PPS. I try every build. Now with latest - hp3
Please somebody paste your config file, may be there is my mistake.

The config files are pretty hard to mess up, and even without one you can do: "setgenerate true"
and it will be mining with all the defaults.

What we are all seeing is the amount of computation required to generate a prime chain now that the difficulty is 8.8.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mika1977 on July 15, 2013, 10:32:53 AM
this is my conf. file
do i have to add sievesize=1000000
Quote
rpcuser=1234
rpcpassword=123
rpcport=8001
gen=1
server=1
daemon=1
rpcallowip=127.0.0.1
addnode=137.116.230.21
addnode=54.225.81.214
addnode=54.225.116.178
addnode=54.225.123.48
addnode=107.20.202.112
addnode=54.225.123.87
addnode=54.225.81.214
addnode=54.225.116.178
addnode=54.225.123.48
addnode=54.225.123.87
addnode=107.20.202.112
addnode=54.224.142.224
addnode=54.224.28.160
addnode=184.72.193.229
addnode=54.225.19.196
addnode=50.16.142.10
addnode=23.20.77.101
addnode=54.224.95.193
addnode=54.234.90.173
addnode=23.21.2.143
addnode=23.20.0.137
addnode=54.227.57.231
addnode=54.227.81.48
addnode=54.224.112.133
addnode=54.224.194.112
addnode=50.16.112.122
addnode=54.214.144.235
addnode=54.244.76.225
addnode=54.245.7.222
addnode=54.244.204.96
addnode=54.214.187.152
addnode=50.112.197.152
addnode=54.214.168.133
addnode=54.214.100.229
addnode=54.244.199.134
addnode=54.245.138.68
addnode=54.214.59.206
addnode=54.244.208.77
addnode=54.214.103.110
addnode=94.23.215.174
addnode=87.98.146.72
addnode=87.98.146.72
addnode=94.23.215.174
gen=1


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bbxx on July 15, 2013, 10:44:36 AM
There is something strange with this coin/daemon
It is locking sometimes mining nothing and using whole cpu power
To repair it kill daemon do -rescan and start again
You can easily spot this if you have immature coins locked at specific number of confirmations, but daemon block number is increasing

I wasted many cpu power because of that

I ma using hp2 build, ubuntu


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 15, 2013, 10:58:59 AM
There is something strange with this coin/daemon
It is locking sometimes mining nothing and using whole cpu power
To repair it kill daemon do -rescan and start again
You can easily spot this if you have immature coins locked at specific number of confirmations, but daemon block number is increasing

I wasted many cpu power because of that

I ma using hp2 build, ubuntu

Sounds a bit like your client got stuck on the wrong fork. Sunny King's original client also suffers from that issue.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: de_xt on July 15, 2013, 11:25:34 AM
A pool is a must at this difficulty level, IMHO, provided a working standalone miner is released. People would get less frustrated because of their bad luck at solo mining.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mika1977 on July 15, 2013, 11:36:05 AM
how to understand this, is there something wrong about it?
Quote
14:35:12

getaddednodeinfo <dns> [node]
Returns information about the given added node, or all added nodes
(note that onetry addnodes are not listed here)
If dns is false, only a list of added nodes will be provided,
otherwise connected information will also be available. (code -1)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: fabrizziop on July 15, 2013, 01:32:48 PM
Hey, I built the last client, I'd like to know if I should be seeing a PPS increase with it, or is it just other optimization that make the client more likely to find a block?.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 15, 2013, 01:42:22 PM
compiled and running on Ubuntu 13.04 64bit on a Phenom 1090 hexacore, getting around 4500 - 5000 pps (as before).

What should thelatest changements result in?

I wouldn't expect any increase in PPS resulting from this change (remember PPS is not a good performance metric)... The efficiency is in how quickly the sieve is setup, ready to weave then find the prime chains. Within the gensieveroundlimitms parameter (default 1000 milliseconds) primecoind should spend less time setting up the sieve and more time finding the primes before it moves onto the next round.

So you'd suggest -sievesize=1000000 ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 01:46:13 PM
Around 100 hours without a single block this with 20k+ PPS. I try every build. Now with latest - hp3
Please somebody paste your config file, may be there is my mistake.


Delete your blockchain and redownload after every new compile or downloaded qt. I hadn't had a block in over 48 hours at 4000 PPS. Deleted block chain on all my computers. Voila. 2 blocks last night. I may as well have mined salad because I was on a fork for 2 days.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vorksholk on July 15, 2013, 02:13:56 PM
I'm a bit confused.

The primes we are finding are huge, what purpose does the up-to-2,000,000 or so prime sieve serve?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 15, 2013, 02:31:36 PM
Prior to this release I was getting about 1400 PPS in the Windows client and about 1800-2000 PPS in my ubuntu VM.

I downloaded this Windows one and get about 5k PPS on 7 cores on my FX-8350 @ 4.7ghz.

I tried the the linux one and I'm only getting ~996 PPS?

I like using the linux one because it always seems to be 10c cooler and prior to this I was getting higher PPS in linux.

Steps I did:

Code:
apt-get install make
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install libgmp-dev
sudo apt-get update
sudo apt-get install python-software-properties screen python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev python-dev autoconf automake ncurses-dev sysstat gcc-mingw32 libmysql++-dev cloog-ppl build-essential automake gcc libevent-dev libmemcached-dev libcurl4-openssl-dev zlib1g-dev libjansson-dev curl memcached libtool unzip freeglut3-dev libxi-dev libxmu-dev build-essential freeglut3-dev libxi-dev libxmu-dev mpich2 libdb-dev libminiupnpc-dev libboost-all-dev libdb++-dev git uthash* libgmp3-dev

cd ~/primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin

primecoind setgenerate true 7

I'm a linux noob so go easy on me.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: kcanup on July 15, 2013, 02:43:06 PM


{
"blocks" : 48294,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : -1,
"primespersec" : 3195,
"pooledtx" : 0,
"testnet" : false
}

Thats getmininginfo details.. so this means my qt client is mining primecoin? and if its mining, how long time it will take to find a block on current pps? Thanks.  ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 15, 2013, 02:54:14 PM
Prior to this release I was getting about 1400 PPS in the Windows client and about 1800-2000 PPS in my ubuntu VM.

I downloaded this Windows one and get about 5k PPS on 7 cores on my FX-8350 @ 4.7ghz.

I tried the the linux one and I'm only getting ~996 PPS?

I like using the linux one because it always seems to be 10c cooler and prior to this I was getting higher PPS in linux.

Steps I did:

Code:
apt-get install make
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install libgmp-dev
sudo apt-get update
sudo apt-get install python-software-properties screen python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev python-dev autoconf automake ncurses-dev sysstat gcc-mingw32 libmysql++-dev cloog-ppl build-essential automake gcc libevent-dev libmemcached-dev libcurl4-openssl-dev zlib1g-dev libjansson-dev curl memcached libtool unzip freeglut3-dev libxi-dev libxmu-dev build-essential freeglut3-dev libxi-dev libxmu-dev mpich2 libdb-dev libminiupnpc-dev libboost-all-dev libdb++-dev git uthash* libgmp3-dev

cd ~/primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin

primecoind setgenerate true 7

I'm a linux noob so go easy on me.

primecoind setgenerate true -1 is better as it optimizes for your cpu


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 15, 2013, 02:55:21 PM


{
"blocks" : 48294,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : -1,
"primespersec" : 3195,
"pooledtx" : 0,
"testnet" : false
}

Thats getmininginfo details.. so this means my qt client is mining primecoin? and if its mining, how long time it will take to find a block on current pps? Thanks.  ;)
Yes you're successfully mining if primespersec is > 0.  How long to find a block?  This is solo mining where luck plays a huge part.  If the diff were to stay the same (which it is not), I would estimate you will get 1 block every 24 hours.  That's just an extremely rough guide based on how many blocks I'm currently getting with my PPS.  You could get one in 5 minutes or nothing for 3 days though!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 15, 2013, 03:00:42 PM
Prior to this release I was getting about 1400 PPS in the Windows client and about 1800-2000 PPS in my ubuntu VM.

I downloaded this Windows one and get about 5k PPS on 7 cores on my FX-8350 @ 4.7ghz.

I tried the the linux one and I'm only getting ~996 PPS?

I like using the linux one because it always seems to be 10c cooler and prior to this I was getting higher PPS in linux.

Steps I did:

Code:
apt-get install make
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install libgmp-dev
sudo apt-get update
sudo apt-get install python-software-properties screen python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev python-dev autoconf automake ncurses-dev sysstat gcc-mingw32 libmysql++-dev cloog-ppl build-essential automake gcc libevent-dev libmemcached-dev libcurl4-openssl-dev zlib1g-dev libjansson-dev curl memcached libtool unzip freeglut3-dev libxi-dev libxmu-dev build-essential freeglut3-dev libxi-dev libxmu-dev mpich2 libdb-dev libminiupnpc-dev libboost-all-dev libdb++-dev git uthash* libgmp3-dev

cd ~/primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin

primecoind setgenerate true 7

I'm a linux noob so go easy on me.

primecoind setgenerate true -1 is better as it optimizes for your cpu

I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 15, 2013, 03:03:56 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 15, 2013, 03:04:11 PM
ok

so it seems the more blocks one instance finds, the more it can find i *know* this is maths - wrong

but seriously as soon as my instances find one block, then next just seem to roll in.

[about 350 XPM mined so far in 48 hours so I am pretty small scale]


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: kcanup on July 15, 2013, 03:06:54 PM

Yes you're successfully mining if primespersec is > 0.  How long to find a block?  This is solo mining where luck plays a huge part.  If the diff were to stay the same (which it is not), I would estimate you will get 1 block every 24 hours.  That's just an extremely rough guide based on how many blocks I'm currently getting with my PPS.  You could get one in 5 minutes or nothing for 3 days though!

Aww thanks that was clear...I will wait and see now when it will find a block.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 15, 2013, 03:17:33 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


For debug purpose, I've shut down my GPU mining and tried all cores.  I still only get about 1200PPS in linux vm but I'm getting 6000 in Windows.

I was chitchatting with someone else and he said his Linux PPS got halved when he switched to this client too.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: kendog77 on July 15, 2013, 03:23:30 PM
ok

so it seems the more blocks one instance finds, the more it can find i *know* this is maths - wrong

but seriously as soon as my instances find one block, then next just seem to roll in.

[about 350 XPM mined so far in 48 hours so I am pretty small scale]

I think the block finder has a huge advantage over the rest of the network because they can start work on the next block immediately, and it takes time for the newly found block to propagate through the network. Others cannot start work on the next block until they receive it.

Perhaps this helps explain why primecoin blocks tend to come in spurts?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 15, 2013, 03:26:05 PM
I think the block finder has a huge advantage over the rest of the network because they can start work on the next block immediately, and it takes time for the newly found block to propagate through the network. Others cannot start work on the next block until they receive it.

Perhaps this helps explain why primecoin blocks tend to come in spurts?

Except that that would result in back to back blocks, not spurts that have gaps between blocks the one node found, other nodes having found blocks inbetween.

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 15, 2013, 03:33:08 PM
Jeez it looks like a lot has happened when I was away. So, do you just set the sieve size in the primecoin.conf file? Also what is the optimal sieve size?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gateway on July 15, 2013, 04:08:37 PM
Any updated windows builds ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: kcanup on July 15, 2013, 04:10:54 PM
Excellent!! found first block in 1 hour time with this windows build..... ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 15, 2013, 04:36:18 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


I fixed my PPS in linux by restarting the linux VM.

Now I'm looking into this "nice" command which is difficult to google by the way.

I set:
Code:
sudo nice -n -20 primecoind setgenerate true -1

And I'm still taking a 200khps hit on my GPU mining.  It did improve by 50khps over the old way.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: DMIS on July 15, 2013, 04:38:36 PM
The client seems to crash for me after few minutes of mining

running hp3-win64
on Win 7 x64 I7 930

http://i42.tinypic.com/2cpdu9v.png

any ideas?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 15, 2013, 04:39:28 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


For debug purpose, I've shut down my GPU mining and tried all cores.  I still only get about 1200PPS in linux vm but I'm getting 6000 in Windows.

I was chitchatting with someone else and he said his Linux PPS got halved when he switched to this client too.

Which Linux distribution are you using? I suspect some distributions might not be supplying a properly optimized version of GMP. I may eventually start releasing my own Linux binaries.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gateway on July 15, 2013, 04:44:51 PM
Excellent!! found first block in 1 hour time with this windows build..... ;D

What build? link?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: loucy on July 15, 2013, 04:47:23 PM
Now I'm looking into this "nice" command which is difficult to google by the way.

Maybe you should look into the "man" command first. But that's probably difficult to google as well.  ::)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 15, 2013, 04:57:51 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


For debug purpose, I've shut down my GPU mining and tried all cores.  I still only get about 1200PPS in linux vm but I'm getting 6000 in Windows.

I was chitchatting with someone else and he said his Linux PPS got halved when he switched to this client too.

Which Linux distribution are you using? I suspect some distributions might not be supplying a properly optimized version of GMP. I may eventually start releasing my own Linux binaries.

Ubuntu 12.04


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: kcanup on July 15, 2013, 04:59:14 PM
Excellent!! found first block in 1 hour time with this windows build..... ;D

What build? link?

Its a mikaelh's modified client. I downloaded it from the first page of this thread. Windows X64 built binaries.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 15, 2013, 05:09:43 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


For debug purpose, I've shut down my GPU mining and tried all cores.  I still only get about 1200PPS in linux vm but I'm getting 6000 in Windows.

I was chitchatting with someone else and he said his Linux PPS got halved when he switched to this client too.

Which Linux distribution are you using? I suspect some distributions might not be supplying a properly optimized version of GMP. I may eventually start releasing my own Linux binaries.

Ubuntu 12.04

Looks like Ubuntu 12.04 comes with GMP version 5.0.2. That's from Aug 2011. It may fail to recognize newer CPUs. In that case, it won't choose the optimal code path.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 15, 2013, 05:25:56 PM
Is there
a) A primecoin-qt app for Android. Or at least something that can show when a block is mined via an application?
b) A PrimeCoin wallet app for Android yet?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 15, 2013, 05:35:01 PM
New version is out!

-hp4 mainly adds L1 and L2 cache optimizations. It removes the performance bottleneck with bigger sieve sizes. Thus it's possible to increase sieve size even further.

I also added a new alternative performance measurement. The client now calculates the number of probable prime chains of length 5 and prints them to debug.log. The printing frequency is also increased.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: teknohog on July 15, 2013, 05:51:33 PM
I'm a bit confused.

The primes we are finding are huge, what purpose does the up-to-2,000,000 or so prime sieve serve?

Seconded. I'm guessing it's because the primality test used here is not absolute, it only tests for probable primality. One way to do this is trial division by smaller primes.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bandjhughes on July 15, 2013, 05:54:52 PM
I've had two crashes using this high performance miner.   :o

The crash states:

Quote

Assertion failed!

Program: C:\Users\xxx
xxx\xxx\xxx\primecoin-qt.exe
File: src/checkqueue.h, Line 167

Expression: pqueue->nTotal==pqueue->nIdle

Anyone else had this error/crash?



On another note, I'm about ready to give up on Primecoin...I started at the beginning and mined 9 blocks the first day using 3 machines.  Then mined 6 the next day, 3 the day after that, 1 more the next day, but I haven't mined a single block since even with the 3 CPUs running 24/7.   :'(



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 15, 2013, 06:04:42 PM
Is there a consensus on the best VPS provider yet? I'm averaging 180k PPS on 30 8-cores via DigitalOcean. I know there are other VPS providers out there, but anything as convenient as them? I can deploy an entire cluster in under 20 minutes from scratch and destroy them all in under 5.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Sampey on July 15, 2013, 06:08:42 PM
Is this good?

{
"blocks" : 48935,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : -1,
"primespersec" : 2453,
"pooledtx" : 0,
"testnet" : false
}

With Intel Core 2 Quad Q9400


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 15, 2013, 06:10:02 PM
Digital Ocean is very good with the low-tier instance. I have 40 instance 2-core.
The solo-core is better but with limited droplet you have to make a choice.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 15, 2013, 06:11:12 PM
I understand that.  It kills my GPU mining when I use all cores.  But I think you missed something in my post.  I'm getting 5k PPS on 7 cores in the windows client but only 1k PPS in the Linux one.

Look up the "nice" command.

Any CPU mining, whether built in to a coin or using minerd aka cpuminer or whatever, use "nice coind" or "nice minerd", it runs at lower priority so does not seem to impact GPU mining nor FPGA mining nor ASIC mining yet still gets to use most of the cores most of the time.

-MarkM-


For debug purpose, I've shut down my GPU mining and tried all cores.  I still only get about 1200PPS in linux vm but I'm getting 6000 in Windows.

I was chitchatting with someone else and he said his Linux PPS got halved when he switched to this client too.

Which Linux distribution are you using? I suspect some distributions might not be supplying a properly optimized version of GMP. I may eventually start releasing my own Linux binaries.

Ubuntu 12.04

Looks like Ubuntu 12.04 comes with GMP version 5.0.2. That's from Aug 2011. It may fail to recognize newer CPUs. In that case, it won't choose the optimal code path.

I think I had it updated already.  Then I tried removing it and reinstalled it, still no go.  It wasn't till I restarted the vm client that my pps numbers came to be what it should've been.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 15, 2013, 06:13:06 PM
Digital Ocean is very good with the low-tier instance. I have 40 instance 2-core.
The solo-core is better but with limited droplet you have to make a choice.
Did you request more droplet from them?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 06:16:07 PM
Is this good?

{
"blocks" : 48935,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : -1,
"primespersec" : 2453,
"pooledtx" : 0,
"testnet" : false
}

With Intel Core 2 Quad Q9400

i3 3225 Ivy Bridge 3.4 GHz =

{
"blocks" : 49030,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : -1,
"primespersec" : 2277,
"pooledtx" : 0,
"testnet" : false
}


so yeah. You're doing just fine...  :P


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: xyzzy099 on July 15, 2013, 06:17:33 PM
New version is out!

-hp4 mainly adds L1 and L2 cache optimizations. It removes the performance bottleneck with bigger sieve sizes. Thus it's possible to increase sieve size even further.

I also added a new alternative performance measurement. The client now calculates the number of probable prime chains of length 5 and prints them to debug.log. The printing frequency is also increased.

This version crashes at startup, or very shortly thereafter on my i7-3820.  I have used the other builds without incident as you have released them.



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 15, 2013, 06:23:17 PM
Digital Ocean is very good with the low-tier instance. I have 40 instance 2-core.
The solo-core is better but with limited droplet you have to make a choice.
Of course, solo-core is the way to go. But even with my 30 server limit the power would make me less than the 30 8-cores I'm "overpaying" for.

Digital Ocean is very good with the low-tier instance. I have 40 instance 2-core.
The solo-core is better but with limited droplet you have to make a choice.
Did you request more droplet from them?
See above. I am increasing my limits daily, however.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 15, 2013, 06:31:14 PM
Now I'm looking into this "nice" command which is difficult to google by the way.
man nice.


Quote
I set:
Code:
sudo nice -n -20 primecoind setgenerate true -1

And I'm still taking a 200khps hit on my GPU mining.  It did improve by 50khps over the old way.
That's normal, because this does not do anything.
What you need is to nice the main process, i.e. when you start primecoind, do "nice primecoind".

Code:
nice -n19 ./primecoind

Also, you were using -20 which is very wrong - it gives the process the most priority (thankfully you did not apply it to the right process, your system would explode).


I couldn't figure out how to turn off my primecoind service so I just rebooted it again.

Starting up I used
Code:
sudo nice -n19 primecoind --daemon

Still not working for me.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mumus on July 15, 2013, 06:32:17 PM
New version is out!

-hp4 mainly adds L1 and L2 cache optimizations. It removes the performance bottleneck with bigger sieve sizes. Thus it's possible to increase sieve size even further.

I also added a new alternative performance measurement. The client now calculates the number of probable prime chains of length 5 and prints them to debug.log. The printing frequency is also increased.

Thank you very much.
I can report about 10% PPS improvement with this build. Let's see what the alternative measurements gives us. In general your builds works fine for me with pretty good results (about 10 blocks today with all the computers I could use in my office and home). Some tip is on the way.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 15, 2013, 06:36:56 PM
-hp4 mainly adds L1 and L2 cache optimizations. It removes the performance bottleneck with bigger sieve sizes. Thus it's possible to increase sieve size even further.

I also added a new alternative performance measurement. The client now calculates the number of probable prime chains of length 5 and prints them to debug.log. The printing frequency is also increased.
Hi Mikael, I'm still seeing some reduction in PPS rate with increased sievesize, though not nearly as pronounced as earlier versions.  Good job!  With that in mind, what's the best way to test for the optimal sievesize vs PPS?  Is it best to use the testnet and, if so, is it fair to use the new metric in debug.log or should I go by number of blocks found?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 15, 2013, 06:42:54 PM
Starting up I used
Code:
sudo nice -n19 primecoind --daemon

Still not working for me.

Does nice use PATH lookup? I would have expected it would be up to you to tell it explicitly what to run.

Thus, for example, if primecoind is in the current directory, you'd normally do ./primecoind since path lookup does not normally look in current directory, but, using nice, I would think nice is looking in the current directory for primecoin since you didn't tell it for example to run /usr/local/bin/primecoind.

So make sure primecoind is where you are telling nice that it is...

primestart.sh
Code:
#!/bin/bash


PRIMECOIND=/usr/local/bin/primecoind
DATADIR=$HOME/.primecoin


nice ${PRIMECOIND} -datadir=$DATADIR -rescan -maxconnections=8 \
        -rpcuser=primeuser -rpcpassword=TopSecretPasswordForRPC \
        -gen=1 -daemon -rpcport=9912

Also, is 19 niceness really necessary? Doesn't the normal plain old nice, which defaults to niceness of 10, suffice? Are you sure you want CPU mining to have the lowest priority of all, behind all normal nice'd processes? It defaults to 10 to leave room for ridiculously low priority things to be given more niceness and to leave room for some things to be nice but not as nice as normal/default nicenss of 10...

Also, why the fuck do you run a coin daemon as root? Isn't it bad enough not running it as a user specially created for that coin so it has no access to other users stuff, without going and giving it root access to your machine, even IF you put it in a virtual machine all to itself? (aka WFT is sudo in there for?!?!?!)

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: xyzzy099 on July 15, 2013, 06:53:31 PM
New version is out!

-hp4 mainly adds L1 and L2 cache optimizations. It removes the performance bottleneck with bigger sieve sizes. Thus it's possible to increase sieve size even further.

I also added a new alternative performance measurement. The client now calculates the number of probable prime chains of length 5 and prints them to debug.log. The printing frequency is also increased.

This version crashes at startup, or very shortly thereafter on my i7-3820.  I have used the other builds without incident as you have released them.



Nm, I was testing with a very large sievesize (10485760).  If I set it to a more sane value it works fine.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: DigitalDoom on July 15, 2013, 06:58:30 PM
Finally found a block!

First one since the 9th...before everything got crazy.

Got it with hp3 on an i5 machine.

I've been trying to get a build set up on DO, but I'm a complete noob with Linux and keep running into errors along the way. So....I've now installed Ubuntu in a virtual machine and trying to figure it out before wasting any more $$ trying to learn on VPS.

Sure wish this build was available on the 7th when I first started Prime. Of course, I also wish I had taken the time to learn Linux way before block rewards dropped to 12. Block rewards of 20 sure were nice while they lasted.

Thanks much for all of your work on this.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: usahero on July 15, 2013, 07:15:27 PM
Finally found a block!

First one since the 9th...before everything got crazy.

Got it with hp3 on an i5 machine.

I've been trying to get a build set up on DO, but I'm a complete noob with Linux and keep running into errors along the way. So....I've now installed Ubuntu in a virtual machine and trying to figure it out before wasting any more $$ trying to learn on VPS.

Sure wish this build was available on the 7th when I first started Prime. Of course, I also wish I had taken the time to learn Linux way before block rewards dropped to 12. Block rewards of 20 sure were nice while they lasted.

Thanks much for all of your work on this.

Ups, check private message :p


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 15, 2013, 07:16:33 PM
Starting up I used
Code:
sudo nice -n19 primecoind --daemon

Still not working for me.

Does nice use PATH lookup? I would have expected it would be up to you to tell it explicitly what to run.

Thus, for example, if primecoind is in the current directory, you'd normally do ./primecoind since path lookup does not normally look in current directory, but, using nice, I would think nice is looking in the current directory for primecoin since you didn't tell it for example to run /usr/local/bin/primecoind.

So make sure primecoind is where you are telling nice that it is...

primestart.sh
Code:
#!/bin/bash


PRIMECOIND=/usr/local/bin/primecoind
DATADIR=$HOME/.primecoin


nice ${PRIMECOIND} -datadir=$DATADIR -rescan -maxconnections=8 \
        -rpcuser=primeuser -rpcpassword=TopSecretPasswordForRPC \
        -gen=1 -daemon -rpcport=9912

Also, is 19 niceness really necessary? Doesn't the normal plain old nice, which defaults to niceness of 10, suffice? Are you sure you want CPU mining to have the lowest priority of all, behind all normal nice'd processes? It defaults to 10 to leave room for ridiculously low priority things to be given more niceness and to leave room for some things to be nice but not as nice as normal/default nicenss of 10...

Also, why the fuck do you run a coin daemon as root? Isn't it bad enough not running it as a user specially created for that coin so it has no access to other users stuff, without going and giving it root access to your machine, even IF you put it in a virtual machine all to itself? (aka WFT is sudo in there for?!?!?!)

-MarkM-


Easy there now, calm down.  I'm only just starting out on linux.

I was suggested by someone else to do "nice -n19" by someone else.  I'm trying to give it a lower priority since it's dropping my GPU mining hash rate from 700khps to 500khps.  I was told to use "nice" command instead of setgenerate true 7.

The normal steps I learned to do get primecoin going is:
Code:
git clone https://github.com/mikaelh2/primecoin
cd primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin
cd /usr/local/bin
primecoind --daemon
watch 'primecoind getmininginfo'

If I tried to do just "primecoind setgenerate true -1" instead of "primecoind --daemon", it says something about couldn't connect to server.

Now I'm trying to understand how to use the nice command.  Someone said to use it when I first start primecoind but that didn't do anything.

The sudo is there because when I tried just "nice primecoind --daemon", it gave me a permission error."


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 15, 2013, 07:16:37 PM
The windows binary primecoin-qt hp4 is running at roughly half the pps of hp3 on my nehalem i7. Ideas?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: datguyian on July 15, 2013, 07:19:08 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 07:22:15 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.

Short answer: Use a pool: http://ypool.net/news.php


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Aggrophobia on July 15, 2013, 07:32:29 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.

Short answer: Use a pool: http://ypool.net/news.php


BS


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: DigitalDoom on July 15, 2013, 07:33:07 PM
Finally found a block!

First one since the 9th...before everything got crazy.

Got it with hp3 on an i5 machine.

I've been trying to get a build set up on DO, but I'm a complete noob with Linux and keep running into errors along the way. So....I've now installed Ubuntu in a virtual machine and trying to figure it out before wasting any more $$ trying to learn on VPS.

Sure wish this build was available on the 7th when I first started Prime. Of course, I also wish I had taken the time to learn Linux way before block rewards dropped to 12. Block rewards of 20 sure were nice while they lasted.

Thanks much for all of your work on this.

Ups, check private message :p

Thanks for the (quite expensive) offer.

However, I'm thinking it would be much greater benefit for me if I figure this one out on my own. The whole..."give a man a fish..." thing, ya know.  ;)



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 15, 2013, 07:36:14 PM
Just upgraded. PPS seems higher, I'll check the new metric. What is a good sievesize now with this hp4 build?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 07:36:42 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.

Short answer: Use a pool: http://ypool.net/news.php


BS

Are you worried people will get a leg up on your 100 servers?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 15, 2013, 07:45:45 PM
The normal steps I learned to do get primecoin going is:
Code:
git clone https://github.com/mikaelh2/primecoin
cd primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin
cd /usr/local/bin
primecoind --daemon
watch 'primecoind getmininginfo'

If I tried to do just "primecoind setgenerate true -1" instead of "primecoind --daemon", it says something about couldn't connect to server.

Presumably /usr/local/bin is on your path, because linux normally does not include its current directrory in its path so normally you would have to do ./programname when you go to the program's location to run it. So, since primecoind works, there is no need to cd /usr/local/bin

Also, I didn't even know they had enabled double dash commandline switches like --daemon, does that actually work nowadays? Back in the day all those were single-dash, like -daemon.

So maybe try
Code:
cd primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin
nice /usr/local/bin/primecoind -daemon -gen=1
watch '/usr/local/bin/primecoind getmininginfo'

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: reb0rn21 on July 15, 2013, 07:47:21 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.

Short answer: Use a pool: http://ypool.net/news.php

Does the pool worx fine?
I know its hard to do pool with primes, and i hear not match get mined @pool


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: SC123 on July 15, 2013, 07:57:10 PM
What sieve size is everyone using?

mikaelh said earlier that he got significantly more blocks (on the testnet) with a sieve size of 2 million instead of 1 million.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 15, 2013, 07:58:42 PM
What sieve size is everyone using?

mikaelh said earlier that he got significantly more blocks (on the testnet) with a sieve size of 2 million instead of 1 million.

1M, switching to 2M now.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 15, 2013, 08:02:52 PM
What sieve size is everyone using?

mikaelh said earlier that he got significantly more blocks (on the testnet) with a sieve size of 2 million instead of 1 million.

1M, switching to 2M now.
You need to test it out for yourself as its hardware dependent.  I have mixed results but have found that somewhere between 1-3m seems to best


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 15, 2013, 08:05:20 PM
What sieve size is everyone using?

mikaelh said earlier that he got significantly more blocks (on the testnet) with a sieve size of 2 million instead of 1 million.

1M, switching to 2M now.
You need to test it out for yourself as its hardware dependent.  I have mixed results but have found that somewhere between 1-3m seems to best

I got 2 blocks last night @ 1M. I'll run 2M for 12 hours and see what happens.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: megges on July 15, 2013, 08:08:55 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.

Short answer: Use a pool: http://ypool.net/news.php


BS

^^ ... virustotal.com says?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: TheSwede75 on July 15, 2013, 08:13:01 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.

Short answer: Use a pool: http://ypool.net/news.php


BS

^^ ... virustotal.com says?

Common sense says?  ::)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: crendore on July 15, 2013, 08:14:53 PM
changed seive size to 2m restarted, boom! hit a block instantly. probably just dumb luck.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 15, 2013, 08:15:18 PM
The normal steps I learned to do get primecoin going is:
Code:
git clone https://github.com/mikaelh2/primecoin
cd primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin
cd /usr/local/bin
primecoind --daemon
watch 'primecoind getmininginfo'

If I tried to do just "primecoind setgenerate true -1" instead of "primecoind --daemon", it says something about couldn't connect to server.

Presumably /usr/local/bin is on your path, because linux normally does not include its current directrory in its path so normally you would have to do ./programname when you go to the program's location to run it. So, since primecoind works, there is no need to cd /usr/local/bin

Also, I didn't even know they had enabled double dash commandline switches like --daemon, does that actually work nowadays? Back in the day all those were single-dash, like -daemon.

So maybe try
Code:
cd primecoin/src
make -f makefile.unix
mv primecoind /usr/local/bin
nice /usr/local/bin/primecoind -daemon -gen=1
watch '/usr/local/bin/primecoind getmininginfo'

-MarkM-


Never tried single dash to be honest.  I was just going by digitalocean's guide which has the double dash.
I didn't include the -gen=1 because it's in my config file already.

I go to the /usr/local/bin location so that I don't have to type /usr/local/bin/primecoind whenever I want to do another command.  Just simply primecoind command.

I finally got "nice" to work nice for me. But it's not being nice to me.  PPS is low and the GPU miner still suffers at 580 something.  Cores usage are all over the place instead of a steady 100%. I'm going back to using 7 cores instead which still gives me only a 500 PPS loss and a drop of only 20khps on the GPU miner.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: datguyian on July 15, 2013, 08:20:33 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.

Short answer: Use a pool: http://ypool.net/news.php

Does the pool worx fine?
I know its hard to do pool with primes, and i hear not match get mined @pool


Just discovered and started using the pool.. Looks to be really slow at finding blocks right now, even with 72 workers.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 15, 2013, 08:23:00 PM
changed seive size to 2m restarted, boom! hit a block instantly. probably just dumb luck.

Lucky... haha :P


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 15, 2013, 08:26:17 PM
I go to the /usr/local/bin location so that I don't have to type /usr/local/bin/primecoind whenever I want to do another command.  Just simply primecoind command.

That should not work. The current directory you are in is deliberately not on PATH for security reasons, so being there should force you to use ./primecoind command, the ./ meaning in the current directory.

So most likely /usr/local/bin is on your path, it normally is, and that means you don't have to be there, from anywhere you should be able to do primecoind command and it will look on the PATH and find a copy of it in /usr/local/bin and if not there then try /bin and /usr/bin, heck it might even try ~/.local/bin

So you should not have to go there, or, if you do have to, then you should have to use the ./ prefix to force it to look in the current directory.

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: teknohog on July 15, 2013, 08:34:49 PM
Also, I didn't even know they had enabled double dash commandline switches like --daemon, does that actually work nowadays? Back in the day all those were single-dash, like -daemon.

Never tried single dash to be honest.  I was just going by digitalocean's guide which has the double dash.

This is going way off topic, but as a somewhat oldskool Linux/unix geek it's interesting to see how cryptocurrencies make people learn about real computingTM ;)

GNU style options always have long and short forms, distinguished by the dashes. For example, you'd have both --daemon and -d for the same option. Not everything follows this, though, so --daemon might be completely different from -daemon.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 15, 2013, 08:37:59 PM
I go to the /usr/local/bin location so that I don't have to type /usr/local/bin/primecoind whenever I want to do another command.  Just simply primecoind command.

That should not work. The current directory you are in is deliberately not on PATH for security reasons, so being there should force you to use ./primecoind command, the ./ meaning in the current directory.

So most likely /usr/local/bin is on your path, it normally is, and that means you don't have to be there, from anywhere you should be able to do primecoind command and it will look on the PATH and find a copy of it in /usr/local/bin and if not there then try /bin and /usr/bin, heck it might even try ~/.local/bin

So you should not have to go there, or, if you do have to, then you should have to use the ./ prefix to force it to look in the current directory.

-MarkM-


I guess I'm super special.  I just "cd /usr/local/bin" and do "primecoind command" and it does work.  Never had the need to do a ./ prefix.

I'm just too lazy to type the entire directory out when the only thing that concerns me in this VM is just primecoind and it works fine.

In any case, thanks for all you guys help in figuring out my original issue even though all I needed to do was reboot the VM for some reason.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 15, 2013, 08:38:22 PM
I can't find the command to change the sievesize, on a Linux VPS
I tried : primecoind -sievesize 2000000
 But it doesn't work.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ribal on July 15, 2013, 08:39:46 PM
No matter waht version, even official, i try, i get this



Program: primexoin-qt.exe
File: src/main.cpp
Line: 1719

Expression: pfork!= NULL



Whats wrong? Already re-installed.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 15, 2013, 08:43:10 PM
I can't find the command to change the sievesize, on a Linux VPS
I tried : primecoind -sievesize 2000000
 But it doesn't work.

primecoind --daemon -sievesize=2000000

 ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: masterOfDisaster on July 15, 2013, 08:44:11 PM
I can't find the command to change the sievesize, on a Linux VPS
I tried : primecoind -sievesize 2000000
 But it doesn't work.

Here is how it works:
https://bitcointalk.org/index.php?topic=255782.msg2729106#msg2729106

Or try adding it to your "primecoin.conf":
sievesize=2000000
The primecoin.conf should be located at ~/.primecoin in linux installations. If not, create one there ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 15, 2013, 08:45:36 PM
Thanks :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 08:45:44 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.

Short answer: Use a pool: http://ypool.net/news.php

Does the pool worx fine?
I know its hard to do pool with primes, and i hear not match get mined @pool

Yes I've used it. I sandboxed jhPrimeminer.exe and it's not malicious. They pay you shares. Their system now is imperfect and less efficient than HP4 but you are guaranteed a payout where as solo mining you are not.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 15, 2013, 08:49:56 PM
I guess I'm super special.  I just "cd /usr/local/bin" and do "primecoind command" and it does work.  Never had the need to do a ./ prefix.

Just leave out the cd /usr/local/bin, the command should work no matter what directory you are in, the cd is not needed and its a bad place to sit too because for example if core dumps happen they like to land in your current directory, so in general it is best practice for your current directory to be one you have write access to and also one where you will expect/know to go looking for anything you created as side effects when doing things, such as core dump files. Likely core dumps are turned off, but still it is pointless to do that cd, as the reason the program was itself put in /usr/local/bin was so that you will be able to execute it from anywhere, because /usr/local/bin is on your PATH when you are a user in a shell. (it is usually deliberately not in the PATH for scripts run by the cron daemon and stuff like that).

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 15, 2013, 08:54:25 PM
I'm on a Ubuntu VPS and HP4 keep crashing on some of my instance.
Is there an easy way to auto-restart an program when he crashes?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 15, 2013, 09:00:03 PM
changed seive size to 2m restarted, boom! hit a block instantly. probably just dumb luck.

Lucky... haha :P

Almost certainly, but I've noticed that block findings are more common after just starting the primecoind (first 1/2 hour) then regularly. Maybe I'm imagining things.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 15, 2013, 09:04:53 PM
changed seive size to 2m restarted, boom! hit a block instantly. probably just dumb luck.

Lucky... haha :P

Almost certainly, but I've noticed that block findings are more common after just starting the primecoind (first 1/2 hour) then regularly. Maybe I'm imagining things.

Hhmm... well luck is on your side. :)

I have 9 VPSs right now running the new hp4 build and nothing... What's your sievesize? (if you don't mind sharing)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Moebius327 on July 15, 2013, 09:10:03 PM
using mikaelhs's build 2 with no a sieve size changes. 15 blocks today. 15k pps


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 15, 2013, 09:17:52 PM
My primecoind keep turning off when mining for a while? Have to start primecoind again and watch.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 15, 2013, 09:25:11 PM
changed seive size to 2m restarted, boom! hit a block instantly. probably just dumb luck.

Lucky... haha :P

Almost certainly, but I've noticed that block findings are more common after just starting the primecoind (first 1/2 hour) then regularly. Maybe I'm imagining things.

Hhmm... well luck is on your side. :)

I have 9 VPSs right now running the new hp4 build and nothing... What's your sievesize? (if you don't mind sharing)

I had default until an hour ago, just switched to 2mil, everybody seam to recommend it, and I really have no time to test it myself on testnet.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 15, 2013, 09:35:11 PM
I'm gonna try different sieve sizes on digitalocean vps...having 0 blocks for a day so far.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 15, 2013, 09:45:44 PM
Mining with this. Found 2 blocks since I installed it. Looking good.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 15, 2013, 09:47:58 PM
Mining with this. Found 2 blocks since I installed it. Looking good.
Mining with what?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 09:54:05 PM
Mining with this. Found 2 blocks since I installed it. Looking good.

What are you running? How many PPS?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: adambeazley on July 15, 2013, 10:06:24 PM
so if I just replace the primecoin-qt.exe and the daemon on this windows machine, what will happen with the coins that are already on this machine? Or is it best to send these coins to another account before installing this release on this machine?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 15, 2013, 10:11:51 PM
Mining with this. Found 2 blocks since I installed it. Looking good.

What are you running? How many PPS?
Personally owned Xeon rack server. With known benchmarks it's about as fast as an ivy bridge core i5 although maybe it's faster with this highly specialized purpose? 3400-4000 pps.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Armchair Miner on July 15, 2013, 10:13:01 PM
The client seems to crash for me after few minutes of mining

running hp3-win64
on Win 7 x64 I7 930

http://i42.tinypic.com/2cpdu9v.png

any ideas?

This is what I got, and only once, only after hours of mining, and never again since restart.

EDIT This was with hp3, I7 2660


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 15, 2013, 10:13:43 PM
so if I just replace the primecoin-qt.exe and the daemon on this windows machine, what will happen with the coins that are already on this machine? Or is it best to send these coins to another account before installing this release on this machine?

We need good Wiki or a FAQ. Same questions been asked over and over again, and you can't point people anywhere.

Your coins are tied to your private key(s), which is in wallet.dat file. That file is located in totally separate directory from your Primecoin client, and any re-installation has no effect on it.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: crendore on July 15, 2013, 10:54:16 PM
I'm gonna try different sieve sizes on digitalocean vps...having 0 blocks for a day so far.

Honestly, digitalocean is crap. don't waste your money on that crap VPS. there are better VPS's out there that you will see much better performance on for a similar price.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: pgbit on July 15, 2013, 10:55:25 PM
so if I just replace the primecoin-qt.exe and the daemon on this windows machine, what will happen with the coins that are already on this machine? Or is it best to send these coins to another account before installing this release on this machine?

We need good Wiki or a FAQ. Same questions been asked over and over again, and you can't point people anywhere.

Your coins are tied to your private key(s), which is in wallet.dat file. That file is located in totally separate directory from your Primecoin client, and any re-installation has no effect on it.
^ Wiki is needed, agreed.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 15, 2013, 10:56:46 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.

Short answer: Use a pool: http://ypool.net/news.php


BS

Are you worried people will get a leg up on your 100 servers?

I am extremely skeptical that this is an actual pool. Writing a pool for XPM looks quite hard and I doubt these guys did it in 7 days. More likely they are just pooling the coins that are solo mined by their users and keeping them.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 15, 2013, 10:59:08 PM
Ok so which Mikael build is working best ? hp2, hp3, or hp4? Also which sievesize is best?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: kendog77 on July 15, 2013, 10:59:36 PM
So far, my core 2 duo processor is getting 3-400 PPS compared to 50ish it was getting originally. Of course I still haven't found a block yet... I'm sure global PPS is way up there now. I'll leave it running for 24 hours to see if it's worth it.

Short answer: Use a pool: http://ypool.net/news.php


BS

Are you worried people will get a leg up on your 100 servers?

I am extremely skeptical that this is an actual pool. Writing a pool for XPM looks quite hard and I doubt these guys did it in 7 days. More likely they are just pooling the coins that are solo mined by their users and keeping them.

Agreed, the primecoin pool protocol hasn't even been finalized yet. Until the protocol on how to split up primecoin work for pools is finalized and implemented, it don't see how it is feasible to run a "fair" pool.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: reb0rn21 on July 15, 2013, 11:01:44 PM
I just did test with mine haswell i5 and looks like i need bigger sievesize 2M to 4M, is that change because of diff rise?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 15, 2013, 11:06:23 PM
Ok so which Mikael build is working best ? hp2, hp3, or hp4? Also which sievesize is best?

hp4 is the best as far as pps. On the 18 machines I have access to right now they all saw pps boosts of about 10-20% over hp2/3. They are windows and ubuntu core 2 due, core 2 quad, core i7.

Optimal sieve size is cpu dependent, you would have to do tests on testnet to find it for yours.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Jigsaw on July 15, 2013, 11:11:44 PM
So github just disabled the repository. What do?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 15, 2013, 11:14:28 PM
So github just disabled the repository. What do?

wow, we DDOS'd github from building so much


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Jigsaw on July 15, 2013, 11:23:18 PM
Yet another failure of github's hipsters and/or people who somehow like to use this shit.

I mirrored my copy there: https://bitbucket.org/pankkake/mikaelh2-primecoin

Not that bitbucket is less of a hipster shit.

Thank you. I'm assuming this is hp4?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 15, 2013, 11:25:34 PM
Hp4 give the most PPS, but i think hp2 give better result.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: akspa on July 15, 2013, 11:35:18 PM
I haven't mined any blocks since moving on to hp2 or hp4, but the pps has increased well over 2-3 times what it was with the stock client.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 15, 2013, 11:37:43 PM
mikaelh2's github repo has been disabled.

A little too popular?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 15, 2013, 11:51:05 PM
Quote
This repository has been disabled.

Access to this repository has been disabled by GitHub staff due to excessive use of resources. Contact support to restore access to this repository. Read here to learn more about decreasing the size of your repository.

How is that possible?  It doesn't actually RUN on github...  Did anyone make a branch or clone??


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: BitcoinFX on July 15, 2013, 11:54:09 PM
mikaelh2's github repo has been disabled.

A little too popular?

Yes. It seems that calculating the ever changing distance between rock and stardom is not approved of by GitHub staff...

"This repository has been disabled.

Access to this repository has been disabled by GitHub staff due to excessive use of resources. Contact support to restore access to this repository. Read here to learn more about decreasing the size of your repository."

Lets all send them an email to get it reactivated... in binary - lol  ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 15, 2013, 11:56:08 PM
Did anyone make a branch or clone??
Yes, just look on the previous page.



I'm not sure why I even bother...

This is the main issue imo that Primecoin is going through. There is no order to any release of anything. We need somehow to better organize source code/software releases so they are accessible to everyone--and so good citizens like yourself don't have to keep saying the same thing 50 times in a row.  Not to mention people not being able to figure out how to compile etc. There are some good posts on Reddit for anyone wondering how to compile a source code on linux.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: forsetifox on July 15, 2013, 11:57:01 PM
mikaelh2's github repo has been disabled.

A little too popular?

Yes. It seems that calculating the ever changing distance between rock and stardom is not approved of by GitHub staff...

"This repository has been disabled.

Access to this repository has been disabled by GitHub staff due to excessive use of resources. Contact support to restore access to this repository. Read here to learn more about decreasing the size of your repository."

Lets all send them an email to get it reactivated... in binary - lol  ;D

Wow.. I think that's a first here..  :D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 16, 2013, 12:13:33 AM
mikaelh2's github repo has been disabled.

A little too popular?

Yes. It seems that calculating the ever changing distance between rock and stardom is not approved of by GitHub staff...

"This repository has been disabled.

Access to this repository has been disabled by GitHub staff due to excessive use of resources. Contact support to restore access to this repository. Read here to learn more about decreasing the size of your repository."

Lets all send them an email to get it reactivated... in binary - lol  ;D

Wow.. I think that's a first here..  :D

I guess that's what happens when you command an entire bot-net to download from github...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: oroqen on July 16, 2013, 12:18:08 AM
mikaelh2's github repo has been disabled.

A little too popular?

Yes. It seems that calculating the ever changing distance between rock and stardom is not approved of by GitHub staff...

"This repository has been disabled.

Access to this repository has been disabled by GitHub staff due to excessive use of resources. Contact support to restore access to this repository. Read here to learn more about decreasing the size of your repository."

Lets all send them an email to get it reactivated... in binary - lol  ;D

Wow.. I think that's a first here..  :D

I guess that's what happens when you command an entire bot-net to download from github...
Funny, but botnets aren't typically on UNIX systems


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 16, 2013, 12:18:18 AM
mikaelh2's github repo has been disabled.

A little too popular?

Yes. It seems that calculating the ever changing distance between rock and stardom is not approved of by GitHub staff...

"This repository has been disabled.

Access to this repository has been disabled by GitHub staff due to excessive use of resources. Contact support to restore access to this repository. Read here to learn more about decreasing the size of your repository."

Lets all send them an email to get it reactivated... in binary - lol  ;D

Wow.. I think that's a first here..  :D

I guess that's what happens when you command an entire bot-net to download from github...

Or DDOS it to trigger a ban, I suppose.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: BitcoinFX on July 16, 2013, 12:26:43 AM
We canz makez primezperrrrrzec on GitHub'z ?  :D

Well I guess something must of used up all the bandwidth or triggered an overflow *Shrugs*  ???


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mhps on July 16, 2013, 12:49:51 AM
I find a problem with hp4 which I didn't find hp2 to have. On my xeon machine when sievesize is 5M the client crashes soon after started.
TOok me some time to find out because it also happened after i clicked on the client before quitting the previous run.


about github disabling .. meguesses someone attacked the account so that other people cannot access it.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 16, 2013, 12:53:05 AM
Wow. I just realized that with the 2 blocks I mined using this client, and the exchange rates for XPM/BTC on Vircurex, I made 0.09 BTC In one day! Damn, is this luck? I'm mining with i5 performance hardware.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 16, 2013, 01:07:50 AM
Wow. I just realized that with the 2 blocks I mined using this client, and the exchange rates for XPM/BTC on Vircurex, I made 0.09 BTC In one day! Damn, is this luck? I'm mining with i5 performance hardware.

Huh? Missed a decimal or something? how many coins in each of those two blocks and what was the price on Vircurex?

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: FiiNALiZE on July 16, 2013, 01:09:18 AM
I would like to thank everyone who made XPM a success.

You guys have just paid my power costs this month in 3 days.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 16, 2013, 01:10:55 AM
Me too. Except I bought myself new headphones, an SD card, and a camera with the money I made. God I love crypto economics. ;)

Wow. I just realized that with the 2 blocks I mined using this client, and the exchange rates for XPM/BTC on Vircurex, I made 0.09 BTC In one day! Damn, is this luck? I'm mining with i5 performance hardware.

Huh? Missed a decimal or something? how many coins in each of those two blocks and what was the price on Vircurex?

-MarkM-

~13 XPM per block. Total of ~25 XPM. Vircurex price of 0.0037988 BTC per XPM. Traded for 0.09727253 BTC. Traded for ~3 LTC.


It's legit bro.

I guess I just got real lucky. :P


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 16, 2013, 01:15:25 AM
Ok, so I have followed all guides on how to install this but it still doesn't work on Ubuntu 13 x64bits (I managed to install it on 32 bits, same problem with Debian).
Can anyone please tell what's is wrong with this compiling error?:
http://ecoinomist.com/error3.png

I got these installed:
Code:
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
apt-get install libgmp-dev

cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 16, 2013, 01:16:21 AM
Ok, so I have followed all guides on how to install this but it still doesn't work on Ubuntu 13 x64bits (I managed to install it on 32 bits, same problem with Debian).
Can anyone please tell what's is wrong with this error?:

I got these installed:
Code:
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
apt-get install libgmp-dev

cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-


How much ram do you have on that server?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 16, 2013, 01:16:26 AM
GIT IS DOWN... and DISABLED

ANYONE HAVE AN ALTERNATIVE? I don't think I saved his resources.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 16, 2013, 01:19:23 AM
We'll have to wait for him to re-upload.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 16, 2013, 01:19:53 AM
GIT IS DOWN... and DISABLED

ANYONE HAVE AN ALTERNATIVE? I don't think I saved his resources.

https://sourceforge.net/projects/primecoin-hp/files/


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 16, 2013, 01:23:26 AM
Me too. Except I bought myself new headphones, an SD card, and a camera with the money I made. God I love crypto economics. ;)

Wow. I just realized that with the 2 blocks I mined using this client, and the exchange rates for XPM/BTC on Vircurex, I made 0.09 BTC In one day! Damn, is this luck? I'm mining with i5 performance hardware.

Huh? Missed a decimal or something? how many coins in each of those two blocks and what was the price on Vircurex?

-MarkM-

~13 XPM per block. Total of ~25 XPM. Vircurex price of 0.0037988 BTC per XPM. Traded for 0.09727253 BTC. Traded for ~3 LTC.


It's legit bro.

I guess I just got real lucky. :P

Oh its your before machine electricity and airconditioner electricity earnings when you got a fluke price at Vircurex then, okay that makes sense.

How many machines ate how much electricity to get there though? ;)

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 16, 2013, 01:49:56 AM
One machine (a rack server). It draws 200 watts when mining. (I tested) Took less than 24 hours of mining to get that far. I estimate the electricity it drew when doing this costed about 5 cents, although I'm not paying electricity because it's included in rent anyways.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 16, 2013, 01:52:38 AM
is the sievesize default for hp4 ok or should this change based on your system? I have a core i7 running (8 threads)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 16, 2013, 01:57:03 AM
is the sievesize default for hp4 ok or should this change based on your system? I have a core i7 running (8 threads)

Or better yet, do folks have recommended sievesizes for different platforms?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 16, 2013, 02:20:11 AM
Ok, so I have followed all guides on how to install this but it still doesn't work on Ubuntu 13 x64bits (I managed to install it on 32 bits, same problem with Debian).
Can anyone please tell what's is wrong with this error?:

I got these installed:
Code:
apt-get install git
git clone https://github.com/mikaelh2/primecoin
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
apt-get install libgmp-dev

cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-


How much ram do you have on that server?

512MB, I was able to install the official client before, seems to be having the same problem installing even new official client now.

Will swapping help?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: adambeazley on July 16, 2013, 02:50:53 AM
so if I just replace the primecoin-qt.exe and the daemon on this windows machine, what will happen with the coins that are already on this machine? Or is it best to send these coins to another account before installing this release on this machine?

We need good Wiki or a FAQ. Same questions been asked over and over again, and you can't point people anywhere.

Your coins are tied to your private key(s), which is in wallet.dat file. That file is located in totally separate directory from your Primecoin client, and any re-installation has no effect on it.

on a windows machine, where is this wallet.dat file stored? Im not finding it.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: glongsword on July 16, 2013, 02:55:17 AM
so if I just replace the primecoin-qt.exe and the daemon on this windows machine, what will happen with the coins that are already on this machine? Or is it best to send these coins to another account before installing this release on this machine?

We need good Wiki or a FAQ. Same questions been asked over and over again, and you can't point people anywhere.

Your coins are tied to your private key(s), which is in wallet.dat file. That file is located in totally separate directory from your Primecoin client, and any re-installation has no effect on it.

on a windows machine, where is this wallet.dat file stored? Im not finding it.

It depends on your version of windows, but it's in the hidden app data > roaming > primecoin folder in your user account folder.  It's easier to just select "backup wallet" from the file menu and put it somewhere where you can find it easily.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 16, 2013, 02:55:51 AM
so if I just replace the primecoin-qt.exe and the daemon on this windows machine, what will happen with the coins that are already on this machine? Or is it best to send these coins to another account before installing this release on this machine?

We need good Wiki or a FAQ. Same questions been asked over and over again, and you can't point people anywhere.

Your coins are tied to your private key(s), which is in wallet.dat file. That file is located in totally separate directory from your Primecoin client, and any re-installation has no effect on it.

on a windows machine, where is this wallet.dat file stored? Im not finding it.

Should be appdata/primecoin


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 16, 2013, 02:57:52 AM
so if I just replace the primecoin-qt.exe and the daemon on this windows machine, what will happen with the coins that are already on this machine? Or is it best to send these coins to another account before installing this release on this machine?

We need good Wiki or a FAQ. Same questions been asked over and over again, and you can't point people anywhere.

Your coins are tied to your private key(s), which is in wallet.dat file. That file is located in totally separate directory from your Primecoin client, and any re-installation has no effect on it.

on a windows machine, where is this wallet.dat file stored? Im not finding it.

Should be appdata/primecoin

WindowsKey+R (or Start, Run)
%appdata%\Primecoin


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 16, 2013, 03:29:17 AM
is the sievesize default for hp4 ok or should this change based on your system? I have a core i7 running (8 threads)

Or better yet, do folks have recommended sievesizes for different platforms?

bah ok I was getting 1 block / hr with a sievesize 1M. Trying 2M, will see how it works out.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 16, 2013, 03:41:43 AM
New update V1.2 released on Android users of Primecoin Buzz App

https://bitcointalk.org/index.php?topic=253060.0

http://www.ppcointalk.org/index.php?topic=368.new#new


http://imagethe.net/mc.jpg

http://imagethe.net/fc.jpg

Any tips is greatly appreciated further funding & development.

Thanks!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mhps on July 16, 2013, 04:25:27 AM
I see from the debug.log of hp4 that when I change sievesize test/h increases but 5-chains/h decreases on one machine, all by 2 times. Should I trust 5-chains/h more or test/h more?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 16, 2013, 04:30:10 AM
I'm trying to build this for windows...  What version of GMP is it using?  Is that the only new dependency?

Do I just add it to c:\Deps ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: TheSwede75 on July 16, 2013, 04:31:18 AM
New update V1.2 released on Android users of Primecoin Buzz App

https://bitcointalk.org/index.php?topic=253060.0

http://www.ppcointalk.org/index.php?topic=368.new#new


http://imagethe.net/mc.jpg

http://imagethe.net/fc.jpg

Any tips is greatly appreciated further funding & development.

Thanks!

Dude, stop spamming your glorified RSS feed. If you want to advertise, pay for it.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 16, 2013, 04:44:26 AM
TheSwede75, Simmer Down.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: philipkdick on July 16, 2013, 04:48:41 AM
Simmer down TheSwede75...

I've always loved the term " simmer down " . Lol


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 16, 2013, 04:49:44 AM
Honestly I remember seeing your post twice on this thread, at most. I could be wrong but I think it's a good idea to keep on track with XPM news on the go.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 16, 2013, 05:18:27 AM
[1] why is makefile.unix

and not

makefile.linux-mingw64

used????? ( i am on ubuntu 13.04)


[2] when I use
sudo make -f makefile.unix USE_UPNP=-

i get this error from the source forge hp4

hp3/2/1 apt git clone has been fine

any help appreciated

Code:
sudo make -f makefile.unix USE_UPNP=-
Building LevelDB ...
make[1]: Entering directory `/home/ubuntu/primecoin/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/ubuntu/primecoin/src -I/home/ubuntu/primecoin/src/obj -DUSE_IPV6=1 -I/home/ubuntu/primecoin/src/leveldb/include -I/home/ubuntu/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -c db/._builder.cc -o db/._builder.o
db/._builder.cc:1:1: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\5’ in program
db/._builder.cc:1:2: error: stray ‘\26’ in program
db/._builder.cc:1:2: error: stray ‘\7’ in program
db/._builder.cc:1:5: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\2’ in program
db/._builder.cc:1:7: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:17: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\2’ in program
db/._builder.cc:1:27: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:35: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\16’ in program
db/._builder.cc:1:2: error: stray ‘\260’ in program
db/._builder.cc:1:39: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\2’ in program
db/._builder.cc:1:43: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\16’ in program
db/._builder.cc:1:2: error: stray ‘\342’ in program
db/._builder.cc:1:47: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:51: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:89: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\27’ in program
db/._builder.cc:1:2: error: stray ‘\333’ in program
db/._builder.cc:1:93: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\16’ in program
db/._builder.cc:1:2: error: stray ‘\342’ in program
db/._builder.cc:1:97: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\230’ in program
db/._builder.cc:1:101: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\32’ in program
db/._builder.cc:1:105: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:121: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\230’ in program
db/._builder.cc:1:125: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\32’ in program
db/._builder.cc:1:129: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\25’ in program
db/._builder.cc:1:152: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:158: error: invalid suffix "d5" on floating constant
db/._builder.cc:1:179: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:3814: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:3818: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:3870: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:4070: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:4074: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:4083: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\34’ in program
db/._builder.cc:1:4093: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:2: error: stray ‘\377’ in program
db/._builder.cc:1:2: error: stray ‘\377’ in program
db/._builder.cc:1:9: error: ‘Mac’ does not name a type
db/._builder.cc:1:158: error: expected unqualified-id before numeric constant
db/._builder.cc:1:167: error: ‘Firefox’ does not name a type
db/._builder.cc:1:3827: error: ‘This’ does not name a type
make[1]: *** [db/._builder.o] Error 1
make[1]: Leaving directory `/home/ubuntu/primecoin/src/leveldb'
make: *** [leveldb/libleveldb.a] Error 2



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 16, 2013, 05:28:46 AM
is the sievesize default for hp4 ok or should this change based on your system? I have a core i7 running (8 threads)

Or better yet, do folks have recommended sievesizes for different platforms?

bah ok I was getting 1 block / hr with a sievesize 1M. Trying 2M, will see how it works out.

Update: not seeing much of a difference. Still ~ 1 block/hr.

Completely unrelated Q, do folks know how the primecoind daemon generates it's randomized primes, is this via a random seed generator? Just want to check that my duplicate linux systems aren't trying to find the same blocks .


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: sumantso on July 16, 2013, 05:33:27 AM
Seeing a small boost with hp4. Still running dry for over 30 hours *fingers crossed*


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 16, 2013, 05:34:40 AM
Seeing a small boost with hp4. Still running dry for over 30 hours *fingers crossed*

I was dry for over 72 hours than BAM BAM 2 blocks in 3 hours. That was at around 2900-3500 PPs.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: sumantso on July 16, 2013, 05:39:08 AM
Seeing a small boost with hp4. Still running dry for over 30 hours *fingers crossed*

I was dry for over 72 hours than BAM BAM 2 blocks in 3 hours. That was at around 2900-3500 PPs.

Congrats!!

Hoping for the same for me too; running over 3k pps now; will increase it later in the day.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 16, 2013, 05:49:17 AM
Honestly I remember seeing your post twice on this thread, at most. I could be wrong but I think it's a good idea to keep on track with XPM news on the go.

I think it might have been from my signature as I never posted on this thread before until today. It might have been the main thread of the first official release (july 7th). I am working on the news side of things, so currently its only threads/reddit on the go, however, incorporating more resources on the fly.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 16, 2013, 05:51:25 AM
Simmer down TheSwede75...

I've always loved the term " simmer down " . Lol

yeah, me too. It's a soothing/relaxing and non-threatening/defensive term. Crisp and clear.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: fluffypony on July 16, 2013, 05:59:07 AM
[1] why is makefile.unix

and not

makefile.linux-mingw64

used????? ( i am on ubuntu 13.04)


[2] when I use
sudo make -f makefile.unix USE_UPNP=-

i get this error from the source forge hp4

hp3/2/1 apt git clone has been fine

any help appreciated

Code:
sudo make -f makefile.unix USE_UPNP=-
Building LevelDB ...
make[1]: Entering directory `/home/ubuntu/primecoin/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/ubuntu/primecoin/src -I/home/ubuntu/primecoin/src/obj -DUSE_IPV6=1 -I/home/ubuntu/primecoin/src/leveldb/include -I/home/ubuntu/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -c db/._builder.cc -o db/._builder.o
db/._builder.cc:1:1: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\5’ in program
db/._builder.cc:1:2: error: stray ‘\26’ in program
db/._builder.cc:1:2: error: stray ‘\7’ in program
db/._builder.cc:1:5: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\2’ in program
db/._builder.cc:1:7: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:17: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\2’ in program
db/._builder.cc:1:27: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:35: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\16’ in program
db/._builder.cc:1:2: error: stray ‘\260’ in program
db/._builder.cc:1:39: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\2’ in program
db/._builder.cc:1:43: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\16’ in program
db/._builder.cc:1:2: error: stray ‘\342’ in program
db/._builder.cc:1:47: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:51: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:89: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\27’ in program
db/._builder.cc:1:2: error: stray ‘\333’ in program
db/._builder.cc:1:93: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\16’ in program
db/._builder.cc:1:2: error: stray ‘\342’ in program
db/._builder.cc:1:97: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\230’ in program
db/._builder.cc:1:101: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\32’ in program
db/._builder.cc:1:105: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:121: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\230’ in program
db/._builder.cc:1:125: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\32’ in program
db/._builder.cc:1:129: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\25’ in program
db/._builder.cc:1:152: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:158: error: invalid suffix "d5" on floating constant
db/._builder.cc:1:179: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:3814: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:3818: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:3870: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:4070: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:4074: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:4083: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\34’ in program
db/._builder.cc:1:4093: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:2: error: stray ‘\377’ in program
db/._builder.cc:1:2: error: stray ‘\377’ in program
db/._builder.cc:1:9: error: ‘Mac’ does not name a type
db/._builder.cc:1:158: error: expected unqualified-id before numeric constant
db/._builder.cc:1:167: error: ‘Firefox’ does not name a type
db/._builder.cc:1:3827: error: ‘This’ does not name a type
make[1]: *** [db/._builder.o] Error 1
make[1]: Leaving directory `/home/ubuntu/primecoin/src/leveldb'
make: *** [leveldb/libleveldb.a] Error 2


Learn to Google: http://en.wikipedia.org/wiki/MinGW. MinGW is for Windows. You're not running Windows.

On your errors: looks like an encoding issue or a bad download from github. I would suggest re-downloading it from the Sourceforge link that is in this thread (until the Git repo is fixed).


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Koooooj on July 16, 2013, 06:16:50 AM
The client seems to crash for me after few minutes of mining

running hp3-win64
on Win 7 x64 I7 930

http://i42.tinypic.com/2cpdu9v.png

any ideas?

This is what I got, and only once, only after hours of mining, and never again since restart.

EDIT This was with hp3, I7 2660

Any news on this?  I seem to get this error every few hours on my i7 3930k (Win 7 x64) but not on any of my other machines with various Intel processors.  A simple restart and it goes away, but if I'm not at my computer then I lose mining time until I can get back.  If I had to make a wild guess, it's asserting that the thread pool has nothing but idle threads, but I've not waded through the source to find what the problem is.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: airtreb on July 16, 2013, 07:04:04 AM
is it possible to run all my 60 computers in my network as one like 1 is a server how?  


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 16, 2013, 07:25:52 AM
is it possible to run all my 60 computers in my network as one like 1 is a server how?  

http://hadoop.apache.org/ (http://hadoop.apache.org/)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 16, 2013, 07:40:45 AM
Completely unrelated Q, do folks know how the primecoind daemon generates it's randomized primes, is this via a random seed generator? Just want to check that my duplicate linux systems aren't trying to find the same blocks .

Good question. I've installed rngd and increased randomness on DigitalOcean instance on someone's advice (buried somewhere deep in these threads). Of course, don't know if it has any effect or not, since nobody measures anything here, it's in Primecoin tradition not to measure on testnet but experiment blindly  :P The reasoning was not only to increase randomness from your own systems but from everybody else running primecoind on linux.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: airtreb on July 16, 2013, 07:43:49 AM
is it possible to run all my 60 computers in my network as one like 1 is a server how?  

http://hadoop.apache.org/

what is this? so complicated even primecoind i can not manage to run what more on this stuff lol :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 16, 2013, 07:52:50 AM
Anyone mining with Core i7 4770K Haswell?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptrol on July 16, 2013, 07:54:41 AM
It seems that the git repo is down ? I noticed when trying to pull the latest (hp4) changes .

http://i.imgur.com/sV87V1a.jpg


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 16, 2013, 08:03:20 AM
It seems that the git repo is down ? I noticed when trying to pull the latest (hp4) changes .

I have sent them an e-mail about that. Now we just have to wait.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 16, 2013, 08:04:52 AM
ok

I am running on

machine
001 hp4,
002 hp2
003 hp3,

report back later


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 16, 2013, 08:05:23 AM
The client seems to crash for me after few minutes of mining

running hp3-win64
on Win 7 x64 I7 930

http://i42.tinypic.com/2cpdu9v.png

any ideas?

This is what I got, and only once, only after hours of mining, and never again since restart.

EDIT This was with hp3, I7 2660

Any news on this?  I seem to get this error every few hours on my i7 3930k (Win 7 x64) but not on any of my other machines with various Intel processors.  A simple restart and it goes away, but if I'm not at my computer then I lose mining time until I can get back.  If I had to make a wild guess, it's asserting that the thread pool has nothing but idle threads, but I've not waded through the source to find what the problem is.

I saw this same crash on one of my Linux boxes. Backtrace shows the crash happens when the mining threads are creating new blocks for mining. I think it's a bug in the original code that gets triggered more often because my code is running faster.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Subw on July 16, 2013, 08:06:43 AM
can anybody make temp repo?
or where can i get latest sources?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: UNOE on July 16, 2013, 08:08:32 AM
when will github be back online.

I tried doing a manual unpacking, I got as far as building the package but I get lost moving the directors.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 16, 2013, 08:08:45 AM
It seems that the git repo is down ? I noticed when trying to pull the latest (hp4) changes .

They even released official explanation that they did it because of over-usage of their resources. Imagine that.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 16, 2013, 08:12:16 AM
It seems that the git repo is down ? I noticed when trying to pull the latest (hp4) changes .

They even released official explanation that they did it because of over-usage of their resources. Imagine that.

Source?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 16, 2013, 08:16:17 AM
It seems that the git repo is down ? I noticed when trying to pull the latest (hp4) changes .

They even released official explanation that they did it because of over-usage of their resources. Imagine that.

Source?

https://bitcointalk.org/index.php?topic=255782.msg2738200#msg2738200

Edit:
Check also this:
http://www.theregister.co.uk/2013/07/16/digitalocean_primecoin_cloud_problems/ (http://www.theregister.co.uk/2013/07/16/digitalocean_primecoin_cloud_problems/)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 16, 2013, 08:19:45 AM
[1] why is makefile.unix

and not

makefile.linux-mingw64

used????? ( i am on ubuntu 13.04)


[2] when I use
sudo make -f makefile.unix USE_UPNP=-

i get this error from the source forge hp4

hp3/2/1 apt git clone has been fine

any help appreciated

Code:
sudo make -f makefile.unix USE_UPNP=-
Building LevelDB ...
make[1]: Entering directory `/home/ubuntu/primecoin/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/ubuntu/primecoin/src -I/home/ubuntu/primecoin/src/obj -DUSE_IPV6=1 -I/home/ubuntu/primecoin/src/leveldb/include -I/home/ubuntu/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -c db/._builder.cc -o db/._builder.o
db/._builder.cc:1:1: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\5’ in program
db/._builder.cc:1:2: error: stray ‘\26’ in program
db/._builder.cc:1:2: error: stray ‘\7’ in program
db/._builder.cc:1:5: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\2’ in program
db/._builder.cc:1:7: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:17: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\2’ in program
db/._builder.cc:1:27: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:35: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\16’ in program
db/._builder.cc:1:2: error: stray ‘\260’ in program
db/._builder.cc:1:39: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\2’ in program
db/._builder.cc:1:43: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\16’ in program
db/._builder.cc:1:2: error: stray ‘\342’ in program
db/._builder.cc:1:47: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:51: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:89: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\27’ in program
db/._builder.cc:1:2: error: stray ‘\333’ in program
db/._builder.cc:1:93: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\16’ in program
db/._builder.cc:1:2: error: stray ‘\342’ in program
db/._builder.cc:1:97: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\230’ in program
db/._builder.cc:1:101: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\32’ in program
db/._builder.cc:1:105: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:121: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\230’ in program
db/._builder.cc:1:125: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\32’ in program
db/._builder.cc:1:129: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\25’ in program
db/._builder.cc:1:152: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:158: error: invalid suffix "d5" on floating constant
db/._builder.cc:1:179: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:3814: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:3818: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:3870: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:4070: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\1’ in program
db/._builder.cc:1:4074: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:4083: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\34’ in program
db/._builder.cc:1:4093: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\36’ in program
db/._builder.cc:1:2: error: stray ‘\377’ in program
db/._builder.cc:1:2: error: stray ‘\377’ in program
db/._builder.cc:1:9: error: ‘Mac’ does not name a type
db/._builder.cc:1:158: error: expected unqualified-id before numeric constant
db/._builder.cc:1:167: error: ‘Firefox’ does not name a type
db/._builder.cc:1:3827: error: ‘This’ does not name a type
make[1]: *** [db/._builder.o] Error 1
make[1]: Leaving directory `/home/ubuntu/primecoin/src/leveldb'
make: *** [leveldb/libleveldb.a] Error 2


Learn to Google: http://en.wikipedia.org/wiki/MinGW. MinGW is for Windows. You're not running Windows.

On your errors: looks like an encoding issue or a bad download from github. I would suggest re-downloading it from the Sourceforge link that is in this thread (until the Git repo is fixed).

thanks....


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 16, 2013, 08:37:12 AM
What is the logic behind Sievesize/Performance?

Is it like Thread-concurency were the more, the better. Until your card can't handle it.
Or it's more complex, and some more powerful CPU can benefit from a lower value?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 16, 2013, 08:46:16 AM
What is the logic behind Sievesize/Performance?

Is it like Thread-concurency were the more, the better. Until your card can't handle it.
Or it's more complex, and some more powerful CPU can benefit from a lower value?

The code uses candidate multipliers to obtain the origin of a probable prime chain. Sieve size influences how many candidate multipliers are produced at once with a specific set of parameters. I don't personally fully understand the mechanics between the sieve size and the probable prime chains. The method was devised by Sunny King. All I know is that higher sieve sizes produces more blocks on the testnet. Please note that I haven't been able to confirm that on mainnet.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 16, 2013, 08:58:45 AM
ok

I copied and modified very simply this code to auto start....I don't know if it works

as  I can't see my HP's are crashing anymore, I don't know if it works at all

they were crashing all the time before, I 'm not sure if that has just stoped or this is restarting it...I thing it has just stopped

I don't know if it is slow mining down



Code:
description "primecoind"

start on filesystem
stop on runlevel [!2345]
oom never
expect daemon
respawn
respawn limit 1 60 # 10 times in 60 seconds

script
user=ubuntu
home=/home/$user
cmd=/usr/local/bin/primecoind
pidfile=$home/.primecoin/primecoind.pid
# Don't change anything below here unless you know what you're doing
[[ -e $pidfile && ! -d "/proc/$(cat $pidfile)" ]] && rm $pidfile
[[ -e $pidfile && "$(cat /proc/$(cat $pidfile)/cmdline)" != $cmd* ]] && rm $pidfile
exec start-stop-daemon --start -c $user --chdir $home --pidfile $pidfile --startas $cmd -b -m
end script




Put the above configuration in /etc/init/bitcoind.conf, then

sudo initctl reload-configuration.
To start ,  sudo start primecoind.
To stop , sudo stop primecoind.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: reb0rn21 on July 16, 2013, 10:18:21 AM
deleted blockchain client now not connecting?
can addnode help and which one?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: j_gillard on July 16, 2013, 10:51:49 AM
deleted blockchain client now not connecting?
can addnode help and which one?
HP4 isn't connecting for me either!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 16, 2013, 11:00:10 AM
deleted blockchain client now not connecting?
can addnode help and which one?

Here's another list of peers available at this moment:
Code:
       "addr" : "192.241.200.197:9911",
        "addr" : "192.81.217.158:9911",
        "addr" : "78.31.105.26:9911",
        "addr" : "192.157.59.116:9911",
        "addr" : "198.199.65.39:9911",
        "addr" : "173.45.227.231:9911",
        "addr" : "54.242.28.200:9911",

Pick one IP address from the list (to spread the load) and write it your config file like this:
Code:
addnode=X.X.X.X

Alternatively you can use the command line switch -addnode=X.X.X.X.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Transisto on July 16, 2013, 11:03:35 AM
github.com/mikaelh2/primecoin  (http://github.com/mikaelh2/primecoin)

"Access to this repository has been disabled by GitHub staff due to excessive use of resources."

http://www.reddit.com/r/primecoin/comments/1ieme5/githubcommikaelh2primecoin_access_to_this/



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 16, 2013, 11:57:31 AM
have not found blocks for ages,,,,,

somethings gone wrong...?

how it going for every one else?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 11:59:11 AM
have not found blocks for ages,,,,,

somethings gone wrong...?

how it going for every one else?

Bad, mined nothing the last 12 hours


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 16, 2013, 12:03:57 PM
Can someone confirm, does xp4 have an automatic/default sieve size of 1mill or 2mill?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ryen123 on July 16, 2013, 01:40:45 PM
Can someone confirm, does xp4 have an automatic/default sieve size of 1mill or 2mill?

Default is 1mill.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: subwolf on July 16, 2013, 02:06:11 PM
https://bitbucket.org/pankkake/mikaelh2-primecoin (https://bitbucket.org/pankkake/mikaelh2-primecoin)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mhps on July 16, 2013, 02:52:15 PM

@mikhaelh, any comment on what to do if test/h and 5-chains/h don't agree in debug.log for hp4 ? For example when sievesize=2M, I have  50M test/h and 350 5-chains/h, when sievesize=4M, I have  36M test/h and 780 5-chains/h.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maxsolnc on July 16, 2013, 03:20:15 PM
I'm getting "syncronizing with network" every hour, after restarting primecoin-qt it synchronizes and works ok, but after some time it is "out of sync" again  :(


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 16, 2013, 03:29:39 PM
I'm getting "syncronizing with network" every hour, after restarting primecoin-qt it synchronizes and works ok, but after some time it is "out of sync" again  :(

Yeah I keep getting that too.  Not out-of-sync error message but if I have mined a coin and don't see the number confirms to go move for awhile, I have to restart it.  I have even restarted it and then suddenly have a coin coming.  Never got the out-of-sync error except when at a restart of the wallet client.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 16, 2013, 03:54:20 PM

@mikhaelh, any comment on what to do if test/h and 5-chains/h don't agree in debug.log for hp4 ? For example when sievesize=2M, I have  50M test/h and 350 5-chains/h, when sievesize=4M, I have  36M test/h and 780 5-chains/h.

I would trust the 5-chains/h number.

The test/h number doesn't really have any useful meaning as far as mining is concerned. It's just the number of candidate multipliers produced by the sieve algorithm.

The primes/h number tells how many of the multipliers produced a probable prime chain of length 1 or greater.

The 5-chains/h number tells how many probable prime chains were at least of length 5. It's supposed to be the most reliable performance number as far as mining is concerned. A 5-chain is essentially a lot closer to an 8-chain than a 1-chain.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 16, 2013, 04:10:43 PM
Here some data.



Machine A (32-core, 512MB RAM ) Sieve=4.000.000  
2013-07-16 15:37:54 primemeter  47798623 prime/h 336961584 test/h      3180 5-chains/h
2013-07-16 15:38:54 primemeter  46317188 prime/h 327397443 test/h      3600 5-chains/h
2013-07-16 15:39:54 primemeter  44566177 prime/h 311356231 test/h      3480 5-chains/h
2013-07-16 15:40:54 primemeter  44270022 prime/h 307570114 test/h      2880 5-chains/h

--> 102 5-chain/core/h


Machine B  (25-core, 512RAM  )   Sieve=8.000.000  
2013-07-16 15:30:44 primemeter  28974114 prime/h 198837632 test/h      2640 5-chains/h
2013-07-16 15:31:44 primemeter  29712630 prime/h 204013540 test/h      2220 5-chains/h
2013-07-16 15:32:44 primemeter  26133944 prime/h 178498885 test/h      1740 5-chains/h
2013-07-16 15:33:44 primemeter  26519858 prime/h 178976417 test/h      2520 5-chains/h
2013-07-16 15:34:44 primemeter  28332196 prime/h 191231866 test/h      2100 5-chains/h
2013-07-16 15:35:44 primemeter  28916158 prime/h 196550784 test/h      2220 5-chains/h

 --->90 5chain/core/h


Machine B (5min test)  Sieve=100.000
2013-07-16 15:50:06 primemeter  57670379 prime/h 534606270 test/h      1440 5-chains/h
2013-07-16 15:51:06 primemeter  56831053 prime/h 524772794 test/h      1200 5-chains/h
2013-07-16 15:52:06 primemeter  56350341 prime/h 521713925 test/h       900 5-chains/h
2013-07-16 15:53:06 primemeter  56199923 prime/h 517748591 test/h      1260 5-chains/h
2013-07-16 15:54:06 primemeter  56103505 prime/h 524118865 test/h       600 5-chains/h

---> 43 C5/core/h



Low Sievesize is not a good idea.
I did that manually. We need a program who calculate that with bigger sample.

Mickael, why not include a command to remplace getprimespersec?
I think 5chain are more reliable.
For information, i found 2 block on machine A and 1 on B. But it's too low to have a significance.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 16, 2013, 04:21:27 PM
Mickael, why not include a command to remplace getprimespersec?
I think 5chain are more reliable.
For information, i found 2 block on machine A and 1 on B. But it's too low to have a significance.

I don't like how much variance there is currently in the 5-chains/h numbers. An rpc command would probably need to include some averaging. When the numbers are dumped to debug.log, people can do the averaging manually.

Some nice numbers there still.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 16, 2013, 04:29:20 PM
Me and my friend both found another block last night. Again, both of us have a single computer of i5 performance running the miner. How about you guys?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 16, 2013, 04:36:05 PM
Me and my friend both found another block last night. Again, both of us have a single computer of i5 performance running the miner. How about you guys?
About 100 in the last 24 hours, but I'm guessing you didn't want to hear that.  If it's any consolation the rate has dropped off dramatically and I'm now getting less than 2/hour with the same hardware.  In another 12 hours it will no longer be profitable to mine using those VPS's without a big jump in miner performance (I'm looking at you mikaelh :))


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 16, 2013, 04:45:58 PM
Can someone confirm, does xp4 have an automatic/default sieve size of 1mill or 2mill?

Default is 1mill.

Is there a command line argument I can pass in to change the sieve size?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ryen123 on July 16, 2013, 04:49:19 PM
Can someone confirm, does xp4 have an automatic/default sieve size of 1mill or 2mill?

Default is 1mill.

Is there a command line argument I can pass in to change the sieve size?

I'm not too sure of command line. I added to my .conf file "sievesize=2000000" eg.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: versificateur on July 16, 2013, 05:02:00 PM
About 100 in the last 24 hours, but I'm guessing you didn't want to hear that.  If it's any consolation the rate has dropped off dramatically and I'm now getting less than 2/hour with the same hardware.  In another 12 hours it will no longer be profitable to mine using those VPS's without a big jump in miner performance (I'm looking at you mikaelh :))

On how much vps or AWS large instance ? Could you tell your global pps and sievsize used ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 16, 2013, 05:04:12 PM
Me and my friend both found another block last night. Again, both of us have a single computer of i5 performance running the miner. How about you guys?
About 100 in the last 24 hours, but I'm guessing you didn't want to hear that.  If it's any consolation the rate has dropped off dramatically and I'm now getting less than 2/hour with the same hardware.  In another 12 hours it will no longer be profitable to mine using those VPS's without a big jump in miner performance (I'm looking at you mikaelh :))

Botnets don't count. :P


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Scott J on July 16, 2013, 05:07:33 PM
So I'm getting 1700 primes/sec.

How often should I expect to find a block?

(According to your experience)  ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bitrich on July 16, 2013, 05:08:24 PM
Can someone help me out? 2 questions... 1 if pool mining with several CPU should I add a new worker for each CPU? Is it even possible to run several CPU off one worker? Is it better to just have 1 worker per CPU? 2. What do I need to do if I want to solo mine on more than one CPU but want all the coins to go to one wallet? Thanks


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 05:08:29 PM
So I'm getting 1700 primes/sec.

How often should I expect to find a block?

(According to your experience)  ;D

35.000 pps get me one block the last 20 hours, you do the math :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnkelPaul on July 16, 2013, 05:08:52 PM
Looks like mikhael's github repository has been DDOSed :-(

Quote
This repository has been disabled.

Access to this repository has been disabled by GitHub staff due to excessive use of resources.

Onkel Paul


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Scott J on July 16, 2013, 05:11:36 PM
So I'm getting 1700 primes/sec.

How often should I expect to find a block?

(According to your experience)  ;D

35.000 pps get me one block the last 20 hours, you do the math :)
Hmmm... that makes me think it isn't worth it anymore  :(

Are there any other CPU coins?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 16, 2013, 05:14:47 PM
So I'm getting 1700 primes/sec.

How often should I expect to find a block?

(According to your experience)  ;D

35.000 pps get me one block the last 20 hours, you do the math :)

http://i.imgur.com/HXLqIV5.png

Get out bro. I mined 3 blocks in the past 48 hours on 3800 pps.

To the guy asking the question. I expect you to find at least four blocks weekly. Not sure though. I haven't got enough data to do probability maths.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bitrich on July 16, 2013, 05:15:06 PM
Can someone help me out? 2 questions... 1 if pool mining with several CPU should I add a new worker for each CPU? Is it even possible to run several CPU off one worker? Is it better to just have 1 worker per CPU? 2. What do I need to do if I want to solo mine on more than one CPU but want all the coins to go to one wallet? Thanks
I have one PC running around 1700 and have gotten 2 blocks in 2 days...there's a lot of luck involved apparently because with the first release I got a block in 2 hours running 5-30 pps


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: altsay on July 16, 2013, 05:16:08 PM
So I'm getting 1700 primes/sec.

How often should I expect to find a block?

(According to your experience)  ;D

35.000 pps get me one block the last 20 hours, you do the math :)
Hmmm... that makes me think it isn't worth it anymore  :(

Are there any other CPU coins?

I agree that it's getting less and less profitable as the chance of getting block per Mhz is hard to predict.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 16, 2013, 05:19:58 PM
 Intel Core i7-3770K @ 4400 -> 6277 PPs


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: k0vic on July 16, 2013, 05:33:57 PM
I'm mining 4 systems each system over 10,000 primes per sec and Haven't found a block sine midnight. :( HP2

Anyone having these issues?



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 16, 2013, 05:42:52 PM
I'm mining 4 systems each system over 10,000 primes per sec and Haven't found a block sine midnight. :( HP2

Anyone having these issues?



Yep, all my VPM's are currently being pulled offline.  I smell something fishy like GPU mining going on.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RaymanJr on July 16, 2013, 05:43:26 PM
I'm mining 4 systems each system over 10,000 primes per sec and Haven't found a block sine midnight. :( HP2

Anyone having these issues?

Pretty much the same issue. The difficulty is now very high and due its exponential nature it means that blocks are very hard to find.

As Primecoin nature is different than other coins I wonder if it's even possible that diff goes down and make it profitable again. Any thoughts ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 05:43:48 PM
I'm mining 4 systems each system over 10,000 primes per sec and Haven't found a block sine midnight. :( HP2

Anyone having these issues?



Sir yes sir

Edit, I did mine a block 2 hours ago on a server with 2.5K PPS :) I don't even know why I kept it running


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 16, 2013, 05:44:29 PM
I'm mining 4 systems each system over 10,000 primes per sec and Haven't found a block sine midnight. :( HP2

Anyone having these issues?

Pretty much the same issue. The difficulty is now very high and due its exponential nature it means that blocks are very hard to find.

As Primecoin nature is different than other coins I wonder if it's even possible that diff goes down and make it profitable again. Any thoughts ?

I am willing to bet difficulty will be heading down soon, its no longer profitable for VPMs


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 05:46:30 PM
I'm mining 4 systems each system over 10,000 primes per sec and Haven't found a block sine midnight. :( HP2

Anyone having these issues?

Pretty much the same issue. The difficulty is now very high and due its exponential nature it means that blocks are very hard to find.

As Primecoin nature is different than other coins I wonder if it's even possible that diff goes down and make it profitable again. Any thoughts ?

I am willing to bet difficulty will be heading down soon, its no longer profitable for VPMs

Yeah and I bet then diff drops because a LOT of VPMs are turned off, it becomes profitable again and BAM, VPM's are here again. Many people will want to leave their virtual machines running, probaly hoping others will turn them off just before they do. In the end, everybody loses :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 16, 2013, 05:51:20 PM
39 blocks found in the last 12 minutes so people are still finding !

The question is how...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 16, 2013, 05:52:46 PM
39 blocks found in the last 12 minutes so people are still finding !

The question is how...

I am ready for round two, GPU.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 05:55:25 PM
39 blocks found in the last 12 minutes so people are still finding !

The question is how...

Blastbob mentioned something like 2.6M PPS :)

I'm wondering guys, let's say you operate a LARGE number of VPS, that use each other as nodes. All interconnected. Wouldn't that be in their advantage? The nodes would be superclose to a big source of new blocks (itself), and have a head start generating new blocks?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bitrich on July 16, 2013, 06:01:34 PM
just upgraded to hp4 from hp1 and my pps dropped from 1700-2000 down to 700-800pps anyone else see this? i5 2.8 sandy bridge


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Eli0t on July 16, 2013, 06:03:49 PM
just upgraded to hp4 from hp1 and my pps dropped from 1700-2000 down to 700-800pps anyone else see this? i5 2.8 sandy bridge

hp1 limited sieve size too much, pps was up but block finds where down


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RaymanJr on July 16, 2013, 06:13:45 PM
I'm mining 4 systems each system over 10,000 primes per sec and Haven't found a block sine midnight. :( HP2

Anyone having these issues?

Pretty much the same issue. The difficulty is now very high and due its exponential nature it means that blocks are very hard to find.

As Primecoin nature is different than other coins I wonder if it's even possible that diff goes down and make it profitable again. Any thoughts ?

I am willing to bet difficulty will be heading down soon, its no longer profitable for VPMs

Yes, diff should go down if VPMs is not profitable anymore but, my question were "is that possible?" Can the primecoin diff go down ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 06:15:21 PM
I'm mining 4 systems each system over 10,000 primes per sec and Haven't found a block sine midnight. :( HP2

Anyone having these issues?

Pretty much the same issue. The difficulty is now very high and due its exponential nature it means that blocks are very hard to find.

As Primecoin nature is different than other coins I wonder if it's even possible that diff goes down and make it profitable again. Any thoughts ?

I am willing to bet difficulty will be heading down soon, its no longer profitable for VPMs

Yes, diff should go down if VPMs in not profitable anymore but, my question were "is that possible?" Can the primecoin diff go down ?

I think so, sure, why not. The dev (sunnyking) told days ago about the diff still catching up, and that is was "expected" behaviour. Diff is indeed still rising. Yes, there is a point where diff would drop, but it's not now. (correct me guys if this is wrong)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Eli0t on July 16, 2013, 06:17:49 PM
I'm mining 4 systems each system over 10,000 primes per sec and Haven't found a block sine midnight. :( HP2

Anyone having these issues?

Pretty much the same issue. The difficulty is now very high and due its exponential nature it means that blocks are very hard to find.

As Primecoin nature is different than other coins I wonder if it's even possible that diff goes down and make it profitable again. Any thoughts ?

I am willing to bet difficulty will be heading down soon, its no longer profitable for VPMs

Yes, diff should go down if VPMs is not profitable anymore but, my question were "is that possible?" Can the primecoin diff go down ?
yes it can, i found block 16 at diff 6.99609262 below the 7 start


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bitrich on July 16, 2013, 06:22:50 PM
just upgraded to hp4 from hp1 and my pps dropped from 1700-2000 down to 700-800pps anyone else see this? i5 2.8 sandy bridge

hp1 limited sieve size too much, pps was up but block finds where down
So I should just leave it alone? So basically 700-800pps with hp4 will be better than 1700pps with hp1?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Eli0t on July 16, 2013, 06:24:57 PM
just upgraded to hp4 from hp1 and my pps dropped from 1700-2000 down to 700-800pps anyone else see this? i5 2.8 sandy bridge

hp1 limited sieve size too much, pps was up but block finds where down
So I should just leave it alone? So basically 700-800pps with hp4 will be better than 1700pps with hp1?
or try hp2


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: monsterer on July 16, 2013, 06:44:46 PM
I'm getting loads of weird compile errors when compiling makefile.unix on centos6:

"alert.cpp:223: error: âitemâ was not declared in this scope
alert.cpp:223: error: âBOOST_FOREACHâ was not declared in this scope
alert.cpp:224: error: expected â;â before â{â token
alert.cpp:268: error: expected â}â at end of input
alert.cpp:268: error: expected â}â at end of input"

Looks like there are weird characters in the source?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 16, 2013, 06:50:46 PM
I'm getting loads of weird compile errors when compiling makefile.unix on centos6:

"alert.cpp:223: error: âitemâ was not declared in this scope
alert.cpp:223: error: âBOOST_FOREACHâ was not declared in this scope
alert.cpp:224: error: expected â;â before â{â token
alert.cpp:268: error: expected â}â at end of input
alert.cpp:268: error: expected â}â at end of input"

Looks like there are weird characters in the source?

You probably need a newer version of boost.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Kruncha on July 16, 2013, 06:55:33 PM
Hey mikaelh :)

I'd like to donate for your efforts, but I only have YAC available - you don't have to answer this, but what is a reasonable donation amount? (PM me if you wish).

Thanks for your hard work - I hope to gather some Primes, and then I'll donate again :)

K.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 16, 2013, 06:57:40 PM
What's the best OS for this in this list?

ubuntu 12.04.1 server amd64
gentoo amd64 minimal 20121210
ubuntu 12.10 server amd64
gentoo x86 minimal 20121213
CentOS 5.8 x86-64
CentOS 6.3 X86-64
FreeBSD 9.1 release amd64
debian 6.0.6 amd64
debian 6.0.6 i386

It's a VPS, and only has linux options...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 16, 2013, 06:58:36 PM
What's the best OS for this in this list?

ubuntu 12.04.1 server amd64
gentoo amd64 minimal 20121210
ubuntu 12.10 server amd64
gentoo x86 minimal 20121213
CentOS 5.8 x86-64
CentOS 6.3 X86-64
FreeBSD 9.1 release amd64
debian 6.0.6 amd64
debian 6.0.6 i386

It's a VPS, and only has linux options...

ubuntu 12.04.1 server amd64 is a safe bet


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 16, 2013, 07:00:52 PM
Are there any other CPU coins?

There are coins that can currently be mined nicely with a CPU, however that is because botnets and GPU miners are ignoring them. Basically they are working simply by (un)common courtesy, basically throw a core at each, compare your take with number of nodes, if it looks like everyone else must be using two cores or have core on average twice as powerful as yours throw another core at it.

This is what worked last year for a year or so with BBQcoin to allow small miners a whole year to accumulate coins slowly politely but surely at minimal cost in electricity that led to them all getting very nice payoff when enough people had enough coins saved up to make bringing it back into the limelight worthwhile. (GPUs then jumped on, difficulty went beyond what CPUs could reasonably mine but high enough for exchanges to risk listing the coin, the CPU miners got paid off handsomely or still have nice stashes of BBQcoins they are still holding or daytrading or whatever.)

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 16, 2013, 07:01:01 PM
What's the best OS for this in this list?

ubuntu 12.04.1 server amd64
gentoo amd64 minimal 20121210
ubuntu 12.10 server amd64
gentoo x86 minimal 20121213
CentOS 5.8 x86-64
CentOS 6.3 X86-64
FreeBSD 9.1 release amd64
debian 6.0.6 amd64
debian 6.0.6 i386

It's a VPS, and only has linux options...

ubuntu 12.04.1 server amd64 is a safe bet

Yet I'm having trouble compiling the miner: http://www.ppcointalk.org/index.php?topic=341.msg2361#msg2361
Haven't got an answer yet...seems to be a bug or something when doing apt-get install for certain dev files.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 07:03:19 PM
Are there any other CPU coins?

There are coins that can currently be mined nicely with a CPU, however that is because botnets and GPU miners are ignoring them. Basically they are working simply by (un)common courtesy, basically throw a core at each, compare your take with number of nodes, if it looks like everyone else must be using two cores or have core on average twice as powerful as yours throw another core at it.

This is what worked last year for a year or so with BBQcoin to allow small miners a whole year to accumulate coins slowly politely but surely at minimal cost in electricity that led to them all getting very nice payoff when enough people had enough coins saved up to make brining it back into the limelight worthwhile. (GPUs then jumped on, difficulty went beyond what CPUs could reasonably mine but high enough for exchanges to risk listing the coin, the CPU miners got paid off handsomely or still have nice stashes of BBQcoins they are still holding or daytrading or whatever.)

-MarkM-


Yes, but there's only a small window to sell BQC or whatever coin before it becomes clear it has no future. No bad feelings towards BQC (I like the coin), but it has dropped very low and I don't see any way for it to get out of that position. Even if you have 100K coins, it's still worth almost nothing. Low diff or not, 100K took serious time to mine...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 16, 2013, 07:10:15 PM
Yes, but there's only a small window to sell BQC or whatever coin before it becomes clear it has no future. No bad feelings towards BQC (I like the coin), but it has dropped very low and I don't see any way for it to get out of that position. Even if you have 100K coins, it's still worth almost nothing. Low diff or not, 100K took serious time to mine...

At least ten million got sold off by CPU miners, that did make quite a dent in the price but it still hasn't really crashed it maybe has merely found its price now that many or most large holders are people who bought them not people who mined them. Heck most BBQcoins whether large or small holder are bought BBQcoins now.

Allowing small miners years to accumulate coins seems to maybe be a more stable setup than these recent pump and dump coins, maybe? Maybe people who spent long long time slowly accumulating their stash are less likely to dump it all at cheapest price the moment an exchange opens?

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bitrich on July 16, 2013, 07:22:45 PM
I'm getting loads of weird compile errors when compiling makefile.unix on centos6:

"alert.cpp:223: error: âitemâ was not declared in this scope
alert.cpp:223: error: âBOOST_FOREACHâ was not declared in this scope
alert.cpp:224: error: expected â;â before â{â token
alert.cpp:268: error: expected â}â at end of input
alert.cpp:268: error: expected â}â at end of input"

Looks like there are weird characters in the source?
sorry I upgraded from hp2 to hp4...Had 1700pps with hp2. So is hp4 with 700-800pps better or hp2 with 1700pps?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 16, 2013, 07:26:31 PM
I'm mining 4 systems each system over 10,000 primes per sec and Haven't found a block sine midnight. :( HP2

Anyone having these issues?

Pretty much the same issue. The difficulty is now very high and due its exponential nature it means that blocks are very hard to find.

As Primecoin nature is different than other coins I wonder if it's even possible that diff goes down and make it profitable again. Any thoughts ?

I am willing to bet difficulty will be heading down soon, its no longer profitable for VPMs

Uh ... how are you getting 10k PPS per system? Are they 4x CPUs or something?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 16, 2013, 07:27:28 PM
just upgraded to hp4 from hp1 and my pps dropped from 1700-2000 down to 700-800pps anyone else see this? i5 2.8 sandy bridge

hp1 limited sieve size too much, pps was up but block finds where down
So I should just leave it alone? So basically 700-800pps with hp4 will be better than 1700pps with hp1?
or try hp2

how do you get back to hp2?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Eli0t on July 16, 2013, 07:29:44 PM
just upgraded to hp4 from hp1 and my pps dropped from 1700-2000 down to 700-800pps anyone else see this? i5 2.8 sandy bridge

hp1 limited sieve size too much, pps was up but block finds where down
So I should just leave it alone? So basically 700-800pps with hp4 will be better than 1700pps with hp1?
or try hp2

how do you get back to hp2?
http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp2/


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: sigesang on July 16, 2013, 07:52:59 PM
repo on github is disabled


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 16, 2013, 07:57:13 PM
Report on sievesize (for 20 systems @ 3000pps each, hp4)
 - 700K: no blocks after 2 hrs
 - 1M: ~1 block/hr
 - 2M: ~0.8 block/hr
 - 4M: ~0.6 block/hr

Seems 1M sievesize is the sweet spot?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 07:59:02 PM
Report on sievesize (for 20 systems @ 3000pps each, hp4)
 - 700K: no blocks after 2 hrs
 - 1M: ~1 block/hr
 - 2M: ~0.8 block/hr
 - 4M: ~0.6 block/hr

Seems 1M sievesize is the sweet spot?

So you mining at 60K PPS for 2 hours? How many blocks total? I'm ming at 50K PPS and no blocks for HOURS :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 16, 2013, 08:25:01 PM
Soon more and more VPS are going to get switched off (like they are doing now), there still will be no pools (no support in the main client branch) and difficulty will still continue to rise. There is only one explanation for that, I will not spell it out, it's obvious.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 08:30:09 PM
Soon more and more VPS are going to get switched off (like they are doing now), there still will be no pools (no support in the main client branch) and difficulty will still continue to rise. There is only one explanation for that, I will not spell it out, it's obvious.

Again, http://i.imgur.com/lK5WZ.jpg


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 16, 2013, 08:34:07 PM

Close, UGS !

Unidentified GPU script :/

3 hours at ~ 6200pps and nada... Meanwhile in 3 hours 550 blocks were found, some are having a good time !


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 16, 2013, 08:37:09 PM
"Alien" bot-control rays.

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: PoolMinor on July 16, 2013, 08:40:43 PM
I have been getting blocks steadily at a specific rate each day. Anyone want to know how?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 16, 2013, 08:42:58 PM
I have been getting blocks steadily at a specific rate each day. Anyone want to know how?

I might as well be the first one to ask. How? Let me guess

http://www.slamonlineph.com/wp-content/uploads/9cef162d_history-channel-alien-guy-meme-generator-aliens-98f63b.jpeg


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: PoolMinor on July 16, 2013, 08:45:07 PM
I have been getting blocks steadily at a specific rate each day. Anyone want to know how?

I might as well be the first one to ask. How? Let me guess

http://www.slamonlineph.com/wp-content/uploads/9cef162d_history-channel-alien-guy-meme-generator-aliens-98f63b.jpeg

Testnet!!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Kyune on July 16, 2013, 08:46:23 PM
I have been getting blocks steadily at a specific rate each day. Anyone want to know how?
So have I!  The specific rate is zero.



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 08:47:24 PM
I have been getting blocks steadily at a specific rate each day. Anyone want to know how?
So have I!  The specific rate is zero.



+1 lol


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 16, 2013, 08:47:44 PM
I have been getting blocks steadily at a specific rate each day. Anyone want to know how?

I might as well be the first one to ask. How? Let me guess

[picture snip][picture snip]



Testnet!!

Close enough  ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 16, 2013, 08:58:19 PM
Soon more and more VPS are going to get switched off (like they are doing now), there still will be no pools (no support in the main client branch) and difficulty will still continue to rise. There is only one explanation for that, I will not spell it out, it's obvious.

Again, http://i.imgur.com/lK5WZ.jpg

In order to catch that aliens, we need to somehow log IP addresses of all peers who mined a block. It's trivial later to calculate how many blocks which IP address mined. I don't know if 'decoderawtransaction' or 'getpeerinfo' can get us IP addresses, or some special software is needed? I guess they can, but I'm not positive.

IP ranges are known for all major VPS providers, it will be easy to differentiate VPS mining and how many percentage of blocks are found there.

I bet that results will surprise us, and my prediction is that a few IPs are getting the majority of blocks, and one or two will not be form VPS. Those one or two must be Aliens. Or GPU miners.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 16, 2013, 09:00:56 PM
Soon more and more VPS are going to get switched off (like they are doing now), there still will be no pools (no support in the main client branch) and difficulty will still continue to rise. There is only one explanation for that, I will not spell it out, it's obvious.

Again, http://i.imgur.com/lK5WZ.jpg

In order to catch that aliens, we need to somehow log IP addresses of all peers who mined a block. It's trivial later to calculate how many blocks which IP address mined. I don't know if 'decoderawtransaction' or 'getpeerinfo' can get us IP addresses, or some special software is needed? I guess they can, but I'm not positive.

IP ranges are known for all major VPS providers, it will be easy to differentiate VPS mining and how many percentage of blocks are found there.

I bet that results will surprise us, and my prediction is that a few IPs are getting the majority of blocks, and one or two will not be form VPS. Those one or two must be Aliens. Or GPU miners.

Do it...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Plazma on July 16, 2013, 09:01:57 PM
How can i see the dificalty.
http://www2.crypto-expert.com/primecoin/index.php is not working.
also just got a block for 12.51 10kpps


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vinne81 on July 16, 2013, 09:05:41 PM
How can i see the dificalty.
http://www2.crypto-expert.com/primecoin/index.php is not working.
also just got a block for 12.51 10kpps

First, don't show off you mined a block. The XPM people don't appreciate that.

Ok.  ;D

getdifficulty in your client? :p


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Jigsaw on July 16, 2013, 09:18:22 PM
So my blocks are starting to come in quite slowly, and I'm starting to wonder if cloud mining is still worthwhile...

http://i.imgur.com/5j5sWso.png

These are my recent blocks. I haven't checked my nodes since 2PM, but I'm barely breaking even and hanging on thanks to rising prices.

Time to call it quits?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: itod on July 16, 2013, 09:25:33 PM
In order to catch that aliens, we need to somehow log IP addresses of all peers who mined a block. It's trivial later to calculate how many blocks which IP address mined. I don't know if 'decoderawtransaction' or 'getpeerinfo' can get us IP addresses, or some special software is needed? I guess they can, but I'm not positive.

IP ranges are known for all major VPS providers, it will be easy to differentiate VPS mining and how many percentage of blocks are found there.

I bet that results will surprise us, and my prediction is that a few IPs are getting the majority of blocks, and one or two will not be form VPS. Those one or two must be Aliens. Or GPU miners.

Do it...

In 10 hours I'm off to vacation. Won't lurk here for two weeks. Maybe somebody else.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 16, 2013, 09:36:27 PM
Anyone managed to make it run on free vps ?

I'm trying but no luck :/


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: forsetifox on July 16, 2013, 09:39:35 PM
So my blocks are starting to come in quite slowly, and I'm starting to wonder if cloud mining is still worthwhile...

http://i.imgur.com/5j5sWso.png

These are my recent blocks. I haven't checked my nodes since 2PM, but I'm barely breaking even and hanging on thanks to rising prices.

Time to call it quits?

Hi Jigsaw. What flavor of linux is this? I love the menu style and colors.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Plazma on July 16, 2013, 09:39:53 PM
How can i see the dificalty.
http://www2.crypto-expert.com/primecoin/index.php is not working.
also just got a block for 12.51 10kpps

First, don't show off you mined a block. The XPM people don't appreciate that.

Ok.  ;D

getdifficulty in your client? :p

Seems i had spelling error lol.



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gateway on July 16, 2013, 09:42:16 PM
So my blocks are starting to come in quite slowly, and I'm starting to wonder if cloud mining is still worthwhile...

http://i.imgur.com/5j5sWso.png

These are my recent blocks. I haven't checked my nodes since 2PM, but I'm barely breaking even and hanging on thanks to rising prices.

Time to call it quits?

Hi Jigsaw. What flavor of linux is this? I love the menu style and colors.


Looks like ubuntu desktop


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 16, 2013, 09:42:34 PM
Anyone have the latest version of builds available for primecoin?  I'm using mikaelh2's latest primecoin build (before the github went down).


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gateway on July 16, 2013, 09:42:43 PM
any new pushes, btw where is the latest code hosted these days since git disabled the account


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: adambeazley on July 16, 2013, 09:44:35 PM
anyone know how to make this connect to a mining pool?

Would that be something in the primecoin.conf ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Jigsaw on July 16, 2013, 09:44:51 PM
So my blocks are starting to come in quite slowly, and I'm starting to wonder if cloud mining is still worthwhile...

http://i.imgur.com/5j5sWso.png

These are my recent blocks. I haven't checked my nodes since 2PM, but I'm barely breaking even and hanging on thanks to rising prices.

Time to call it quits?

Hi Jigsaw. What flavor of linux is this? I love the menu style and colors.


Ubuntu Desktop 12.10


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 16, 2013, 09:45:13 PM
anyone know how to make this connect to a mining pool?

Would that be something in the primecoin.conf ?

No mining pools yet.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tinnvec on July 16, 2013, 09:46:36 PM
anyone know how to make this connect to a mining pool?

Would that be something in the primecoin.conf ?

No mining pools yet.

At least no reputable ones


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 16, 2013, 09:48:11 PM
anyone know how to make this connect to a mining pool?

Would that be something in the primecoin.conf ?

No mining pools yet.

What about ypool?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Teka on July 16, 2013, 09:51:14 PM
anyone know how to make this connect to a mining pool?

Would that be something in the primecoin.conf ?

No mining pools yet.

What about ypool?

They seem a little bit dodgy to me and many others plus in order to mine you have to use software created by them.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: adambeazley on July 16, 2013, 10:33:26 PM
anyone know how to make this connect to a mining pool?

Would that be something in the primecoin.conf ?

No mining pools yet.

What about ypool?

They seem a little bit dodgy to me and many others plus in order to mine you have to use software created by them.

which is why I am asking for directions on connecting the primecoin-qt client to a pool....

Anyone know how?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tinnvec on July 16, 2013, 10:39:21 PM
anyone know how to make this connect to a mining pool?

Would that be something in the primecoin.conf ?

No mining pools yet.

What about ypool?

They seem a little bit dodgy to me and many others plus in order to mine you have to use software created by them.

which is why I am asking for directions on connecting the primecoin-qt client to a pool....

Anyone know how?

No one knows how, because it cannot be done. primecoin-qt client is ONLY for solo mining.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 16, 2013, 10:41:17 PM
Found one block after 5.5 hours at ~ 6200pps, might be pure luck though...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 16, 2013, 10:52:09 PM
God. Does nobody understand how solo mining works?

He said yes.

Of course it's luck. It's completely random.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: king_pin on July 17, 2013, 01:32:59 AM
I have been trying to get a block on 5 PCs for the last 5 hours, and still no luck.
It says I mine at 1500pps on each PC (Intel G1610), so is it possible that it only says I'm mining but I ain't, or is it just luck?
I tryed it both ways by just starting it with setgenerate true -1 and with a .conf file with:

rpcuser=user
rpcpassword=pass
rpcport=8001
gen=1
server=1
sievesize=2000000
daemon=1
rpcallowip=127.0.0.1

I used the 1.1 version and I did the same .conf file thing on a friend's PC with a Phenom X3 and he got 2 blocks in an hour.  wtf   ::)
(btw I have disabled a bunch of unneeded shit from msconfig, is there anything important there)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 17, 2013, 02:01:42 AM
I have been trying to get a block on 5 PCs for the last 5 hours, and still no luck.
It says I mine at 1500pps on each PC (Intel G1610), so is it possible that it only says I'm mining but I ain't, or is it just luck?
I tryed it both ways by just starting it with setgenerate true -1 and with a .conf file with:

rpcuser=user
rpcpassword=pass
rpcport=8001
gen=1
server=1
sievesize=2000000
daemon=1
rpcallowip=127.0.0.1

I used the 1.1 version and I did the same .conf file thing on a friend's PC with a Phenom X3 and he got 2 blocks in an hour.  wtf   ::)
(btw I have disabled a bunch of unneeded shit from msconfig, is there anything important there)

I ended up deleting my config file by accident and mining 2 blocks then making another one and haven't mined anything in 24H. My stats say I get more blocks per 10 min with a higher sievesize but apparently I mined more when I had the defaults enabled. W    T     F?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RustyShackleford1950 on July 17, 2013, 02:39:25 AM
I have been trying to get a block on 5 PCs for the last 5 hours, and still no luck.
It says I mine at 1500pps on each PC (Intel G1610), so is it possible that it only says I'm mining but I ain't, or is it just luck?
I tryed it both ways by just starting it with setgenerate true -1 and with a .conf file with:

rpcuser=user
rpcpassword=pass
rpcport=8001
gen=1
server=1
sievesize=2000000
daemon=1
rpcallowip=127.0.0.1

I used the 1.1 version and I did the same .conf file thing on a friend's PC with a Phenom X3 and he got 2 blocks in an hour.  wtf   ::)
(btw I have disabled a bunch of unneeded shit from msconfig, is there anything important there)

It's all luck. I can go 72 hours with nothing from 7000 pps (combined), or get 2 blocks in 2 days.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 17, 2013, 03:36:16 AM
average right now I'm seeing is  1 block per day for each ~3K PPS. A little more than cost of electricity on a standard PC.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 17, 2013, 03:52:46 AM
Same here. Although are you sure that's right? 1 block is worth 5 bucks right now. My rig draws 200~ watts when mining. I estimate that's just a couple of cents in power.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: romerun on July 17, 2013, 04:31:55 AM
what's up with the git, has the latest code moved somewhere ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: sva_h4cky0 on July 17, 2013, 07:49:05 AM
check page 1  ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 17, 2013, 08:02:24 AM
In hp4 I don't have to manually configure he sieve size do I?   It gives an automatic 1 mill correct?   It's just that on page 1 the faq refers to manually entering it...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ryen123 on July 17, 2013, 08:09:46 AM
In hp4 I don't have to manually configure he sieve size do I?   It gives an automatic 1 mill correct?   It's just that on page 1 the faq refers to manually entering it...

The default sievesize is 1mill. No need to do anything if you don't wish to change.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 17, 2013, 08:16:38 AM
In hp4 I don't have to manually configure he sieve size do I?   It gives an automatic 1 mill correct?   It's just that on page 1 the faq refers to manually entering it...

The default sievesize is 1mill. No need to do anything if you don't wish to change.


Thanks  :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 17, 2013, 10:50:58 AM
Report on sievesize (for 20 systems @ 3000pps each, hp4)
 - 700K: no blocks after 2 hrs
 - 1M: ~1 block/hr
 - 2M: ~0.8 block/hr
 - 4M: ~0.6 block/hr

Seems 1M sievesize is the sweet spot?

Same finding here.

Between 23:30 and 2:30 (1 block/hr)
- I run on 163840 sievesize (weird number, I know, multiples of 4096 - CPU cache size, and I found this to give the best PPS on 1 core and 2 core  machines)

Between 5:00 and 7:00 (1 block/hr)
- I run on 2M sievesize (again seems to decreased to 1 block/hr)

Default - all other times (2 blocks/hr)
- I run on default 1 M

http://ecoinomist.com/images/sieve.png


Conclusion: default 1M is optimium for finding XPM blocks!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 17, 2013, 10:59:24 AM
What's the best OS for this in this list?

ubuntu 12.04.1 server amd64
gentoo amd64 minimal 20121210
ubuntu 12.10 server amd64
gentoo x86 minimal 20121213
CentOS 5.8 x86-64
CentOS 6.3 X86-64
FreeBSD 9.1 release amd64
debian 6.0.6 amd64
debian 6.0.6 i386

It's a VPS, and only has linux options...

ubuntu 12.04.1 server amd64 is a safe bet

Yet I'm having trouble compiling the miner: http://www.ppcointalk.org/index.php?topic=341.msg2361#msg2361
Haven't got an answer yet...seems to be a bug or something when doing apt-get install for certain dev files.

I had this same error, took me a day to figure out after hours and hours of trying different things.

As blastbob pointed out somewhere in here, turns out it's your Memory that's lacking.

Run this command, it should solve the issue:
Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 11:12:36 AM
can anyone write a proper guide for this on linux, thanks ?


the guide on this page is not working at all

http://www.primecoiner.com/primecoin-high-performance-linux-hp2-hp3/



i want to try it out on my server


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 11:13:24 AM
What's the best OS for this in this list?

ubuntu 12.04.1 server amd64
gentoo amd64 minimal 20121210
ubuntu 12.10 server amd64
gentoo x86 minimal 20121213
CentOS 5.8 x86-64
CentOS 6.3 X86-64
FreeBSD 9.1 release amd64
debian 6.0.6 amd64
debian 6.0.6 i386

It's a VPS, and only has linux options...

ubuntu 12.04.1 server amd64 is a safe bet

Yet I'm having trouble compiling the miner: http://www.ppcointalk.org/index.php?topic=341.msg2361#msg2361
Haven't got an answer yet...seems to be a bug or something when doing apt-get install for certain dev files.

I had this same error, took me a day to figure out after hours and hours of trying different things.

As blastbob pointed out somewhere in here, turns out it's your Memory that's lacking.

Run this command, it should solve the issue:
Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile



this part

sudo swapon /swapfile

gives a not allowed message on my server?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: matt4054 on July 17, 2013, 11:19:59 AM
this part

sudo swapon /swapfile

gives a not allowed message on my server?

It probably means that your VPS provider has disabled it for some reason, especially for Linux if it is based on kernel-level isolation as opposed to a "real" (OS-agnostic) hypervisor.

I would increase (boost) the RAM size to 1 GB to work around the problem while compiling, then set it back to 512 MB.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 11:36:09 AM
yeah it's probably been disabled.

Oh well i will try my dedicated server and see what happens.

did anyone try this guide?

apt-get install make
apt-get install git
git clone https://bitbucket.org/pankkake/mikaelh2-primecoin
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
apt-get install libgmp-dev
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo “rpcuser=SomeUser
rpcpassword=SomethingReallyLong
gen=1″ > ~/.primecoin/primecoin.conf
sudo mv -f primecoind /usr/local/bin/.
primecoind –daemon -sievesize=200000
watch ‘primecoind listtransactions & primecoind getmininginfo’

it seems the guy didnt test it out and there are a few mistakes in there that stop it working?  someone told me this mikaelh2  version would work way better but i like a few others could not get that to work at all? 


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 17, 2013, 11:50:38 AM
hi,

if I mine on linux do I have to pay mining fees's when I send?

also if I send from the QT (non mining) do I have to pay fees of 0.01 to get it processed

what happens if no fees are paid


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 17, 2013, 12:05:11 PM
hi,

if I mine on linux do I have to pay mining fees's when I send?

also if I send from the QT (non mining) do I have to pay fees of 0.01 to get it processed

what happens if no fees are paid

1) only if you configure them
2) only if you configure them
3) in theory the transaction will be slower.  however i didn't even realise that i didnt have any fees configured and my transactions are pretty quick


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnkelPaul on July 17, 2013, 12:16:41 PM
Currently Primecoin seems to be set up with no transaction fees.
I don't know whether that will change when the network is swamped with transactions.
I think that since there is no rigid reduction of mining rewards, transaction fees are not needed to keep miners happy as with Bitcoin :-)

Onkel Paul


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tocket on July 17, 2013, 12:24:19 PM
I had to pay transactions fees when I transferred some XPM (using primecoind). The first time it was because the coins were too new (0.01 XPM fee) and the second time because the transaction was big (200 XPM, 0.02 XPM fee).


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 17, 2013, 12:36:34 PM
Can anyone tell me how to read the primemeter lines in debug.log? What do the three values, prime/h, test/h, and 5-chains/h measure and which one is the best performance indicator?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 17, 2013, 12:58:01 PM
Can anyone tell me how to read the primemeter lines in debug.log? What do the three values, prime/h, test/h, and 5-chains/h measure and which one is the best performance indicator?

Mikaelh said that 5-chains/h is the best measure of performance since 5-chains/h is more on par with the 8-chains [soon to be 9-chains] that we are mining to find blocks.

prime/h = 1-chains and he said test/h doesn't give much info at all.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 17, 2013, 01:36:10 PM
yeah it's probably been disabled.

Oh well i will try my dedicated server and see what happens.

did anyone try this guide?

apt-get install make
apt-get install git
git clone https://bitbucket.org/pankkake/mikaelh2-primecoin
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
apt-get install libgmp-dev
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo “rpcuser=SomeUser
rpcpassword=SomethingReallyLong
gen=1″ > ~/.primecoin/primecoin.conf
sudo mv -f primecoind /usr/local/bin/.
primecoind –daemon -sievesize=200000
watch ‘primecoind listtransactions & primecoind getmininginfo’

it seems the guy didnt test it out and there are a few mistakes in there that stop it working?  someone told me this mikaelh2  version would work way better but i like a few others could not get that to work at all? 

Try this, just wrote the guide:
http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 17, 2013, 01:40:15 PM
average right now I'm seeing is  1 block per day for each ~3K PPS. A little more than cost of electricity on a standard PC.

Annnnnnnnnnnnd now the difficulty has changed ridiculous level since  even 2 days ago. 


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 01:50:50 PM
yeah it's probably been disabled.

Oh well i will try my dedicated server and see what happens.

did anyone try this guide?

 

Try this, just wrote the guide:
http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux


thanks, i'm going to give it a try :)

will this work ok on centos 6.3 64bit? 


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 17, 2013, 01:55:18 PM
yeah it's probably been disabled.

Oh well i will try my dedicated server and see what happens.

did anyone try this guide?

 

Try this, just wrote the guide:
http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux


thanks, i'm going to give it a try :)

will this work ok on centos 6.3 64bit? 

I don't know, haven't tested, only installed it on Ubuntu and Debian and both worked.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ghostlander on July 17, 2013, 01:57:07 PM
HP4 crashes on Linux every few hours. Another machine runs Windows and seems fine.

Code:
primecoind: checkqueue.h:167: CCheckQueueControl<T>::CCheckQueueControl(CCheckQueue<T>*) [with T = CScriptCheck]: Assertion `pqueue->nTotal == pqueue->nIdle' failed.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mhps on July 17, 2013, 02:00:25 PM
Currently Primecoin seems to be set up with no transaction fees.
I don't know whether that will change when the network is swamped with transactions.
I think that since there is no rigid reduction of mining rewards, transaction fees are not needed to keep miners happy as with Bitcoin :-)

That the wallet doesn't show tx fee in the configuration is a bug. http://www.ppcointalk.org/index.php?topic=333.0


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnkelPaul on July 17, 2013, 02:29:39 PM
Currently Primecoin seems to be set up with no transaction fees.
I don't know whether that will change when the network is swamped with transactions.
I think that since there is no rigid reduction of mining rewards, transaction fees are not needed to keep miners happy as with Bitcoin :-)

That the wallet doesn't show tx fee in the configuration is a bug. http://www.ppcointalk.org/index.php?topic=333.0

Ok, thanks for the clarification. I must admit I never tried to transfer the ~20 XPC that my aging i3 CPU mined when XPM was young :-)

Onkel Paul


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 17, 2013, 02:40:37 PM
yeah it's probably been disabled.

Oh well i will try my dedicated server and see what happens.

did anyone try this guide?

apt-get install make
apt-get install git
git clone https://bitbucket.org/pankkake/mikaelh2-primecoin
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
apt-get install libgmp-dev
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo “rpcuser=SomeUser
rpcpassword=SomethingReallyLong
gen=1″ > ~/.primecoin/primecoin.conf
sudo mv -f primecoind /usr/local/bin/.
primecoind –daemon -sievesize=200000
watch ‘primecoind listtransactions & primecoind getmininginfo’

it seems the guy didnt test it out and there are a few mistakes in there that stop it working?  someone told me this mikaelh2  version would work way better but i like a few others could not get that to work at all?  

Try this, just wrote the guide:
http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux

Is that multiple machines using the same wallet ecoinomist? You are getting a crazy number of blocks for one machine.

Is it possible for multiple machines to share one wallet? How would I do that? copy the wallet.dat around?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 17, 2013, 02:43:31 PM
yes


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 02:46:22 PM
yeah it's probably been disabled.

Oh well i will try my dedicated server and see what happens.

did anyone try this guide?

 

Try this, just wrote the guide:
http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux


thanks, i'm going to give it a try :)

will this work ok on centos 6.3 64bit?  

I don't know, haven't tested, only installed it on Ubuntu and Debian and both worked.


actually it worked fine :)  however the server says disconnected now. i think the vps provider is not good. I try the dedicated one now with centos and see if that works.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 17, 2013, 02:55:59 PM
You must have failed to compile, I guess you are running the low ram droplet. Try again, I updated the guide to include swapping (http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux):


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 02:57:40 PM
You must have failed to compile, I guess you are running the low ram droplet. Try again, I updated the guide to include swapping (http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux):

Yes it didnt compile the first time. I am going to test on the dedicated server now because that vps is not any use. In fact in the first swap commands it said not permitted so i think the provider is a pest.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 03:08:41 PM
ok well on centos

apt-get is not a command it knows?  what to put on centos?  anyone here use centos ?

can someone edit the guide for centos, i think lots of people use centos on their servers even more than ubuntu?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: BitRock on July 17, 2013, 03:13:05 PM
You must have failed to compile, I guess you are running the low ram droplet. Try again, I updated the guide to include swapping (http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux):

which vps are you using?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 03:15:52 PM
You must have failed to compile, I guess you are running the low ram droplet. Try again, I updated the guide to include swapping (http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux):

which vps are you using?

i scrapped that now since it wasnt working. I am trying on my dedicated server however

apt-get does not work

and when i try yum install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y


i get

Loaded plugins: dellsysid, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.sov.uk.goscomb.net
 * extras: mirrors.coreix.net
 * updates: mirror.as29550.net
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 3.7 MB     00:00
Setting up Install Process
No package build-essential available.
No package libssl-dev available.
No package libboost-all-dev available.
No package libdb5.3++-dev available.
Error: Nothing to do


so i'm guessing that yum install either wasnt correct or else libdb5.3++  etc does not work with centos 6.3 64bit?



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 17, 2013, 03:29:05 PM
You must have failed to compile, I guess you are running the low ram droplet. Try again, I updated the guide to include swapping (http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux):

which vps are you using?

i scrapped that now since it wasnt working. I am trying on my dedicated server however

apt-get does not work

and when i try yum install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y


i get

Loaded plugins: dellsysid, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.sov.uk.goscomb.net
 * extras: mirrors.coreix.net
 * updates: mirror.as29550.net
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 3.7 MB     00:00
Setting up Install Process
No package build-essential available.
No package libssl-dev available.
No package libboost-all-dev available.
No package libdb5.3++-dev available.
Error: Nothing to do


so i'm guessing that yum install either wasnt correct or else libdb5.3++  etc does not work with centos 6.3 64bit?



Bro, if you want it work, just install it exactly as I did. I have had that exact same code running on three different VPS providers, including the big buy Amazon EC2


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 03:34:05 PM
You must have failed to compile, I guess you are running the low ram droplet. Try again, I updated the guide to include swapping (http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux):

which vps are you using?

i scrapped that now since it wasnt working. I am trying on my dedicated server however

apt-get does not work

and when i try yum install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y


i get

Loaded plugins: dellsysid, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.sov.uk.goscomb.net
 * extras: mirrors.coreix.net
 * updates: mirror.as29550.net
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 3.7 MB     00:00
Setting up Install Process
No package build-essential available.
No package libssl-dev available.
No package libboost-all-dev available.
No package libdb5.3++-dev available.
Error: Nothing to do


so i'm guessing that yum install either wasnt correct or else libdb5.3++  etc does not work with centos 6.3 64bit?



Bro, if you want it work, just install it exactly as I did. I have had that exact same code running on three different VPS providers, including the big buy Amazon EC2

i tried your exact way but with centos 6.3 apt-get does not work it seems :(


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 17, 2013, 03:41:25 PM
No you didn't. Trying exactly my way means Ubuntu 13.04 x 64 bit.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 03:46:45 PM
No you didn't. Trying exactly my way means Ubuntu 13.04 x 64 bit.


Ah well sorry that is not possible since the server has already been running with centos for months and has websites hosted there so i can't really put ubuntu on it.
Was hoping there was a simple command change for centos to work.

Why on here is ubuntu so popular?? most hosts put centos on as default?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 17, 2013, 03:48:46 PM
yes

Do you know how to share a wallet after the fact? If I transferred all my coins to one and then copied that wallet.dat to all the other machines would that do it? That would make my life a lot easier.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: BitRock on July 17, 2013, 03:51:54 PM
No you didn't. Trying exactly my way means Ubuntu 13.04 x 64 bit.

Do I have to achieve 4k pps for each vps to get a block? Thanks


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 17, 2013, 03:52:58 PM
You must have failed to compile, I guess you are running the low ram droplet. Try again, I updated the guide to include swapping (http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux):

which vps are you using?

i scrapped that now since it wasnt working. I am trying on my dedicated server however

apt-get does not work

and when i try yum install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y


i get

Loaded plugins: dellsysid, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.sov.uk.goscomb.net
 * extras: mirrors.coreix.net
 * updates: mirror.as29550.net
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 3.7 MB     00:00
Setting up Install Process
No package build-essential available.
No package libssl-dev available.
No package libboost-all-dev available.
No package libdb5.3++-dev available.
Error: Nothing to do


so i'm guessing that yum install either wasnt correct or else libdb5.3++  etc does not work with centos 6.3 64bit?



Bro, if you want it work, just install it exactly as I did. I have had that exact same code running on three different VPS providers, including the big buy Amazon EC2

i tried your exact way but with centos 6.3 apt-get does not work it seems :(

Just use yum. "Yum search" should get you what you need.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 17, 2013, 03:58:11 PM
No you didn't. Trying exactly my way means Ubuntu 13.04 x 64 bit.


Ah well sorry that is not possible since the server has already been running with centos for months and has websites hosted there so i can't really put ubuntu on it.
Was hoping there was a simple command change for centos to work.

Why on here is ubuntu so popular?? most hosts put centos on as default?

Use yum search or even google to find what packages your distro has for the things you are missing.

Fedora uses yum too, package names are not the same as in debian-derived distros but search for the missing thing, like yum search ssl or whatever and usually something that is reasonably recognisable as probably providing what you want will be found. If not google the actual lib its not able to link if the linker didn't tell you what package you need to get it and usually some google result will hint what package its in. or there are RPM sites where you can search to find even third party RPMs for stuff. So really it all just amounts to don't be lazy, use search routines.

You likely don't even have it as bad as Fedora, as your openssl might have elliptic curves built in, Fedora's doesn't due to some expired patent they evidently are still worried about so on Fedora I have to build openssl myself to get elliptic curves into it.

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 17, 2013, 04:12:48 PM
yes

Do you know how to share a wallet after the fact? If I transferred all my coins to one and then copied that wallet.dat to all the other machines would that do it? That would make my life a lot easier.

I did something similar and it works fine.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 17, 2013, 04:13:36 PM
yes

Do you know how to share a wallet after the fact? If I transferred all my coins to one and then copied that wallet.dat to all the other machines would that do it? That would make my life a lot easier.

Guys I don't wanna answer the same questions more than once (which is what happens in forums a lot), if you have questions, please post on my site and I will answer them.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: cryptohunter on July 17, 2013, 04:15:38 PM
You must have failed to compile, I guess you are running the low ram droplet. Try again, I updated the guide to include swapping (http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux):

which vps are you using?

i scrapped that now since it wasnt working. I am trying on my dedicated server however

apt-get does not work

and when i try yum install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y


i get

Loaded plugins: dellsysid, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.sov.uk.goscomb.net
 * extras: mirrors.coreix.net
 * updates: mirror.as29550.net
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 3.7 MB     00:00
Setting up Install Process
No package build-essential available.
No package libssl-dev available.
No package libboost-all-dev available.
No package libdb5.3++-dev available.
Error: Nothing to do


so i'm guessing that yum install either wasnt correct or else libdb5.3++  etc does not work with centos 6.3 64bit?



Bro, if you want it work, just install it exactly as I did. I have had that exact same code running on three different VPS providers, including the big buy Amazon EC2

i tried your exact way but with centos 6.3 apt-get does not work it seems :(

Just use yum. "Yum search" should get you what you need.


okay thanks should i type that in on ssh ? yum search then the package?  i've only used windows vista and windows 7 before. Linux seems much more tricky.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 6strings on July 17, 2013, 05:18:27 PM
Im using the version found here: https://bitbucket.org/pankkake/mikaelh2-primecoin on ec2 ubuntu 12.04 cc2xl. I am getting 15kppps and thats awesome but it seems to be randomly stopping and needs to be started up again.
Anyone else experiencing this?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ghostlander on July 17, 2013, 05:26:35 PM
Im using the version found here: https://bitbucket.org/pankkake/mikaelh2-primecoin on ec2 ubuntu 12.04 cc2xl. I am getting 15kppps and thats awesome but it seems to be randomly stopping and needs to be started up again.
Anyone else experiencing this?

https://bitcointalk.org/index.php?topic=255782.msg2748193#msg2748193


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 6strings on July 17, 2013, 05:36:12 PM
^ awesome. tyvm.
I ran settxfee 0.01 and it returned true. Should I be good to go now?
edit: doesn't seem to be the solution.
not sure what to do.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 17, 2013, 05:47:29 PM
Im using the version found here: https://bitbucket.org/pankkake/mikaelh2-primecoin on ec2 ubuntu 12.04 cc2xl. I am getting 15kppps and thats awesome but it seems to be randomly stopping and needs to be started up again.
Anyone else experiencing this?
I have the same problem with 8core ubuntu. How can I fix that?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Aggrophobia on July 17, 2013, 05:53:03 PM
restart... ;)

could anyone do the math about the ratio between 5-chains and 8-chains?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ghostlander on July 17, 2013, 06:11:25 PM
^ awesome. tyvm.
I ran settxfee 0.01 and it returned true. Should I be good to go now?
edit: doesn't seem to be the solution.
not sure what to do.

Write a shell script to run another instance when the previous one dies.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Koooooj on July 17, 2013, 06:25:42 PM
restart... ;)

could anyone do the math about the ratio between 5-chains and 8-chains?

I found that the ratio between 1-chains and 5-chains was approximately 124, which would suggest that the ratio between N-chains and N+1-chains is about 12:1.  That would suggest that there are about 123 5-chains per 8-chain, or about 1,728:1.

If that ratio holds (there's no guarantee that the ratio of N-chains to N+1-chains is constant) then a miner with 1,728 5-chains/hour should find a block every 10 hours when the difficulty is 8.9, every 20 hours when difficulty is 8.95, or every 100 hours when difficulty is 8.99 (all of these are rough averages).  This math should not be taken as anything other than a crude approximation, but it should give an idea of order of magnitude.  My experience has shown that this approximation is at least within a factor of 10.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: versificateur on July 17, 2013, 06:29:18 PM
Hi all!
Is there any guide to build primecoin-qt on ubuntu 13.04 or someone could help me? (I saw a screenshot on ubuntu)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 17, 2013, 06:50:44 PM
I get this error:

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/alert.o] Error 4

How do I fix it?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 17, 2013, 06:52:54 PM
I get this error:

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/alert.o] Error 4

How do I fix it?

By using enough RAM, maybe? How much RAM you got and how much swap space?

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 17, 2013, 06:58:58 PM
I get this error:

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/alert.o] Error 4

How do I fix it?

By using enough RAM, maybe? How much RAM you got and how much swap space?

-MarkM-


1.5 GB Swap and 256 mb RAM.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: teknohog on July 17, 2013, 07:05:41 PM
Gentoo ebuild of hp4:

https://github.com/teknohog/ebuilds/tree/master/net-p2p/primecoind-hp

BTW, in case you wonder about different ebuilds from different people, mine are not just straight from the source, but based on bitcoind from Portage. They include a patch to use system leveldb, instead of building its own copy each time.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tinnvec on July 17, 2013, 07:06:54 PM
restart... ;)

could anyone do the math about the ratio between 5-chains and 8-chains?

This shouldn't be taken as 100% correct, but I seem to remember it being mentioned that each step up in chain length is a 30 fold increase. so an 8 length chain would be 30x more difficult than a 7 length chain, and a 9 length chain would then be 900x more difficult than a 7 length chain.

Again this is from memory, if I can find the post again, I'll add a link (though the math a few posts before this one looks reasonable too!)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: teknohog on July 17, 2013, 07:35:00 PM
This shouldn't be taken as 100% correct, but I seem to remember it being mentioned that each step up in chain length is a 30 fold increase. so an 8 length chain would be 30x more difficult than a 7 length chain, and a 9 length chain would then be 900x more difficult than a 7 length chain.

So in other words, your average rate of blocks per hour would be the 5-chain rate / 30^(diff - 5). Time to write a script...

Edit: updated the script (https://github.com/teknohog/bittools/blob/master/scripts/coinfo.py).


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: alexxy on July 17, 2013, 08:16:40 PM
This shouldn't be taken as 100% correct, but I seem to remember it being mentioned that each step up in chain length is a 30 fold increase. so an 8 length chain would be 30x more difficult than a 7 length chain, and a 9 length chain would then be 900x more difficult than a 7 length chain.

So in other words, your average rate of blocks per hour would be the 5-chain rate / 30^(diff - 5). Time to write a script...

Ghmm, seems i have much higher block rate for my systems


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Beaflag VonRathburg on July 17, 2013, 08:19:54 PM
^ It sounds really simple, but are you logged in as root or using sudo?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 17, 2013, 08:26:12 PM
I'm searching for a git repository of the HP2.
Anyone?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: alexxy on July 17, 2013, 08:46:05 PM
^ It sounds really simple, but are you logged in as root or using sudo?

You dont neet to be root on system that run primecoind. Its not require any root privilegies


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: enuma on July 17, 2013, 09:32:25 PM
difficulty nearing the 9....  8.95968717 --->  8.96057361 in less then 2 hours


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 17, 2013, 10:08:38 PM
This shouldn't be taken as 100% correct, but I seem to remember it being mentioned that each step up in chain length is a 30 fold increase. so an 8 length chain would be 30x more difficult than a 7 length chain, and a 9 length chain would then be 900x more difficult than a 7 length chain.

So in other words, your average rate of blocks per hour would be the 5-chain rate / 30^(diff - 5). Time to write a script...

Edit: updated the script (https://github.com/teknohog/bittools/blob/master/scripts/coinfo.py).

How do we download it and run it?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 17, 2013, 10:12:02 PM
This shouldn't be taken as 100% correct, but I seem to remember it being mentioned that each step up in chain length is a 30 fold increase. so an 8 length chain would be 30x more difficult than a 7 length chain, and a 9 length chain would then be 900x more difficult than a 7 length chain.

So in other words, your average rate of blocks per hour would be the 5-chain rate / 30^(diff - 5). Time to write a script...

Edit: updated the script (https://github.com/teknohog/bittools/blob/master/scripts/coinfo.py).

Why did you write this script? what did you change, and what problem did you solve?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: minerapia on July 17, 2013, 10:18:40 PM
This shouldn't be taken as 100% correct, but I seem to remember it being mentioned that each step up in chain length is a 30 fold increase. so an 8 length chain would be 30x more difficult than a 7 length chain, and a 9 length chain would then be 900x more difficult than a 7 length chain.

So in other words, your average rate of blocks per hour would be the 5-chain rate / 30^(diff - 5). Time to write a script...

Edit: updated the script (https://github.com/teknohog/bittools/blob/master/scripts/coinfo.py).

Why did you write this script? what did you change, and what problem did you solve?
Looks to me that its a python script, basicly a frontend for,
currency = {
    "bitcoin": "BTC",
    "chncoin": "CNC",
    "litecoin": "LTC",
    "namecoin": "NMC",
    "ppcoin": "PPC",
    "primecoin": "XPM",
}
Makes bitcoind/primecoind/... usage easier, etc. updated script also tries to estimate block finding time for XPM also.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dego on July 17, 2013, 10:57:02 PM
Hi all!
Is there any guide to build primecoin-qt on ubuntu 13.04 or someone could help me? (I saw a screenshot on ubuntu)

Just cd into the source directory (usually 'primecoin') and compile the qt client:

Code:
qmake bitcoin-qt.pro USE_UPNP=-
make

that's all... the binary then appears in the source folder. Of course it might stop while missing some dependencies, but it will tell you... ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Koooooj on July 17, 2013, 11:50:59 PM
This shouldn't be taken as 100% correct, but I seem to remember it being mentioned that each step up in chain length is a 30 fold increase. so an 8 length chain would be 30x more difficult than a 7 length chain, and a 9 length chain would then be 900x more difficult than a 7 length chain.

So in other words, your average rate of blocks per hour would be the 5-chain rate / 30^(diff - 5). Time to write a script...

Edit: updated the script (https://github.com/teknohog/bittools/blob/master/scripts/coinfo.py).

I don't think that's quite it, but it's close.  I don't think this is a case where we can use 30 as the ratio between each chain length; empirically it seems to be off, at the very least--I've estimated it as closer to 12 by looking at the gap between 1- and 5-chains.

Also, that would not be the blocks per hour; it would be the number of 8-chains per hour.  Primecoin has a fractional difficulty that is roughly linear, so if the difficulty is 8.5 then about half of all 8-chains are not valid work shares.  If the difficulty is 8.99 then only 1 in 100 8-chains are valid.  You need to account for that before you arrive at blocks per hour.  Generally it is blocks per hour = 8-chains/h * (1+difficulty-floor(difficulty)), but when you get close to the next integer difficulty things get weird since 9-chains work for difficulty 8.XX and 9-chains are more common than 8.995 chains.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: edn247 on July 18, 2013, 12:10:10 AM
Haven't got any primes in a while, but probably getting too hard for a pair of i7 laptops...  difficulty=8.9630686


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 18, 2013, 02:12:06 AM
anyone have a way to measure difficulty? I'm seeing a big drop in my cpu cluster with blocks as well


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 18, 2013, 02:21:22 AM
Go to console and type getdifficulty.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Luckybit on July 18, 2013, 03:12:40 AM
Gentoo ebuild of hp4:

https://github.com/teknohog/ebuilds/tree/master/net-p2p/primecoind-hp

BTW, in case you wonder about different ebuilds from different people, mine are not just straight from the source, but based on bitcoind from Portage. They include a patch to use system leveldb, instead of building its own copy each time.

Now how about Ubuntu?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 18, 2013, 04:32:47 AM
Very odd....

When I got up today both my Primecoin wallets were not connected, it appears the internet connection went down.  So I reconnected them. 

When I first observed offline wallet #1 this morning it showed a total of 102.?? xpm which was strange because the accepted coins seemed no different than when I went to bed but at that time the total was 85.?? + immature 12.??  which when matured would give me 98.??    And my last coin batch had been received on the 17 July.

I turned off the wallet and reconnected the internet.  When I restarted the wallet it reverted to displaying what I recall it had shown the night before, with 85.60 xpm + immature 12.45, however it now showed a immature coin batch as received on 18th July (not there before), and it still showed a SINGLE coin batch as received on the 17th (but with a different timestamp to before).   All other coins received dates and times seem not to have changed.  In order to make the totals add up it is as if an older mined coin batch has disappeared but that would not add up with the total approx xpm due to diff bounty sizes and I have had no bad coins.

I understand there were some date stamp issues occurring, but still this doesn't make any sense at all...

All thoughts welcomed!



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 18, 2013, 05:03:00 AM
Hmm..  I've rethought this...

maybe there were 2 payments on the 16th (although I'd only remembered there being one) and one of the 16th payments has been restamped as the 17th and the 17th payment has been restamped as the 18th, although having said that all other previous payments are still showing original date/time stamps.  Would that be possible?

Also, doesn't explain the 102.?? xpm total that was showing.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 18, 2013, 05:04:53 AM
Keep those prices high ;)

By the way, two of these blocks are only a SINGLE block apart, haha!

https://dl.dropboxusercontent.com/u/17275510/tybg.png


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 18, 2013, 05:20:49 AM

Whaaaaat... what's your PPS and build?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 18, 2013, 05:21:02 AM
Over 600k PPS, HP4.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 18, 2013, 05:29:49 AM

Shit! How? EC2?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 18, 2013, 05:30:48 AM
Nope. None of those are profitable anymore. Private VPNs. Pretty certain no one else is mining XPM with them.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: superfluouso on July 18, 2013, 05:45:49 AM
Nope. None of those are profitable anymore. Private VPNs. Pretty certain no one else is mining XPM with them.

uhhh...what? shed more light?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 18, 2013, 05:48:58 AM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 18, 2013, 05:50:46 AM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 18, 2013, 05:51:16 AM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag
I don't mind answering questions/getting flames/etc, but apparently everyone thinks I'm beating out people because of a GPU miner.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: superfluouso on July 18, 2013, 05:57:26 AM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag
I don't mind answering questions/getting flames/etc, but apparently everyone thinks I'm beating out people because of a GPU miner.
Would have been beneficial to you and the board if you were just more explicit.  So you have 1 vpn? 2? and on each of these what type of servers? how many? how many cores in each?  

Edit:  Also you imply VPS's are no longer profitable, when it appears you could simply duplicate what you're doing w/ vps so I'm not clear how its not equally profitable, unless you're using someone else's server in a datacenter whose resources are paid by someone else.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 18, 2013, 06:01:51 AM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag
I don't mind answering questions/getting flames/etc, but apparently everyone thinks I'm beating out people because of a GPU miner.
Would have been beneficial to you and the board if you were just more explicit.  So you have 1 vpn? 2? and on each of these what type of servers? how many? how many cores in each?  

Edit:  Also you imply VPS's are no longer profitable, when it appears you could simply duplicate what you're doing w/ vps so I'm not clear how its not equally profitable, unless you're using someone else's server in a datacenter whose resources are paid by someone else.
Amazon/DO is no longer profitable. Private companies/datacenters is something different. I am paying for the services.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: teknohog on July 18, 2013, 07:44:39 AM
Why did you write this script? what did you change, and what problem did you solve?
Looks to me that its a python script, basicly a frontend for,
currency = {
    "bitcoin": "BTC",
    "chncoin": "CNC",
    "litecoin": "LTC",
    "namecoin": "NMC",
    "ppcoin": "PPC",
    "primecoin": "XPM",
}
Makes bitcoind/primecoind/... usage easier, etc. updated script also tries to estimate block finding time for XPM also.

I should probalby have linked to the readme (https://github.com/teknohog/bittools) instead. These are some of my personal cryptocoin scripts I've been building up since 2010, and I'm not sure if they are useful to anyone else, but feel free to grab some ideas.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Kujmandosz on July 18, 2013, 08:04:45 AM
I've just downloaded the new wallet. It won't sync and says: No block source available.

What should I do?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: teknohog on July 18, 2013, 08:06:09 AM
I don't think that's quite it, but it's close.  I don't think this is a case where we can use 30 as the ratio between each chain length; empirically it seems to be off, at the very least--I've estimated it as closer to 12 by looking at the gap between 1- and 5-chains.

Also, that would not be the blocks per hour; it would be the number of 8-chains per hour.  Primecoin has a fractional difficulty that is roughly linear, so if the difficulty is 8.5 then about half of all 8-chains are not valid work shares.  If the difficulty is 8.99 then only 1 in 100 8-chains are valid.  You need to account for that before you arrive at blocks per hour.  Generally it is blocks per hour = 8-chains/h * (1+difficulty-floor(difficulty)), but when you get close to the next integer difficulty things get weird since 9-chains work for difficulty 8.XX and 9-chains are more common than 8.995 chains.

Aha, so while the integer part is logarithmic, the fractional part is linear? I thought the fractional part was represented in a way that makes the entire number smoothly logarithmic (if you have something linear, just take the log, then the addition of these parts corresponds to multiplication in the "original" difficulty space).

Of course, if there are these complications close to the next integer, it won't work exactly, but it might be a useful estimate for long-term block rewards anyway. It's not like mining calculators can guarantee when you find the next block ;) In fact, whether the fractional part is logarithmic or linear won't make such a huge difference, because a huge majority of the difficulty is in the integer part. (Putting my physicist hat on - we're interpolating between two points we know to be correct, so it's hard to make any huge deviations, especially when you are close to either point.)

I admit the base must be much more like 12 than 30, when looking at past block rates. I wonder where the 30 came from, though, I recall seeing it in a number of posts...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: forsetifox on July 18, 2013, 08:09:35 AM
I've just downloaded the new wallet. It won't sync and says: No block source available.

What should I do?

You probably need some nodes. Add these to your config file.

addnode=107.20.202.112
addnode=54.225.123.87
addnode=54.224.142.224
addnode=184.72.193.229
addnode=23.20.77.101
addnode=54.224.95.193
addnode=54.234.90.173
addnode=23.21.2.143
addnode=23.20.0.137
addnode=50.16.112.122
addnode=50.112.197.152
addnode=68.226.25.44


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 18, 2013, 08:15:48 AM
I've just downloaded the new wallet. It won't sync and says: No block source available.

What should I do?

You probably need some nodes. Add these to your config file.

addnode=107.20.202.112
addnode=54.225.123.87
addnode=54.224.142.224
addnode=184.72.193.229
addnode=23.20.77.101
addnode=54.224.95.193
addnode=54.234.90.173
addnode=23.21.2.143
addnode=23.20.0.137
addnode=50.16.112.122
addnode=50.112.197.152
addnode=68.226.25.44

Mostly amazon ips i see :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Kujmandosz on July 18, 2013, 08:17:11 AM
Can you post a general config setup for me here?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 18, 2013, 08:17:39 AM
I've just downloaded the new wallet. It won't sync and says: No block source available.

What should I do?

It looks like the seed nodes are getting pummeled a bit, one of the side effects of huge popularity! I think if you're patient a spot will open up.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: forsetifox on July 18, 2013, 08:29:55 AM
Can you post a general config setup for me here?

gen=0
server=1
rpcuser=homersimpson
rpcpassword=lovesdoughnuts
rpcallowip=192.168.*.*   <-- change this to what your network ip range is.
rpcport=9910
addnode=107.20.202.112
addnode=54.225.123.87
addnode=54.224.142.224
addnode=184.72.193.229
addnode=23.20.77.101
addnode=54.224.95.193
addnode=54.234.90.173
addnode=23.21.2.143
addnode=23.20.0.137
addnode=50.16.112.122
addnode=50.112.197.152
addnode=68.226.25.44


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 18, 2013, 08:43:15 AM
well

looks like I have stopped finding blocks....diff to high now....:(

have not found in hours!!!!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: junglist.massive on July 18, 2013, 08:46:34 AM
what is best primecoin mining client?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 18, 2013, 08:47:10 AM
what is best primecoin mining client?

https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/SHARP_ELSIMATE_EL-W221.jpg/220px-SHARP_ELSIMATE_EL-W221.jpg


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: junglist.massive on July 18, 2013, 08:55:54 AM
meh


I;m looking something for win 32bit


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: junglist.massive on July 18, 2013, 08:56:20 AM
btw casio4life


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Wolf0 on July 18, 2013, 08:56:35 AM
what is best primecoin mining client?

The best Primecoin mining client is...

...found by doing your research.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: junglist.massive on July 18, 2013, 09:01:28 AM
I know that I can mining on wallet but I'm looking for something faster for win 32


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Wolf0 on July 18, 2013, 09:14:11 AM
I know that I can mining on wallet but I'm looking for something faster for win 32

Again, it's around these forums. Look for mikaelh.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 18, 2013, 09:17:02 AM
I know that I can mining on wallet but I'm looking for something faster for win 32

Again, it's around these forums. Look for mikaelh.

Huh, isn't that what this thread itself is about?

(I guess if I read the first post of the thread I'd know that, but I haven't in so long and these questions really have me wondering now...)

If the objective is an external mining program, then there might be bounties one can contribute to that aim at getting such a thing built, though maybe mostly they want it to be able to use GPUs.

There is the luke's miner prime branch project too though which maybe hasn't even had bounties thrown at it yet...

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notme on July 18, 2013, 09:18:41 AM
Does anyone have a clone of the repo?  Github has taken it down for excessive use of resources.

Edit: sf link, duh


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 18, 2013, 09:19:32 AM
Does anyone have a clone of the repo?  Github has taken it down for excessive use of resources.

Yeah the people who provided links to such repos right here in this thread do, or are theirs down too now?

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: versificateur on July 18, 2013, 09:21:19 AM
Hi all!
Is there any guide to build primecoin-qt on ubuntu 13.04 or someone could help me? (I saw a screenshot on ubuntu)

Just cd into the source directory (usually 'primecoin') and compile the qt client:

Code:
qmake bitcoin-qt.pro USE_UPNP=-
make

that's all... the binary then appears in the source folder. Of course it might stop while missing some dependencies, but it will tell you... ;)

Thanks! I finally won't use it. primecoind runs fine for me. Turn my rig on 12h ago and already got two block :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: idny on July 18, 2013, 09:28:28 AM
well

looks like I have stopped finding blocks....diff to high now....:(

have not found in hours!!!!

Same here. 3500 PPS
Nothing in 72 hours. Was getting 2/3 blocks per day before.

But then again, since I changed to HP4 from the Sunny's version i've had nothing.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 18, 2013, 09:32:01 AM
well

looks like I have stopped finding blocks....diff to high now....:(

have not found in hours!!!!

Same here. 3500 PPS
Nothing in 72 hours. Was getting 2/3 blocks per day before.

But then again, since I changed to HP4 from the Sunny's version i've had nothing.
I can assure you that mikealh's hp4 is the best version out there.  The reason you're not getting blocks is now high difficulty & bad luck.  I have several 10k PPS machines and some of them are not finding blocks in 24 hours now.  Then I have others that have found 3-4 in the same time.  Just be patient.  Or try the pool.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Adrenalin on July 18, 2013, 09:33:25 AM
I`ve found only 8 blocks total. (using hp2 and hp3) And now for 30 hours of mining no block.... (using hp4) :(


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 18, 2013, 09:34:26 AM
Yeah its definitely time for everyone but me to stop mining, it is getting way too hard.

-MarkM-



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: junglist.massive on July 18, 2013, 09:45:39 AM
Hi I've got that error when I want to open this client. any Ideas?

Quote
Microsoft Visual C++ Runtime Library

Program:c:\ne\primecoin-qt.exe
File src/main.cpp
Line 2800

Expression: block.CheckBlock(state, true , true)

For information on how yoiur program can cause an assertion failure, se the Visual C++ documentation on asserts


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 18, 2013, 09:49:25 AM
Hi I've got that error when I want to open this client. any Ideas?

Quote
Microsoft Visual C++ Runtime Library

Program:c:\ne\primecoin-qt.exe
File src/main.cpp
Line 2800

Expression: block.CheckBlock(state, true , true)

For information on how yoiur program can cause an assertion failure, se the Visual C++ documentation on asserts

Do you rescan when you start the client, in case it didn't shut down cleanly last time it shut down?

if not, is there any chance that at any time since last you did rescan it might not have shut down cleanly?

If even with rescan it asserts, maybe the database needs a database fixer of some kind run on it?

(Which might for windows users normally devolve into "delete the chain and download it from scratch"...?)

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Subw on July 18, 2013, 10:21:39 AM
I have several 10k PPS machines
which CPU please?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ptshamrock on July 18, 2013, 10:27:11 AM
can somebody point me to the compiling instructions?

I really dont get it :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 18, 2013, 10:33:18 AM
I`ve found only 8 blocks total. (using hp2 and hp3) And now for 30 hours of mining no block.... (using hp4) :(

im doing 26 k pps on hp4 and 11K on hp2, no block for at least 12 hrs...

before that blocks every few hours


some one or something is getting it all now...!

I suspect a closed better algo, or gpu's or even fpga's


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 18, 2013, 10:34:13 AM
Upgraded to HP4 from some cobbled together mess of optimizations I was running on 10 DO micro instances. Been humming for about 15 minutes now, maybe 5000pps (~500 per 512mb instance) and I already snagged a block...but a measly 12.41 reward? I pine for the days of 22 xpm rewards!  :P Wish I would have been running this beast day one!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 18, 2013, 10:35:12 AM
Don't say that, now maybe they won't give up and leave all the blocks to us! :P

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 18, 2013, 10:35:40 AM
I`ve found only 8 blocks total. (using hp2 and hp3) And now for 30 hours of mining no block.... (using hp4) :(

im doing 26 k pps on hp4 and 11K on hp2, no block for at least 12 hrs...

before that blocks every few hours


some one or something is getting it all now...!

I suspect a closed better algo, or gpu's or even fpga's

Dude, you don't understand variance, and the fact that difficulty is 900 times harder now, if the difficulty scale is log 30.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 18, 2013, 10:36:08 AM
Don't say that, now maybe they won't give up and leave all the blocks to us! :P

-MarkM-


I mean...yeah...this build is broken. I ran it on my PC and got herpes.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 18, 2013, 10:36:45 AM
yeah I do understand logs really well....

the fact is you just snagged one with what 6K pps?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 18, 2013, 10:37:59 AM
if this carries on the price of XPM is really going up.....



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 18, 2013, 10:38:44 AM
yeah I do understand logs really well....

the fact is you just snagged one with what 6K pps?

With about fifteen minutes of running it. Not sure when it was actually found. The point is that blocks are not being snatched up by some evil hobgoblin atop a pile of prime numbers.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 18, 2013, 10:39:16 AM
if this carries on the price of XPM is really going up.....

Oh no, if that happens ordinary PCs will be able to go how many days/weeks without finding a block and still turn a profit?!?!

This is terrible! Everyone should be warned that everyone else is going to end up mining onward forever even while making massive losses, so there is no point joining them and being just another maker of massive losses!

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 18, 2013, 10:40:16 AM
yeah I do understand logs really well....

the fact is you just snagged one with what 6K pps?

Ok, then...without factoring in miner optimization, you should be pulling down 1/900th of what you were. Factoring in those optimizations, you're still looking at 1/90th of what you were. Math. I am really bad at it, but it's pretty obvious in this case.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 18, 2013, 10:41:10 AM
if this carries on the price of XPM is really going up.....

Oh no, if that happens ordinary PCs will be able to go how many days/weeks without finding a block and still turn a profit?!?!

-MarkM-


Right? I hopped in on day two or three and pulled down five on my ultrabook that pulls 45w max. I am pretty sure I am in the black for a long while, and that's not sustainable. Coin has merit, but this is a speculative bubble.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 18, 2013, 10:44:40 AM
The mining itself seems very likely to turn into a speculative bubble. Lets speculate as to whether leaving our machines on another minute, another hour, another day etc etc will end up profitable once we really do happen upon another block...

The exchange rate increasing will feed that...

Intermittent reinforcement is so insidious...

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dego on July 18, 2013, 10:53:07 AM
Compiling for linux? e.g on Ubuntu 13.04 64bit it should work like this

1. update your apt sources

Code:
sudo apt-get update

2. install necessary packages

Code:
sudo apt-get install bzip2 git git-core subversion checkinstall build-essential libssl-dev libboost-all-dev libdb5.1-dev libdb5.1++-dev libgtk2.0-dev

3. get source files from sourceforge

Code:
wget http://downloads.sourceforge.net/project/primecoin-hp/0.1.1-hp4/primecoin-0.1.1-hp4.tar.bz2

4. check downloades files for sha1sum: deb2673c5c8036ede4a2d1e944ce8b0e59e26c56

Code:
sha1sum 0.1.1-hp4/primecoin-0.1.1-hp4.tar.bz2

5. unzip

Code:
tar jxvf 0.1.1-hp4/primecoin-0.1.1-hp4.tar.bz2

6. enter source directory

Code:
cd primecoin-0.1.1-hp4/src

7. make

Code:
make -f makefile.unix USE_UPNP=-

8. after the make process you'll find the binary primecoind within the src folder. just start it with:

Code:
./primecoind --daemon

9. if you want the qt client change directory

Code:
cd ..

10. qmake

Code:
qmake bitcoin-qt.pro

11. make

Code:
make

after the make process you'll find primecoin-qt in the directory, launch with

Code:
./primecoin-qt

12. start mining with the command line client:

Code:
./primecoind setgenerate true

13. watch what primecoind is doing

Code:
watch -d -n 5 './primecoind getmininginfo && ./primecoind getdifficulty && ./primecoind listtransactions "*" 1 0'


Ah, somewhere in between you have to make a primecoin.conf file in ./primecoin. Do so...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 18, 2013, 11:02:14 AM
The mining itself seems very likely to turn into a speculative bubble. lets speculate as to whether leaving our machines on another minute, another hour, another day etc etc will end up profitable once we really do happen upon another block...

The exchange rate increasing will feed that...

Intermittent reinforcement is so insidious...

-MarkM-


I don't care how much the network hits me, as long as it gives me a treat every once in a while. I will still love it. People keep telling me to leave the network, but they don't understand how stressed the network gets with proof of work, and then there are all the little instances screaming at him and clamoring for validation. How would they take it if I left the network? How would I take care of them without the network? Really, it's my fault for burning the roast anyways. I don't even deserve the measly blocks it does give me, but it's a good, kind network that cares about me.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: MarpleTrading on July 18, 2013, 11:16:02 AM
I was wondering what PPS should I get from a 12 core Xeon, using HP4?



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vannicke on July 18, 2013, 11:20:52 AM
I finally turned my intels off ... but I'm leaving one either lucky / great cpu running for kicks.

The one AMD Phenom II 1100T has netted me $300 alone, my sandy bridge i7s got me a whopping 15$ each, and a i5-3570k brought in a measly $25, not to mention this laptop, which somehow grabbed a block with its A8 ... net power usage can't have been $10 overall, since it's only been days, and the AMD is on anyhow running my LTC rig, so its hardly added to power, yet brought in loads of XPM

Yay 1$/XPM.  I made a killing this week compared to LTC.  I wonder where the bubble will pop.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: frank1892 on July 18, 2013, 11:28:42 AM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag
I don't mind answering questions/getting flames/etc, but apparently everyone thinks I'm beating out people because of a GPU miner.
Would have been beneficial to you and the board if you were just more explicit.  So you have 1 vpn? 2? and on each of these what type of servers? how many? how many cores in each?  

Edit:  Also you imply VPS's are no longer profitable, when it appears you could simply duplicate what you're doing w/ vps so I'm not clear how its not equally profitable, unless you're using someone else's server in a datacenter whose resources are paid by someone else.
Amazon/DO is no longer profitable. Private companies/datacenters is something different. I am paying for the services.

May I ask how to use a lot computers calculation at one wallet? Any mining client can be use? I don't understand how can you have 600K PPS in one wallet? Please share some idea to us. Thanks.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 18, 2013, 11:39:39 AM
I finally turned my intels off ... but I'm leaving one either lucky / great cpu running for kicks.

The one AMD Phenom II 1100T has netted me $300 alone, my sandy bridge i7s got me a whopping 15$ each, and a i5-3570k brought in a measly $25, not to mention this laptop, which somehow grabbed a block with its A8 ... net power usage can't have been $10 overall, since it's only been days, and the AMD is on anyhow running my LTC rig, so its hardly added to power, yet brought in loads of XPM

Yay 1$/XPM.  I made a killing this week compared to LTC.  I wonder where the bubble will pop.

there going be less primes that LTC *I think* it should at least go to LTC level.....if not higher....


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 18, 2013, 12:19:37 PM
With adjusted diff.
LTC :  28K coin/day
XPM : 18k coin/day


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: flowice on July 18, 2013, 01:17:02 PM
Q: Why is my performance worse on Linux?
A: This version relies on libgmp to do most of the complex calculations. Make sure your libgmp is up-to-date. Old versions do not support newer CPUs. I suggest compiling your own libgmp from latest source code for maximum performance.

What should I do?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 18, 2013, 01:22:01 PM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag
I don't mind answering questions/getting flames/etc, but apparently everyone thinks I'm beating out people because of a GPU miner.
Would have been beneficial to you and the board if you were just more explicit.  So you have 1 vpn? 2? and on each of these what type of servers? how many? how many cores in each?  

Edit:  Also you imply VPS's are no longer profitable, when it appears you could simply duplicate what you're doing w/ vps so I'm not clear how its not equally profitable, unless you're using someone else's server in a datacenter whose resources are paid by someone else.
Amazon/DO is no longer profitable. Private companies/datacenters is something different. I am paying for the services.

May I ask how to use a lot computers calculation at one wallet? Any mining client can be use? I don't understand how can you have 600K PPS in one wallet? Please share some idea to us. Thanks.

By putting the same wallet.dat on each of the clients.  Then you can just watch the transaction history from one client.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 18, 2013, 02:18:17 PM
i noticed in the sunny king repo he as implemented a "dynamic sieve"....is this in the hp4, is it better than hp4


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 18, 2013, 02:44:35 PM
has anyone done any conclusive testing with the sievesize?  I did, and found that 2000000 was marginally better than 1000000 on the testnet, but that was using the 5-chain estimates from debug.log.  I haven't done anything on the live network and haven't heard that anyone else has either.  I think the diff is too high to do any conclusive testing now as the time between finding blocks is too high and variable.

Time for mikaelh to do some magic and put out an hp5 I think ;)

 -PTT


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: oroqen on July 18, 2013, 02:54:37 PM
has anyone done any conclusive testing with the sievesize?  I did, and found that 2000000 was marginally better than 1000000 on the testnet, but that was using the 5-chain estimates from debug.log.  I haven't done anything on the live network and haven't heard that anyone else has either.  I think the diff is too high to do any conclusive testing now as the time between finding blocks is too high and variable.

Time for mikaelh to do some magic and put out an hp5 I think ;)

 -PTT
or do the same magic with bfgminer and sort out primecoins API to work on mainnet


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 18, 2013, 02:57:51 PM
has anyone done any conclusive testing with the sievesize?  I did, and found that 2000000 was marginally better than 1000000 on the testnet, but that was using the 5-chain estimates from debug.log.  I haven't done anything on the live network and haven't heard that anyone else has either.  I think the diff is too high to do any conclusive testing now as the time between finding blocks is too high and variable.

Time for mikaelh to do some magic and put out an hp5 I think ;)

 -PTT
http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux#sieve


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 18, 2013, 03:01:52 PM
has anyone done any conclusive testing with the sievesize?  I did, and found that 2000000 was marginally better than 1000000 on the testnet, but that was using the 5-chain estimates from debug.log.  I haven't done anything on the live network and haven't heard that anyone else has either.  I think the diff is too high to do any conclusive testing now as the time between finding blocks is too high and variable.

Time for mikaelh to do some magic and put out an hp5 I think ;)

 -PTT
http://ecoinomist.com/xpm-primecoin-mining-guide-on-linux#sieve
That's useful, but what about on the testnet or even looking at the 5-chains output in debug.log on the live net?  mikeal himself reported finding more blocks on the testnet with 2m


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 18, 2013, 03:37:32 PM
http://www.coindesk.com/discount-code-and-primecoin-mining-enthusiasm-cause-cloud-server-overload/


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mhps on July 18, 2013, 03:53:20 PM
http://www.coindesk.com/discount-code-and-primecoin-mining-enthusiasm-cause-cloud-server-overload/

The referral kickback probably made more money for the poster than the blocks he/she mined.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 18, 2013, 05:23:39 PM
-hp5 released!

This version adds a fast 32-bit routine for inverting numbers. I did some other small performance improvements to the sieve as well. Nothing really big though. Only a 2% improvement in my benchmark.

Official backup repository is now on bitbucket:
https://bitbucket.org/mikaelh/primecoin-hp

But please download the source code from SourceForge if you can.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 18, 2013, 05:30:48 PM
-hp5 released!

This version adds a fast 32-bit routine for inverting numbers. I did some other small performance improvements to the sieve as well. Nothing really big though. Only a 2% improvement in my benchmark.

Official backup repository is now on bitbucket:
https://bitbucket.org/mikaelh/primecoin-hp

But please download the source code from SourceForge if you can.

Good stuff

Can you see if you can fix this also..

Quote
primecoind: checkqueue.h:167: CCheckQueueControl<T>::CCheckQueueControl(CCheckQueue<T>*) [with T = CScriptCheck]: Assertion `pqueue->nTotal == pqueue->nIdle' failed.

Quote
CCheckQueueControl(CCheckQueue<T> *pqueueIn) : pqueue(pqueueIn), fDone(false) {
        // passed queue is supposed to be unused, or NULL
        if (pqueue != NULL) {
            assert(pqueue->nTotal == pqueue->nIdle);
            assert(pqueue->nTodo == 0);
            assert(pqueue->fAllOk == true);
        }
    }

It crashes my daemons.. Should be freed or released ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 18, 2013, 05:42:30 PM
Good stuff

Can you see if you can fix this also..

Quote
primecoind: checkqueue.h:167: CCheckQueueControl<T>::CCheckQueueControl(CCheckQueue<T>*) [with T = CScriptCheck]: Assertion `pqueue->nTotal == pqueue->nIdle' failed.

Quote
CCheckQueueControl(CCheckQueue<T> *pqueueIn) : pqueue(pqueueIn), fDone(false) {
        // passed queue is supposed to be unused, or NULL
        if (pqueue != NULL) {
            assert(pqueue->nTotal == pqueue->nIdle);
            assert(pqueue->nTodo == 0);
            assert(pqueue->fAllOk == true);
        }
    }

It crashes my daemons.. Should be freed or released ?

My plan is to try out my remaining optimization ideas first. Then I'll start looking at the crashes. I haven't looked at this specific crash in detail. I have seen it happening on my boxes too and I do have a core dump of the crash. I just need some time to look at that core dump.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 18, 2013, 05:46:02 PM
Good stuff

Can you see if you can fix this also..

Quote
primecoind: checkqueue.h:167: CCheckQueueControl<T>::CCheckQueueControl(CCheckQueue<T>*) [with T = CScriptCheck]: Assertion `pqueue->nTotal == pqueue->nIdle' failed.

Quote
CCheckQueueControl(CCheckQueue<T> *pqueueIn) : pqueue(pqueueIn), fDone(false) {
        // passed queue is supposed to be unused, or NULL
        if (pqueue != NULL) {
            assert(pqueue->nTotal == pqueue->nIdle);
            assert(pqueue->nTodo == 0);
            assert(pqueue->fAllOk == true);
        }
    }

It crashes my daemons.. Should be freed or released ?

My plan is to try out my remaining optimization ideas first. Then I'll start looking at the crashes. I haven't looked at this specific crash in detail. I have seen it happening on my boxes too and I do have a core dump of the crash. I just need some time to look at that core dump.

Memleak?

Sent you a BTC for motivation!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 18, 2013, 05:49:54 PM
I know it was mentioned somewhere in this 770 post thread but how do you update in linux again?

Or do you just delete the old and do it all over again?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 18, 2013, 06:03:43 PM
-hp5 released!

This version adds a fast 32-bit routine for inverting numbers. I did some other small performance improvements to the sieve as well. Nothing really big though. Only a 2% improvement in my benchmark.

Official backup repository is now on bitbucket:
https://bitbucket.org/mikaelh/primecoin-hp

But please download the source code from SourceForge if you can.

aaaand compiled and running


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dego on July 18, 2013, 06:07:48 PM
I get also slightly higher pps. Before it was 6200pps when not processing other stuff. Now it's 6526pps..

I'll also sent you some satoshizz... good work!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: frank1892 on July 18, 2013, 06:23:48 PM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag
I don't mind answering questions/getting flames/etc, but apparently everyone thinks I'm beating out people because of a GPU miner.
Would have been beneficial to you and the board if you were just more explicit.  So you have 1 vpn? 2? and on each of these what type of servers? how many? how many cores in each?  

Edit:  Also you imply VPS's are no longer profitable, when it appears you could simply duplicate what you're doing w/ vps so I'm not clear how its not equally profitable, unless you're using someone else's server in a datacenter whose resources are paid by someone else.
Amazon/DO is no longer profitable. Private companies/datacenters is something different. I am paying for the services.

May I ask how to use a lot computers calculation at one wallet? Any mining client can be use? I don't understand how can you have 600K PPS in one wallet? Please share some idea to us. Thanks.

By putting the same wallet.dat on each of the clients.  Then you can just watch the transaction history from one client.
Yes. I know. But each one only show own PPS. How can you have 600K PPS in one client? You can see this https://bitcointalk.org/index.php?topic=255782.msg2753095#msg2753095 .


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notme on July 18, 2013, 06:25:45 PM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag
I don't mind answering questions/getting flames/etc, but apparently everyone thinks I'm beating out people because of a GPU miner.
Would have been beneficial to you and the board if you were just more explicit.  So you have 1 vpn? 2? and on each of these what type of servers? how many? how many cores in each?  

Edit:  Also you imply VPS's are no longer profitable, when it appears you could simply duplicate what you're doing w/ vps so I'm not clear how its not equally profitable, unless you're using someone else's server in a datacenter whose resources are paid by someone else.
Amazon/DO is no longer profitable. Private companies/datacenters is something different. I am paying for the services.

May I ask how to use a lot computers calculation at one wallet? Any mining client can be use? I don't understand how can you have 600K PPS in one wallet? Please share some idea to us. Thanks.

By putting the same wallet.dat on each of the clients.  Then you can just watch the transaction history from one client.

Right up until your keypool runs out and your wallets diverge.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 18, 2013, 06:31:04 PM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag
I don't mind answering questions/getting flames/etc, but apparently everyone thinks I'm beating out people because of a GPU miner.
Would have been beneficial to you and the board if you were just more explicit.  So you have 1 vpn? 2? and on each of these what type of servers? how many? how many cores in each?  

Edit:  Also you imply VPS's are no longer profitable, when it appears you could simply duplicate what you're doing w/ vps so I'm not clear how its not equally profitable, unless you're using someone else's server in a datacenter whose resources are paid by someone else.
Amazon/DO is no longer profitable. Private companies/datacenters is something different. I am paying for the services.

May I ask how to use a lot computers calculation at one wallet? Any mining client can be use? I don't understand how can you have 600K PPS in one wallet? Please share some idea to us. Thanks.

By putting the same wallet.dat on each of the clients.  Then you can just watch the transaction history from one client.

Right up until your keypool runs out and your wallets diverge.
My process is nicely automated and swaps wallets. No worries about that here.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 18, 2013, 06:39:32 PM
How many address before the wallet diverge?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notme on July 18, 2013, 06:41:05 PM
WOW, already getting flooded with PMs.

Take off your tinfoil hats people. I'm NOT GPU mining. I'm simply running a lot of high power private servers.
then maybe stop broadcasting it just to brag
I don't mind answering questions/getting flames/etc, but apparently everyone thinks I'm beating out people because of a GPU miner.
Would have been beneficial to you and the board if you were just more explicit.  So you have 1 vpn? 2? and on each of these what type of servers? how many? how many cores in each?  

Edit:  Also you imply VPS's are no longer profitable, when it appears you could simply duplicate what you're doing w/ vps so I'm not clear how its not equally profitable, unless you're using someone else's server in a datacenter whose resources are paid by someone else.
Amazon/DO is no longer profitable. Private companies/datacenters is something different. I am paying for the services.

May I ask how to use a lot computers calculation at one wallet? Any mining client can be use? I don't understand how can you have 600K PPS in one wallet? Please share some idea to us. Thanks.

By putting the same wallet.dat on each of the clients.  Then you can just watch the transaction history from one client.

Right up until your keypool runs out and your wallets diverge.
My process is nicely automated and swaps wallets. No worries about that here.

I'm not worried about you.  Just about people who might not know that it's not as simple as you made it sound.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notme on July 18, 2013, 06:42:05 PM
How many address before the wallet diverge?

If it is the same as bitcoin, the default keypool size is 100 keys.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 18, 2013, 06:43:46 PM
Huh. If this (http://cryptometer.org/primecoin_90_day_charts.html) chart is correct, me and a friend are collectively mining 10% of all blocks in the past 24 hours. Kind of cool to be a big fish for once.

Sunny and Mikael are going to be seeing a huge donation from me if this goes well. :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 18, 2013, 06:52:53 PM
Huh. If this (http://cryptometer.org/primecoin_90_day_charts.html) chart is correct, me and a friend are collectively mining 10% of all blocks in the past 24 hours. Kind of cool to be a big fish for once.

Sunny and Mikael are going to be seeing a huge donation from me if this goes well. :)
You're claiming you found 400 blocks in the last 24 hours?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 18, 2013, 06:53:28 PM
I got that when i : git pull

error: The requested URL returned error: 503 while accessing https://bitbucket.org/pankkake/mikaelh2-primecoin.git/info/refs
fatal: HTTP request failed


Too many connections already, or i do something wrong?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 18, 2013, 06:55:19 PM
Huh. If this (http://cryptometer.org/primecoin_90_day_charts.html) chart is correct, me and a friend are collectively mining 10% of all blocks in the past 24 hours. Kind of cool to be a big fish for once.

Sunny and Mikael are going to be seeing a huge donation from me if this goes well. :)
You're claiming you found 400 blocks in the last 24 hours?
Each of us has collected over 2k XPM in the past day. 200 blocks*


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: CryptoBeggar on July 18, 2013, 08:04:36 PM
Do we need to adjust the sievesize in accordance to upcoming increase in difficulty?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 18, 2013, 08:06:00 PM
Is it normal to get less pps with hp5 ?

Edit : nvm I get 6-7% more pps

I'm not sure it's worth solo mining anymore though, nothing for almost 48h with i7 3770k @ 4400


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Sampey on July 18, 2013, 08:56:53 PM
Block Found With Release 5!!! YEAH  ;)

Code:
CTxMemPool::accept() : accepted d9988a7bde33f356b95ee958517db87a88cc75aff1994a3de370018aac3be418 (poolsz 2)
Added 1 addresses from 192.241.213.177: 624 tried, 11539 new
2013-07-18 20:48:05 primemeter   8786081 prime/h  67110064 test/h       300 5-chains/h
Probable prime chain found for block=8c681b622935423bc52f4701891f0894bf142f9a6b590fd884ac5466c5eea811!!
  Target: 08.fa1ece
  Length: (05.25c080 04.6a3c73 09.6a3c73)
PrimecoinMiner:
proof-of-work found 
  target: 08.fa1ece
  multiplier: 93a34344c754b91bcda7211d1d9
  CBlock(hash=8c681b622935423bc52f4701891f0894bf142f9a6b590fd884ac5466c5eea811, hashBlockHeader=98d1bd489103fc36f5916765a039e25a58d820661afd896a56b495c615d7b6d8, ver=2, hashPrevBlock=58f8217c76e534de17b1b59af60992caf159cb69accce6d10ce58f2a2a2769e1, hashMerkleRoot=01fd957807a4ee0f550aaede7840686f0a3a758748d0e73913cac26d309bbb46, nTime=1374180509, nBits=08fa1ece, nNonce=172, vtx=3)
  CTransaction(hash=cafd4b67d146d8ad14304811146ab4feb559148f0d3fdd7ce1597bc4df77416d, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 03cef40002040400062f503253482f)
    CTxOut(nValue=12.42000000, scriptPubKey=0291b06db1403ab091561f02922d92)
  CTransaction(hash=3e5edfe74ea59baaf1a930ac2c21b52e8b2068ca3529583b50f39ad141d62e41, ver=1, vin.size=14, vout.size=2, nLockTime=0)
    CTxIn(COutPoint(311e3c52c12dd3fe789901b8cea3a4f069cdd19ac66571d556446d98df24e013, 0), scriptSig=3044022019838a4b8ad5656c)
    CTxIn(COutPoint(a85eebe141aeeafeb7e80e556f414fb82b62be2c581d846bcbb2e12b6116a840, 0), scriptSig=304602210089b7ec53a26bc4)
    CTxIn(COutPoint(150380ee0e83d8260e7ae6990eb3630fccf3a994d0be6ac932d7b9c896888501, 0), scriptSig=3046022100ae1ad9c98e3095)
    CTxIn(COutPoint(b245747b9ff6a61fff1f9e7b2bdb0ac5935b996b5fd56f651ab10bbf83cc2475, 0), scriptSig=30450220633b8f88661dcd91)
    CTxIn(COutPoint(5ec6f305ac0e9f0d4288e5b2bfd211b1dfe429cf79a3e454216d0bdbe64a927e, 0), scriptSig=3045022100a477b250c01dc1)
    CTxIn(COutPoint(32d83530d911075170274a2a5da756fe5cefe3c99100df03af18bd1e8f756d8a, 0), scriptSig=3046022100b3d181398d1561)
    CTxIn(COutPoint(dc5e91482cb9dbdc74ddc150776ff5b4c571a829b03eb8ae4e39100d65faee92, 0), scriptSig=30450221009cbb984e38f25b)
    CTxIn(COutPoint(b3a9a98a0f7cce9722c456dae7ab8add4e717f4b8700c4d206adbfea0238c9a7, 0), scriptSig=30440220258420085556ad5b)
    CTxIn(COutPoint(af990e29989d6b561c3075319f66e58e37cad05d27835a7ee4ed172a490e68a9, 0), scriptSig=3045022100e8353eefcad13d)
    CTxIn(COutPoint(dfc74fbcae2f630af941935bdea7a88df1503b1cb209d77416ad08ac178afec7, 0), scriptSig=3045022100d825c9e50d5d90)
    CTxIn(COutPoint(f79ccbb1165abd6d02a7d1bd62950749a4e7f362cb0035a884bb8da0f705a9d6, 0), scriptSig=3045022100a33f9a5ad614e0)
    CTxIn(COutPoint(2d13083db78cfa103c374e9d026ccb9f1c289c067a103df636c6e5cd88832e05, 0), scriptSig=30450221008031934a373a11)
    CTxIn(COutPoint(19ec15f6d80f3500df1af679a1d3d136f0d56c1e398648b5bf30fe2e92ea384f, 0), scriptSig=3044022054370bd835ac5a19)
    CTxIn(COutPoint(8a495edcf605925b0787d094926f16e42e35d3d43afeba88788ec51967ecb057, 0), scriptSig=3045022029af531a5f919f3b)
    CTxOut(nValue=174.00000000, scriptPubKey=OP_DUP OP_HASH160 7ba534bee5e1)
    CTxOut(nValue=0.06000000, scriptPubKey=OP_DUP OP_HASH160 c573f52bb550)
  CTransaction(hash=d9988a7bde33f356b95ee958517db87a88cc75aff1994a3de370018aac3be418, ver=1, vin.size=4, vout.size=2, nLockTime=0)
    CTxIn(COutPoint(54ae822dbec7eae8da62af1b1b964ba76ce682586e63ea867955fe143b21b44a, 0), scriptSig=3045022074255dc4b4cc1bec)
    CTxIn(COutPoint(5446334d552df29cdd60598de962a3add8ca0b3f5fb3c055ac14cb5cf812f5a3, 0), scriptSig=3046022100dd8972371b1c91)
    CTxIn(COutPoint(561fcaa93f0f027f24b857b2122bbb96719747b24f5775e588cfb3e48813faab, 0), scriptSig=3046022100d59b9ac25ffff5)
    CTxIn(COutPoint(c6d30b6a1435b092f83746433aa8316e68fc04c117fa05745a401981e39f8c98, 0), scriptSig=304502205937aa9e49d7a15d)
    CTxOut(nValue=48.00000000, scriptPubKey=OP_DUP OP_HASH160 7ba534bee5e1)
    CTxOut(nValue=0.75000000, scriptPubKey=OP_DUP OP_HASH160 b4260f8efc18)
  vMerkleTree: cafd4b67d146d8ad14304811146ab4feb559148f0d3fdd7ce1597bc4df77416d 3e5edfe74ea59baaf1a930ac2c21b52e8b2068ca3529583b50f39ad141d62e41 d9988a7bde33f356b95ee958517db87a88cc75aff1994a3de370018aac3be418 1dc6f59c3f9e050577c0cd93e3ced2e8777cae054cabd4337c5ccabd35158298 a8032578e443ae454cdb65c51a5325f9d7bb3fac05403fd516f53131c4a95428 01fd957807a4ee0f550aaede7840686f0a3a758748d0e73913cac26d309bbb46
generated 12.42
keypool keep 3
AddToWallet cafd4b67d146d8ad14304811146ab4feb559148f0d3fdd7ce1597bc4df77416d  new
NotifyTransactionChanged cafd4b67d146d8ad14304811146ab4feb559148f0d3fdd7ce1597bc4df77416d status=0
updateWallet cafd4b67d146d8ad14304811146ab4feb559148f0d3fdd7ce1597bc4df77416d 0
   inWallet=1 inModel=0 Index=2-2 showTransaction=0 derivedStatus=0


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: romerun on July 18, 2013, 09:21:26 PM
it's been cleared that blocks are in the big player hands and they haven't dumped them on exchanges yet.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: broken_pixel on July 18, 2013, 09:27:45 PM
Mined for a few days with over 8,000 pps fucking nothing. I am using the HP client with an overclocked watercooled 3930k @ 4.6GHz.  ::)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 18, 2013, 09:30:36 PM
http://i.imgur.com/MTtMx7Y.png

Tee-Hee!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 18, 2013, 09:46:36 PM
Mined for a few days with over 8,000 pps fucking nothing. I am using the HP client with an overclocked watercooled 3930k @ 4.6GHz.  ::)

Just one machine, for just a few days?

Gambling, basically. Variance alone probably means you would need to mine for several months or several machines at an unchanging difficulty (which latter doesn't seem likely to happen) just to obtain a small amount of data that still would likely leave a lot of doubt as to whether you just got lucky or unlucky and still haven't really got a decent estimate of the statistical chance of finding a block in a specified amount of time.

Try a thousand such machines for a week or two maybe and see how many per thousand happen to get a block...

But of course please do stop mining, it benefits everyone else and maybe you too.

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Sampey on July 18, 2013, 09:47:10 PM
it's been cleared that blocks are in the big player hands and they haven't dumped them on exchanges yet.

Maybe yes, but wich cryptocurrency haven't big players??


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 18, 2013, 10:00:01 PM
Pretty lame most of the big players now are getting the blocks. Pretty sad IMHO... Glad I managed to mine 317 coins by now though.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 18, 2013, 10:38:18 PM
I managed to get 70 Orphans in 3 hours on a small cluster.. Hard competition :)

Using HP5


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 18, 2013, 10:44:39 PM
I managed to get 70 Orphans in 3 hours on a small cluster.. Hard competition :)

Using HP5

Where's your cloud cluster?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gateway on July 18, 2013, 10:46:18 PM
-hp5 released!

This version adds a fast 32-bit routine for inverting numbers. I did some other small performance improvements to the sieve as well. Nothing really big though. Only a 2% improvement in my benchmark.

Official backup repository is now on bitbucket:
https://bitbucket.org/mikaelh/primecoin-hp

But please download the source code from SourceForge if you can.

aaaand compiled and running

Can anyone make a windows build please?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 18, 2013, 10:48:53 PM
-hp5 released!

This version adds a fast 32-bit routine for inverting numbers. I did some other small performance improvements to the sieve as well. Nothing really big though. Only a 2% improvement in my benchmark.

Official backup repository is now on bitbucket:
https://bitbucket.org/mikaelh/primecoin-hp

But please download the source code from SourceForge if you can.

aaaand compiled and running

Can anyone make a windows build please?

There's one in the first page man.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gateway on July 18, 2013, 11:01:49 PM
anyone got this running on osx?

It compiles fine but when running after a few sec it quits

user$ Assertion failed: (pfork != NULL), function SetBestChain, file main.cpp, line 1722.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gateway on July 18, 2013, 11:11:04 PM
stopping the client on my ubuntu 12.x box spit this error out

fyi

gateway@a:~/work/primecoin-hp/src$ ./primecoind stop
Primecoin server stopping
gateway@a:~/work/primecoin-hp/src$ primecoind: /usr/include/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:26: boost::pthread::pthread_mutex_scoped_lock::pthread_mutex_scoped_lock(pthread_mutex_t*): Assertion `!pthread_mutex_lock(m)' failed.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 18, 2013, 11:12:34 PM
what happened went from 14K pps to 6K pps accross all machines, did some sort of botnet come on? bug in hp5?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Koooooj on July 18, 2013, 11:51:10 PM
Just wanted to say great miner!  I feel like this is probably the most optimized miner on the market right now.  Looking over the source code of the original miner and yours I think I see a way to make the miner (potentially much) faster from a mathematical standpoint rather than a code-optimization standpoint.  My optimization centers around the Primorial and the loop that occurs in main.cpp on line 4622.

Before getting into the code, it is important to realize why a primorial is helpful (if you already understand this, skip this paragraph).  With numbers on the order of 2256 there is about a 1 in 177 chance that a random number is prime.  If you select 8 random numbers, then, the odds of all of them being prime is about 1 in 1 quintillion--impractically low.  If you limit your search to only odd numbers, though, the odds shoot up tremendously.  Further limiting your search to numbers not divisible by 3, 5, 7, and so on can cause the odds of finding a prime number to become much, much better.  If the hash value is divisible by lots of these small numbers then multiples of that hash ± 1 will not be divisible by any of those numbers.  Thus, it is convenient to use a hash that is already a multiple of 2 * 3 * 5 * 7 * ... as it will produce far more primes than another hash.

As I understand the aforementioned loop, the program is searching for a hash that is divisible by a primorial.  Each iteration of this loop requires a hash to be generated as it increments the nonce value.  In the present form the primorail is of degree 7 (line 4579: static const unsigned int nPrimorialHashFactor = 7).  I suspect that this value is carefully chosen and it's probably ideal with the way that it is written.  However, I think there's an additional step that can be added to make the process much faster.  Increasing the degree of the primorial is incredibly expensive as it gets larger, since adding the 8th prime requires 19 times as many hashes to be checked; the 9th prime requires 23 times as many, and so on.  There is another way, though.

Prime origins are required to be in the form O = H * N where O is the origin, H is the hash, and N is any integer; H is selected to be divisible by p#7 (the primorial shown above).  If we extend this to O = H * N * P2 where P2 is 19 * 23 * 29 * ... * 51--a product of primes starting after the last prime used in the existing search--then the checked origin is still valid (an integer times an integer is still an integer).  This grants the benefits of searching with a higher degree primorial while not requiring a longer search for a working hash.  

Nothing is free, though, as this method inflates the size of the primes to be checked.  If the fast modular exponentiation is implemented through the same method as is used on the Fermat Primality Test (http://en.wikipedia.org/wiki/Fermat_primality_test) Wikipedia page then the algorithmic efficiency is O(log2(n) * log(log(n)) * log(log(log(n))) ).  There should be some sweet spot of how large of a primorial to use where the increased frequency of primes more than offsets the extra time required for the fast modular exponentiation.  It's possible that the sweet spot is 0 extra primes, but I think it's worth looking into.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gateway on July 19, 2013, 12:47:36 AM
64bit hp5 version crashes after a bit on my windows 7 box.. 64 bit.. with this..

http://new.tinygrab.com/b5f5d6452018a3a03b60672ab73e17d83ee7584268.png


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: forsetifox on July 19, 2013, 12:50:35 AM
64bit hp5 version crashes after a bit on my windows 7 box.. 64 bit.. with this..

http://new.tinygrab.com/b5f5d6452018a3a03b60672ab73e17d83ee7584268.png

I've had the hp4 client do this once in like 72 hours. Just restart.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Plazma on July 19, 2013, 12:51:35 AM
64bit hp5 version crashes after a bit on my windows 7 box.. 64 bit.. with this..

http://new.tinygrab.com/b5f5d6452018a3a03b60672ab73e17d83ee7584268.png

This is error from older versions. It crashed on my main PC pretty often especially if I'm doing something else like gaming or watching on XBMC.
So far 0 crashes on the dedicated mining rigs.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blastbob on July 19, 2013, 12:51:51 AM
64bit hp5 version crashes after a bit on my windows 7 box.. 64 bit.. with this..

http://new.tinygrab.com/b5f5d6452018a3a03b60672ab73e17d83ee7584268.png

I've had the hp4 client do this once in like 72 hours. Just restart.


OP knows about the error but wants to optimize more before looking into it.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: superfluouso on July 19, 2013, 12:57:52 AM
Do we need to adjust the sievesize in accordance to upcoming increase in difficulty?
Was the optimal sieve size ever determined?  What is everyone using with hp5?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: noodle_dam on July 19, 2013, 12:58:13 AM
What is the best way to get an hp build working on OS X?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gateway on July 19, 2013, 01:53:29 AM
64bit hp5 version crashes after a bit on my windows 7 box.. 64 bit.. with this..

http://new.tinygrab.com/b5f5d6452018a3a03b60672ab73e17d83ee7584268.png

I've had the hp4 client do this once in like 72 hours. Just restart.


yea this happens with in about 5-10 min of launching.. need to find hp4 which worked fine..



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 19, 2013, 02:27:11 AM
Just wanted to say great miner!  I feel like this is probably the most optimized miner on the market right now.  Looking over the source code of the original miner and yours I think I see a way to make the miner (potentially much) faster from a mathematical standpoint rather than a code-optimization standpoint.  My optimization centers around the Primorial and the loop that occurs in main.cpp on line 4622.

Before getting into the code, it is important to realize why a primorial is helpful (if you already understand this, skip this paragraph).  With numbers on the order of 2256 there is about a 1 in 177 chance that a random number is prime.  If you select 8 random numbers, then, the odds of all of them being prime is about 1 in 1 quintillion--impractically low.  If you limit your search to only odd numbers, though, the odds shoot up tremendously.  Further limiting your search to numbers not divisible by 3, 5, 7, and so on can cause the odds of finding a prime number to become much, much better.  If the hash value is divisible by lots of these small numbers then multiples of that hash ± 1 will not be divisible by any of those numbers.  Thus, it is convenient to use a hash that is already a multiple of 2 * 3 * 5 * 7 * ... as it will produce far more primes than another hash.

As I understand the aforementioned loop, the program is searching for a hash that is divisible by a primorial.  Each iteration of this loop requires a hash to be generated as it increments the nonce value.  In the present form the primorail is of degree 7 (line 4579: static const unsigned int nPrimorialHashFactor = 7).  I suspect that this value is carefully chosen and it's probably ideal with the way that it is written.  However, I think there's an additional step that can be added to make the process much faster.  Increasing the degree of the primorial is incredibly expensive as it gets larger, since adding the 8th prime requires 19 times as many hashes to be checked; the 9th prime requires 23 times as many, and so on.  There is another way, though.

Prime origins are required to be in the form O = H * N where O is the origin, H is the hash, and N is any integer; H is selected to be divisible by p#7 (the primorial shown above).  If we extend this to O = H * N * P2 where P2 is 19 * 23 * 29 * ... * 51--a product of primes starting after the last prime used in the existing search--then the checked origin is still valid (an integer times an integer is still an integer).  This grants the benefits of searching with a higher degree primorial while not requiring a longer search for a working hash.  

Nothing is free, though, as this method inflates the size of the primes to be checked.  If the fast modular exponentiation is implemented through the same method as is used on the Fermat Primality Test (http://en.wikipedia.org/wiki/Fermat_primality_test) Wikipedia page then the algorithmic efficiency is O(log2(n) * log(log(n)) * log(log(log(n))) ).  There should be some sweet spot of how large of a primorial to use where the increased frequency of primes more than offsets the extra time required for the fast modular exponentiation.  It's possible that the sweet spot is 0 extra primes, but I think it's worth looking into.

This!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: glassuser on July 19, 2013, 02:29:44 AM
when would you use the x86 vs x64 version? I have a quadcore laptop running windows 7.

Right now I have the x86 running, is this correct for fastest performance? what would be the difference running 86 and 64?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 19, 2013, 02:41:27 AM
What is the best way to get an hp build working on OS X?

Having toyed with it for hours, I can conclusively say that installing VMWare Fusion with an image of Ubuntu and compiling / running it on there yields the best results. I don't know why, it just does. Natively, compiled in Mountain Lion, I get about half the performance from the same build compiled in the VM.

I hope helps you out.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: AstroKev on July 19, 2013, 03:14:47 AM
My optimization centers around the Primorial and the loop that occurs in main.cpp on line 4622.


Quote
Flat profile:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls  ms/call  ms/call  name   
 79.89     45.84    45.84     5698     8.04     8.04  CSieveOfEratosthenes::Weave()
 10.28     51.74     5.90     5694     1.04     1.04  CSieveOfEratosthenes::CSieveOfEratosthenes(unsigned int, unsigned int, __gmp_expr<__m
pz_struct [1], __mpz_struct [1]>&, __gmp_expr<__mpz_struct [1], __mpz_struct [1]>&, CBlockIndex*)
  9.03     56.92     5.18    62611     0.08     0.91  MineProbablePrimeChain(CBlock&, __gmp_expr<__mpz_struct [1], __mpz_struct [1]>&, bool
&, unsigned int&, unsigned int&, unsigned int&, unsigned int&, unsigned int&, __gmp_expr<__mpz_struct [1], __mpz_struct [1]>&)
  0.16     57.01     0.09  7019519     0.00     0.00  FermatProbablePrimalityTest(__gmp_expr<__mpz_struct [1], __mpz_struct [1]> const&, un
signed int&)



Without a doubt, the Weave function is the slowest of them all.  I haven't yet dissected it (and won't really claim to understand what it's trying to do yet), but since this ultimately is buried way below the void static BitcoinMiner(CWallet *pwallet)
 function, I'm guessing that anythign that would result in fewer calls to MineProbablePrimeChain would be a net very good thing.  OTOH, further optimizing Weave still looks like a good bet.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 19, 2013, 03:15:29 AM
Just wanted to say great miner!  I feel like this is probably the most optimized miner on the market right now.  Looking over the source code of the original miner and yours I think I see a way to make the miner (potentially much) faster from a mathematical standpoint rather than a code-optimization standpoint.  My optimization centers around the Primorial and the loop that occurs in main.cpp on line 4622.

Before getting into the code, it is important to realize why a primorial is helpful (if you already understand this, skip this paragraph).  With numbers on the order of 2256 there is about a 1 in 177 chance that a random number is prime.  If you select 8 random numbers, then, the odds of all of them being prime is about 1 in 1 quintillion--impractically low.  If you limit your search to only odd numbers, though, the odds shoot up tremendously.  Further limiting your search to numbers not divisible by 3, 5, 7, and so on can cause the odds of finding a prime number to become much, much better.  If the hash value is divisible by lots of these small numbers then multiples of that hash ± 1 will not be divisible by any of those numbers.  Thus, it is convenient to use a hash that is already a multiple of 2 * 3 * 5 * 7 * ... as it will produce far more primes than another hash.

As I understand the aforementioned loop, the program is searching for a hash that is divisible by a primorial.  Each iteration of this loop requires a hash to be generated as it increments the nonce value.  In the present form the primorail is of degree 7 (line 4579: static const unsigned int nPrimorialHashFactor = 7).  I suspect that this value is carefully chosen and it's probably ideal with the way that it is written.  However, I think there's an additional step that can be added to make the process much faster.  Increasing the degree of the primorial is incredibly expensive as it gets larger, since adding the 8th prime requires 19 times as many hashes to be checked; the 9th prime requires 23 times as many, and so on.  There is another way, though.

Prime origins are required to be in the form O = H * N where O is the origin, H is the hash, and N is any integer; H is selected to be divisible by p#7 (the primorial shown above).  If we extend this to O = H * N * P2 where P2 is 19 * 23 * 29 * ... * 51--a product of primes starting after the last prime used in the existing search--then the checked origin is still valid (an integer times an integer is still an integer).  This grants the benefits of searching with a higher degree primorial while not requiring a longer search for a working hash.  

Nothing is free, though, as this method inflates the size of the primes to be checked.  If the fast modular exponentiation is implemented through the same method as is used on the Fermat Primality Test (http://en.wikipedia.org/wiki/Fermat_primality_test) Wikipedia page then the algorithmic efficiency is O(log2(n) * log(log(n)) * log(log(log(n))) ).  There should be some sweet spot of how large of a primorial to use where the increased frequency of primes more than offsets the extra time required for the fast modular exponentiation.  It's possible that the sweet spot is 0 extra primes, but I think it's worth looking into.

Well, sir, you've managed to impress me. I am a biologist...math is one fish two fish, red fish blue fish.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 03:18:14 AM
http://i.imgur.com/j8ZK7XW.png

Second block I managed to mine with HP4. Seivesize 2M. I feel like getting adventurous and going to 4M...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: glassuser on July 19, 2013, 03:19:46 AM
you should upgrade to hp5, you got some awesome primespersec ive reached max of around 2500


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 03:21:29 AM
What's your CPU? Mine is two quad-core xeons. same architecture as the old core 2 duo processors... im thinking maybe im getting good speeds because of the large amount of cache i have or something?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Kyune on July 19, 2013, 03:21:54 AM
Just wanted to say great miner!  I feel like this is probably the most optimized miner on the market right now.  Looking over the source code of the original miner and yours I think I see a way to make the miner (potentially much) faster from a mathematical standpoint rather than a code-optimization standpoint.  My optimization centers around the Primorial and the loop that occurs in main.cpp on line 4622.

Before getting into the code, it is important to realize why a primorial is helpful (if you already understand this, skip this paragraph).  With numbers on the order of 2256 there is about a 1 in 177 chance that a random number is prime.  If you select 8 random numbers, then, the odds of all of them being prime is about 1 in 1 quintillion--impractically low.  If you limit your search to only odd numbers, though, the odds shoot up tremendously.  Further limiting your search to numbers not divisible by 3, 5, 7, and so on can cause the odds of finding a prime number to become much, much better.  If the hash value is divisible by lots of these small numbers then multiples of that hash ± 1 will not be divisible by any of those numbers.  Thus, it is convenient to use a hash that is already a multiple of 2 * 3 * 5 * 7 * ... as it will produce far more primes than another hash.

As I understand the aforementioned loop, the program is searching for a hash that is divisible by a primorial.  Each iteration of this loop requires a hash to be generated as it increments the nonce value.  In the present form the primorail is of degree 7 (line 4579: static const unsigned int nPrimorialHashFactor = 7).  I suspect that this value is carefully chosen and it's probably ideal with the way that it is written.  However, I think there's an additional step that can be added to make the process much faster.  Increasing the degree of the primorial is incredibly expensive as it gets larger, since adding the 8th prime requires 19 times as many hashes to be checked; the 9th prime requires 23 times as many, and so on.  There is another way, though.

Prime origins are required to be in the form O = H * N where O is the origin, H is the hash, and N is any integer; H is selected to be divisible by p#7 (the primorial shown above).  If we extend this to O = H * N * P2 where P2 is 19 * 23 * 29 * ... * 51--a product of primes starting after the last prime used in the existing search--then the checked origin is still valid (an integer times an integer is still an integer).  This grants the benefits of searching with a higher degree primorial while not requiring a longer search for a working hash.  

Nothing is free, though, as this method inflates the size of the primes to be checked.  If the fast modular exponentiation is implemented through the same method as is used on the Fermat Primality Test (http://en.wikipedia.org/wiki/Fermat_primality_test) Wikipedia page then the algorithmic efficiency is O(log2(n) * log(log(n)) * log(log(log(n))) ).  There should be some sweet spot of how large of a primorial to use where the increased frequency of primes more than offsets the extra time required for the fast modular exponentiation.  It's possible that the sweet spot is 0 extra primes, but I think it's worth looking into.
Number theorist in the hizzouse!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: glassuser on July 19, 2013, 03:22:22 AM
What's your CPU? Mine is two quad-core xeons. same architecture as the old core 2 duo processors... im thinking maybe im getting good speeds because of the large amount of cache i have or something?

yea you have more i have one quadcore with 8gigs of ram lol, im jealous


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 03:27:06 AM
the computer im using costed me 180 bucks. its a retired rack server. :P


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: glassuser on July 19, 2013, 03:28:08 AM
the computer im using costed me 180 bucks. its a retired rack server. :P

thats awesome!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: forsetifox on July 19, 2013, 03:28:58 AM
the computer im using costed me 180 bucks. its a retired rack server. :P

Going to buy one of those when I get ~ 2 BTC playing with primecoins. =3


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 03:33:52 AM
Did I mention how everyone mocked me for buying the rack server?

"You'll mine 1 litecoin with it, maybe two"

 :D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: noodle_dam on July 19, 2013, 03:55:14 AM
What is the best way to get an hp build working on OS X?

Having toyed with it for hours, I can conclusively say that installing VMWare Fusion with an image of Ubuntu and compiling / running it on there yields the best results. I don't know why, it just does. Natively, compiled in Mountain Lion, I get about half the performance from the same build compiled in the VM.

I hope helps you out.

Thank you.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 19, 2013, 04:35:02 AM
So what's more important? The number of cores or the clockspeed? Also, where are some good places to mine now?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 04:39:17 AM
Both put together. To find out, just run a benchmark like passmark.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nullbitspectre1848 on July 19, 2013, 04:42:17 AM
Where do I go for the latest miner updates etc?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 19, 2013, 04:48:08 AM
Where do I go for the latest miner updates etc?

Page 1 of this thread.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: AstroKev on July 19, 2013, 06:21:31 AM
Some more stats for people to have fun with:

aws cc2.8xlarge,
primecoin-0.1.1-hp5 native

2013-07-19 06:03:07 primemeter  79132085 prime/h 688566896 test/h      2040 5-chains/h
2013-07-19 06:04:07 primemeter  79653622 prime/h 698384521 test/h      2700 5-chains/h
2013-07-19 06:05:07 primemeter  79337338 prime/h 695558447 test/h      2040 5-chains/h
2013-07-19 06:06:07 primemeter  79792250 prime/h 695628406 test/h      1560 5-chains/h
2013-07-19 06:07:07 primemeter  80470419 prime/h 705139328 test/h      2280 5-chains/h
2013-07-19 06:08:07 primemeter  80764354 prime/h 704518758 test/h      1980 5-chains/h
2013-07-19 06:09:07 primemeter  76383887 prime/h 667428216 test/h      1500 5-chains/h


avg 5-chains/h ~~ 2000

------

aws cc2.8xlarge,
primecoin-0.1.1-hp5 two changes:

1) prime.cpp
const unsigned int nPrimes = (uint64)nTotalPrimes * 8 / 100;  // down from 10

2) main.cpp
static const unsigned int nPrimorialHashFactor = 9; // up from 7

2013-07-19 06:12:12 primemeter  52307908 prime/h 395403610 test/h      2640 5-chains/h
2013-07-19 06:13:12 primemeter  56580497 prime/h 440204443 test/h      2820 5-chains/h
2013-07-19 06:14:12 primemeter  56291842 prime/h 438057079 test/h      3000 5-chains/h
2013-07-19 06:15:12 primemeter  56267549 prime/h 437380981 test/h      2100 5-chains/h
2013-07-19 06:16:12 primemeter  56236005 prime/h 432883711 test/h      2580 5-chains/h
2013-07-19 06:17:12 primemeter  54281275 prime/h 412524505 test/h      2580 5-chains/h
2013-07-19 06:18:12 primemeter  54689509 prime/h 419307812 test/h      2220 5-chains/h

avg 5-chains/h ~~ 2500






Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 19, 2013, 06:52:37 AM
Some more stats for people to have fun with:

aws cc2.8xlarge,
primecoin-0.1.1-hp5 native

2013-07-19 06:03:07 primemeter  79132085 prime/h 688566896 test/h      2040 5-chains/h
2013-07-19 06:04:07 primemeter  79653622 prime/h 698384521 test/h      2700 5-chains/h
2013-07-19 06:05:07 primemeter  79337338 prime/h 695558447 test/h      2040 5-chains/h
2013-07-19 06:06:07 primemeter  79792250 prime/h 695628406 test/h      1560 5-chains/h
2013-07-19 06:07:07 primemeter  80470419 prime/h 705139328 test/h      2280 5-chains/h
2013-07-19 06:08:07 primemeter  80764354 prime/h 704518758 test/h      1980 5-chains/h
2013-07-19 06:09:07 primemeter  76383887 prime/h 667428216 test/h      1500 5-chains/h


avg 5-chains/h ~~ 2000

------

aws cc2.8xlarge,
primecoin-0.1.1-hp5 two changes:

1) prime.cpp
const unsigned int nPrimes = (uint64)nTotalPrimes * 8 / 100;  // down from 10

2) main.cpp
static const unsigned int nPrimorialHashFactor = 9; // up from 7

2013-07-19 06:12:12 primemeter  52307908 prime/h 395403610 test/h      2640 5-chains/h
2013-07-19 06:13:12 primemeter  56580497 prime/h 440204443 test/h      2820 5-chains/h
2013-07-19 06:14:12 primemeter  56291842 prime/h 438057079 test/h      3000 5-chains/h
2013-07-19 06:15:12 primemeter  56267549 prime/h 437380981 test/h      2100 5-chains/h
2013-07-19 06:16:12 primemeter  56236005 prime/h 432883711 test/h      2580 5-chains/h
2013-07-19 06:17:12 primemeter  54281275 prime/h 412524505 test/h      2580 5-chains/h
2013-07-19 06:18:12 primemeter  54689509 prime/h 419307812 test/h      2220 5-chains/h

avg 5-chains/h ~~ 2500


Have you found any blocks with these changes? My very poor understanding of the algorithm suggests that changing the has factor will not work...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 19, 2013, 07:10:35 AM
Thanks for the data Astrokev.
We see the pps is lower but the 5-chain bigger with your change. I think it's good, 5chain seems a better indicator.

Did you test with other number aswell?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: grc on July 19, 2013, 07:20:29 AM
2) main.cpp
static const unsigned int nPrimorialHashFactor = 9; // up from 7

I could be wrong, but I'm not convinced this change will make any significant difference. The primorial of 7 is the same as that of 9, since 8 and 9 aren't primes.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: AstroKev on July 19, 2013, 07:36:58 AM
Quote
Have you found any blocks with these changes? My very poor understanding of the algorithm suggests that changing the has factor will not work...

No - I only was testing based on some of Koooooj's comments to see if there was a possible tradeoff.
The primecoin paper says:

Quote
In one case, varying nonce and finding a block header hash that is divisible by a small
primorial number – the product of all primes smaller than a given prime p – can help
only slightly. It allows the prime miner to work on somewhat smaller primes, like maybe
a few digits shorter, for prime numbers of typically 100 digits, only a very small
advantage.

which suggested further that this is only used to help make finding candidates faster.

--------

Related, I finally was able to coerce primecoind to compile on FreeBSD.  Here are some stats for an HP DL 585 w/64 cores -- which is actually almost the same for 5-chains as the cc2.8xlarge:
2013-07-19 07:21:20 primemeter  52706242 prime/h 409095802 test/h      2700 5-chains/h
2013-07-19 07:22:20 primemeter  55256799 prime/h 430313188 test/h      2820 5-chains/h
2013-07-19 07:23:20 primemeter  57252732 prime/h 451175301 test/h      3180 5-chains/h
2013-07-19 07:24:20 primemeter  60431918 prime/h 472296745 test/h      2280 5-chains/h
2013-07-19 07:25:20 primemeter  49530089 prime/h 384528982 test/h      2460 5-chains/h
2013-07-19 07:26:20 primemeter  51512423 prime/h 400527689 test/h      1980 5-chains/h


If you're interested in compiling for FreeBSD, you also will need to install the usual libraries and also change init.cpp:
Code:
//    nMaxConnections = std::max(std::min(nMaxConnections, FD_SETSIZE - nBind - MIN_CORE_FILEDESCRIPTORS), 0);
    nMaxConnections = std::max(std::min(nMaxConnections, static_cast<int>(FD_SETSIZE - nBind - MIN_CORE_FILEDESCRIPTORS)), 0);
I had to specify the install paths for a lot of things and remove the explicit -ldl in the makefile as well.. go figure.



Quote
Did you test with other number aswell?
Yes, I did 10, 11, 12, 13, 14, 15, 16, 17.  It starts to get bad around 13 on the big aws instance.

Quote
I could be wrong, but I'm not convinced this change will make any significant difference. The primorial of 7 is the same as that of 9, since 8 and 9 aren't primes.
No this is not what primorial means.  

primorial(1) = 2
primorial(2) = 2 * 3
primorial(3) = 2 * 3 * 5
and so forth.
primorial(7) = 2 * 3 * 5 * 7 * 11 * 13 * 17 = 510510
primorial(9) = 2 * 3 * 5 * 7 * 11 * 13 * 17 * 19 * 23 = 223092870



Notice the list of divisors this produces when using p#9 * some random price
> bc
print 223092870 * 498497689
111211280127377430

http://www.wolframalpha.com/input/?i=factor+%28111211280127377430%29



Honestly I can't say I really understand what the code is doing here, but based on some the comments from Kooooooj and running through gprof, Weave is sucking up all the time -- so I was trying to push some of the work out of there and into the caller function.  I am 100% speculating also that the increases in difficulty may make the primorial a little more important. But anyway, mostly just hacking.


oh well, off to bed.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: grc on July 19, 2013, 08:18:45 AM
Quote
I could be wrong, but I'm not convinced this change will make any significant difference. The primorial of 7 is the same as that of 9, since 8 and 9 aren't primes.
No this is not what primorial means.  

primorial(1) = 2
primorial(2) = 2 * 3
primorial(3) = 2 * 3 * 5
and so forth.
primorial(7) = 2 * 3 * 5 * 7 * 11 * 13 * 17 = 510510
primorial(9) = 2 * 3 * 5 * 7 * 11 * 13 * 17 * 19 * 23 = 223092870



Notice the list of divisors this produces when using p#9 * some random price
> bc
print 223092870 * 498497689
111211280127377430

http://www.wolframalpha.com/input/?i=factor+%28111211280127377430%29



Honestly I can't say I really understand what the code is doing here, but based on some the comments from Kooooooj and running through gprof, Weave is sucking up all the time -- so I was trying to push some of the work out of there and into the caller function.  I am 100% speculating also that the increases in difficulty may make the primorial a little more important. But anyway, mostly just hacking.


oh well, off to bed.

Sorry, I was thinking of this definition (http://en.wikipedia.org/wiki/Primorial#Definition_for_natural_numbers), where the primorial of a number is defined as the product of all primes ≤ n.

It seems to be implemented this way in prime.cpp, as the Primorial function stops at the first prime greater than the given number:

Code:
void Primorial(unsigned int p, mpz_class& mpzPrimorial)
{
    mpzPrimorial = 1;
    BOOST_FOREACH(unsigned int nPrime, vPrimes)
    {
        if (nPrime > p) break;
        mpzPrimorial *= nPrime;
    }
}


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 19, 2013, 08:36:04 AM
can someone provide proper instructions for HP5?

Seems like the folders are different and I am getting a blank screen after running the watch command.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 19, 2013, 08:53:46 AM
me too. I reboot my vps and then it work.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 19, 2013, 09:29:58 AM
Just wanted to say great miner!  I feel like this is probably the most optimized miner on the market right now.  Looking over the source code of the original miner and yours I think I see a way to make the miner (potentially much) faster from a mathematical standpoint rather than a code-optimization standpoint.  My optimization centers around the Primorial and the loop that occurs in main.cpp on line 4622.

Before getting into the code, it is important to realize why a primorial is helpful (if you already understand this, skip this paragraph).  With numbers on the order of 2256 there is about a 1 in 177 chance that a random number is prime.  If you select 8 random numbers, then, the odds of all of them being prime is about 1 in 1 quintillion--impractically low.  If you limit your search to only odd numbers, though, the odds shoot up tremendously.  Further limiting your search to numbers not divisible by 3, 5, 7, and so on can cause the odds of finding a prime number to become much, much better.  If the hash value is divisible by lots of these small numbers then multiples of that hash ± 1 will not be divisible by any of those numbers.  Thus, it is convenient to use a hash that is already a multiple of 2 * 3 * 5 * 7 * ... as it will produce far more primes than another hash.

As I understand the aforementioned loop, the program is searching for a hash that is divisible by a primorial.  Each iteration of this loop requires a hash to be generated as it increments the nonce value.  In the present form the primorail is of degree 7 (line 4579: static const unsigned int nPrimorialHashFactor = 7).  I suspect that this value is carefully chosen and it's probably ideal with the way that it is written.  However, I think there's an additional step that can be added to make the process much faster.  Increasing the degree of the primorial is incredibly expensive as it gets larger, since adding the 8th prime requires 19 times as many hashes to be checked; the 9th prime requires 23 times as many, and so on.  There is another way, though.

Prime origins are required to be in the form O = H * N where O is the origin, H is the hash, and N is any integer; H is selected to be divisible by p#7 (the primorial shown above).  If we extend this to O = H * N * P2 where P2 is 19 * 23 * 29 * ... * 51--a product of primes starting after the last prime used in the existing search--then the checked origin is still valid (an integer times an integer is still an integer).  This grants the benefits of searching with a higher degree primorial while not requiring a longer search for a working hash.  

Nothing is free, though, as this method inflates the size of the primes to be checked.  If the fast modular exponentiation is implemented through the same method as is used on the Fermat Primality Test (http://en.wikipedia.org/wiki/Fermat_primality_test) Wikipedia page then the algorithmic efficiency is O(log2(n) * log(log(n)) * log(log(log(n))) ).  There should be some sweet spot of how large of a primorial to use where the increased frequency of primes more than offsets the extra time required for the fast modular exponentiation.  It's possible that the sweet spot is 0 extra primes, but I think it's worth looking into.

Definitely a great. I haven't had the time to study the code from a mathematical perspective, so this is helping me understand the code better. :)

Unfortunately it seems that Sunny King was ahead of you here. The code is already doing what you proposed. It uses something called a round primorial which is dynamically adjusted. You can see these round primorials in debug.log if you enable the debugging options -debug -printmining. A fixed multiplier is calculated through division by the first primorial used to choose the hash value. This fixed multiplier corresponds to your P2.

I think some improvements could be made to the dynamic adjustment system. It seems to be picking lots of different values.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 19, 2013, 09:33:33 AM
aws cc2.8xlarge,
primecoin-0.1.1-hp5 two changes:

1) prime.cpp
const unsigned int nPrimes = (uint64)nTotalPrimes * 8 / 100;  // down from 10

2) main.cpp
static const unsigned int nPrimorialHashFactor = 9; // up from 7

You seem to be testing two changes at the same time. The first change will definitely affect performance while the second change shouldn't as people have already pointed out. It's likely you're only seeing the effects of the first change you did.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: arnuschky on July 19, 2013, 09:55:13 AM
Huh. If this (http://cryptometer.org/primecoin_90_day_charts.html) chart is correct, me and a friend are collectively mining 10% of all blocks in the past 24 hours. Kind of cool to be a big fish for once.

Sunny and Mikael are going to be seeing a huge donation from me if this goes well. :)
You're claiming you found 400 blocks in the last 24 hours?
Each of us has collected over 2k XPM in the past day. 200 blocks*

Just out of curiosity: How much pps are you fielding for that?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: paulthetafy on July 19, 2013, 10:03:49 AM
aws cc2.8xlarge,
primecoin-0.1.1-hp5 two changes:

1) prime.cpp
const unsigned int nPrimes = (uint64)nTotalPrimes * 8 / 100;  // down from 10

2) main.cpp
static const unsigned int nPrimorialHashFactor = 9; // up from 7

You seem to be testing two changes at the same time. The first change will definitely affect performance while the second change shouldn't as people have already pointed out. It's likely you're only seeing the effects of the first change you did.
mikael, knowing your work I'll take your word for it, do you agree that 1) is a change for the better and will not negatively effect block finding?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Joe13 on July 19, 2013, 10:06:32 AM
Sorry i am new to all this ...
But there is one thing i dont get.
I tryed to run it with a primecoin.conf file and changed parameters like rpcuser ... rpcpassword ... gen=0 gen=1 and also with rpcport=9910 rpcallowip=127.0.0.1 with server=1 and daemon=1.
I did not receive any block in earlier stages ... difficulty was past 8 to this stage ...
as i deleted the conf file and run the wallet without it i received two blocks in two hours ...
How can that be ... Luck ? I was using hp3 ...
So my question is is the conf file needed or not ??

Thx


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 19, 2013, 10:36:38 AM
aws cc2.8xlarge,
primecoin-0.1.1-hp5 two changes:

1) prime.cpp
const unsigned int nPrimes = (uint64)nTotalPrimes * 8 / 100;  // down from 10

2) main.cpp
static const unsigned int nPrimorialHashFactor = 9; // up from 7

You seem to be testing two changes at the same time. The first change will definitely affect performance while the second change shouldn't as people have already pointed out. It's likely you're only seeing the effects of the first change you did.
mikael, knowing your work I'll take your word for it, do you agree that 1) is a change for the better and will not negatively effect block finding?

The first parameter he changed definitely has a huge impact on performance, that's for sure. The parameter is based on sieve round limit implemented by Sunny King. As you probably know, that resulted in a pretty big performance boost. I'm using a static percentage value in my code instead of counting microseconds.

Changing that percentage may indeed improve performance on some system. It depends on the efficiency difference between the sieve and the primality tester. I may change the percentage into a configuration parameter in the future.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 19, 2013, 10:41:57 AM
Sorry i am new to all this ...
But there is one thing i dont get.
I tryed to run it with a primecoin.conf file and changed parameters like rpcuser ... rpcpassword ... gen=0 gen=1 and also with rpcport=9910 rpcallowip=127.0.0.1 with server=1 and daemon=1.
I did not receive any block in earlier stages ... difficulty was past 8 to this stage ...
as i deleted the conf file and run the wallet without it i received two blocks in two hours ...
How can that be ... Luck ? I was using hp3 ...
So my question is is the conf file needed or not ??

Thx

That is indeed called pure luck.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 19, 2013, 10:44:51 AM
Sorry i am new to all this ...
But there is one thing i dont get.
I tryed to run it with a primecoin.conf file and changed parameters like rpcuser ... rpcpassword ... gen=0 gen=1 and also with rpcport=9910 rpcallowip=127.0.0.1 with server=1 and daemon=1.
I did not receive any block in earlier stages ... difficulty was past 8 to this stage ...
as i deleted the conf file and run the wallet without it i received two blocks in two hours ...
How can that be ... Luck ? I was using hp3 ...
So my question is is the conf file needed or not ??

Thx

That is indeed called pure luck.

Any news with HP5 and if its doing any good?

What has your results shown from all different versions?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Plazma on July 19, 2013, 10:52:54 AM
2 dedicated rigs mining with 1500pps each since 9days.
One got 9 blocks last block 3 days ago.
other got 0 blocks.
random is random.



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: svirus on July 19, 2013, 11:17:34 AM
primecoin@HP5 ... just finded block
4k pps


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: minerstorm on July 19, 2013, 11:56:32 AM
29 hours is not found block. The rate has increased by 200-300pps, but no blocks.
How are you?
Sorry my english.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jammertr on July 19, 2013, 12:22:27 PM
same here 3 pc setup,  4000/3500/1700 pps  all on hp5  no luck more than 24 hours


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jammertr on July 19, 2013, 12:24:21 PM
to be honest .... almost 24 hours

same here 3 pc setup,  4000/3500/1700 pps  all on hp5  no luck more than 24 hours


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 19, 2013, 12:34:38 PM
Day one, 1400pps, 8 core nehalem rig running HP5.
0 blocks. :D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bitrich on July 19, 2013, 01:14:45 PM
running i5 at 2000pps. got about 5% more pps from hp4 to hp 5. Only found 2 blocks since release of first client. got them in the first few days, havent had one since on solo. ypool sucks had a second pc pool mining with ypool way too many server rejected shares.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Krusher33 on July 19, 2013, 01:16:45 PM
Sorry i am new to all this ...
But there is one thing i dont get.
I tryed to run it with a primecoin.conf file and changed parameters like rpcuser ... rpcpassword ... gen=0 gen=1 and also with rpcport=9910 rpcallowip=127.0.0.1 with server=1 and daemon=1.
I did not receive any block in earlier stages ... difficulty was past 8 to this stage ...
as i deleted the conf file and run the wallet without it i received two blocks in two hours ...
How can that be ... Luck ? I was using hp3 ...
So my question is is the conf file needed or not ??

Thx

Sounds like coincidence.

But why did you have both gen=0 and gen=1 in there?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Joe13 on July 19, 2013, 01:32:35 PM
Nah, tryed it once with gen=0 and then another time with gen=1 but i never maintained to get a block...
That is why i am asking if the conf file is important for the mining, if yes how must it be configured then....
thx


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 19, 2013, 01:41:54 PM
Does anyone have a guide for building on Windows.  I can't get the static libraries to bind using MingW.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ig0tik3d on July 19, 2013, 01:49:29 PM
Does anyone have a guide for building on Windows.  I can't get the static libraries to bind using MingW.
https://bitcointalk.org/index.php?topic=149479.0


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 02:25:35 PM
I just mined 3 blocks in a row... holy crap.

http://i.imgur.com/5YKW1m1.png


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 19, 2013, 02:51:54 PM
I posted a new compilation guide for Linux:
https://bitcointalk.org/index.php?topic=259022.0

It shows you how to compile your own libgmp and everything else.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 03:02:21 PM
I posted a new compilation guide for Linux:
https://bitcointalk.org/index.php?topic=259022.0

It shows you how to compile your own libgmp and everything else.

Mikaelh. I have a question for you.

My CPU's have 12MB of cache each. Is that advantageous for primecoin mining? I have noticed I have been getting significantly higher primespersec than most of my friends when we use larger seivesizes, even when they have newer processors!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 19, 2013, 03:10:51 PM
I posted a new compilation guide for Linux:
https://bitcointalk.org/index.php?topic=259022.0

It shows you how to compile your own libgmp and everything else.

Mikaelh. I have a question for you.

My CPU's have 12MB of cache each. Is that advantageous for primecoin mining? I have noticed I have been getting significantly higher primespersec than most of my friends when we use larger seivesizes, even when they have newer processors!

Well, it might run a tiny bit faster if you have a large L3 cache. I wrote most of the code to run fast using the L1 and L2 caches, so the L3 cache is actually not that important. But of course it never hurts to have a big L3 cache. ;)

GPU architecture also has a big impact.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: xyzzy099 on July 19, 2013, 03:14:12 PM
I posted a new compilation guide for Linux:
https://bitcointalk.org/index.php?topic=259022.0

It shows you how to compile your own libgmp and everything else.

Mikaelh. I have a question for you.

My CPU's have 12MB of cache each. Is that advantageous for primecoin mining? I have noticed I have been getting significantly higher primespersec than most of my friends when we use larger seivesizes, even when they have newer processors!

Well, it might run a tiny bit faster if you have a large L3 cache. I wrote most of the code to run fast using the L1 and L2 caches, so the L3 cache is actually not that important. But of course it never hurts to have a big L3 cache. ;)

GPU architecture also has a big impact.

Running hp4 on a CPU with a 10M L3 cache, I found that if I set the sievesize any larger than 4M, the program would crash within seconds of startup.  What should be the maximum sievesize?

I am using hp5 now, but I have not checked to see if it still crashes.




Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Koooooj on July 19, 2013, 03:15:32 PM
Just wanted to say great miner!  I feel like this is probably the most optimized miner on the market right now.  Looking over the source code of the original miner and yours I think I see a way to make the miner (potentially much) faster from a mathematical standpoint rather than a code-optimization standpoint.  My optimization centers around the Primorial and the loop that occurs in main.cpp on line 4622.

Before getting into the code, it is important to realize why a primorial is helpful (if you already understand this, skip this paragraph).  With numbers on the order of 2256 there is about a 1 in 177 chance that a random number is prime.  If you select 8 random numbers, then, the odds of all of them being prime is about 1 in 1 quintillion--impractically low.  If you limit your search to only odd numbers, though, the odds shoot up tremendously.  Further limiting your search to numbers not divisible by 3, 5, 7, and so on can cause the odds of finding a prime number to become much, much better.  If the hash value is divisible by lots of these small numbers then multiples of that hash ± 1 will not be divisible by any of those numbers.  Thus, it is convenient to use a hash that is already a multiple of 2 * 3 * 5 * 7 * ... as it will produce far more primes than another hash.

As I understand the aforementioned loop, the program is searching for a hash that is divisible by a primorial.  Each iteration of this loop requires a hash to be generated as it increments the nonce value.  In the present form the primorail is of degree 7 (line 4579: static const unsigned int nPrimorialHashFactor = 7).  I suspect that this value is carefully chosen and it's probably ideal with the way that it is written.  However, I think there's an additional step that can be added to make the process much faster.  Increasing the degree of the primorial is incredibly expensive as it gets larger, since adding the 8th prime requires 19 times as many hashes to be checked; the 9th prime requires 23 times as many, and so on.  There is another way, though.

Prime origins are required to be in the form O = H * N where O is the origin, H is the hash, and N is any integer; H is selected to be divisible by p#7 (the primorial shown above).  If we extend this to O = H * N * P2 where P2 is 19 * 23 * 29 * ... * 51--a product of primes starting after the last prime used in the existing search--then the checked origin is still valid (an integer times an integer is still an integer).  This grants the benefits of searching with a higher degree primorial while not requiring a longer search for a working hash.  

Nothing is free, though, as this method inflates the size of the primes to be checked.  If the fast modular exponentiation is implemented through the same method as is used on the Fermat Primality Test (http://en.wikipedia.org/wiki/Fermat_primality_test) Wikipedia page then the algorithmic efficiency is O(log2(n) * log(log(n)) * log(log(log(n))) ).  There should be some sweet spot of how large of a primorial to use where the increased frequency of primes more than offsets the extra time required for the fast modular exponentiation.  It's possible that the sweet spot is 0 extra primes, but I think it's worth looking into.

Definitely a great. I haven't had the time to study the code from a mathematical perspective, so this is helping me understand the code better. :)

Unfortunately it seems that Sunny King was ahead of you here. The code is already doing what you proposed. It uses something called a round primorial which is dynamically adjusted. You can see these round primorials in debug.log if you enable the debugging options -debug -printmining. A fixed multiplier is calculated through division by the first primorial used to choose the hash value. This fixed multiplier corresponds to your P2.

I think some improvements could be made to the dynamic adjustment system. It seems to be picking lots of different values.

Darn.  I guess Sunny was on his game!  At any rate, I hope this at least opens a new door for additional tuning of the miner in the wild.  Perhaps a system that does away with the dynamic tuning in favor of a conf file/command line parameter.  I don't have the time to crawl through the source code right now--friend is getting married--but I'll take a look when I get back.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 03:23:50 PM
I posted a new compilation guide for Linux:
https://bitcointalk.org/index.php?topic=259022.0

It shows you how to compile your own libgmp and everything else.

Mikaelh. I have a question for you.

My CPU's have 12MB of cache each. Is that advantageous for primecoin mining? I have noticed I have been getting significantly higher primespersec than most of my friends when we use larger seivesizes, even when they have newer processors!

Well, it might run a tiny bit faster if you have a large L3 cache. I wrote most of the code to run fast using the L1 and L2 caches, so the L3 cache is actually not that important. But of course it never hurts to have a big L3 cache. ;)

GPU architecture also has a big impact.

It's 12MB of L2 cache, not L3 cache. Would having this much L2 cache help any significant amount?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 19, 2013, 03:31:15 PM
I posted a new compilation guide for Linux:
https://bitcointalk.org/index.php?topic=259022.0

It shows you how to compile your own libgmp and everything else.

Mikaelh. I have a question for you.

My CPU's have 12MB of cache each. Is that advantageous for primecoin mining? I have noticed I have been getting significantly higher primespersec than most of my friends when we use larger seivesizes, even when they have newer processors!

Well, it might run a tiny bit faster if you have a large L3 cache. I wrote most of the code to run fast using the L1 and L2 caches, so the L3 cache is actually not that important. But of course it never hurts to have a big L3 cache. ;)

GPU architecture also has a big impact.

It's 12MB of L2 cache, not L3 cache. Would having this much L2 cache help any significant amount?

Not really. Larger caches are also slower.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 03:37:23 PM
Hum. Strange. I've been finding more blocks than any of my friends. O_o maybe i'm having a crazy unreal luck-streak.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 19, 2013, 03:38:32 PM
Just mined two back to back blocks. Awesome.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 1l1l11ll1l on July 19, 2013, 03:41:18 PM
Just mined two back to back blocks. Awesome.

Are you running linux? Any particular settings you'd like to share?  ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 03:43:13 PM
http://i.imgur.com/ih8Gano.png

Mined four blocks in the past 24-ish hours.

Holy. Shit.

(Win 2008, HP4, specs down in siggy)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: bidji29 on July 19, 2013, 03:43:51 PM
Just mined two back to back blocks. Awesome.

Are you running linux? Any particular settings you'd like to share?  ;)

He throw millions of PPS at it, that's the trick^^.

N4ru, do you still use the 2M sievesize?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: romerun on July 19, 2013, 03:44:25 PM
i got no shit for the last 24


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 19, 2013, 03:48:22 PM
Just mined two back to back blocks. Awesome.

Are you running linux? Any particular settings you'd like to share?  ;)

He throw millions of PPS at it, that's the trick^^.

N4ru, do you still use the 2M sievesize?
Yep.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 19, 2013, 04:08:09 PM
Didn't the consensus show that 1M sievesize was some kind of sweet spot ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 19, 2013, 04:16:40 PM
Didn't the consensus show that 1M sievesize was some kind of sweet spot ?

Well, I'm not sure if I'm part of that consensus because I haven't seen any statistically significant data to support that.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: xyzzy099 on July 19, 2013, 04:18:23 PM
I posted a new compilation guide for Linux:
https://bitcointalk.org/index.php?topic=259022.0

It shows you how to compile your own libgmp and everything else.

Mikaelh. I have a question for you.

My CPU's have 12MB of cache each. Is that advantageous for primecoin mining? I have noticed I have been getting significantly higher primespersec than most of my friends when we use larger seivesizes, even when they have newer processors!

Well, it might run a tiny bit faster if you have a large L3 cache. I wrote most of the code to run fast using the L1 and L2 caches, so the L3 cache is actually not that important. But of course it never hurts to have a big L3 cache. ;)

GPU architecture also has a big impact.

Running hp4 on a CPU with a 10M L3 cache, I found that if I set the sievesize any larger than 4M, the program would crash within seconds of startup.  What should be the maximum sievesize?

I am using hp5 now, but I have not checked to see if it still crashes.

Is this a question so stupid that it just doesn't deserve consideration?

I've asked about this crashing with large sieve sizes twice now, but have had no reply.

I've verified that it happens with hp5 as well.  I wish I could provide more details about the crash, but Windows just pops up a dialog saying the program stopped working, and doesn't include much useful debug info.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 19, 2013, 04:26:32 PM
i got no shit for the last 24

http://www.fleetlabs.com/siteimages/products/prod_bisacodyl_laxative_big.jpg


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 19, 2013, 04:33:15 PM
Didn't the consensus show that 1M sievesize was some kind of sweet spot ?

Can I pass in the sieve size, or do I need to recompile?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: xyzzy099 on July 19, 2013, 04:35:55 PM
Didn't the consensus show that 1M sievesize was some kind of sweet spot ?

Can I pass in the sieve size, or do I need to recompile?

You can pass it on the command line with the '-sievesize' parameter, or you can put sievesize=<size> in your primecoin.conf.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: airtreb on July 19, 2013, 04:38:49 PM
I have 60 computers 30 i5-3550 and 30 core2duo 8200...for the last 2 days i just mined 3 blocks OMG each pc have different wallet, now i try all of them using just 1 wallet, are those 60 cpu add their primespersec when mining? because when i try to getprimespersec they give different value.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 19, 2013, 04:40:50 PM
Didn't the consensus show that 1M sievesize was some kind of sweet spot ?

Can I pass in the sieve size, or do I need to recompile?

You can pass it on the command line with the '-sievesize' parameter, or you can put sievesize=<size> in your primecoin.conf.

Is that the only tuning parameter I can pass in at the moment?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blackboy on July 19, 2013, 04:42:36 PM
Anyone using VPSs to mine XPM? Which one would you recommend?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: oroqen on July 19, 2013, 04:44:56 PM
I have 60 computers 30 i5-3550 and 30 core2duo 8200...for the last 2 days i just mined 3 blocks OMG each pc have different wallet, now i try all of them using just 1 wallet, are those 60 cpu add their primespersec when mining? because when i try to getprimespersec they give different value.
1.Theres no way to corralate the work of each cpu without a pool, some will do the same work nothing you can do about it right now unless you want to start coding.
2.primespersec is a poor measure and changes quite often, best too take an average for afew minutes too compair performace.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mumus on July 19, 2013, 04:53:07 PM
Didn't the consensus show that 1M sievesize was some kind of sweet spot ?

Well, I'm not sure if I'm part of that consensus because I haven't seen any statistically significant data to support that.

2M on testnet performs better on  my  i7-3770 quad (8HT).I think Hypertheading really helps here.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 04:53:47 PM
Didn't the consensus show that 1M sievesize was some kind of sweet spot ?

No. I think it was just the failsafe.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 19, 2013, 04:55:32 PM
Didn't the consensus show that 1M sievesize was some kind of sweet spot ?

Well, I'm not sure if I'm part of that consensus because I haven't seen any statistically significant data to support that.

What would you think is the best for finding blocks mikaelh ?
I know this is more of a guess than anything on your side but being the coder you're probably the best person to ask.

How do you write the size ? sievesize=2000000 ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: xyzzy099 on July 19, 2013, 04:55:50 PM
Didn't the consensus show that 1M sievesize was some kind of sweet spot ?

Can I pass in the sieve size, or do I need to recompile?

You can pass it on the command line with the '-sievesize' parameter, or you can put sievesize=<size> in your primecoin.conf.

Is that the only tuning parameter I can pass in at the moment?


I don't know.  Maybe mikaelh will chime in and answer your question.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Wild7 on July 19, 2013, 05:03:12 PM
http://i.imgur.com/ih8Gano.png

Mined four blocks in the past 24-ish hours.

Holy. Shit.

(Win 2008, HP4, specs down in siggy)

Thanks for your guide.. got 1 block now..  ;D


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 05:04:54 PM
You're welcome. :P Feel free to donate. XD


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 19, 2013, 05:19:35 PM
Didn't the consensus show that 1M sievesize was some kind of sweet spot ?

Well, I'm not sure if I'm part of that consensus because I haven't seen any statistically significant data to support that.

What would you think is the best for finding blocks mikaelh ?
I know this is more of a guess than anything on your side but being the coder you're probably the best person to ask.

How do you write the size ? sievesize=2000000 ?

Based on the code:     

nSieveSize = (int)GetArg("-sievesize", nDefaultSieveSize); 

... I believe that will work, yes.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 19, 2013, 05:22:40 PM
http://i.imgur.com/ih8Gano.png

Mined four blocks in the past 24-ish hours.

Holy. Shit.

(Win 2008, HP4, specs down in siggy)

Thanks for your guide.. got 1 block now..  ;D

Which guide ??


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Wild7 on July 19, 2013, 05:42:37 PM
http://i.imgur.com/ih8Gano.png

Mined four blocks in the past 24-ish hours.

Holy. Shit.

(Win 2008, HP4, specs down in siggy)

Thanks for your guide.. got 1 block now..  ;D

Which guide ??

Primecoin Mining PC: Dual Xeon L5420 2.5GHz, 16GB RAM Seivesize 4M 4500 PPS

My pps also 4000, i'm set seivesize 4M and got 1 block after 1hour


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vigil on July 19, 2013, 06:01:47 PM
How can the sieve size be altered? I can't find any list of commands fro Primcoin-qt

Also, my currentblocktx seems to always be zero and rarely 1 - same with pooledtx. What does that mean?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 19, 2013, 06:12:40 PM


Primecoin Mining PC: Dual Xeon L5420 2.5GHz, 16GB RAM Seivesize 4M 4500 PPS

My pps also 4000, i'm set seivesize 4M and got 1 block after 1hour

Ok thanks !

testing the sievesize @ 4M, that dropped my pps from 6800 to  4880 on my i7 3770k. Now it remains to be seen if pps is that important regarding block finds...

I hope you guys are not joking about this because last i remember some guy did some test on multiple cpu running and had found (this is somewhere earlier on this thread) :

1M sievesize = 1 block / hour
2M    " = 0.8 block / hour
3M    " = 0.6 block / hour
4M    " = no blocks / hour


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: superfluouso on July 19, 2013, 06:49:39 PM
How can the sieve size be altered? I can't find any list of commands fro Primcoin-qt

Also, my currentblocktx seems to always be zero and rarely 1 - same with pooledtx. What does that mean?

primecoind --daemon -seivesize=2000000

Or whatever you need for seivesize.  Does not have to be 2000000


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 19, 2013, 07:05:12 PM
You're welcome. :P Feel free to donate. XD

HP4 or HP5?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: laughingbear on July 19, 2013, 07:05:51 PM
look in the op 

Q: How do I change the sieve size?
A: You can either use the config file or command line parameters. Either type "sievesize=1000000" in the config file or add "-sievesize=1000000" to the command line (without the quotes). Replace 1000000 with your desired sieve size. The command line switch should be added to the command that starts the Qt wallet or the Primecoin daemon.

worked fine for me.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: xyzzy099 on July 19, 2013, 07:07:40 PM
How can the sieve size be altered? I can't find any list of commands fro Primcoin-qt

Also, my currentblocktx seems to always be zero and rarely 1 - same with pooledtx. What does that mean?

primecoind --daemon -seivesize=2000000

Or whatever you need for seivesize.  Does not have to be 2000000

I can't get the command to work in Primecoin-qt. I've tried the above and seivesize=2000000

You are spelling 'sievesize' wrong.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 19, 2013, 07:11:24 PM
You're welcome. :P Feel free to donate. XD

HP4 or HP5?

HP4.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 19, 2013, 07:15:49 PM

Thanks.

Does anyone know why I cannot stop primecoind? I tried everything for linux.. any ideas?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: BitRock on July 19, 2013, 07:17:29 PM

Thanks.

Does anyone know why I cannot stop primecoind? I tried everything for linux.. any ideas?

primecoind stop


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 19, 2013, 07:20:13 PM
Can we all try to reach a consensus as to what is the best sievesize regarding block finds ?

Am right now testing 4M for 24h but i fear i'm loosing my time (and ~12xpm) !


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 19, 2013, 07:26:33 PM
How can the sieve size be altered? I can't find any list of commands fro Primcoin-qt

Also, my currentblocktx seems to always be zero and rarely 1 - same with pooledtx. What does that mean?

primecoind --daemon -seivesize=2000000

Or whatever you need for seivesize.  Does not have to be 2000000

I can't get the command to work in Primecoin-qt. I've tried the above and seivesize=2000000

You are spelling 'sievesize' wrong.


If I'm getting 500pps and it takes 30secs for the network to solve a block, then what's the point of my have a sievesize of 2 million?  Shouldn't it be more like ~20,000?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: BitRock on July 19, 2013, 07:36:18 PM

Thanks.

Does anyone know why I cannot stop primecoind? I tried everything for linux.. any ideas?

primecoind stop

I tried that, it goes to a blank screen. Should I remove gen=1 first? I think it still is running.
try this
sudo pkill primecoind


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 19, 2013, 07:59:08 PM
try this
sudo pkill primecoind

I tried that too..

primecoind stop
error: no response from server

Then when I go back to launch or watch it... i get this

error: no response from server
error: no response from server

EDIT: now black screen...
Using HP5


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 19, 2013, 08:06:48 PM
try this
sudo pkill primecoind

I tried that too..

primecoind stop
error: no response from server

Then when I go back to launch or watch it... i get this

error: no response from server
error: no response from server

EDIT: now black screen...
Using HP5


Sounds like it never compiled properly...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: xyzzy099 on July 19, 2013, 08:08:29 PM
try this
sudo pkill primecoind

I tried that too..

primecoind stop
error: no response from server

Then when I go back to launch or watch it... i get this

error: no response from server
error: no response from server

EDIT: now black screen...
Using HP5


Are you sure it's running in server mode?  Put 'server=1' in your conf file, or start it with the '-server' switch.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 19, 2013, 09:56:44 PM
I've installed all the needed extras to run primecoind via apt-get install, then I just uploaded the primecoind program to /usr/local/bin and it worked like a charm. Is there any harm to this? It cuts the time of having to compile it each and every time.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 19, 2013, 10:10:48 PM
I've installed all the needed extras to run primecoind via apt-get install, then I just uploaded the primecoind program to /usr/local/bin and it worked like a charm. Is there any harm to this? It cuts the time of having to compile it each and every time.

The libgmp installed by apt-get may be sup-optimal for your CPU. My guide shows how to compile your own libgmp. Then you can grab libgmp.so.10 from /usr/local/bin and copy it to every instance.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 19, 2013, 10:13:36 PM
I've installed all the needed extras to run primecoind via apt-get install, then I just uploaded the primecoind program to /usr/local/bin and it worked like a charm. Is there any harm to this? It cuts the time of having to compile it each and every time.

The libgmp installed by apt-get may be sup-optimal for your CPU. That's the biggest concern. But it's also easily solved by grabbing libgmp.so.10 from /usr/local/bin and placing it there on every instance you have.

Thanks for your help mikaelh. I did the apt-get install libgmp.How do you grab the libgmp.so.10 from /usr/local/bin?

Side note: how do you send all your coins to one address? Is it the sendmany command? Thanks!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notme on July 19, 2013, 10:15:00 PM
I've installed all the needed extras to run primecoind via apt-get install, then I just uploaded the primecoind program to /usr/local/bin and it worked like a charm. Is there any harm to this? It cuts the time of having to compile it each and every time.

The libgmp installed by apt-get may be sup-optimal for your CPU. That's the biggest concern. But it's also easily solved by grabbing libgmp.so.10 from /usr/local/bin and placing it there on every instance you have.

Thanks for your help mikaelh. I did the apt-get install libgmp.How do you grab the libgmp.so.10 from /usr/local/bin?

Side note: how do you send all your coins to one address? Is it the sendmany command? Thanks!

sendtoaddress address balance

sendmany is to send to multiple addresses in a single transaction


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 19, 2013, 10:28:38 PM
I've installed all the needed extras to run primecoind via apt-get install, then I just uploaded the primecoind program to /usr/local/bin and it worked like a charm. Is there any harm to this? It cuts the time of having to compile it each and every time.

The libgmp installed by apt-get may be sup-optimal for your CPU. That's the biggest concern. But it's also easily solved by grabbing libgmp.so.10 from /usr/local/bin and placing it there on every instance you have.

Thanks for your help mikaelh. I did the apt-get install libgmp.How do you grab the libgmp.so.10 from /usr/local/bin?

Side note: how do you send all your coins to one address? Is it the sendmany command? Thanks!

I meant from /usr/local/lib. Assuming that you have followed my guide on how to compile your own libgmp. Note that you also need to use my instructions for compiling primecoind after that to make sure that the binary is using libraries from /usr/local/lib.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: vingaard on July 19, 2013, 11:37:44 PM
Yihaaaaaa!!! Another block in only 5h using hp5 build in a i5-2500 @3.3GHz running at about 3500 pps!!! (I know that it's only luck but I don't mind... I'm happy!!!  ;D )


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 19, 2013, 11:47:11 PM
I've installed all the needed extras to run primecoind via apt-get install, then I just uploaded the primecoind program to /usr/local/bin and it worked like a charm. Is there any harm to this? It cuts the time of having to compile it each and every time.

The libgmp installed by apt-get may be sup-optimal for your CPU. That's the biggest concern. But it's also easily solved by grabbing libgmp.so.10 from /usr/local/bin and placing it there on every instance you have.

Thanks for your help mikaelh. I did the apt-get install libgmp.How do you grab the libgmp.so.10 from /usr/local/bin?

Side note: how do you send all your coins to one address? Is it the sendmany command? Thanks!

I meant from /usr/local/lib. Assuming that you have followed my guide on how to compile your own libgmp. Note that you also need to use my instructions for compiling primecoind after that to make sure that the binary is using libraries from /usr/local/lib.

So just compile my own libgmp and that's it?

EDIT: I Guess recompile primecoind then as well.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: arnuschky on July 20, 2013, 02:28:24 AM

So just compile my own libgmp and that's it?

EDIT: I Guess recompile primecoind then as well.

No need for that (that's the magic of dynamic linking). Just make sure that your primecoind uses the correct version:

Code:
ldd /usr/loca/bin/primecoind | grep

This shows you if primecoind is dynamically loading the correct lib.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 20, 2013, 02:43:44 AM

So just compile my own libgmp and that's it?

EDIT: I Guess recompile primecoind then as well.

No need for that (that's the magic of dynamic linking). Just make sure that your primecoind uses the correct version:

Code:
ldd /usr/loca/bin/primecoind | grep

This shows you if primecoind is dynamically loading the correct lib.

I think you mean
Code:
ldd /usr/local/bin/primecoind | grep gmp

... assuming they copied primecoind to /usr/local/bin (which some may not have) in which case, if they're in the directory containing the primecoind binary:

Code:
ldd ./primecoind | grep gmp


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 20, 2013, 03:59:48 AM

So just compile my own libgmp and that's it?

EDIT: I Guess recompile primecoind then as well.

No need for that (that's the magic of dynamic linking). Just make sure that your primecoind uses the correct version:

Code:
ldd /usr/loca/bin/primecoind | grep

This shows you if primecoind is dynamically loading the correct lib.

I think you mean
Code:
ldd /usr/local/bin/primecoind | grep gmp

... assuming they copied primecoind to /usr/local/bin (which some may not have) in which case, if they're in the directory containing the primecoind binary:

Code:
ldd ./primecoind | grep gmp

Here's what comes up:

        libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f75340f20
00)

Is that correct?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 20, 2013, 04:07:45 AM
Code:
sudo ldconfig /usr/local/lib/libgmp*

Try that and print the output of:

Code:
ldd ./primecoind | grep gmp


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: yourofl10 on July 20, 2013, 04:13:50 AM
Code:
sudo ldconfig /usr/local/lib/libgmp*

Try that and print the output of:

Code:
ldd ./primecoind | grep gmp

What I got:  libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x00007f5e53b24000)

Changed ./primecoind to /usr/local/bin

How do I know the custom gmp for my CPU is working as it should be if I've already installed primecoind? Thanks.  :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 20, 2013, 05:00:49 AM
try this
sudo pkill primecoind

I tried that too..

primecoind stop
error: no response from server

Then when I go back to launch or watch it... i get this

error: no response from server
error: no response from server

EDIT: now black screen...
Using HP5


Are you sure it's running in server mode?  Put 'server=1' in your conf file, or start it with the '-server' switch.


Thanks I will try that. Do I need to use local host up in config?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 20, 2013, 05:49:23 AM
Code:
sudo ldconfig /usr/local/lib/libgmp*

Try that and print the output of:

Code:
ldd ./primecoind | grep gmp

What I got:  libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x00007f5e53b24000)

Changed ./primecoind to /usr/local/bin

How do I know the custom gmp for my CPU is working as it should be if I've already installed primecoind? Thanks.  :)

Now its pointing to the more recent libgmp. Let us know your results!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: superfluouso on July 20, 2013, 07:22:24 AM
So..uh..my pps on all my systems just got hammered by like 20%...difficulty still at 8.99...anyone else notice this?

edit: Never mind - only lasted 5-10 minutes then went back to normal. Odd.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 20, 2013, 07:31:43 AM
anyone (other than me) tried sievesize=1000003 for the lulz?

will update later


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: PSL on July 20, 2013, 08:22:45 AM
My ATOM CPU D525 running at 1.8GHz found a block; primespersec is about 450. This is lottery and my CPU had a lucky day... ;-)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 20, 2013, 11:50:33 AM
I have released Linux binaries for -hp5.

Please note that my binaries were linked against Berkeley DB 4.8.30. Sunny King's original binaries are linked against version 4.8.24 which should be compatible. If you have compiled from source before, your database format may be incompatible with my binaries. Always make sure to backup your database files and your wallet first.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 8bitPunk on July 20, 2013, 11:58:38 AM
I have released Linux binaries for -hp5.

Please note that my binaries were linked against Berkeley DB 4.8.30. Sunny King's original binaries are linked against version 4.8.24 which should be compatible. If you have compiled from source before, your database format may be incompatible with my binaries. Always make sure to backup your database files and your wallet first.

Thanks Mikael!
I've only compiled from source, so if I continue to do so then I don't have to worry about the Berkeley DB version?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 20, 2013, 12:08:22 PM
what is the compile for libgmp?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 20, 2013, 01:04:37 PM
Question:

I set up the seive size via a config file and I have noticed that it starts mining automatically, so do I still need to put the setgenerate command in via the wallet?  I mean how does it know how many cores I want to run?  There doesn't seem to be any such command in the config file that I created.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 20, 2013, 01:21:52 PM
I have released Linux binaries for -hp5.

Please note that my binaries were linked against Berkeley DB 4.8.30. Sunny King's original binaries are linked against version 4.8.24 which should be compatible. If you have compiled from source before, your database format may be incompatible with my binaries. Always make sure to backup your database files and your wallet first.

Thanks Mikael!
I've only compiled from source, so if I continue to do so then I don't have to worry about the Berkeley DB version?

Correct as long as you don't change the Berkeley DB version you have.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 20, 2013, 01:23:47 PM
what is the compile for libgmp?

My Linux binaries are compiled against the latest GMP version 5.1.2. I configured GMP with --enable-fat to enable optimization support for multiple CPUs.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 20, 2013, 01:25:33 PM
Question:

I set up the seive size via a config file and I have noticed that it starts mining automatically, so do I still need to put the setgenerate command in via the wallet?  I mean how does it know how many cores I want to run?  There doesn't seem to be any such command in the config file that I created.

There is currently no option to set the number of mining threads in the config file. I might add an option for that in the future.

Right now your only option is to use the "setgenerate" RPC/debug console command.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: #Darren on July 20, 2013, 01:32:55 PM
Question:

I set up the seive size via a config file and I have noticed that it starts mining automatically, so do I still need to put the setgenerate command in via the wallet?  I mean how does it know how many cores I want to run?  There doesn't seem to be any such command in the config file that I created.

There is currently no option to set the number of mining threads in the config file. I might add an option for that in the future.

Right now your only option is to use the "setgenerate" RPC/debug console command.

Thanks, but it does cause the wallet to mine correct?    Because I see it pulling the pps automatically on startup.  Does it default to automatically use all cores?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 20, 2013, 01:35:45 PM
Question:

I set up the seive size via a config file and I have noticed that it starts mining automatically, so do I still need to put the setgenerate command in via the wallet?  I mean how does it know how many cores I want to run?  There doesn't seem to be any such command in the config file that I created.

There is currently no option to set the number of mining threads in the config file. I might add an option for that in the future.

Right now your only option is to use the "setgenerate" RPC/debug console command.

Thanks, but it does cause the wallet to mine correct?    Because I see it pulling the pps automatically on startup.  Does it default to automatically use all cores?

Yes, it should automatically detect how many cores you have.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 20, 2013, 01:38:19 PM
How do you "install" the binaries in ubuntu server then?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Duffer1 on July 20, 2013, 01:43:48 PM
HP 5 works great, it took my athlon 1055t from 5100pps (hp4) to 5500pps (6cores ftw).

That said, I haven't found anything in 3 days  :'(.  Does changing the -sieve size help?  If so how do I change it using the windows client?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 20, 2013, 02:08:09 PM
HP 5 works great, it took my athlon 1055t from 5100pps (hp4) to 5500pps (6cores ftw).

That said, I haven't found anything in 3 days  :'(.  Does changing the -sieve size help?  If so how do I change it using the windows client?

Try using a shortcut or the conf file...shortcut is easier.
Or create a bat file like for cgminer:

primecoin.bat

primecoin-qt.exe -sievesize 2000000

That in the same folder as primecoin-qt is ought to work.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 20, 2013, 02:13:57 PM
How do you "install" the binaries in ubuntu server then?

Well, if you really want to "install" it you can copy the binary to /usr/local/bin:
Code:
sudo cp -f primecoind /usr/local/bin/

That only makes a bit easier to use (you can type "primecoind" anywhere instead of "./primecoind" in some specific directory).

Then just create a config file and maybe a script for starting it up.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 20, 2013, 03:21:01 PM
Sorry if this has already been brought up, but why will certain sievesize's work on testnet (and work very well) yet they crash the client as soon as live mining starts?

I spent 4 hours finding what I thought was the best setting for highest block count and find out these settings crash off the testnet.  ???


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 20, 2013, 03:21:11 PM
How do you "install" the binaries in ubuntu server then?

Well, if you really want to "install" it you can copy the binary to /usr/local/bin:
Code:
sudo cp -f primecoind /usr/local/bin/

That only makes a bit easier to use (you can type "primecoind" anywhere instead of "./primecoind" in some specific directory).

Then just create a config file and maybe a script for starting it up.

Thanks a lot man...I'll donate a few yac for the help :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 20, 2013, 03:54:23 PM
Quote
primecoind: checkqueue.h:167: CCheckQueueControl<T>::CCheckQueueControl(CCheckQueue<T>*) [with T = CScriptCheck]: Assertion `pqueue->nTotal == pqueue->nIdle' failed.

I pushed a fix for this crash to bitbucket. If someone wants to try it, it would be appreciated. The crash is quite random.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: razibuzouzou on July 20, 2013, 04:10:01 PM
Quote
primecoind: checkqueue.h:167: CCheckQueueControl<T>::CCheckQueueControl(CCheckQueue<T>*) [with T = CScriptCheck]: Assertion `pqueue->nTotal == pqueue->nIdle' failed.

I pushed a fix for this crash to bitbucket. If someone wants to try it, it would be appreciated. The crash is quite random.

Did not encounter any crash yet.
Pulled the commit and recompiled anyway, I'll let you know if something goes bad :)
ps: thanks for your work, using libgmp is really neat idea !


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 20, 2013, 04:37:21 PM
I've been mining with sievesize=4M for about 22 hours.
I found a block 4 hours after mining with this setting and nothing more for the next 18 hours.

So yes we still find blocks with this setting but it's not a "magical" setting even if the period is too short to draw any solid conclusion...

So I end up not knowing anymore after this test, the random aspect of mining is not helping finding the best sievesize.

It would be great if everyone shared their tests on this variable but i have a feeling some don't want to...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Duffer1 on July 20, 2013, 05:54:09 PM
HP 5 works great, it took my athlon 1055t from 5100pps (hp4) to 5500pps (6cores ftw).

That said, I haven't found anything in 3 days  :'(.  Does changing the -sieve size help?  If so how do I change it using the windows client?

Try using a shortcut or the conf file...shortcut is easier.
Or create a bat file like for cgminer:

primecoin.bat

primecoin-qt.exe -sievesize 2000000

That in the same folder as primecoin-qt is ought to work.

Thank you, how do I check to see if that worked?  I don't see a sieve value when I getinfo or getmininginfo.  

Edit:
From the FAQ:

"Q: How do I change the sieve size?
A: You can either use the config file or command line parameters. Either type "sievesize=1000000" in the config file or add "-sievesize=1000000" to the command line (without the quotes). Replace 1000000 with your desired sieve size. The command line switch should be added to the command that starts the Qt wallet or the Primecoin daemon."

There is no config file in appdata - roaming - primecoin, there is no config file in the qt folder either (x64 client).  


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: superfluouso on July 20, 2013, 06:06:05 PM
I've been mining with sievesize=4M for about 22 hours.
I found a block 4 hours after mining with this setting and nothing more for the next 18 hours.

So yes we still find blocks with this setting but it's not a "magical" setting even if the period is too short to draw any solid conclusion...

So I end up not knowing anymore after this test, the random aspect of mining is not helping finding the best sievesize.

It would be great if everyone shared their tests on this variable but i have a feeling some don't want to...

I've never found a block with 4M - only 1M and 2M.  But I think this has to do more with the randomness than anything else..


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 20, 2013, 06:15:31 PM
I have released Linux binaries for -hp5.

Please note that my binaries were linked against Berkeley DB 4.8.30. Sunny King's original binaries are linked against version 4.8.24 which should be compatible. If you have compiled from source before, your database format may be incompatible with my binaries. Always make sure to backup your database files and your wallet first.

Hey Mikaelh,

Do the

const unsigned int nPrimes = (uint64)nTotalPrimes * 8 / 100;  // down from 10

static const unsigned int nPrimorialHashFactor = 9; // up from 7

changes make sense? I looked at your repo and I did not see either.

On another note how is the gpu miner going? I hope you are getting lots of tips for all the hard work. I'm definitely going to send some your way.


Title: Does Primespersec matter?
Post by: Alex P on July 20, 2013, 06:25:37 PM
Hi,

I have a server running a Xeon that Xeon CPU E5-2420 and it only gets 3500 "primespersec"

I also have a I7 3770K processor and that gets over 6500 "primespersec"

Does desktop processors get better performance than server processors when mining XPM?

Is "primespersec" the accurate way to measure performance in mining?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 20, 2013, 06:34:36 PM
No.

Desktop and server processors are identical. Server Xeons are just rebranded versions of the current era of desktop processors.

Your xeon is probably based on an architecture before the i7.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Alex P on July 20, 2013, 06:39:54 PM
My server processor shows 12 cores running and my desktop shows only 8 cores.  but it's still slower than the desktop by almost half.  Also my server processor cost 4x more than the the desktop processor...

No.

Desktop and server processors are identical. Server Xeons are just rebranded versions of the current era of desktop processors.

Your xeon is probably based on an architecture before the i7.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 20, 2013, 06:43:47 PM
My server processor shows 12 cores running and my desktop shows only 8 cores.  but it's still slower than the desktop by almost half.  Also my server processor cost 4x more than the the desktop processor...

Well, your server shouldn't be lagging behind by that much. Which operating system is the server running? Which version of the client are you using? Did you compile it yourself?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Alex P on July 20, 2013, 07:08:58 PM
I used your version hp5.  I'm running Windows 8 R2 Standard 64 bit.  The processor is: Intel Xeon CPU E5-2420 @1.90 ghz

My settings are:

maxconnections=256
genproclimit=-1
sievesize=4000000
gen=1


My server processor shows 12 cores running and my desktop shows only 8 cores.  but it's still slower than the desktop by almost half.  Also my server processor cost 4x more than the the desktop processor...

Well, your server shouldn't be lagging behind by that much. Which operating system is the server running? Which version of the client are you using? Did you compile it yourself?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: crazyearner on July 20, 2013, 07:26:22 PM
Help needed AMD (Piledriver) FX-8350 4.00GHz

Only getting 4500 primes any idea whats going on?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 20, 2013, 07:49:27 PM
Quote
primecoind: checkqueue.h:167: CCheckQueueControl<T>::CCheckQueueControl(CCheckQueue<T>*) [with T = CScriptCheck]: Assertion `pqueue->nTotal == pqueue->nIdle' failed.

I pushed a fix for this crash to bitbucket. If someone wants to try it, it would be appreciated. The crash is quite random.

Looks like this bug has been squashed.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 20, 2013, 07:51:22 PM
I've been mining with sievesize=4M for about 22 hours.
I found a block 4 hours after mining with this setting and nothing more for the next 18 hours.

So yes we still find blocks with this setting but it's not a "magical" setting even if the period is too short to draw any solid conclusion...

So I end up not knowing anymore after this test, the random aspect of mining is not helping finding the best sievesize.

It would be great if everyone shared their tests on this variable but i have a feeling some don't want to...

I've never found a block with 4M - only 1M and 2M.  But I think this has to do more with the randomness than anything else..

Did you find more blocks at 1M or at 2M ? And yes the randomness of the process is not helping finding the best settings as I've said earlier.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gnome2 on July 20, 2013, 08:12:12 PM
I have primecoin-qt how dose it find nodes?

It has just sat there for 20 hours?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 20, 2013, 08:13:27 PM
I have primecoin-qt how dose it find nodes?

It has just sat there for 20 hours?


Did you try this?

https://bitcointalk.org/index.php?topic=252944.msg2769201#msg2769201


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: xyzzy099 on July 20, 2013, 08:15:10 PM
I used your version hp5.  I'm running Windows 8 R2 Standard 64 bit.  The processor is: Intel Xeon CPU E5-2420 @1.90 ghz

My settings are:

maxconnections=256
genproclimit=-1
sievesize=4000000
gen=1


My server processor shows 12 cores running and my desktop shows only 8 cores.  but it's still slower than the desktop by almost half.  Also my server processor cost 4x more than the the desktop processor...

Well, your server shouldn't be lagging behind by that much. Which operating system is the server running? Which version of the client are you using? Did you compile it yourself?

'genproclimit=1' will cause it to only create one thread for mining.  Is that really what you want?



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gnome2 on July 20, 2013, 08:24:29 PM
I have primecoin-qt how dose it find nodes?

It has just sat there for 20 hours?


Did you try this?

https://bitcointalk.org/index.php?topic=252944.msg2769201#msg2769201

Perfect, Thank you.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: superfluouso on July 20, 2013, 08:26:46 PM
I've been mining with sievesize=4M for about 22 hours.
I found a block 4 hours after mining with this setting and nothing more for the next 18 hours.

So yes we still find blocks with this setting but it's not a "magical" setting even if the period is too short to draw any solid conclusion...

So I end up not knowing anymore after this test, the random aspect of mining is not helping finding the best sievesize.

It would be great if everyone shared their tests on this variable but i have a feeling some don't want to...

I've never found a block with 4M - only 1M and 2M.  But I think this has to do more with the randomness than anything else..

Did you find more blocks at 1M or at 2M ? And yes the randomness of the process is not helping finding the best settings as I've said earlier.

Too hard to say-again because of the random nature and me not doing the best to keep track.   Running everything at 2M now but no blocks in 24 hours..


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: PoolMinor on July 20, 2013, 08:29:10 PM
Help needed AMD (Piledriver) FX-8350 4.00GHz

Only getting 4500 primes any idea whats going on?


I don't see much support on this thread for our situation owning these AMD 8-core chips, I have seen others with similar queries. I have an older bulldozer FX-8120 ran it up to 4.2Ghz similar pps and did not see a block for several days. I still think at this rate it is still a bingo game.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 20, 2013, 08:36:54 PM
Help needed AMD (Piledriver) FX-8350 4.00GHz

Only getting 4500 primes any idea whats going on?


I don't see much support on this thread for our situation owning these AMD 8-core chips, I have seen others with similar queries. I have an older bulldozer FX-8120 ran it up to 4.2Ghz similar pps and did not see a block for several days. I still think at this rate it is still a bingo game.

That's a good rate as far as I can tell.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Lollaskates on July 20, 2013, 08:41:38 PM
we need some windows compiling instructions, the gmp dependency is screwing with me.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 20, 2013, 08:54:08 PM
we need some windows compiling instructions, the gmp dependency is screwing with me.

Some of the other coins have the gmp.h file with them.  You can find the file by iteself and add it to the folder where it is looking for it.

I would check and let you know which ones, but I just reinstalled windows and am setting things back up.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Lollaskates on July 20, 2013, 08:59:45 PM
we need some windows compiling instructions, the gmp dependency is screwing with me.

Some of the other coins have the gmp.h file with them.  You can find the file by iteself and add it to the folder where it is looking for it.

I would check and let you know which ones, but I just reinstalled windows and am setting things back up.

i've tried straight downloading the gmp libs, building from source, tried MIPS or whatever that other variation of the library was, no dice.

I've gotten passed the gmp.h failure, its now failing at gmpxx.h

EDIT: Got it fixed, had to frankenstein the source package and the static libs together. seems to be building fine, whats left is to check to see if its successful at all when running


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 20, 2013, 09:05:54 PM
I've been mining with sievesize=4M for about 22 hours.
I found a block 4 hours after mining with this setting and nothing more for the next 18 hours.

So yes we still find blocks with this setting but it's not a "magical" setting even if the period is too short to draw any solid conclusion...

So I end up not knowing anymore after this test, the random aspect of mining is not helping finding the best sievesize.

It would be great if everyone shared their tests on this variable but i have a feeling some don't want to...

Ivy bridge i3 3225 3.3Ghz  2x32kb 8 way L1 data, 2x32kb 8 way L1 inst., Level 2 = 2x256kb 8 way, Level 3 cahche = 3MB 12 way.

Sieve size recommended anyone?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blackboy on July 20, 2013, 09:40:24 PM
I like to keep my sievesize at 1M just to have one less variable to worry about. At this point I think is best to experience with different processors, VPS configurations, etc.





Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 20, 2013, 09:43:26 PM
I've been mining with sievesize=4M for about 22 hours.
I found a block 4 hours after mining with this setting and nothing more for the next 18 hours.

So yes we still find blocks with this setting but it's not a "magical" setting even if the period is too short to draw any solid conclusion...

So I end up not knowing anymore after this test, the random aspect of mining is not helping finding the best sievesize.

It would be great if everyone shared their tests on this variable but i have a feeling some don't want to...

Ivy bridge i3 3225 3.3Ghz  2x32kb 8 way L1 data, 2x32kb 8 way L1 inst., Level 2 = 2x256kb 8 way, Level 3 cahche = 3MB 12 way.

Sieve size recommended anyone?

The only correct answer that I have right now is that this IS the question !
I usually find one block per 24h with sievesize=1M (i7 3770k @ 4400)
Did a 24h test run with 4M and did find a block quite fast, around 4 hours and nothing for the rest of the time.

So 4M works but I have no way to say if it is better or not than 1M :/ I just got the same result, one block a day. Once again randomness is the big problem.

The only way to progress on this subject would be to centralize data regarding this parameter for enough time to get reliable data.

I'm trying 2M for 24h just to see...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: xTachibana on July 20, 2013, 11:03:47 PM
how do you even change sievesize from the debugconsole, i dont use a conf file, mainly because i dont know how to make them


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vigil on July 21, 2013, 12:32:42 AM
I like to keep my sievesize at 1M just to have one less variable to worry about. At this point I think is best to experience with different processors, VPS configurations, etc.





Been running for 72 hrs with 4000-4500 pps and haven't found a block yet. I think there is something wrong with my settings rather than just bad luck. Most people I see are hitting multiple times over a few days with similar pps.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notme on July 21, 2013, 12:44:34 AM
I used your version hp5.  I'm running Windows 8 R2 Standard 64 bit.  The processor is: Intel Xeon CPU E5-2420 @1.90 ghz

My settings are:

maxconnections=256
genproclimit=-1
sievesize=4000000
gen=1


My server processor shows 12 cores running and my desktop shows only 8 cores.  but it's still slower than the desktop by almost half.  Also my server processor cost 4x more than the the desktop processor...

Well, your server shouldn't be lagging behind by that much. Which operating system is the server running? Which version of the client are you using? Did you compile it yourself?

'genproclimit=1' will cause it to only create one thread for mining.  Is that really what you want?



he has -1... as in 1 thread per core


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ReCat on July 21, 2013, 12:53:48 AM
My server processor shows 12 cores running and my desktop shows only 8 cores.  but it's still slower than the desktop by almost half.  Also my server processor cost 4x more than the the desktop processor...

No.

Desktop and server processors are identical. Server Xeons are just rebranded versions of the current era of desktop processors.

Your xeon is probably based on an architecture before the i7.

Core count means absolutely nothing. It's the speed of each core that counts. Each core has a MUCH slower speed than each core of the one on your desktop.

Price also means nothing. It just means it's a really, really bad deal.

That's just the way it is.

http://www.cpubenchmark.net/cpu.php?cpu=Intel+Xeon+E5-2420+%40+1.90GHz


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 21, 2013, 01:06:51 AM
On testnet, I found that a sievesize=6144000 outperformed every other sievesize I tried (incl. 6000000 & 6246400) by 30% using an i7.  

However, when i try to use this sievesize mining live, h5 crashes as soon as mining starts (every time).  It's unfortunate because it showed such promise on testnet.  

Blocks were coming in 4-5 chunks at a time steadily, even hit 6 blocks in 1 minute (no other setting hit above 4 blocks/min).


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 21, 2013, 01:12:40 AM
Crashes is such a vague term. Aren't there any clues in logs or core-dumps or running under a debugger as to what exactly it is really doing that to an uninformed eye might appear as just generically a "crash" ?

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 21, 2013, 01:26:34 AM
Crashes is such a vague term. Aren't there any clues in logs or core-dumps or running under a debugger as to what exactly it is really doing that to an uninformed eye might appear as just generically a "crash" ?

-MarkM-


Sorry, I found nothing noteworthy in the log file (which is huge).

The client gives no error message, just shuts down immediately after "setgenerate true" is entered, nice and clean.

I did discover I'm getting orphans like crazy since 7/18 though.





Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: markm on July 21, 2013, 01:34:33 AM
"The" log file? As in, like /var/log/messages or the output of dmesg?

If you only mean the program's own log, all that would be likely to show would be asserts and such where it deliberately shut itself down rather than go into an unexpected or untenable state...

If on the other hand main net needs more RAM than test net for a given sieve size, and the operating system shut you down for using too much RAM, the operating system's own log should say so somewhere...

In general if the operating system shut you down it should, somewhere, have said why.

-MarkM-


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Schleicher on July 21, 2013, 02:44:46 AM
"The" log file? As in, like /var/log/messages or the output of dmesg?
If you only mean the program's own log, all that would be likely to show would be asserts and such where it deliberately shut itself down rather than go into an unexpected or untenable state...
If on the other hand main net needs more RAM than test net for a given sieve size, and the operating system shut you down for using too much RAM, the operating system's own log should say so somewhere...
In general if the operating system shut you down it should, somewhere, have said why.
He probably means primecoin's debug.log
I suspect there's an abort() call somewhere when the client is out of memory.
Doesn't look like the OS is killing it.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 21, 2013, 03:01:04 AM
"The" log file? As in, like /var/log/messages or the output of dmesg?

If you only mean the program's own log, all that would be likely to show would be asserts and such where it deliberately shut itself down rather than go into an unexpected or untenable state...

If on the other hand main net needs more RAM than test net for a given sieve size, and the operating system shut you down for using too much RAM, the operating system's own log should say so somewhere...

In general if the operating system shut you down it should, somewhere, have said why.

-MarkM-


Here's the .wer file (is there somewhere else to look?) ...

Version=1
EventType=APPCRASH
EventTime=130188002101076763
ReportType=2
Consent=1
UploadTime=130188002101476786
ReportIdentifier=90e6d4ed-f13f-11e2-b1be-001cc0fa6641
IntegratorReportIdentifier=90e6d4ec-f13f-11e2-b1be-001cc0fa6641
Response.BucketId=119483045
Response.BucketTable=4
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=primecoin-qt.exe
Sig[1].Name=Application Version
Sig[1].Value=0.8.3.0
Sig[2].Name=Application Timestamp
Sig[2].Value=51e81bc8
Sig[3].Name=Fault Module Name
Sig[3].Value=primecoin-qt.exe
Sig[4].Name=Fault Module Version
Sig[4].Value=0.8.3.0
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=51e81bc8
Sig[6].Name=Exception Code
Sig[6].Value=c00000fd
Sig[7].Name=Exception Offset
Sig[7].Value=0000000000b63876
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7600.2.0.0.256.48
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
UI[2]=C:\Program Files (x86)\Primecoin\primecoin-qt.exe
UI[3]=primecoin-qt.exe has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
State[0].Key=Transport.DoneStage1
State[0].Value=1
State[1].Key=DataRequest
State[1].Value=iData=1/nDumpFile=//Upload//iCab//5e9e45b16d7a4d7494b6a009e3ffccbd-374eb1ba359e4434c1816b58e399719f-4-119483045-AppCrash64-6-1-7600-2.cab/nDumpServer=watson.microsoft.com/nResponseServer=watson.microsoft.com/nResponseURL=//dw//StageFour64.asp?iBucket=119483045&szCab=5e9e45b16d7a4d7494b6a009e3ffccbd.cab&EventType=AppCrash64&BucketHash=374eb1ba359e4434c1816b58e399719f&MID=BD26F0E7-CAC8-4180-81CD-D19C0A18337C/nBucket=119483045/nBucketTable=4/nResponse=1/n
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=primecoin-qt.exe



thanks for the assistance!

UPDATE : Well this is all moot now. I found that I can run hp3 just fine as high as 6553600 (with close to same testnet results as hp5 @ 6144000 <-- but is horrible setting for hp3) and able to mine live. it's a considerable amount less on PPS, but block wise it was running @ 20 every 10 minutes on testnet (vs 29 every 10 min w/hp5 - no other sievesize topped 15).


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tomatocage on July 21, 2013, 03:49:36 AM
Been running for 72 hrs with 4000-4500 pps and haven't found a block yet. I think there is something wrong with my settings rather than just bad luck. Most people I see are hitting multiple times over a few days with similar pps.

Sounds about right. Unfortunately this chain, unintentionally, caters to botnets.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: LlamaMaster on July 21, 2013, 04:23:22 AM
How can I tell how my new sievesize settings are affecting my windows client?  The pps looks about the same, and I'm not sure what else to look for.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Wolf0 on July 21, 2013, 06:15:37 AM
How can I tell how my new sievesize settings are affecting my windows client?  The pps looks about the same, and I'm not sure what else to look for.

The only way is to see how often you find blocks. If you want to test, do it on testnet. PPS means jack shit.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ryen123 on July 21, 2013, 06:21:27 AM
how do you even change sievesize from the debugconsole, i dont use a conf file, mainly because i dont know how to make them

Read the FAQ in the original post on page 1.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Subw on July 21, 2013, 07:26:42 AM
Help needed AMD (Piledriver) FX-8350 4.00GHz

Only getting 4500 primes any idea whats going on?


I don't see much support on this thread for our situation owning these AMD 8-core chips, I have seen others with similar queries. I have an older bulldozer FX-8120 ran it up to 4.2Ghz similar pps and did not see a block for several days. I still think at this rate it is still a bingo game.
did you guys recompile gmplib from most recent sources?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Palmdetroit on July 21, 2013, 07:47:11 AM
Help needed AMD (Piledriver) FX-8350 4.00GHz

Only getting 4500 primes any idea whats going on?

Is there any demand for a Bulldozer optimized binary?  Been getting over 6k pps @1m sieve on a 8150 but not sure if that's good or not.

I could post a bin to try/test if anyone wants.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 21, 2013, 08:06:46 AM
On testnet, I found that a sievesize=6144000 outperformed every other sievesize I tried (incl. 6000000 & 6246400) by 30% using an i7.  

However, when i try to use this sievesize mining live, h5 crashes as soon as mining starts (every time).  It's unfortunate because it showed such promise on testnet.  

Blocks were coming in 4-5 chunks at a time steadily, even hit 6 blocks in 1 minute (no other setting hit above 4 blocks/min).

same here, 6144000 crashed h5 as soon as it attemps to mine on a i7 3770k with 16gb of ram.

Did you get better results on testnet with 4M than 1M ?

How do you activate testnet ? I can't check it on the debug window.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jammertr on July 21, 2013, 08:31:37 AM
On testnet, I found that a sievesize=6144000 outperformed every other sievesize I tried (incl. 6000000 & 6246400) by 30% using an i7.  

However, when i try to use this sievesize mining live, h5 crashes as soon as mining starts (every time).  It's unfortunate because it showed such promise on testnet.  

Blocks were coming in 4-5 chunks at a time steadily, even hit 6 blocks in 1 minute (no other setting hit above 4 blocks/min).

same here, 6144000 crashed h5 as soon as it attemps to mine on a i7 3770k with 16gb of ram.

Did you get better results on testnet with 4M than 1M ?

+1


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ryen123 on July 21, 2013, 08:42:03 AM
On testnet, I found that a sievesize=6144000 outperformed every other sievesize I tried (incl. 6000000 & 6246400) by 30% using an i7.  

However, when i try to use this sievesize mining live, h5 crashes as soon as mining starts (every time).  It's unfortunate because it showed such promise on testnet.  

Blocks were coming in 4-5 chunks at a time steadily, even hit 6 blocks in 1 minute (no other setting hit above 4 blocks/min).

same here, 6144000 crashed h5 as soon as it attemps to mine on a i7 3770k with 16gb of ram.

Did you get better results on testnet with 4M than 1M ?

How do you activate testnet ? I can't check it on the debug window.

Inside .conf file add line "testnet=1"


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 21, 2013, 08:47:44 AM
On testnet, I found that a sievesize=6144000 outperformed every other sievesize I tried (incl. 6000000 & 6246400) by 30% using an i7.  

However, when i try to use this sievesize mining live, h5 crashes as soon as mining starts (every time).  It's unfortunate because it showed such promise on testnet.  

Blocks were coming in 4-5 chunks at a time steadily, even hit 6 blocks in 1 minute (no other setting hit above 4 blocks/min).

same here, 6144000 crashed h5 as soon as it attemps to mine on a i7 3770k with 16gb of ram.

Did you get better results on testnet with 4M than 1M ?

+1

Works on hp4, but no clue as far as efficiency. I have my miners running all over the place for sievesize, figuring I will play the board until consensus is reached. I'd have to figure out how to get the logs, and then figure out what they were running when they found the blocks. Sounds like a lot of work. Testnet once VPS mining is a total waste of time. I guess I am maintaining my lucky streak, because the VPS thing is still disgustingly profitable, at least at current prices. I think I am going to sit on these and either ride them to the ground or get me a bitchin' jon boat with a surface drive motor. We shall see what the future holds.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 21, 2013, 09:18:50 AM
Hm, I went for a reinstall for my server and it seems like there is some old data populating back.

I have used rm -f primecoin-hp/src  and rm --recursive primecoin-hp/src

However, when I reinstall and use these commands,

/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


primecoind --daemon      
Error: Cannot obtain a lock on data directory /root/.primecoin. Primecoin is probably already running.

I used these commands
https://bitbucket.org/mikaelh/primecoin-hp
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=USER
rpcpassword=PASSWORD
gen=1" > ~/.primecoin/primecoin.conf
sudo mv -f primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Any ideas how to fix the rpcuser problem?
I checked sudo nano ~/.primecoin/primecoin.conf  and it looks all fine.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 21, 2013, 09:20:38 AM
Hm, I went for a reinstall for my server and it seems like there is some old data populating back.

I have used rm -f primecoin-hp/src  and rm --recursive primecoin-hp/src

However, when I reinstall and use these commands,

/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


primecoind --daemon      
Error: Cannot obtain a lock on data directory /root/.primecoin. Primecoin is probably already running.

I used these commands
https://bitbucket.org/mikaelh/primecoin-hp
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=USER
rpcpassword=PASSWORD
gen=1" > ~/.primecoin/primecoin.conf
sudo mv -f primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Any ideas how to fix the rpcuser problem?
I checked sudo nano ~/.primecoin/primecoin.conf  and it looks all fine.

Edit your primecoin.conf file back to what it was when you started the daemon, then terminate it. Probably old primecoind running. That worked for me when I ran into this.

Look guys! You're teaching me linux! Aren't you proud?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: oroqen on July 21, 2013, 09:23:08 AM
Hm, I went for a reinstall for my server and it seems like there is some old data populating back.

I have used rm -f primecoin-hp/src  and rm --recursive primecoin-hp/src

However, when I reinstall and use these commands,

/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


primecoind --daemon      
Error: Cannot obtain a lock on data directory /root/.primecoin. Primecoin is probably already running.

I used these commands
https://bitbucket.org/mikaelh/primecoin-hp
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=USER
rpcpassword=PASSWORD
gen=1" > ~/.primecoin/primecoin.conf
sudo mv -f primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Any ideas how to fix the rpcuser problem?
I checked sudo nano ~/.primecoin/primecoin.conf  and it looks all fine.

Edit your primecoin.conf file back to what it was when you started the daemon. That worked for me when I ran into this.

Look guys! You're teaching me linux! Aren't you proud?

It's like watching a baby take its first steps, so much pride in the future


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 21, 2013, 09:30:02 AM
you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

The information is all available on ubu's sites, so no I don't need the professors teaching me linux.

all I am asking is for ideas to overcome it


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 21, 2013, 09:32:13 AM
you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

But did you edit primecoin.conf while primecoind was running? Could also just hard reboot, but I have no idea which build you'd end up running or how linux delineates that kind of stuff.

e: dude, I am making fun of myself. I had never used linux prior to firing up these DO droplets, but now I think I actually know the solution to your problem because I encountered it myself. Old primcoind wants old primecoin.conf.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: oroqen on July 21, 2013, 09:40:05 AM
you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

The information is all available on ubu's sites, so no I don't need the professors teaching me linux.

all I am asking is for ideas to overcome it
Seems like you may have changed rpcuser/password while daemon was still running, you could try killing it with "killall primecoind" and give it a second to close before running it again


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 21, 2013, 09:41:11 AM
you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

The information is all available on ubu's sites, so no I don't need the professors teaching me linux.

all I am asking is for ideas to overcome it
Seems like you may have changed rpcuser/password while daemon was still running, you could try killing it with "killall primecoind" and give it a second to close before running it again

See, that's what someone who know's how to use linux would tell you to do.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 21, 2013, 09:51:18 AM
you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

The information is all available on ubu's sites, so no I don't need the professors teaching me linux.

all I am asking is for ideas to overcome it
Seems like you may have changed rpcuser/password while daemon was still running, you could try killing it with "killall primecoind" and give it a second to close before running it again

Thanks. I have tried that, but it still has the same problem. Says the info is incorrect.

I think I was using chemists build before this one. Problem is still open as I am working to find a solution. I don't think daemon is dieing, I am trying to kill the S.O.B!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: RandyFolds on July 21, 2013, 10:16:49 AM
you guys are a funny bunch.  I have already noted I can access primecoin.conf
That was the whole point, because I have made the edit, and it still comes up.

The information is all available on ubu's sites, so no I don't need the professors teaching me linux.

all I am asking is for ideas to overcome it
Seems like you may have changed rpcuser/password while daemon was still running, you could try killing it with "killall primecoind" and give it a second to close before running it again

Thanks. I have tried that, but it still has the same problem. Says the info is incorrect.

I think I was using chemists build before this one. Problem is still open as I am working to find a solution. I don't think daemon is dieing, I am trying to kill the S.O.B!

Did you write a script to auto start it? If so, why not remove it and just reboot the instance?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 21, 2013, 11:08:36 AM
Ok i've been playing around with testnet and sievesize, the results are here : https://bitcointalk.org/index.php?topic=259641


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: PSL on July 21, 2013, 11:22:57 AM
Hm, I went for a reinstall for my server and it seems like there is some old data populating back.

I have used rm -f primecoin-hp/src  and rm --recursive primecoin-hp/src

However, when I reinstall and use these commands,

/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


Any ideas how to fix the rpcuser problem?
I checked sudo nano ~/.primecoin/primecoin.conf  and it looks all fine.

Try this sequence:
Code:
mkdir ~/.primecoin
cat <<+++ > ~/.primecoin/primecoin.conf
rpcuser=USER
rpcpassword=PASSWORD
gen=1
+++
chmod 600 ~/.primecoin/primecoin.conf

git clone https://bitbucket.org/mikaelh/primecoin-hp.git

cd primecoin-hp/src
git pull
make -f makefile.unix clean
make -f makefile.unix USE_UPNP=-
strip primecoind
sudo cp -f primecoind /usr/local/bin/.

primecoind --daemon --server
watch 'primecoind listtransactions && primecoind getmininginfo'


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 21, 2013, 11:25:53 AM
/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


Your primecoin daemon was started with a different password in the config file. Just kill it off by typing:
Code:
killall primecoind


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 21, 2013, 11:46:40 AM
On testnet, I found that a sievesize=6144000 outperformed every other sievesize I tried (incl. 6000000 & 6246400) by 30% using an i7.  

However, when i try to use this sievesize mining live, h5 crashes as soon as mining starts (every time).  It's unfortunate because it showed such promise on testnet.  

Blocks were coming in 4-5 chunks at a time steadily, even hit 6 blocks in 1 minute (no other setting hit above 4 blocks/min).

same here, 6144000 crashed h5 as soon as it attemps to mine on a i7 3770k with 16gb of ram.

Did you get better results on testnet with 4M than 1M ?

How do you activate testnet ? I can't check it on the debug window.

The best sievesize's I found were ...

Build - Sievesize - PPS  - Blocks in 10 minutes
HP3  - 1000000  - 7387 - 14
HP5  - 2000000  - 7092 - 14
HP5  - 4000000  - 7911 - 15 (3 at a time usually)
HP4  - 6000000  - 7819 - 15
HP4  - 6144000  - 7430 - 20
HP3  - 6553600  - 5042 - 20 (steady 2 per minute)
HP5  - 5000000  - 7815 - 22
HP5  - 6000000  - 6919 - 23
HP5  - 6144000  - 7876 - 29 (4 at a time usually + 6 in 1 minute) - same result using "-1" or "6" threads.

Nothing above 4608000 worked for me mining live w/HP5 and using higher settings live w/HP3 worked (without crashing) but was yielding very low PPS (in the hundreds) live.

I get a higher PPS @ 1M or 2M live on HP5.

I have no idea if the testnet actually "test" anything to be honest.  :(  None of the data I collected translates over into real world mining ... especially since the client shuts down and no blocks are being found for days using the same settings that worked so well on the testnet.

So I'm trying the highest testnet settings that yielded the best results that will still work live and seeing how it goes. So far (6 hours or so, no blocks).

To answer your question ... add "-testnet" to the command line.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 21, 2013, 12:04:13 PM
Thanks for the details Tuck Fheman !

Here are my recent tests : https://bitcointalk.org/index.php?topic=259641.msg2772839#msg2772839

It's intersting to note that we do not have the same results with the same sievesize on testnet, that's could be cpu dependent or like you say testnet is not reliable at all.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 21, 2013, 12:28:16 PM
HP5  - 6144000  - 7876 - 29 (4 at a time usually + 6 in 1 minute) - same result using "-1" or "6" threads.

Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 21, 2013, 01:17:40 PM

Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.

Thanks for that info!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: nmersulypnem on July 21, 2013, 02:03:15 PM

Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.

Thanks for that info!

I think their might be some race conditions that don't exist on testnet.  Does anyone have timing numbers on how long the sieve takes to wieve and how long we have, on average, to find a block before someone else solves it?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: krikunalta on July 21, 2013, 03:45:28 PM
hp5 client crashes on win 7 64bit random


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notlist3d on July 21, 2013, 04:25:55 PM
hp5 client crashes on win 7 64bit random

Same here i went back to 4 after a few crashes.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notlist3d on July 21, 2013, 04:29:18 PM

Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.

Thanks for that info!

Sorry for such a newb question.  What is command to change sieve size?  I didn't see config file for it.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 21, 2013, 04:57:28 PM

Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.

Thanks for that info!

Sorry for such a newb question.  What is command to change sieve size?  I didn't see config file for it.

in primecoin.conf add "sievesize=...."


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notlist3d on July 21, 2013, 05:07:01 PM

Use multiples of 200k for sieve size with HP5. One of the internal loops goes over 200k elements. If there's a small bug there somewhere, it might crash when sieve size is not a multiple of 200k.

Thanks for that info!

Sorry for such a newb question.  What is command to change sieve size?  I didn't see config file for it.

in primecoin.conf add "sievesize=...."

Maybe im nuts... but can u tell me where to find primecoin.conf.  Sorry again for taking up space in forum.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 21, 2013, 05:14:47 PM
something weird is happening with hp5, I set sievesize to 4.8M started mining and went for a nap.
Two hours later I find out the the client crashed. I try to restart it and it crashes again.
I rebooted the computer, same. I cannot put any sievesize higher than 3.6M or the client crashes as soon as it starts mining.
Was running fine a few hours ago at 4.6M and even found a block with this setting.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 21, 2013, 05:16:24 PM
Maybe im nuts... but can u tell me where to find primecoin.conf.  Sorry again for taking up space in forum.

It's in Appdata/Roaming/Primecoin


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 21, 2013, 05:16:33 PM
"Maybe im nuts... but can u tell me where to find primecoin.conf.  Sorry again for taking up space in forum."

Hit win key, type %appdata%, hit enter.
Look for primecoin folder. Create it if it's not there already.
New text document, rename it to primecoin.conf (you need to see file extensions to do so).


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notlist3d on July 21, 2013, 05:22:07 PM
Thank you guys!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 21, 2013, 05:53:23 PM
-hp6 released!

Lots of changes in this release. Here's a list of notable changes:
 * Added fast divisibility tests before doing the expensive Fermat's test
 * Lots of other small optimizations
 * Introduced a new experimental tuning parameter "sievepercentage". Default value is 10, minimum is 1, maximum is 100.
 * Added new RPC command "getchainspermin"
 * Added the following information to "getmininginfo": chainspermin, difficulty, sievepercentage, and sievesize
 * Attempt to fix the random crash while mining

My PPS on mainnet went up 23% with this release with difficulty >= 9 on mainnet. This release attempts to fix the random crash while mining. I'm not sure if it's actually fixed because I have heard both positive and negative reports. The crash is more likely with high number of cores. 16 and 32 core machines are suffering the most.

The "sievepercentage" parameter is there for people to experiment with. It limits how many base primes are used to filter out candidate multipliers in the sieve. 8% seems optimal for testnet but I have no idea about mainnet.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 21, 2013, 06:15:10 PM
-hp6 released!

Lots of changes in this release. Here's a list of notable changes:
 * Added fast divisibility tests before doing the expensive Fermat's test
 * Lots of other small optimizations
 * Introduced a new experimental tuning parameter "sievepercentage". Default value is 10, minimum is 1, maximum is 100.
 * Added new RPC command "getchainspermin"
 * Added the following information to "getmininginfo": chainspermin, difficulty, sievepercentage, and sievesize
 * Attempt to fix the random crash while mining

My PPS on mainnet went up 23% with this release with difficulty >= 9 on mainnet. This release attempts to fix the random crash while mining. I'm not sure if it's actually fixed because I have heard both positive and negative reports. The crash is more likely with high number of cores. 16 and 32 core machines are suffering the most.

The "sievepercentage" parameter is there for people to experiment with. It limits how many base primes are used to filter out candidate multipliers in the sieve. 8% seems optimal for testnet but I have no idea about mainnet.
Thanks for the update, will be testing it on my farm.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 21, 2013, 06:15:54 PM
Great work mikaelh !

I'll see if this fixes my strange crash with sievesize higher than 3.6M.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: palmface on July 21, 2013, 06:19:33 PM
Great work mikaelh !

I'll see if this fixes my strange crash with sievesize higher than 3.6M.

Sorry Tamis, still getting that same crash with the new update. I get the same crash with hp4, hp5 and hp6. All are the winx64 versions and it seemed to coincide with difficulty hitting 9.

GL


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 21, 2013, 06:24:38 PM
Great work mikaelh !

I'll see if this fixes my strange crash with sievesize higher than 3.6M.

Sorry Tamis, still getting that same crash with the new update. I get the same crash with hp4, hp5 and hp6. All are the winx64 versions and it seemed to coincide with difficulty hitting 9.

GL

I was wondering if this was related to difficulty hitting 9+ !
pps is down too so I'm guessing this is also related to the difficulty ?!

Thanks palmface

mikaelh can you give us some info about the sievepercentage parameter ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 21, 2013, 06:36:28 PM
-hp6 released!

Lots of changes in this release. Here's a list of notable changes:
 * Added fast divisibility tests before doing the expensive Fermat's test
 * Lots of other small optimizations
 * Introduced a new experimental tuning parameter "sievepercentage". Default value is 10, minimum is 1, maximum is 100.
 * Added new RPC command "getchainspermin"
 * Added the following information to "getmininginfo": chainspermin, difficulty, sievepercentage, and sievesize
 * Attempt to fix the random crash while mining

My PPS on mainnet went up 23% with this release with difficulty >= 9 on mainnet. This release attempts to fix the random crash while mining. I'm not sure if it's actually fixed because I have heard both positive and negative reports. The crash is more likely with high number of cores. 16 and 32 core machines are suffering the most.

The "sievepercentage" parameter is there for people to experiment with. It limits how many base primes are used to filter out candidate multipliers in the sieve. 8% seems optimal for testnet but I have no idea about mainnet.

True, can confirm crash only happens on my 16 core machines. The 8 core, 4 core, 2 core and 1 core never crashed.
let's test hp6 on my farm ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: superfluouso on July 21, 2013, 07:07:31 PM
Thanks Mikaelh!  Love having the additional stuff in getmininginfo.  Can confirm my pps went up on an 8 core though still below were it was at before difficulty hit 9.

edit - pps improves more for me with sievesize=2000000 and sievepercentage=8


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: minerstorm on July 21, 2013, 07:09:06 PM
AMD Phenom II X6 3.4 Ghz
The rate has dropped for 2000 pps
The reason? difficulty?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tripjammer on July 21, 2013, 07:09:37 PM
Have not crashed yet on the 64 bit windows version HP6. Crossing my fingers!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 21, 2013, 07:33:53 PM
Anyone running many machines experienced a major slowdown in the block rate since about 14 hours ago? I was getting around 40 blocks a day, not it looks like I'm getting 20.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 21, 2013, 07:36:12 PM
Anyone running many machines experienced a major slowdown in the block rate since about 14 hours ago? I was getting around 40 blocks a day, not it looks like I'm getting 20.

difficulty 9 already, that's the reason

40blocks? How much PPS you got?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: romerun on July 21, 2013, 07:40:29 PM
40 blocks a day, holy pps, no wonder why I got not shit for the last a few days.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: FreeTrade on July 21, 2013, 07:43:38 PM
difficulty 9 already, that's the reason

What's the reason it is only 9?
I'm trying to get my head around the idea that Quarkcoin launched a few hours ago and is already 57 difficultly.*

Is that an apples to oranges comparison? Surely Quarkcoin can't have 6 times the network strength of Primecoin.

As Primecoin difficulty rises, the supply of coins really gets choked off - at difficultly of 32 . . . that's 999/(32*32)= .975 coins per block.

*Oh, it's gone up to 63 since I wrote those two sentences.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 21, 2013, 07:44:36 PM
difficulty 9 already, that's the reason

What's the reason it is only 9?
I'm trying to get my head around the idea that Quarkcoin launched a few hours ago and is already 57 difficultly.*

Is that an apples to oranges comparison? Surely Quarkcoin can't have 6 times the network strength of Primecoin.

As Primecoin difficulty rises, the supply of coins really gets choked off - at difficultly of 32 . . . that's 999/(32*32)= .975 coins per block.

*Oh, it's gone up to 63 since I wrote those two sentences.

Yes, completely different.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 21, 2013, 07:47:36 PM
difficulty 9 already, that's the reason

What's the reason it is only 9?
I'm trying to get my head around the idea that Quarkcoin launched a few hours ago and is already 57 difficultly.*

Is that an apples to oranges comparison? Surely Quarkcoin can't have 6 times the network strength of Primecoin.

As Primecoin difficulty rises, the supply of coins really gets choked off - at difficultly of 32 . . . that's 999/(32*32)= .975 coins per block.

*Oh, it's gone up to 63 since I wrote those two sentences.

Yes, completely different.

and what the heck is Quarkcoin? ... doesn't exist on paper, or the internet (lolz)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 21, 2013, 07:48:36 PM
hp6 is better just because I keep saying "chain spermin" repeatedly and laughing.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: FreeTrade on July 21, 2013, 07:50:03 PM
and what the heck is Quarkcoin? ... doesn't exist on paper, or the internet (lolz)

Too new for Google!


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: FreeTrade on July 21, 2013, 07:51:11 PM
Yes, completely different.

Does Primecoin difficulty scale approximately linearly with computing power? If the processing power doubles, does the difficulty double (eventually) too?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 21, 2013, 07:54:23 PM
posted in the wrong thread, moving here:
@mikaelh, it seems to be crashing a lot with HP6:
Code:
primecoind: checkqueue.h:171: CCheckQueueControl<T>::CCheckQueueControl(CCheckQueue<T>*) [with T = CScriptCheck]: Assertion `pqueue->nTotal == pqueue->nIdle' failed.

I get a crash on 70% of machines in 5 minutes gap (16cores).

Though I did not use your Linux compliation, (used my own, since it worked better for me).

Do I need to install it your way for HP6 to work? Or perhaps Reboot? (after rebooting, seems to stopped crashing, no more error above so far)

I do notice ~15% increase in PPS from 8.3k to 9.5k pps, and chain/hr seems to average 20, just found a block,


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Effayy on July 21, 2013, 07:55:30 PM
Silly question but:

What does sievepercentage refer to? If I'm going to attempt to tune it, it helps to know what exactly it's doing. :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 21, 2013, 07:58:30 PM
Silly question but:

What does sievepercentage refer to? If I'm going to attempt to tune it, it helps to know what exactly it's doing. :)

It limits how many base primes are used to filter out candidate multipliers in the sieve. 8% seems optimal for testnet but I have no idea about mainnet.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 21, 2013, 07:59:16 PM
How much does it cost to run such a vps cluster?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notlist3d on July 21, 2013, 08:05:41 PM
How much does it cost to run such a vps cluster?


Varries not all are equal.  By now most are not efficient.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 21, 2013, 08:08:52 PM
Anyone running many machines experienced a major slowdown in the block rate since about 14 hours ago? I was getting around 40 blocks a day, not it looks like I'm getting 20.
I'm currently averaging 14 blocks/hour after diff 9. Was at around 16 - 18/hour yesterday afternoon.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notlist3d on July 21, 2013, 08:11:38 PM
Anyone else seeing drop in PPS?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 21, 2013, 08:20:36 PM
Before the switch to diff 9 I was getting 400-500k pps when all the machines are added up. I started seeing the drop about 10 hours before the switch to diff 9 though. The difficulty change should not have any effect on the block rate anyway. The total average blocks per day should stay the same and I should get on average x% of the blocks where x is the % of the total mining power I have. So for my rate to drop either there was a huge jump in mining, such as many gpu miners coming online, or my setup is not working properly since 16 hours ago.

It's looking like mining is getting significantly less profitable without a gpu miner.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Alex P on July 21, 2013, 08:32:00 PM
Anyone else having issues with Crashes on Windows 7 64 bit machines and also Windows 8 64 bit machines?  It just started happenning around 6am pst today.  All versions of HPs are crashing.. up to version hp6.

Any fix??


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 21, 2013, 08:42:20 PM
-hp6 released!

Lots of changes in this release. Here's a list of notable changes:
 * Added fast divisibility tests before doing the expensive Fermat's test
 * Lots of other small optimizations
 * Introduced a new experimental tuning parameter "sievepercentage". Default value is 10, minimum is 1, maximum is 100.
 * Added new RPC command "getchainspermin"
 * Added the following information to "getmininginfo": chainspermin, difficulty, sievepercentage, and sievesize
 * Attempt to fix the random crash while mining

My PPS on mainnet went up 23% with this release with difficulty >= 9 on mainnet. This release attempts to fix the random crash while mining. I'm not sure if it's actually fixed because I have heard both positive and negative reports. The crash is more likely with high number of cores. 16 and 32 core machines are suffering the most.

The "sievepercentage" parameter is there for people to experiment with. It limits how many base primes are used to filter out candidate multipliers in the sieve. 8% seems optimal for testnet but I have no idea about mainnet.
This build is doing horrible for me. Dropped down to 9 blocks last hour, and 5 this one (almost at the end of the hour). Was getting between 8 and 20 the last build, even after diff 9. Gonna give it one more hour of variation, then switch back. My servers restart primecoind upon crashing, so could the reduction be from multiple crashes? Any explanation?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: eCoinomist on July 21, 2013, 08:50:26 PM
-hp6 released!

Lots of changes in this release. Here's a list of notable changes:
 * Added fast divisibility tests before doing the expensive Fermat's test
 * Lots of other small optimizations
 * Introduced a new experimental tuning parameter "sievepercentage". Default value is 10, minimum is 1, maximum is 100.
 * Added new RPC command "getchainspermin"
 * Added the following information to "getmininginfo": chainspermin, difficulty, sievepercentage, and sievesize
 * Attempt to fix the random crash while mining

My PPS on mainnet went up 23% with this release with difficulty >= 9 on mainnet. This release attempts to fix the random crash while mining. I'm not sure if it's actually fixed because I have heard both positive and negative reports. The crash is more likely with high number of cores. 16 and 32 core machines are suffering the most.

The "sievepercentage" parameter is there for people to experiment with. It limits how many base primes are used to filter out candidate multipliers in the sieve. 8% seems optimal for testnet but I have no idea about mainnet.
This build is doing horrible for me. Dropped down to 9 blocks last hour, and 5 this one (almost at the end of the hour). Was getting between 8 and 20 the last build, even after diff 9. Gonna give it one more hour of variation, then switch back. My servers restart primecoind upon crashing, so could the reduction be from multiple crashes? Any explanation?

doing alright for me, on one rack still getting 1-2 blocks/hr. I still have another rack on old hp5 which has 1-3 blocks/hr variable - will see after a few hours which one is better. They all crashing every often though.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tyrion70 on July 21, 2013, 08:55:39 PM
-hp6 released!

Lots of changes in this release. Here's a list of notable changes:
 * Added fast divisibility tests before doing the expensive Fermat's test
 * Lots of other small optimizations
 * Introduced a new experimental tuning parameter "sievepercentage". Default value is 10, minimum is 1, maximum is 100.
 * Added new RPC command "getchainspermin"
 * Added the following information to "getmininginfo": chainspermin, difficulty, sievepercentage, and sievesize
 * Attempt to fix the random crash while mining

My PPS on mainnet went up 23% with this release with difficulty >= 9 on mainnet. This release attempts to fix the random crash while mining. I'm not sure if it's actually fixed because I have heard both positive and negative reports. The crash is more likely with high number of cores. 16 and 32 core machines are suffering the most.

The "sievepercentage" parameter is there for people to experiment with. It limits how many base primes are used to filter out candidate multipliers in the sieve. 8% seems optimal for testnet but I have no idea about mainnet.
This build is doing horrible for me. Dropped down to 9 blocks last hour, and 5 this one (almost at the end of the hour). Was getting between 8 and 20 the last build, even after diff 9. Gonna give it one more hour of variation, then switch back. My servers restart primecoind upon crashing, so could the reduction be from multiple crashes? Any explanation?
It seems that the total number of blocks found per hour changed drastically since diff 9. It now is around 3-4 blocks per minute as far as I can tell, while it was 5-6 per minute a few hours ago.. It seems difficulty is now getting where it should be.. PPS went down as well it seems; used to have 400k pps / 100 machines, now its 200k pps / 100, but still finding more than 3 blocks per 200k pps new style.. Definately getting harder though :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notlist3d on July 21, 2013, 09:00:31 PM
-hp6 released!

Lots of changes in this release. Here's a list of notable changes:
 * Added fast divisibility tests before doing the expensive Fermat's test
 * Lots of other small optimizations
 * Introduced a new experimental tuning parameter "sievepercentage". Default value is 10, minimum is 1, maximum is 100.
 * Added new RPC command "getchainspermin"
 * Added the following information to "getmininginfo": chainspermin, difficulty, sievepercentage, and sievesize
 * Attempt to fix the random crash while mining

My PPS on mainnet went up 23% with this release with difficulty >= 9 on mainnet. This release attempts to fix the random crash while mining. I'm not sure if it's actually fixed because I have heard both positive and negative reports. The crash is more likely with high number of cores. 16 and 32 core machines are suffering the most.

The "sievepercentage" parameter is there for people to experiment with. It limits how many base primes are used to filter out candidate multipliers in the sieve. 8% seems optimal for testnet but I have no idea about mainnet.
This build is doing horrible for me. Dropped down to 9 blocks last hour, and 5 this one (almost at the end of the hour). Was getting between 8 and 20 the last build, even after diff 9. Gonna give it one more hour of variation, then switch back. My servers restart primecoind upon crashing, so could the reduction be from multiple crashes? Any explanation?
It seems that the total number of blocks found per hour changed drastically since diff 9. It now is around 3-4 blocks per minute as far as I can tell, while it was 5-6 per minute a few hours ago.. It seems difficulty is now getting where it should be.. PPS went down as well it seems; used to have 400k pps / 100 machines, now its 200k pps / 100, but still finding more than 3 blocks per 200k pps new style.. Definately getting harder though :)

I'm in PPS envy.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: CoinBuzz on July 21, 2013, 09:07:13 PM
did you hard coded that path of primecoin.conf ?!

i changed the path of data folder in my run.bat so the blockchain and wallet is in some other places ( in my D drive ).

I make a primecoin.conf there and changed the sievesize to 2milion, but when i run the program, sievesize is still 1milion.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 21, 2013, 09:15:10 PM
It's looking like mining is getting significantly less profitable without a gpu miner.

says the guy with 400-500k pps. lulz


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notlist3d on July 21, 2013, 09:17:36 PM
did you hard coded that path of primecoin.conf ?!

i changed the path of data folder in my run.bat so the blockchain and wallet is in some other places ( in my D drive ).

I make a primecoin.conf there and changed the sievesize to 2milion, but when i run the program, sievesize is still 1milion.


Same here mine says the default.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 21, 2013, 09:42:20 PM
I still don't understand how I overcame this error few days ago and it keeps coming back -- any ideas?  I tried swap commands but I guess the server I am has it locked and does not allow swapping, but it has enough memory to processor the make command: make -f makefile.unix USE_UPNP=-
I even tried make clean command and still no progress when I launch this. Any updates or ideas?

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make: *** [obj/alert.o] Error 4


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 21, 2013, 09:43:45 PM
Does reducing the # of threads increase chainspermin for anyone else?

On my i7 I started using 6 threads and saw 8-12 CPMs.

When I switched to -1 it dropped to 3-6 CPMs.

I changed back to 6 and it increased again.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: GSnak on July 21, 2013, 09:44:52 PM
It's looking like mining is getting significantly less profitable without a gpu miner.

says the guy with 400-500k pps. lulz

If everyone had a GPU miner... you know how that would go.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: mikaelh on July 21, 2013, 10:00:26 PM
difficulty 9 already, that's the reason

What's the reason it is only 9?
I'm trying to get my head around the idea that Quarkcoin launched a few hours ago and is already 57 difficultly.*

Is that an apples to oranges comparison? Surely Quarkcoin can't have 6 times the network strength of Primecoin.

As Primecoin difficulty rises, the supply of coins really gets choked off - at difficultly of 32 . . . that's 999/(32*32)= .975 coins per block.

*Oh, it's gone up to 63 since I wrote those two sentences.

It is very much like comparing apples and oranges. For Primecoin, the integer part of difficulty determines the required probable prime chain length. E.g. if difficulty is 9.07233632, a probable prime chain of length 9 is required. The fractional part is used to determine how many length-9 chains are accepted. It scales logarithmically so that going from 9.8 to 9.9 is a lot harder than going from 9.1 to 9.2. The details for the fractional part are in Sunny King's paper.

The current algorithm also does more work for longer target chain lengths. That's why PPS numbers are also dropping.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 21, 2013, 10:08:19 PM
Does reducing the # of threads increase chainspermin for anyone else?

On my i7 I started using 6 threads and saw 8-12 CPMs.

When I switched to -1 it dropped to 3-6 CPMs.

I changed back to 6 and it increased again.

I wasn't able to replicate this. Maybe this has something to do with hyperthreading on your processor. Is it a quad-core?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 21, 2013, 10:21:44 PM
Does reducing the # of threads increase chainspermin for anyone else?

On my i7 I started using 6 threads and saw 8-12 CPMs.

When I switched to -1 it dropped to 3-6 CPMs.

I changed back to 6 and it increased again.

I wasn't able to replicate this. Maybe this has something to do with hyperthreading on your processor. Is it a quad-core?

It's a well known fact that you see a boost in flops when disabling HT...but I'm not sure if that would be a good idea or not in this case. (intel burn test surely likes that)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 21, 2013, 10:32:10 PM
I still don't understand how I overcame this error few days ago and it keeps coming back -- any ideas?  I tried swap commands but I guess the server I am has it locked and does not allow swapping, but it has enough memory to processor the make command: make -f makefile.unix USE_UPNP=-
I even tried make clean command and still no progress when I launch this. Any updates or ideas?

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make: *** [obj/alert.o] Error 4


RAM.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: FreeTrade on July 21, 2013, 10:41:03 PM
It is very much like comparing apples and oranges. For Primecoin, the integer part of difficulty determines the required probable prime chain length. E.g. if difficulty is 9.07233632, a probable prime chain of length 9 is required. The fractional part is used to determine how many length-9 chains are accepted. It scales logarithmically so that going from 9.8 to 9.9 is a lot harder than going from 9.1 to 9.2. The details for the fractional part are in Sunny King's paper.

The current algorithm also does more work for longer target chain lengths. That's why PPS numbers are also dropping.

Thanks Mikael, I read that it takes a 30 fold increase in processing power to increase difficulty by 1 . . . if so difficult to imagine difficultly ever climbing beyond 12 or 13.

999/(13*13) =  5.9 per block


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 21, 2013, 10:45:51 PM
difficulty is rising fast ! gpu miner out ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 21, 2013, 10:46:13 PM
HP6 dropped me to 800 pps instead of 3k pps normally.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 21, 2013, 10:48:23 PM
did we all see the PPS drop

I went from 14k to 8k....or is that hp6 v hp5 effect?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: redphlegm on July 21, 2013, 10:49:08 PM
I feel like I'm sort of flying blind on sievepercentage. I don't know what it's supposed to be changing so I don't know whether to tweak it up or down. Comparatively speaking, I don't know if running default hp5 is better / worse than default hp6 for me since pps isn't a great metric to use.

Any suggestions / insight?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 21, 2013, 11:19:00 PM
just tried to compile hp6, go error


Code:
:~$ cd ~/primecoin/src
:~/primecoin/src$ sudo make -f makefile.unix USE_UPNP=-
Building LevelDB ...
make[1]: Entering directory `/home/ubuntu/primecoin/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/ubuntu/primecoin/src -I/home/ubuntu/primecoin/src/obj -DUSE_IPV6=1 -I/home/ubuntu/primecoin/src/leveldb/include -I/home/ubuntu/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -c db/._builder.cc -o db/._builder.o
db/._builder.cc:1:1: warning: null character(s) ignored [enabled by default]
db/._builder.cc:1:2: error: stray ‘\5’ in program
db/._builder.cc:1:2: error: stray ‘\26’ in program
db/._builder.cc:1:2: error: stray ‘\7’ in program
.....

db/._builder.cc:1:9: error: ‘Mac’ does not name a type
db/._builder.cc:1:158: error: expected unqualified-id before numeric constant
db/._builder.cc:1:167: error: ‘Firefox’ does not name a type
db/._builder.cc:1:3827: error: ‘This’ does not name a type
make[1]: *** [db/._builder.o] Error 1
make[1]: Leaving directory `/home/ubuntu/primecoin/src/leveldb'
make: *** [leveldb/libleveldb.a] Error 2


any ideas on how to fix this???

skay fixed


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 21, 2013, 11:25:26 PM
-hp6 released!

Lots of changes in this release. Here's a list of notable changes:
 * Added fast divisibility tests before doing the expensive Fermat's test
 * Lots of other small optimizations
 * Introduced a new experimental tuning parameter "sievepercentage". Default value is 10, minimum is 1, maximum is 100.
 * Added new RPC command "getchainspermin"
 * Added the following information to "getmininginfo": chainspermin, difficulty, sievepercentage, and sievesize
 * Attempt to fix the random crash while mining

My PPS on mainnet went up 23% with this release with difficulty >= 9 on mainnet. This release attempts to fix the random crash while mining. I'm not sure if it's actually fixed because I have heard both positive and negative reports. The crash is more likely with high number of cores. 16 and 32 core machines are suffering the most.

The "sievepercentage" parameter is there for people to experiment with. It limits how many base primes are used to filter out candidate multipliers in the sieve. 8% seems optimal for testnet but I have no idea about mainnet.
This build is doing horrible for me. Dropped down to 9 blocks last hour, and 5 this one (almost at the end of the hour). Was getting between 8 and 20 the last build, even after diff 9. Gonna give it one more hour of variation, then switch back. My servers restart primecoind upon crashing, so could the reduction be from multiple crashes? Any explanation?

Can we change "sievepercentage" from debug console? My primecoin.conf is not working no matter what I try. I've literally tried everything.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: LlamaMaster on July 21, 2013, 11:37:03 PM
My pps went down after I changed the sievesize from 1M to 2M.  Should I be worried, or is this "normal"?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: reb0rn21 on July 22, 2013, 12:03:16 AM
My pps went down after I changed the sievesize from 1M to 2M.  Should I be worried, or is this "normal"?

its normal


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: notlist3d on July 22, 2013, 12:14:31 AM
-hp6 released!

Lots of changes in this release. Here's a list of notable changes:
 * Added fast divisibility tests before doing the expensive Fermat's test
 * Lots of other small optimizations
 * Introduced a new experimental tuning parameter "sievepercentage". Default value is 10, minimum is 1, maximum is 100.
 * Added new RPC command "getchainspermin"
 * Added the following information to "getmininginfo": chainspermin, difficulty, sievepercentage, and sievesize
 * Attempt to fix the random crash while mining

My PPS on mainnet went up 23% with this release with difficulty >= 9 on mainnet. This release attempts to fix the random crash while mining. I'm not sure if it's actually fixed because I have heard both positive and negative reports. The crash is more likely with high number of cores. 16 and 32 core machines are suffering the most.

The "sievepercentage" parameter is there for people to experiment with. It limits how many base primes are used to filter out candidate multipliers in the sieve. 8% seems optimal for testnet but I have no idea about mainnet.
This build is doing horrible for me. Dropped down to 9 blocks last hour, and 5 this one (almost at the end of the hour). Was getting between 8 and 20 the last build, even after diff 9. Gonna give it one more hour of variation, then switch back. My servers restart primecoind upon crashing, so could the reduction be from multiple crashes? Any explanation?

Can we change "sievepercentage" from debug console? My primecoin.conf is not working no matter what I try. I've literally tried everything.

Same here on not getting primecoin.conf to work.  But it's probley me.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 22, 2013, 12:24:17 AM
It is very much like comparing apples and oranges. For Primecoin, the integer part of difficulty determines the required probable prime chain length. E.g. if difficulty is 9.07233632, a probable prime chain of length 9 is required. The fractional part is used to determine how many length-9 chains are accepted. It scales logarithmically so that going from 9.8 to 9.9 is a lot harder than going from 9.1 to 9.2. The details for the fractional part are in Sunny King's paper.

The current algorithm also does more work for longer target chain lengths. That's why PPS numbers are also dropping.

Thanks Mikael, I read that it takes a 30 fold increase in processing power to increase difficulty by 1 . . . if so difficult to imagine difficultly ever climbing beyond 12 or 13.

999/(13*13) =  5.9 per block


i thing there are about 1000x optimization left in the code....at least


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 22, 2013, 12:24:35 AM
My pps went down after I changed the sievesize from 1M to 2M.  Should I be worried, or is this "normal"?

it's normal !


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 22, 2013, 01:09:28 AM
sievepercentage=1
sievesize=1000000

with sievepercentage=1,  I got biggest PPS and more chainspermin. Is it good?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: FreeTrade on July 22, 2013, 01:12:11 AM
Thanks Mikael, I read that it takes a 30 fold increase in processing power to increase difficulty by 1 . . . if so difficult to imagine difficultly ever climbing beyond 12 or 13.

999/(13*13) =  5.9 per block


i thing there are about 1000x optimization left in the code....at least

so . . . 999/(15*15) =  4.44 per block


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 22, 2013, 01:25:01 AM
Thanks Mikael, I read that it takes a 30 fold increase in processing power to increase difficulty by 1 . . . if so difficult to imagine difficultly ever climbing beyond 12 or 13.

999/(13*13) =  5.9 per block


i thing there are about 1000x optimization left in the code....at least

so . . . 999/(15*15) =  4.44 per block


I think diff at 12 is the time GPUminer approach :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 22, 2013, 01:53:46 AM
Experimenting with sievepercentage and found 100% caused a segfault.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 22, 2013, 02:09:03 AM
sievepercentage=1
sievesize=1000000

with sievepercentage=1,  I got biggest PPS and more chainspermin. Is it good?

Good question.. can anyone attest to this?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 22, 2013, 02:10:55 AM
ok hp-6, has now gone a bit above hp-5

is it - command to %sieve etc?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: overc on July 22, 2013, 02:30:01 AM
How much time it takes to found a block?
I just using this primecoin-hp on my i7 with the mining speed about 4000-5000 pps for couple of days and still nothing...
Is it how it should be?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: LlamaMaster on July 22, 2013, 02:34:56 AM
How much time it takes to found a block?
I just using this primecoin-hp on my i7 with the mining speed about 4000-5000 pps for couple of days and still nothing...
Is it how it should be?
I've been consistently finding blocks once per day with my Core 2 Quad 9400 OC'ed to 3.5GHz on the second windows client.  My pps is usually around 2500, so I'm either very lucky or something is wrong on your end. 


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: gigawatt on July 22, 2013, 02:44:16 AM
I've been consistently finding blocks once per day with my Core 2 Quad 9400 OC'ed to 3.5GHz on the second windows client.  My pps is usually around 2500, so I'm either very lucky or something is wrong on your end. 

I can attest to you being lucky.  I've been running a constant ~2700 PPS for almost 48 hours and haven't found squat.
Running Sieve% 10, SieveSize 1000000


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 22, 2013, 03:09:37 AM
Went from 900 PPS to 300 - 500 PPS for HP6. anyone with similar results? and why are we going down in PPS?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jjiimm_64 on July 22, 2013, 03:20:31 AM
How much time it takes to found a block?
I just using this primecoin-hp on my i7 with the mining speed about 4000-5000 pps for couple of days and still nothing...
Is it how it should be?
I've been consistently finding blocks once per day with my Core 2 Quad 9400 OC'ed to 3.5GHz on the second windows client.  My pps is usually around 2500, so I'm either very lucky or something is wrong on your end. 

your very lucky:

primespersec: 21575
chainspermin: 56
immature: 12.34  (about 12 hours ago)



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 22, 2013, 03:27:08 AM
is it


 primecoind  -sievepercentage 50 --daemon

???? for  sievepercentage = 50%


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 22, 2013, 03:37:12 AM
/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


Your primecoin daemon was started with a different password in the config file. Just kill it off by typing:
Code:
killall primecoind

Same thing over, and over again. I have killed it, and hes coming back.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: rethaw on July 22, 2013, 03:43:12 AM
/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


Your primecoin daemon was started with a different password in the config file. Just kill it off by typing:
Code:
killall primecoind

Same thing over, and over again. I have killed it, and hes coming back.

Code:
ps aux | grep *.sh

Find the script that is restarting it and kill it using "kill pid".


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 22, 2013, 04:47:37 AM
/primecoin-hp/src# primecoind stop
error: incorrect rpcuser or rpcpassword (authorization failed)


Your primecoin daemon was started with a different password in the config file. Just kill it off by typing:
Code:
killall primecoind

Same thing over, and over again. I have killed it, and hes coming back.

If you followed Mikaelh's build instructions then you have a script running that restarts primecoind when you kill it. You need to kill the run-primecoin script first then primecoind.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: dudeguy on July 22, 2013, 04:51:46 AM
My pps went down after I changed the sievesize from 1M to 2M.  Should I be worried, or is this "normal"?

it's normal !

Question. Any way to change sieve % in Debug console (Windows QT)?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: hasle2 on July 22, 2013, 04:53:53 AM
It's looking like mining is getting significantly less profitable without a gpu miner.

says the guy with 400-500k pps. lulz

It's not free to run that many pps. This morning it was looking like I might not beat my costs by that much. I know how it looks though ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 22, 2013, 05:13:53 AM
2M sievesize mandatory now?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Vigil on July 22, 2013, 05:26:03 AM
How much time it takes to found a block?
I just using this primecoin-hp on my i7 with the mining speed about 4000-5000 pps for couple of days and still nothing...
Is it how it should be?
I've been consistently finding blocks once per day with my Core 2 Quad 9400 OC'ed to 3.5GHz on the second windows client.  My pps is usually around 2500, so I'm either very lucky or something is wrong on your end. 

your very lucky:

primespersec: 21575
chainspermin: 56
immature: 12.34  (about 12 hours ago)


Or, we could just have things set up incorrectly.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jubalix on July 22, 2013, 05:48:39 AM
is a gpu miner out?

any word?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: jjiimm_64 on July 22, 2013, 06:18:00 AM
How much time it takes to found a block?
I just using this primecoin-hp on my i7 with the mining speed about 4000-5000 pps for couple of days and still nothing...
Is it how it should be?
I've been consistently finding blocks once per day with my Core 2 Quad 9400 OC'ed to 3.5GHz on the second windows client.  My pps is usually around 2500, so I'm either very lucky or something is wrong on your end.  

your very lucky:

primespersec: 21575
chainspermin: 56
immature: 12.34  (about 12 hours ago)


Or, we could just have things set up incorrectly.

Not likely...  i have found many blocks, but less then one a day for the last 4 days.  it is just getting that much more difficult!

edit:  ( I turn the rigs down to about 7-8k during the heat of the day )


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: masterOfDisaster on July 22, 2013, 06:26:22 AM
-hp6 released!

[...]
 This release attempts to fix the random crash while mining. I'm not sure if it's actually fixed because I have heard both positive and negative reports. The crash is more likely with high number of cores. 16 and 32 core machines are suffering the most.
[...]

As far as as I can say it runs better, but I've had one crash on Windows 7 64-Bit (Phenom 2 X4 955 -> 4 cores):
Code:
Title: MinGW Runtime Assertion
Assertion failed!
Program:
C:\Progam Files\primecoin-0.1.1-hp6-win64\primecoin-qt.exe
File: src/checkqueue.h, Line 141

Expression: pqueue -> nTotal == pqueue -> nIdle
I can add a screenshot, but I thought text that can be searched for by other users might be needful ;)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: edn247 on July 22, 2013, 07:22:54 AM
my hp5 win 8 64 qt clients were crashing on open (since diff 9 maybe) when I upgraded to hp6 it would still crash right away, but I had sievesize at 4000000 in conf; removed that (or set to 1M) and it runs and mines just fine on all machines.  would like to know good settings.

Nothing found since hp6, and using 2 i7 laptops running ~4kpps (300-840 5-chains/h) each on same wallet

Lately it's just trickle, like one every other day if lucky:

2013-07-20T23:46:31   Mined   12.34
2013-07-20T08:33:30   Mined   12.35
2013-07-18T04:36:15   Mined   12.52
2013-07-16T10:59:58   Mined   12.54
2013-07-15T21:51:30   Mined   12.62
2013-07-15T21:46:54   Mined   12.62
2013-07-15T19:59:33   Mined   12.65
2013-07-15T05:53:27   Mined   12.80
2013-07-14T11:52:08   Mined   13.47
2013-07-14T07:52:02   Mined   14.08
2013-07-14T00:49:44   Mined   15.63



Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 22, 2013, 01:17:06 PM
sievepercentage=1
sievesize=1000000

with sievepercentage=1,  I got biggest PPS and more chainspermin. Is it good?

Good question.. can anyone attest to this?

Increased PPS 1K-2K. Did not increase CPM for me (i7 860 @ 3.22 quad). 0 blocks 12 hrs.

Edit : Tried on testnet, it was the worst results I've seen yet. 1 block in 5 min, gave up.

Other notes (updating) ...
sieve% above 15 crashes client on testnet as soon as mining starts.

SS : 4000000 S% : 15% = 3 BPM
SS : 4000000 S% : 14% = 40 CPM, 6600 PPS, 3+ BPM  <-- sweet spot so far. Ended up beating best HP5 setting by a little after 10 min. Does not work on mainnet for me.
SS : 4000000 S% : 13% = 2.3 BPM
SS : 4000000 S% : 11% = 37 CPM, 6800 PPS, 2.6 BPM
SS : 2000000 S% : 14% = 36 CPM, 7284 PPS, 2.0 BPM  Works on mainnet @ 1849 PPS, 12 CPM (highest I've seen so far).
SS : 2200000 S% : 14% = 44 CPM, 7079 PPS, 2.1 BPM  Works on mainnet @ 1835, 10 CPM (highest so far)

Over a longer period of time the above settings may equal out. 15% gave block spurts of 4-6 @ a time, while 14% gave steady blocks over entire time and "appeared" faster due to this lack of stalls between blocks.

Update : Once again settings that work fine on testnet shut down the client immediately upon mining.  It's the 4M setting which works fine for HP5. I'm going to try to find the max sievesize for my i7 again since it appears to be lower for HP6 than HP5 (is this due to the higher difficulty or difference in builds?). Update 2 : The highest sievesize I can get on mainnet (i7 quad) is 2200000.

Observation : Higher sievesize settings always increased blocks per minute in HP5 & HP6. Adjusting sieve% also affected BPM's and it has sweet spots as you can see above. I recommend finding the highest sievesize first (that will work on  mainnet for you), then adjust sieve% for best results (on testnet) to find your sweet spot. Anything above 2200000 would shut the client down immediately in HP6 (for my i7 quad).

Since it appears (to me at least) that a larger sievesize increases BPM's, I will mention that HP3 gave 2 BPM (in 10 min runs) on testnet with SS : 6553600 and this will work on mainnet. However, I'm not positive that large of a sievesize was even supported in HP3 and it may be going to a default setting. However, with that in mind I set the sievesize to the default and results were much worse.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blackboy on July 22, 2013, 02:40:59 PM
In case you're wondering... here's the code to update to HP6

UPDATE TO HP6
primecoind stop
wget -O primecoin-0.1.1-hp6.tar.bz2 "http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp6/primecoin-0.1.1-hp6.tar.bz2"
tar -xvjf primecoin-0.1.1-hp6.tar.bz2
rm -rf ~/primecoin
mv primecoin-0.1.1-hp6 primecoin
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-

sudo rm -rf /usr/local/bin/primecoind
sudo mv primecoind /usr/local/bin/.

killall primecoind
cd
./run-primecoind
watch -n 5 'primecoind getmininginfo & primecoind listaccounts'


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: K1773R on July 22, 2013, 02:46:05 PM
In case you're wondering... here's the code to update to HP6

UPDATE TO HP6
primecoind stop
wget -O primecoin-0.1.1-hp6.tar.bz2 "http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp6/primecoin-0.1.1-hp6.tar.bz2"
tar -xvjf primecoin-0.1.1-hp6.tar.bz2
rm -rf ~/primecoin
mv primecoin-0.1.1-hp6 primecoin
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-

sudo rm -rf /usr/local/bin/primecoind
sudo mv primecoind /usr/local/bin/.

primecoind --daemon
watch -n 5 'primecoind getmininginfo & primecoind listaccounts'
not yet on git :(


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blackboy on July 22, 2013, 03:14:26 PM
Can anyone recommend another good VPS provider? I max out my droplets at DO...


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blackboy on July 22, 2013, 03:24:29 PM
Can anyone recommend another good VPS provider? I max out my droplets at DO...

Or maybe a solid dedicated server?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: achillez on July 22, 2013, 03:33:38 PM
In case you're wondering... here's the code to update to HP6

UPDATE TO HP6
primecoind stop
wget -O primecoin-0.1.1-hp6.tar.bz2 "http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp6/primecoin-0.1.1-hp6.tar.bz2"
tar -xvjf primecoin-0.1.1-hp6.tar.bz2
rm -rf ~/primecoin
mv primecoin-0.1.1-hp6 primecoin
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-

sudo rm -rf /usr/local/bin/primecoind
sudo mv primecoind /usr/local/bin/.

primecoind --daemon
watch -n 5 'primecoind getmininginfo & primecoind listaccounts'
not yet on git :(

git clone https://bitbucket.org/mikaelh/primecoin-hp

Is HP6


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 22, 2013, 03:34:58 PM
Can anyone recommend another good VPS provider? I max out my droplets at DO...

What are you running at DO ? With the 10$ droplets I get 600pps (sievesize=1M, sieve%age=8) which will not pay for itself mining.
I think vps mining was good last weeks but not anymore. Maybe amazon EC2 with high cpu option but those cost quite a lot !


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blackboy on July 22, 2013, 03:50:17 PM
I'm running 20 8-cores, or about 100K PPS.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 22, 2013, 04:01:55 PM
Can anyone recommend another good VPS provider? I max out my droplets at DO...

What are you running at DO ? With the 10$ droplets I get 600pps (sievesize=1M, sieve%age=8) which will not pay for itself mining.
I think vps mining was good last weeks but not anymore. Maybe amazon EC2 with high cpu option but those cost quite a lot !

I think no one will share what they use...many say private vps provider and that's about it, so they can keep getting 40 blocks per day.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: versificateur on July 22, 2013, 04:13:41 PM
I'm running 20 8-cores, or about 100K PPS.
I'm curious  :)
How much blocks per day are you doing on average with that cluster?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tuck Fheman on July 22, 2013, 04:14:30 PM
I've been consistently finding blocks once per day with my Core 2 Quad 9400 OC'ed to 3.5GHz on the second windows client.  My pps is usually around 2500, so I'm either very lucky or something is wrong on your end. 

Which build are you using, HP5?  If so, mind sharing your settings?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Sterling on July 22, 2013, 04:32:03 PM
I've been consistently finding blocks once per day with my Core 2 Quad 9400 OC'ed to 3.5GHz on the second windows client.  My pps is usually around 2500, so I'm either very lucky or something is wrong on your end. 

Which build are you using, HP5?  If so, mind sharing your settings?

No kidding, 5k PPS here, 6 days with only 1 block.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: OnlyC on July 22, 2013, 04:32:25 PM
I've been consistently finding blocks once per day with my Core 2 Quad 9400 OC'ed to 3.5GHz on the second windows client.  My pps is usually around 2500, so I'm either very lucky or something is wrong on your end. 

Which build are you using, HP5?  If so, mind sharing your settings?

Check your PM. Need help asap :(
Now I got 3 blocks and PPS 20 30


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Tamis on July 22, 2013, 04:46:22 PM
I'm running 20 8-cores, or about 100K PPS.

That 3200$ per month, are you sure you'll mine enough xpm with 100k pps to just get even ?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: blackboy on July 22, 2013, 04:51:17 PM
I did last week, made a killing. However I'm looking for a different VPS alternative because after the latest diff update this will no longer be profitable.

I'm thinking about switching to EC2. Anyone using them?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: ivanlabrie on July 22, 2013, 05:31:36 PM
I did last week, made a killing. However I'm looking for a different VPS alternative because after the latest diff update this will no longer be profitable.

I'm thinking about switching to EC2. Anyone using them?

+1  ???

I heard windows azure was decent...HP has a great cloud computing service but not sure on $$.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: megges on July 22, 2013, 05:50:04 PM
I did last week, made a killing. However I'm looking for a different VPS alternative because after the latest diff update this will no longer be profitable.

I'm thinking about switching to EC2. Anyone using them?

i have stopped it, because if the price drops - profit => lost with the long time the blocks need to mature im out!

but here are some stats:
Code:
-----   Mon Jul 22 19:24:42 CEST 2013   -----
------------      PRIMECOIN      ------------
20 Units - 16 Hours unit ~= 96 $ @30c /H*Unit
----    180544  PrimesPerSec
----     29460  5-chains
---------------------------------------------
Immature: 12 - Orphans: 0 => ~ 142 XPM
Blocks: 78175 - Difficulty: 9.22064346
Node Connections: 269
---------------------------------------------

so running 20 x cc2.8xlarge (0.25-0.28 each), 16 hours long => 12 blocks (aprox. 142 XPM)
with about 9000 pps or 1500 5-chains per cc2.8xlarge its "profitable", BUT you have to wait over a day until the blocks mature, sooo 30 % profit is not enough for taking the risk in my oppinion.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: 96redformula on July 22, 2013, 05:57:57 PM
I did last week, made a killing. However I'm looking for a different VPS alternative because after the latest diff update this will no longer be profitable.

I'm thinking about switching to EC2. Anyone using them?

i have stopped it, because if the price drops - profit => lost with the long time the blocks need to mature im out!

but here are some stats:
Code:
-----   Mon Jul 22 19:24:42 CEST 2013   -----
------------      PRIMECOIN      ------------
20 Units - 16 Hours unit ~= 96 $ @30c /H*Unit
----    180544  PrimesPerSec
----     29460  5-chains
---------------------------------------------
Immature: 12 - Orphans: 0 => ~ 142 XPM
Blocks: 78175 - Difficulty: 9.22064346
Node Connections: 269
---------------------------------------------

so running 20 x cc2.8xlarge (0.25-0.28 each), 16 hours long => 12 blocks (aprox. 142 XPM)
with about 9000 pps or 1500 5-chains per cc2.8xlarge its "profitable", BUT you have to wait over a day until the blocks mature, sooo 30 % profit is not enough for taking the risk in my oppinion.


How much does that run per hour?

$5?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: maco on July 22, 2013, 06:03:03 PM
+1 agreed.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: Aggrophobia on July 22, 2013, 06:05:08 PM
I did last week, made a killing. However I'm looking for a different VPS alternative because after the latest diff update this will no longer be profitable.

I'm thinking about switching to EC2. Anyone using them?

i have stopped it, because if the price drops - profit => lost with the long time the blocks need to mature im out!

but here are some stats:
Code:
-----   Mon Jul 22 19:24:42 CEST 2013   -----
------------      PRIMECOIN      ------------
20 Units - 16 Hours unit ~= 96 $ @30c /H*Unit
----    180544  PrimesPerSec
----     29460  5-chains
---------------------------------------------
Immature: 12 - Orphans: 0 => ~ 142 XPM
Blocks: 78175 - Difficulty: 9.22064346
Node Connections: 269
---------------------------------------------

so running 20 x cc2.8xlarge (0.25-0.28 each), 16 hours long => 12 blocks (aprox. 142 XPM)
with about 9000 pps or 1500 5-chains per cc2.8xlarge its "profitable", BUT you have to wait over a day until the blocks mature, sooo 30 % profit is not enough for taking the risk in my oppinion.





....

with mikaelh's script

primecoind setgenerate false &&
primecoind listsinceblock 963d17ba4dc753138078a2f56afb3af9674e2546822badff26837db9a0152106 | grep address | grep -o '"A[^"]*"' | sed s/\"//g | xargs -L1 primecoind dumpprivkey &&
./stop-primecoind &&
sleep 2 &&
rm ~/.primecoin/wallet.dat &&
sleep 2 &&
./run-primecoind


without

./primecoind setgenerate false &&
./primecoind listsinceblock 963d17ba4dc753138078a2f56afb3af9674e2546822badff26837db9a0152106 | grep address | grep -o '"A[^"]*"' | sed s/\"//g | xargs -L1 primecoind dumpprivkey &&
./primecoind stop &&
sleep 2 &&
rm ~/.primecoin/wallet.dat &&
sleep 2 &&
./primecoind -daemon


if you don't know what private keys are, don't handle these scripts


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: K1773R on July 22, 2013, 06:12:31 PM
In case you're wondering... here's the code to update to HP6

UPDATE TO HP6
primecoind stop
wget -O primecoin-0.1.1-hp6.tar.bz2 "http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp6/primecoin-0.1.1-hp6.tar.bz2"
tar -xvjf primecoin-0.1.1-hp6.tar.bz2
rm -rf ~/primecoin
mv primecoin-0.1.1-hp6 primecoin
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-

sudo rm -rf /usr/local/bin/primecoind
sudo mv primecoind /usr/local/bin/.

primecoind --daemon
watch -n 5 'primecoind getmininginfo & primecoind listaccounts'
not yet on git :(

git clone https://bitbucket.org/mikaelh/primecoin-hp

Is HP6
current git is hp6? oh well, in this case im already on hp6 since some time, ty :)


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: crendore on July 22, 2013, 06:39:54 PM
rm ~/.primecoin/wallet.dat &&

Ouch, i feel sorry for the linux noob that runs this without knowing what it does.


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: tyrion70 on July 22, 2013, 06:43:50 PM
rm ~/.primecoin/wallet.dat &&

Ouch, i feel sorry for the linux noob that runs this without knowing what it does.
Just ran it on my 4000 AWS machines.. What's wrong with that command then?


Title: Re: [XPM] [ANN] Primecoin High Performance
Post by: n4ru on July 22, 2013, 06:50:30 PM
rm ~/.primecoin/wallet.dat &&

Ouch, i feel sorry for the linux noob that runs this without knowing what it does.
Just ran it on my 4000 AWS machines.. What's wrong with that command then?