Bitcoin Forum
May 26, 2024, 07:00:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 »
181  Alternate cryptocurrencies / Mining (Altcoins) / Re: [XPM]unofficial jhPrimeminer complieled for native linux on: August 21, 2013, 04:48:15 PM
Hi,
I am running jhprimeminer the precompiled linux version by bengtåke or clintar (not trough wine!).
I am running it on my VPS Ubuntu 13.04 x64 linux server and I noticed a big difference in pps when:
 - I run it foreground = average 3000-4000 pps (EDITED)
 - or when is it running the background = average 1000-2000 pps (EDITED)

So if I leave my ssh session open and the jhprimeminer is running in foreground I get double speed.
But I can't have it open all the time...

I also tried to run it as a daemon (daemonize),
and also used renice commend to se the priority to -20 (maximum).
With no significant improvement.

Does anybody know why is this happening and if it is possible to run it at full speed even if it's in the background?


EDIT: I corrected the wrong pps for fg and bg (swapped them)

I ran into this problem when I was originally working with jhPrimeminer on a headless linux box.  The problem seems to be with wine: if you run a console application in the background and attempt to capture the output, the wineconsole process eats 50% of the CPU.

The only solutions I've come up with are 1) nohup the miner and never see the output or 2) output directly to screen and never disconnect.  :\


On an unrelated note, the reason you see so many extra characters in the log files (and the reason they're so hard to grep) are because of all the control characters.
182  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: August 20, 2013, 03:04:28 PM
hey guys my wallet dose not update it dose not work at all no matter were i download it can some one help please i am using windows 7 64

It seems there may be issues with the seed nodes again. I'm putting up my own seed node. Try adding this to your primecoin.conf:
Code:
addnode=primeseed.muuttuja.org

Out of curiosity, how does one set up a seed node?
183  Alternate cryptocurrencies / Altcoin Discussion / Re: [QRK] Noobproof VPS Quarkcoin All-In-One EZ Setup Script (updated) on: August 20, 2013, 03:02:45 PM
Misc stability/compatibility tweaks.

Now includes fail2ban by default to prevent brute-force login attempts.
184  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Noobproof VPS Primecoin All-In-One EZ Setup Script (Updated) on: August 20, 2013, 03:01:54 PM
More compatibility tweaks and a few stability tweaks.

fail2ban included by default to prevent brute-forcing an SSH login.
185  Alternate cryptocurrencies / Altcoin Discussion / Re: [QRK] Noobproof VPS Quarkcoin All-In-One EZ Setup Script (updated) on: August 19, 2013, 02:29:18 PM
You need to replace the A in the grep of the myinfo script

Quote
for addr in $(quarkcoind listtransactions | grep --color=never -o "A[A-Za-z0-9]\{32,35\}" | sort -u);

with a Q to get quarkcoin addresses.

BTW, after rerunning your updated script I cannot get any connections in a digital ocean droplet. Are the nodes working?

Thanks

Good catch, I've updated the script.  That's what I get for copy/pasting.

I'm not certain about the node list.  I haven't updated it since the initial script build.  It may no longer be needed, but to my understanding Quarkcoin always takes a while to find peers.
186  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: August 17, 2013, 03:44:57 PM
With the fractional difficulty reaching a high level a useful optimization might be the "Sieve depth", represented as nBits in this line of code from prime.cpp

lpsieve = new CSieveOfEratosthenes(nSieveSize, nBits, mpzHash, mpzFixedMultiplier, pindexPrev);

Right now it it is searching for 9 chains, but increasingly these are going to be discarded because of the fraction test. It might be best to search for 10 chains now. I added a -h parameter to the pool miner as described below and it was quite effective at searching for the desired length of chain:

https://bitcointalk.org/index.php?topic=257623.msg2820614#msg2820614

I propose -h 10 might be the best until the diff reaches 10.5 or so.

This chart also shows it being very difficult to find chains using the existing miners when the fractional part is high:
http://192.241.170.170/

I support this idea.  Although, to my knowledge all that will affect is the roundPrimorial which you can crank up by jacking with roundSievePercentage.
187  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: August 16, 2013, 09:53:24 PM
I did some pretty massive research on servers and tried a bunch before buying on server4you. The Opteron architecture is cheap and performs very well for primecoin mining. That's what I'm using and it yields anywhere from 60 to 80% at current diff levels.

However:

- ovh.co.uk offers probably the best servers for this task. They offer servers with decent processors and very low ram/disk space for less than 10 dollars. Problem is you have to live in the UK to rent these.

- You can also try the Hetzner action and rent servers for up to 50% less than their normal price. https://robot.your-server.de/order/market

- And you can try cheap providers at http://lowendbox.com/. Just make sure to choose recent architectures or good price performance ratios.


I also have some boxes running on routerhosting. Those boxes don't perform as well but they are profitable if you tune them well (about 20%). The key benefit of this provider is they accept payments on bitcoin, so that's a major plus.

Hope that helps...

lowendbox looks pretty nice.  Thank you for that.

I also took a closer look at server4you.  The vServer section is a bit more appealing, but I'm turned off by the sudden price shift based on billing period.  For 6 months is $20/month, but if you only want just one month, that'll be $45.   Angry
188  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: August 16, 2013, 09:28:32 PM
There is that.. Hard to say what the future will bring.

To put things in perspective, just the processors in a cc2.8xl are $3200, a dell with 4GB of ram and something similar to those two well over $5000. You would need one hell of ROI to make that work. Of course lower end/used stuff is cheaper but storing/powering and cooling 50-100 servers aint cheap.

Yeah, but nobody is going to run Intel Xeon processors in a desktop.  They're horrendously expensive for their return.
I paid ~$80 for my AMD Phenom II X5 955 and it churns out ~0.80 chains/day.
I paid about $100 per 1.00 chains/day, whereas Amazon paid $1200 per 1.00 chains/day.

You don't need server grade hardware for poor man's number crunching.
189  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Noobproof VPS Primecoin All-In-One EZ Setup Script (Updated) on: August 16, 2013, 06:04:53 PM
Another minor update.  I've noticed that some hosting providers (DigitalOcean) occasionally result in a Kernel Panic on boot.

I've modified the script to auto-reboot in case of a kernel panic so mining can continue as usual.
Secondly, the swapfile will only build one time (it'll skip it if it detects a swapfile).

Updates are now as simple as re-running the whole script.
190  Alternate cryptocurrencies / Altcoin Discussion / Re: [QRK] Noobproof VPS Quarkcoin All-In-One EZ Setup Script (updated) on: August 16, 2013, 06:04:12 PM
Another minor update.  I've noticed that some hosting providers (DigitalOcean) occasionally result in a Kernel Panic on boot.

I've modified the script to auto-reboot in case of a kernel panic so mining can continue as usual.
Secondly, the swapfile will only build once.  Updates are as simple as re-running the whole script.
191  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: August 16, 2013, 05:45:10 PM
Cheaper is never the issue, cheaper while not getting your nodes kicked off due to high usage is  Wink  Oversold vps crap...

The only real option I have seen is server4you, 8C for ~70/month. Which is a good price (looks like 6134s which should get a block every 2 days)

What's the ballpark "chains/day" stat on that?



Nevermind, I wouldn't even consider them.  This is in the footer of the page:

Quote
* Root Server: EcoServer & ProServer: Prices plus $149 one-time setup fee. BizServer: Prices plus $199 one-time setup fee.
No setup fee? No problem! Just add $15/month and the setup fee is waived.
192  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: August 16, 2013, 04:57:33 PM
One of the small DigitalOcean droplets gets 0.16 chains/day and costs $5/mo.
$5/mo = $0.167 / day
$0.167 / 0.16 = $1.05 / (chain/day)

Linode gets about 0.95 chains/day and costs $20/mo.
$20/mo = $0.667 / day
$0.667 / 0.95 = $0.70 / (chain/day)

FortaTrust *shiver* gets about 0.75 chains/day and costs $15/mo.
$15/mo = $0.50 / day
$0.50 / 0.75 = $0.667 / (chain/day)
193  Other / Off-topic / Re: An exercise in hacking for someone on: August 16, 2013, 04:33:26 PM
I'm going to have to go with no.  http://ideone.com/0hpVxd

The problem is that the fact that the bit's values are consistent to their location.
For example, the outermost bytes only mix with the outermost bytes and the innermost bytes only mix with the innermost bytes.
The only time that doesn't occur is when the "+1" happens to cause a carry to happen.

You can see from the example that the lower input values yield very easy to "reverse" numbers.  If you know the input number was small, simply take the back half of the hash, and reverse the bit order.
With larger input values, the pattern isn't as apparent, but you can still tell that it's there.


My other major concern is how the algorithm would handle messages with length greater than 64 bits.  Most hash algorithms use a compression function for this, but from the code below, there doesn't seem to be one.  If your

Lastly, even if this algorithm had iteration and a compression function, the fact that the output length is only 64 bits is quite troubling.  Even if you had compression and iteration functions, any input message longer than 64 bits would also have a "collision" message that's less than 64 bits.  The digest length alone makes it 2^64 times less secure than MD5.


Sorry mate.  Embarrassed
194  Alternate cryptocurrencies / Altcoin Discussion / Re: [POLL] Crimecoin - Regardless of my coins intentions. on: August 16, 2013, 03:46:43 PM
If it's meant to help the victims of crime, why not call it JusticeCoin or something?
195  Alternate cryptocurrencies / Altcoin Discussion / Re: [PRIMECOIN XPM] How would you say it? on: August 16, 2013, 03:00:23 PM
I think I'd start of by introducing the concept of "coin mining" by actually using mining as an analogy.

You and a whole bunch of other folks go into a mine armed with a pickaxe and you start chipping at the rocks.
It's really hard work, but every once in a while you'll find a chunk of gold!  When you do find a chunk of gold, you hold it up and announce to all the other miners that you've found something of value.  Everybody writes down in their ledger that you own that specific chunk of gold along with where you found it.
You can take this gold and trade it for cash, or you can find stores that accept the gold directly and barter it for goods.  You can even break off a chunk of the nugget and give it to another person.

As one section of the mine becomes depleted, you move further down the mine.  There's still gold chunks buried in there somewhere, they're just spaced further and further apart, so you'll spend more time digging at the walls to find anything.
After a long time, all the big chunks of gold have been found, but there's still gold buried in there, they're just not quite as big nuggets as they used to be.

Here you have the option of describing a mining pool: instead of each person getting to keep the whole nugget for themselves, a group of miners band together and form a pact.  Whenever one of them finds a chunk of gold, they'll split the gold nugget amongst all the people in the pact.  Each person gets a share of the nugget equal to how much rock they've mined leading up to it.


Now all you have to do is explain that the work you're doing to mine gold isn't by swinging a pickaxe, it's by looking for numbers with very specific properties.
Depending on which mine you're digging in, the requirements of the numbers are different.  In some mines, they want really big lengths of prime numbers.  In other mines they want numbers that, when mathematically crunched, are less than a certain value.  It all depends on which mine you're digging in.




edit: Apparently I killed the conversation.  Great.
196  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Install and Run Primecoin High Performance Linux on BAMT 1.1 for Litecoin on: August 16, 2013, 02:36:58 PM
Hey!  Glad to see a primecoin guide being written.

I wrote one a while back and I've made a few tweaks to some of the default scripts mikaelh made.
Feel free to borrow any of the code from it.  Smiley



edit: Here's a direct link to the script for easy access.

edit2: I might steal your idea of cpulimit if that's alright.  Some VPS don't like people maxxing out CPU usage, so having a means of throttling it may be a good thing.

edit3: Just a note, you probably don't need to set genproclimit if you're going to use cpulimit.  If you're using 3 of 4 cores, you'll never have it go above 75% usage.
197  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Working on a GPU miner for Primecoin : express yourself on: August 16, 2013, 02:16:28 PM
So this is the 3rd thread that's just the first two threads all over again?

Also, your memes are bad and you should feel bad.
198  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: August 16, 2013, 02:11:13 PM
So what is your 1 Chain price in USD? For example, if you pay 30 USD per month for a server that is making 5 Chains/day, it is 1 USD for 5 Chains, which means 0.20 USD per 1 Chain. So what is your best?

You mean price per block?  On Amazon's AWS with a cc2.8xlarge, it comes out to ~$6 / block.  That assumes you have average luck.
199  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin High Performance on: August 15, 2013, 08:54:12 PM
I can never understand companies that give you a product, and then penalise you if you use it to its full capacity.

if you dont want someone using 8 CPUs at 100% then dont bloody well give them 8 cpus in the first place!!! Smiley
You mean like renting a car and taking it to a superspeedway so you can drive 150+mph?

Well, if you paid for a sports car, you kind of expect to be able to treat it like one.
Otherwise, you'd rent a station wagon.
200  Alternate cryptocurrencies / Altcoin Discussion / Re: [Idea] Next logical step foward after Primecoin... PiCoin on: August 15, 2013, 08:22:39 PM
I think something that would be a limiting factor is block validation.

The work to solve a block must be difficult but easy to verify.  With SHA256 and scrypt, you can simply check the result.  With primecoin, you run probable primality tests.  With arbitrary digits of Pi, it takes almost as long to verify as it does to generate.

See this post: http://stackoverflow.com/a/14283481/477563
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!