Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: illpoet on December 13, 2011, 09:14:45 PM



Title: litecoin solo mining newb questions
Post by: illpoet on December 13, 2011, 09:14:45 PM
so i have the litecoingui and minerd and all its accompanying files in the same folder and have been successfully pool mining for about a week now.  i wanna try to solo mine for two weeks or so but i have a couple of concerns. 
1. How do i know if its working? i've run it for about an hour or so and it just says "mining started" i understand there'd be no shares, but is it going to give any indication that its doing what its supposed to?
2. Does it matter that my mining computer is sometimes offline for a few hours sometimes? this is my main concern.  Its not offline often but right now my isp SUCKS and drops connection every few days.  will that restart the process?

anyway thanks for your time!


Title: Re: litecoin solo mining newb questions
Post by: pooler on December 13, 2011, 09:30:48 PM
so i have the litecoingui and minerd and all its accompanying files in the same folder and have been successfully pool mining for about a week now.  i wanna try to solo mine for two weeks or so but i have a couple of concerns.  
1. How do i know if its working? i've run it for about an hour or so and it just says "mining started" i understand there'd be no shares, but is it going to give any indication that its doing what its supposed to?
2. Does it matter that my mining computer is sometimes offline for a few hours sometimes? this is my main concern.  Its not offline often but right now my isp SUCKS and drops connection every few days.  will that restart the process?

anyway thanks for your time!

1. If you are using cpuminer and you are seeing the hashmeter output, everything should be working fine.
2. Blocks are discovered randomly, so you do not lose your progress when you stop your miners.

You can estimate the time necessary to find a block using this calculator:
http://allchains.info/calc.html
At the current difficulty, you can average a block every 24 hours with about 45 khash/s.


Title: Re: litecoin solo mining newb questions
Post by: illpoet on December 13, 2011, 09:53:07 PM
thank you very much for the response! i just like the idea of uncovering a block myself even if it takes a little while~!


Title: Re: litecoin solo mining newb questions
Post by: michaelmclees on December 14, 2011, 01:43:11 AM
thank you very much for the response! i just like the idea of uncovering a block myself even if it takes a little while~!

Welcome to the wonderful world of CPU mining!


Title: Re: litecoin solo mining newb questions
Post by: illpoet on December 14, 2011, 11:42:06 AM
yeah cpu mining seems rad! i have 4 cores but i think i'm only using 2... I have 2 threads which i think is the same thing.  hopefully i'll find a block in a few days!


Title: Re: litecoin solo mining newb questions
Post by: pooler on December 14, 2011, 11:50:04 AM
i have 4 cores but i think i'm only using 2... I have 2 threads which i think is the same thing.

Yes, basically it's the same thing.

Quote
hopefully i'll find a block in a few days!

I have put together a mining calculator that relates hash rate to the probability of finding a block.
Enter your hash rate here to try it out:
http://www.litecoinpool.org/calc
I hope solo miners like you will find this useful. :)


Title: Re: litecoin solo mining newb questions
Post by: terrytibbs on December 14, 2011, 08:40:41 PM
I have put together a mining calculator that relates hash rate to the probability of finding a block.
Enter your hash rate here to try it out:
http://www.litecoinpool.org/calc
I hope solo miners like you will find this useful. :)
Neat! Would you care to open-source it?


Title: Re: litecoin solo mining newb questions
Post by: pooler on December 14, 2011, 09:13:12 PM
I have put together a mining calculator that relates hash rate to the probability of finding a block.
Enter your hash rate here to try it out:
http://www.litecoinpool.org/calc
I hope solo miners like you will find this useful. :)
Neat! Would you care to open-source it?

It's actually a very simple script, the only thing that requires some thought is the formula to compute the probability. Here it is:

prob("a block in [time]") = 1 - (1 - 1 / (2^32 * [difficulty]))^([hashrate] * [time])

The graph is made using Google Chart API (http://code.google.com/intl/en-US/apis/chart/image/docs/gallery/line_charts.html). Just look at the image's URL to see how it's done.


Title: Re: litecoin solo mining newb questions
Post by: illpoet on December 16, 2011, 04:45:32 AM
very cool pooler! i found my first block today! i used your calculator afterwards and it was only off by 1 hour! my hashrate is 5.6 and i found a block in 8 days 4 hours.  and i'm sure thats not the calc's fault so much as fluctuations in my hashrate! as a matter of fact i'm surprised it got that close super amazing!  so my question is what could i do to get the coveted 45 k/hs?  i'm thinking of upgrading my cpu anyway.  also i thought maybe i could up my threads to 4 when i'm not using the computer (work etc).  or maybe even set umbuntu back up and run it while i'm away.  i'm sure theres a good btc miner for linux.  anyway i'm ranting.  thanks for all the help guys!


Title: Re: litecoin solo mining newb questions
Post by: Intention on December 16, 2011, 07:28:49 AM
very cool pooler! i found my first block today! i used your calculator afterwards and it was only off by 1 hour! my hashrate is 5.6 and i found a block in 8 days 4 hours.  and i'm sure thats not the calc's fault so much as fluctuations in my hashrate! as a matter of fact i'm surprised it got that close super amazing!  so my question is what could i do to get the coveted 45 k/hs?  i'm thinking of upgrading my cpu anyway.  also i thought maybe i could up my threads to 4 when i'm not using the computer (work etc).  or maybe even set umbuntu back up and run it while i'm away.  i'm sure theres a good btc miner for linux.  anyway i'm ranting.  thanks for all the help guys!
The fact you got one with a low hash rate even at that amount of time is pretty lucky.  As for upgrading your CPU it all depends on what board/socket you are using--however I'm not sure mining Litecoins warrants more or less ripping out your Motherboard and replacing it with a new one including a Processor.

With that being said I do believe the AMD Phenom II series of 4/6core processors so you would be looking at an AM3 socket and they work the best while running Ubuntu or some version of Linux.


Title: Re: litecoin solo mining newb questions
Post by: pooler on December 16, 2011, 10:33:28 AM
very cool pooler! i found my first block today! i used your calculator afterwards and it was only off by 1 hour! my hashrate is 5.6 and i found a block in 8 days 4 hours.  and i'm sure thats not the calc's fault so much as fluctuations in my hashrate!

Please remember that the "expected time" indicated by the calculator is only a probabilistic estimate, which should match the average time between blocks in the long run.

With that being said I do believe the AMD Phenom II series of 4/6core processors so you would be looking at an AM3 socket and they work the best while running Ubuntu or some version of Linux.

The Phenom II is the best with the current public version of cpuminer, but I'm currently working on optimizing the miner for Intel CPUs, and I'm pretty sure that i7's, while more expensive, will be able to deliver the best performance in the end.


Title: Re: litecoin solo mining newb questions
Post by: Intention on December 16, 2011, 03:12:56 PM
The Phenom II is the best with the current public version of cpuminer, but I'm currently working on optimizing the miner for Intel CPUs, and I'm pretty sure that i7's, while more expensive, will be able to deliver the best performance in the end.
For the love of god please do I got 2 machines with i7's.  Outside of a virtual machine or live CD I can't run Linux on this machine because of UEFI booting horribly messing up the boot loader.


Title: Re: litecoin solo mining newb questions
Post by: illpoet on December 17, 2011, 09:56:56 PM

[/quote]
The fact you got one with a low hash rate even at that amount of time is pretty lucky. 
[/quote]

that was kind of lucky, but i started using the optimized minerd for amd 64 bit processers and it upped my khash signifigantly.  block #2 was found 1 hour 58 minutes after i started mining.  THAT is fkn lucky (like less than 1% chance i think)


Title: Re: litecoin solo mining newb questions
Post by: DeathAndTaxes on December 20, 2011, 05:43:47 PM
very cool pooler! i found my first block today! i used your calculator afterwards and it was only off by 1 hour! my hashrate is 5.6 and i found a block in 8 days 4 hours.  and i'm sure thats not the calc's fault so much as fluctuations in my hashrate! as a matter of fact i'm surprised it got that close super amazing! 

It was pure luck that it was that close to the estimate.  The calculator gives you the 50% time.  So over the course of months on AVERAGE your will find one block per the unit of time given by the calculator.  However each block is totally random.  You could easily find one in 10% of the time and just as easily not find one in 10x the time. 

The estimator is only useful OVER THE LONG RUN.  So if you mine for 180 days you could take 180 / (time from calculator in days) = good approximation for number of blocks in 180 days.


Title: Re: litecoin solo mining newb questions
Post by: pooler on December 20, 2011, 06:20:02 PM
The calculator gives you the 50% time.

Not really... it gives the expected value, which turns out to be at probability 1-1/e, or ~63%.
But other than that you are right, that should only match the average time per block over the long run.


Title: Re: litecoin solo mining newb questions
Post by: terrytibbs on December 20, 2011, 06:20:59 PM
However each block is totally random.
Right!


Title: Re: litecoin solo mining newb questions
Post by: Mousepotato on December 20, 2011, 06:46:52 PM
What kind of hashing speeds are people seeing with their Phenom IIs?  I'm debating whether to upgrade to an x4 or x6 Black Edition of some sort.  I'm way CPU bottlenecked in BF3 :(