ufasoft (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 18, 2011, 07:43:44 PM |
|
-Make the delay between work requests settable by the user through the command line instead of it being set statically at 30 seconds as it is now. This would allow the period to be decreased and prevent the unaccepted work problems that I've been having in slush's pool while using this miner.
-Make different levels of output verbosity so that the program doesn't have to throw out a huge amount of hex into the terminal. This is obviously mostly cosmetic, but it would be nice.
Implemented both these options: bitcoin-miner -a seconds -v ...
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
Cerebrum
Newbie
Offline
Activity: 34
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 18, 2011, 08:26:05 PM |
|
Implemented both these options: bitcoin-miner -a seconds -v ... Many thanks, sir. Anybody succeeded porting it to Linux? I have no success so far.
Well, all of the tools are available now. It would probably require changing the given assembly code around so that it fits the syntax that the GNU assembler requires, and then integrating this miner into another open-source mining system like JGarzik's miner which is natively for linux. Unfortunately, I don't have a lot of time to do this in the next few weeks since university is really heating up in these parts, but that's the basic meat of the task, if anyone cares to challenge it.
|
|
|
|
jgarzik
Legendary
Offline
Activity: 1596
Merit: 1099
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 18, 2011, 09:26:52 PM |
|
My cpuminer work on Windows (32-bit) as well as Linux.
No build environment yet for Windows (64-bit), alas.
|
Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own. Visit bloq.com / metronome.io Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
|
|
|
hangover
Newbie
Offline
Activity: 14
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2011, 09:14:09 AM |
|
My cpuminer work on Windows (32-bit) as well as Linux.
FreeBSD i386 too.
|
|
|
|
os008
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 79
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2011, 09:10:44 AM |
|
Is there a way to acquire work from Bitcoin's local server please? I can't register on Slush's server currently. The image below shows what i did. It also shows 2 kinds of miners working with the local server successfully (CPU and GPU based). ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fimg594.imageshack.us%2Fimg594%2F1138%2Fminererror.th.png&t=665&c=HDniBSdMuI4eMg)
|
2x5850 @ 600[M|K]H/s
|
|
|
xenon481
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2011, 01:23:20 PM |
|
Is there a way to acquire work from Bitcoin's local server please? I can't register on Slush's server currently. The image below shows what i did. It also shows 2 kinds of miners working with the local server successfully (CPU and GPU based). ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fimg594.imageshack.us%2Fimg594%2F1138%2Fminererror.th.png&t=665&c=HDniBSdMuI4eMg) Did you try http://127.0.0.1:8332 instead of just 127.0.0.1?
|
Tips Appreciated: 171TQ2wJg7bxj2q68VNibU75YZB22b7ZDr
|
|
|
os008
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 79
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2011, 01:42:23 PM |
|
I solved it by using ... bitcoin-miner.exe -a 4 -t 2 -v -o http://127.0.0.1:8332/ -u *** -p *** Instead of ... bitcoin-miner.exe -a 4 -t 2 -v -o 127.0.0.1 -u *** -p *** I can't connect to the server from another computer however. I use ... bitcoin-miner.exe -a 4 -t 2 -v -o http://192.168.0.163:8332/ -u *** -p *** I have no firewall, can ping the server fine from the other computer. It says "connection can't be established" though. EDIT: Thanks xenon. Posted without seeing yours, sorry. The problem now is across a network.
|
2x5850 @ 600[M|K]H/s
|
|
|
xenon481
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2011, 02:08:43 PM |
|
I can't connect to the server from another computer however. I use ... bitcoin-miner.exe -a 4 -t 2 -v -o http://192.168.0.163:8332/ -u *** -p *** I have no firewall, can ping the server fine from the other computer. It says "connection can't be established" though. Have you tried doing a telnet to the port just to see if it is listening properly? c:\> telnet 192.168.0.163 8332 If it worked, you will get a blank screen with a blinking cursor. Press ctrl-] to exit.
|
Tips Appreciated: 171TQ2wJg7bxj2q68VNibU75YZB22b7ZDr
|
|
|
os008
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 79
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2011, 07:01:16 PM |
|
Have you tried doing a telnet to the port just to see if it is listening properly?
c:\> telnet 192.168.0.163 8332
Thank you for the hint; it's going to benefit me in other stuff also ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) . It worked on other open ports (Other applications), but not Bitcoin's port ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) . Why would it work locally but not over a network? I even changed the port to 9523 to test, and indeed i had to change the ports in the miners' settings to connect properly (locally). Still over the network the new port isn't working.
|
2x5850 @ 600[M|K]H/s
|
|
|
xenon481
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2011, 08:13:42 PM |
|
Have you tried doing a telnet to the port just to see if it is listening properly?
c:\> telnet 192.168.0.163 8332
Thank you for the hint; it's going to benefit me in other stuff also ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) . It worked on other open ports (Other applications), but not Bitcoin's port ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) . Why would it work locally but not over a network? I even changed the port to 9523 to test, and indeed i had to change the ports in the miners' settings to connect properly (locally). Still over the network the new port isn't working. That means one of two things. 1. There is a firewall between the two computers blocking communication on that port. On the computer running Bitcoin or in the network between Bitcoin and the Miner. 2. Bitcoin is only binding specifically to the 127.0.0.1 interface and is not binding to the 192.168.0.163 interface. Edit: I guess it could also mean a 3rd thing..... Possibly, 192.168.0.163 isn't actually the IP Address of the computer running Bitcoin. Or the Miner's arp cash is pointing to an different computer....
|
Tips Appreciated: 171TQ2wJg7bxj2q68VNibU75YZB22b7ZDr
|
|
|
[Tycho]
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 27, 2011, 06:23:01 PM |
|
Hello, ufasoft. I'm trying to use your miner with my pool http://deepbit.net but looks like your implementation of HTTP protocol differs from other miners. Why aren't you sending "Authorization" field in http headers ?
|
Welcome to my bitcoin mining pool: https://deepbit.net - Both payment schemes (including PPS), instant payout, no invalid blocks ! ICBIT Trading platform : USD/BTC futures trading, Bitcoin difficulty futures ( NEW!). Third year in bitcoin business.
|
|
|
kseistrup
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 27, 2011, 08:33:31 PM |
|
My cpuminer work on Windows (32-bit) as well as Linux.
I get around 1 Mhash/sec/thread with your cpuminer on a Core 2 Duo machine running Linux, using either the C or the cryptopp algorithm. It would be great to have the SHA256 engine from this thread's SSE2 miner in your cpuminer. Is it possible? Cheers,
|
Klaus Alexander Seistrup
|
|
|
jgarzik
Legendary
Offline
Activity: 1596
Merit: 1099
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 27, 2011, 11:53:43 PM |
|
My cpuminer work on Windows (32-bit) as well as Linux.
I get around 1 Mhash/sec/thread with your cpuminer on a Core 2 Duo machine running Linux, using either the C or the cryptopp algorithm. It would be great to have the SHA256 engine from this thread's SSE2 miner in your cpuminer. Is it possible? Yes, it's possible. ufasoft has released assembly source code.... just takes someone with free time and knowledge to integrate into my cpuminer repository.
|
Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own. Visit bloq.com / metronome.io Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
|
|
|
chromicant
Newbie
Offline
Activity: 40
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 28, 2011, 12:32:01 AM |
|
I'm currently poking it. I'm assuming it's in MASM format, and trying to port it to YASM now. If I get something that makes sense, I'll put it in my github repo.
|
|
|
|
jgarzik
Legendary
Offline
Activity: 1596
Merit: 1099
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 28, 2011, 12:36:58 AM |
|
I'm currently poking it. I'm assuming it's in MASM format, and trying to port it to YASM now. If I get something that makes sense, I'll put it in my github repo.
Standard GNU assembler should accept MASM format, with a command line switch or two...
|
Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own. Visit bloq.com / metronome.io Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
|
|
|
pla
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 65
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 28, 2011, 12:48:51 AM |
|
Wow... Your miner took my Core2 machine from a mere 2.1MH/s to over 8!
Even weirder, it performs slightly better than the pure-CPU miners on my Athlon64X2 - Which completely sucks at the standard 4-way SSE version.
I don't have many bitcoins yet (finally passed a whole BTC just this past week), but I've sent a dime your way. Thank you!
|
I don't beg - If I do something to deserve your BTC, you can find my address on the invoice. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
jgarzik
Legendary
Offline
Activity: 1596
Merit: 1099
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 28, 2011, 12:50:52 AM |
|
Wow... Your miner took my Core2 machine from a mere 2.1MH/s to over 8!
8 mhash/sec per thread??? The comparison seems off. You know that cpuminer only prints out per-thread khash/sec not total, right?
|
Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own. Visit bloq.com / metronome.io Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
|
|
|
pla
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 65
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 28, 2011, 01:01:51 AM |
|
You know that cpuminer only prints out per-thread khash/sec not total, right? Ah... I did not, actually. So I guess that makes it only a 2x speedup (the reported numbers went from 2.1 on just about any miner running two threads, to 8.0 reported by ufasoft's miner also running two threads). Still... A 2x speedup! Not complaining. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
I don't beg - If I do something to deserve your BTC, you can find my address on the invoice. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
chromicant
Newbie
Offline
Activity: 40
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 28, 2011, 01:04:07 AM |
|
I'm currently poking it. I'm assuming it's in MASM format, and trying to port it to YASM now. If I get something that makes sense, I'll put it in my github repo.
Standard GNU assembler should accept MASM format, with a command line switch or two... Not that I can see in the fine manual. The code uses some of MASM's IF defines to help make the code portable, which makes things a tad more annoying. As for speed, on my Core i5 760, the speedup was not insignificant...maybe 2xish.
|
|
|
|
xenon481
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 28, 2011, 01:58:30 AM |
|
Wow... Your miner took my Core2 machine from a mere 2.1MH/s to over 8!
8 mhash/sec per thread??? The comparison seems off. You know that cpuminer only prints out per-thread khash/sec not total, right? The Core2 Duo laptop that I put this on went from ~1.8MH/s (~900KH/s per thread) to ~4.7MH/s (total)
|
Tips Appreciated: 171TQ2wJg7bxj2q68VNibU75YZB22b7ZDr
|
|
|
|