LlamaMaster
Newbie
Offline
Activity: 51
Merit: 0
|
 |
August 02, 2013, 03:42:07 AM |
|
Is there any way to test mining performance with certain parameters aside from just waiting and seeing how many blocks you get? I don't have a server farm, so it seems impossible for me to tell if changing a setting makes anything better.
|
|
|
|
blackboy
|
 |
August 02, 2013, 03:58:49 AM |
|
I'm about to start renting dedicated servers by the dozen. I think that I found n4ru's special place...
Supposing a GPU miner comes up next week, how could I monetize the servers?
Care to share your settings? I'm using dedicated servers from server4you with hp8 and ecoinomist instrumentation scripts. I think n4ru was using ovh.co.uk servers. I suspect that he rented a couple thousand of the cheapest servers. I didn't want to manage so many servers so I went bigger. I have another script to move immatures and a central wallet. I left all the settings at their default.
|
Resistance is futile. Embrace cryptocurrencies.
|
|
|
watchzerg
Newbie
Offline
Activity: 10
Merit: 0
|
 |
August 02, 2013, 06:41:31 AM |
|
hi,mikaelh. Since you joined the primecoin devteam, Will this high performance version merge into the trunk?
|
|
|
|
Tamis
|
 |
August 02, 2013, 09:20:53 AM |
|
Does hp8 compile with only 256mb of ram ?
|
|
|
|
idny
Newbie
Offline
Activity: 48
Merit: 0
|
 |
August 02, 2013, 09:35:30 AM |
|
I'm about to start renting dedicated servers by the dozen. I think that I found n4ru's special place...
Supposing a GPU miner comes up next week, how could I monetize the servers?
Care to share your settings? I'm using dedicated servers from server4you with hp8 and ecoinomist instrumentation scripts. I think n4ru was using ovh.co.uk servers. I suspect that he rented a couple thousand of the cheapest servers. I didn't want to manage so many servers so I went bigger. I have another script to move immatures and a central wallet. I left all the settings at their default. This script sounds interesting. I'll have to hunt it down. I was moving coins manually like a noob!
|
|
|
|
Lyddite
Member

Offline
Activity: 98
Merit: 10
|
 |
August 02, 2013, 09:45:58 AM |
|
Does hp8 compile with only 256mb of ram ?
I noticed that at a certain point, probably when compiling main.cpp, compilation would fail due to lack of memory. The compiler was using about 600 Megs at the time believe. The error from gcc didn't say anything about memory but dmesg showed a problem. Out of memory: Kill process 10876 (cc1plus) score 949 or sacrifice child Killed process 10876 (cc1plus) total-vm:615808kB, anon-rss:578368kB, file-rss:776kB If you set up some swap space, perhaps a half a gig, hp8 should compile without problem. I believe the extra memory is only needed for compiling main.cpp.
|
- Lyddite -
|
|
|
mikaelh (OP)
|
 |
August 02, 2013, 11:26:53 AM Last edit: August 02, 2013, 01:32:28 PM by mikaelh |
|
hi,mikaelh. Since you joined the primecoin devteam, Will this high performance version merge into the trunk?
Well, the short answer is no. I will explain some of the reasons here. Using GNU MP is a bit cumbersome because of the licensing. GMP is licensed under LGPL while Primecoin is licensed under its own conditional version of the MIT/X11 license. That means we would be forced to include GMP as an external library via dynamic linking. That would become a maintenance burden in the future when external miners are developed. We also want the stock miner to be a good reference miner. That means we want to keep it simple so that people can see the math behind the algorithm. That doesn't mean there won't be any more optimizations added to the stock miner. I will probably port some optimizations from my miner to the stock miner. However, the stock miner is unlikely to be fully competitive with other miners. I'm going to keep maintaining the high performance version for as long as it stays relevant. When we have reasonable external miner options, I will eventually stop developing my high performance tree.
|
|
|
|
Tamis
|
 |
August 02, 2013, 11:32:13 AM |
|
I was thinking that swap should do it.
Thx Lyddite !
|
|
|
|
blackboy
|
 |
August 02, 2013, 12:26:01 PM |
|
Does hp8 compile with only 256mb of ram ?
No. Compile in a 1 gig of ram machine and then move the compiled script to your 512mb one.
|
Resistance is futile. Embrace cryptocurrencies.
|
|
|
one4many
|
 |
August 02, 2013, 01:27:36 PM |
|
No tricks. 500 8-core opteron servers running mikhaels hp8. I simply took the best scripts from this thread and used some recommendations from members.
Cloud you please share your primecoin.conf settings ... somehow is my 8-core Opteron processor hugely under-performing compared to my XEON quard core. :-/ Thx! one4many
|
|
|
|
blackboy
|
 |
August 02, 2013, 01:32:57 PM |
|
No tricks. 500 8-core opteron servers running mikhaels hp8. I simply took the best scripts from this thread and used some recommendations from members.
Cloud you please share your primecoin.conf settings ... somehow is my 8-core Opteron processor hugely under-performing compared to my XEON quard core. :-/ Thx! one4many Just overclock it. Use mikhael's Linux build so the system uses the most adequate library for your processor.
|
Resistance is futile. Embrace cryptocurrencies.
|
|
|
gigawatt
|
 |
August 02, 2013, 01:56:13 PM |
|
Does hp8 compile with only 256mb of ram ?
No. Compile in a 1 gig of ram machine and then move the compiled script to your 512mb one. Sounds like somebody needs to make a swapfile. This will make a 1GB swapfile so you can compile on < 512mb RAM. sudo dd if=/dev/zero of=/swapfile bs=64M count=16 sudo mkswap /swapfile sudo swapon /swapfile
|
|
|
|
one4many
|
 |
August 02, 2013, 01:58:13 PM |
|
No tricks. 500 8-core opteron servers running mikhaels hp8. I simply took the best scripts from this thread and used some recommendations from members.
Cloud you please share your primecoin.conf settings ... somehow is my 8-core Opteron processor hugely under-performing compared to my XEON quard core. :-/ Thx! one4many Just overclock it. Use mikhael's Linux build so the system uses the most adequate library for your processor. Hmmm .... I get PrimesPerSEc: 5864 ... Chainspermin: 4 Default settings .. no changes to conf file. one4many
|
|
|
|
gigawatt
|
 |
August 02, 2013, 02:02:10 PM |
|
You could also use your wallet until addresses diverge or increase the keypool.
Could you elaborate on this?
|
|
|
|
Pt0x
|
 |
August 02, 2013, 02:12:45 PM |
|
When mining on multiple machines you can just use the same wallet on each of them can't you? I assume in that case, any block found would show as a deposit to the wallet on all of the machines at the same time.
Yep.. there's a script to move immature blocks around to have them on a central wallet. You could also use your wallet until addresses diverge or increase the keypool. where I can find this script?
|
BTC: 17sz6AoYVpwXjaStmnVCsGTufUhvrAMhTw
|
|
|
blackboy
|
 |
August 02, 2013, 02:22:24 PM |
|
You could also use your wallet until addresses diverge or increase the keypool.
Could you elaborate on this? primecoind --daemon --keypool=10000
|
Resistance is futile. Embrace cryptocurrencies.
|
|
|
gigawatt
|
 |
August 02, 2013, 02:30:09 PM |
|
You could also use your wallet until addresses diverge or increase the keypool.
Could you elaborate on this? primecoind --daemon --keypool=10000 I get that part. What did you mean about the addresses diverging? As long as each node has the exact same wallet, that shouldn't be a problem, correct?
|
|
|
|
notme
Legendary
Offline
Activity: 1904
Merit: 1002
|
 |
August 02, 2013, 02:36:14 PM |
|
You could also use your wallet until addresses diverge or increase the keypool.
Could you elaborate on this? primecoind --daemon --keypool=10000 I get that part. What did you mean about the addresses diverging? As long as each node has the exact same wallet, that shouldn't be a problem, correct? The keypool size determines how many addresses are in the wallet. When you share a wallet across computers, the wallets will diverge after the keypool that they have in common runs out.
|
|
|
|
roy7
|
 |
August 02, 2013, 03:05:18 PM |
|
What's the default keypool size? Is a key only "used up" when a block is found?
|
|
|
|
notme
Legendary
Offline
Activity: 1904
Merit: 1002
|
 |
August 02, 2013, 03:06:33 PM |
|
What's the default keypool size? Is a key only "used up" when a block is found?
A key is the magic number that allows you to spend the coins at an address. When you find a block it uses up an address/key.
|
|
|
|
|