Bitcoin Forum
April 23, 2024, 03:46:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 »  All
  Print  
Author Topic: CGminer v3.8.5 on Broadcom based DD-WRT / OpenWRT  (Read 76971 times)
Zillions
Full Member
***
Offline Offline

Activity: 158
Merit: 100


View Profile
August 27, 2012, 11:17:47 PM
 #141

Excuse me while I subscribe to this thread ... I have a feeling once I get my hardware in I'm going to want quick acess to this thread.
1713887164
Hero Member
*
Offline Offline

Posts: 1713887164

View Profile Personal Message (Offline)

Ignore
1713887164
Reply with quote  #2

1713887164
Report to moderator
1713887164
Hero Member
*
Offline Offline

Posts: 1713887164

View Profile Personal Message (Offline)

Ignore
1713887164
Reply with quote  #2

1713887164
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713887164
Hero Member
*
Offline Offline

Posts: 1713887164

View Profile Personal Message (Offline)

Ignore
1713887164
Reply with quote  #2

1713887164
Report to moderator
1713887164
Hero Member
*
Offline Offline

Posts: 1713887164

View Profile Personal Message (Offline)

Ignore
1713887164
Reply with quote  #2

1713887164
Report to moderator
GoldZuGeld
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
August 28, 2012, 04:34:16 PM
 #142

otrw2 should work just fine.
I haven't done it, so I can't give instructions. Let me know how it goes.

yeah otrw2 works. I've used this instructions http://www.dd-wrt.com/phpBB2/viewtopic.php?t=156013
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
September 05, 2012, 01:17:24 AM
 #143

P_shep,

Will you be releasing an updated version with cgminer 2.7.5?
P_Shep (OP)
Legendary
*
Online Online

Activity: 1795
Merit: 1198


This is not OK.


View Profile
September 05, 2012, 04:39:24 PM
 #144

Here you go:

https://github.com/downloads/pshep/cgminer/cgminer-2.7.5-mipsel.tar.gz
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
September 05, 2012, 10:20:00 PM
 #145


Thank you.
rampone
Sr. Member
****
Offline Offline

Activity: 339
Merit: 250


dafq is goin on


View Profile
September 09, 2012, 02:01:21 AM
 #146

So I had it running today on a 3200. darn, it does no openwrt.
But what I immediately noticed, that the idle time between work was easy noticable (bflsingles led going out for about 100ms to 300 ms. That is a lot actually, as with my athlon x2 250 cpu on ubuntu it is barely the idle time is barely noticable.

I am not into cgminer, but maybe work delivery could be tuned, as it seems like sth is calculated, just the delivery of data should not take much longer on that router. (tuning in meaning: send new already prepared work before checking the result of the work before).

Maybe i have to fire up the 500 mhz celeron laptop, and check the "idle times" there.

I did not let it run for a long time, to see if hashrate is still the same, as i guess it wont be, what idles, (even though not long), does not hash. My guesstimate of hash loss is sth like 5 to 10 %?

Damn, i wanted this to be my solution, love router hacking/openwrt/mesh nets/those little computers Wink

Maybe ask the cgminer guys, what they think of that effect, and if it could be tuned. (asking in irc right now)


http://virwox.com - Bitcoins via CCard, Skrill, paysafe, paypal & SEPA
Convert your bitcoin into spendable fiat money in less than 2 days. Poker Players use this method to avoid "unnecessary trouble" with the country they live in ... PM me for details. +1:naz86,b4nana,tinua,smart1986,fhh
P_Shep (OP)
Legendary
*
Online Online

Activity: 1795
Merit: 1198


This is not OK.


View Profile
September 09, 2012, 02:53:23 AM
 #147

Quote
(bflsingles led going out for about 100ms to 300 ms.)

I certainly don't see that. just a flicker for me. 300ms would be VERY noticeable. In my version of cgminer I run (home_brew in my git) I have timers around all the comms routines. Avg time is around 0.015s, max time 0.024s over the past 2 days with many, MANY throttles (been HOT here).

The best way to check is to compare hash rates between systems over a day or so. Should be consistent.
rampone
Sr. Member
****
Offline Offline

Activity: 339
Merit: 250


dafq is goin on


View Profile
September 09, 2012, 02:58:07 AM
 #148

so I  got told, that you can check the timings of the bfl via the api, the minimum time is only 0.00003 @e3200 vs 0.00001 @x2 cpu.

that value still does not explain that idle time.

I noticed, that the serial ports are hooked in differently under dd-wrt then under a normal distro (not /dev/ttyUSB -> /dev/usb/tty/0), is that the cause?

http://virwox.com - Bitcoins via CCard, Skrill, paysafe, paypal & SEPA
Convert your bitcoin into spendable fiat money in less than 2 days. Poker Players use this method to avoid "unnecessary trouble" with the country they live in ... PM me for details. +1:naz86,b4nana,tinua,smart1986,fhh
rampone
Sr. Member
****
Offline Offline

Activity: 339
Merit: 250


dafq is goin on


View Profile
September 09, 2012, 03:05:04 AM
Last edit: September 09, 2012, 03:19:18 AM by rampone
 #149

I really am not able to time it, 300 ms could be too much, but it is definitely more noticable than with the "pc".
The api readings also give me faith, that it is caused by sth else.
As the e3200 had to actually have another use, which it can't handle (pptpinternet connection fails), i will probably send it back monday, and try with a tp-link and openwrt again, oh that endian...

But to not be so negative: p-sheps work is really slick with integrated service etc.
http://youtu.be/xxxNnIS2cuQ

http://youtu.be/PaH2CWPVVZ8


maybe my guesstimate with more than 5% idle is a bit high, but you can see the difference.

P_shep is your "blinking" less?



http://virwox.com - Bitcoins via CCard, Skrill, paysafe, paypal & SEPA
Convert your bitcoin into spendable fiat money in less than 2 days. Poker Players use this method to avoid "unnecessary trouble" with the country they live in ... PM me for details. +1:naz86,b4nana,tinua,smart1986,fhh
P_Shep (OP)
Legendary
*
Online Online

Activity: 1795
Merit: 1198


This is not OK.


View Profile
September 09, 2012, 03:37:31 AM
 #150

Definitely an observable difference there. Mine blink slower then your unbuntu there, probably as slow as your e3200. I can say that's less then 100ms though, 100 would be quite clear. Guess this is simply the processing time of the router... not much you can do about that.
rampone
Sr. Member
****
Offline Offline

Activity: 339
Merit: 250


dafq is goin on


View Profile
September 09, 2012, 03:49:35 AM
 #151

the funny thing is the min time for idling reported by cgminer via the api is way less. thats why i think, it could be sth else. maybe i test it with my celeron 500 usb 1.1 notebook setup sometime, see, if its blinking the same like with a fast cpu, or does the blinking like with the router. but not today.


For anyone with just a few bfls and already owning a linksys/dd-wrt compatible mipsel router and no server running 24/7 this is definitely still the way to go.




http://virwox.com - Bitcoins via CCard, Skrill, paysafe, paypal & SEPA
Convert your bitcoin into spendable fiat money in less than 2 days. Poker Players use this method to avoid "unnecessary trouble" with the country they live in ... PM me for details. +1:naz86,b4nana,tinua,smart1986,fhh
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
September 09, 2012, 04:31:18 AM
 #152

Quote
(bflsingles led going out for about 100ms to 300 ms.)

I certainly don't see that. just a flicker for me. 300ms would be VERY noticeable. In my version of cgminer I run (home_brew in my git) I have timers around all the comms routines. Avg time is around 0.015s, max time 0.024s over the past 2 days with many, MANY throttles (been HOT here).

The best way to check is to compare hash rates between systems over a day or so. Should be consistent.

Can you point me to a link to be able to setup my workstation to compile the cgminer git code for dd-wrt
rampone
Sr. Member
****
Offline Offline

Activity: 339
Merit: 250


dafq is goin on


View Profile
September 09, 2012, 05:11:33 AM
 #153

I also got told, that bfgminer has more fpga optimized code than cgminer right now? maybe run a compile of that one, should "behave" the same with api, config etc.? At least worth a try, im going to sleep now though.

http://virwox.com - Bitcoins via CCard, Skrill, paysafe, paypal & SEPA
Convert your bitcoin into spendable fiat money in less than 2 days. Poker Players use this method to avoid "unnecessary trouble" with the country they live in ... PM me for details. +1:naz86,b4nana,tinua,smart1986,fhh
P_Shep (OP)
Legendary
*
Online Online

Activity: 1795
Merit: 1198


This is not OK.


View Profile
September 09, 2012, 06:43:01 PM
 #154


Can you point me to a link to be able to setup my workstation to compile the cgminer git code for dd-wrt

At the bottom of the readme is a link to the compiler, and the option I built with. There's no guide on how to do it... there's not enough time in the world to write one! It took me a few weeks to get it all working and this is part what I do for a living.
P_Shep (OP)
Legendary
*
Online Online

Activity: 1795
Merit: 1198


This is not OK.


View Profile
September 09, 2012, 06:44:57 PM
 #155

I also got told, that bfgminer has more fpga optimized code than cgminer right now? maybe run a compile of that one, should "behave" the same with api, config etc.? At least worth a try, im going to sleep now though.

I've compiled bfgminer and will run that for a couple of days. see what the results are. so far after 15hrs, my U is about 0.5 lower than cgminer, but still early to say.
efiniti
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
September 12, 2012, 10:25:52 PM
 #156

can someone explain what the setup is?  i don't understand why you'd want to run cgminer on a router.  you're not trying to mine with the router's proc right?..
irritant
Sr. Member
****
Offline Offline

Activity: 473
Merit: 250


Sodium hypochlorite, acetone, ethanol


View Profile
September 12, 2012, 10:43:14 PM
 #157

can someone explain what the setup is?  i don't understand why you'd want to run cgminer on a router.  you're not trying to mine with the router's proc right?..

no, you mine on the FPGA attached to the router via USB, attached to the router instead of a pc because a router uses very little electricity
P_Shep (OP)
Legendary
*
Online Online

Activity: 1795
Merit: 1198


This is not OK.


View Profile
September 13, 2012, 03:38:12 PM
 #158

Over 2 days:

CGminer:
Code:
 [2012-09-08 20:47:05] Started at [2012-09-06 13:11:23]
 [2012-09-08 20:47:05] Runtime: 55 hrs : 35 mins : 41 secs
 [2012-09-08 20:47:05] Average hashrate: 4961.5 Megahash/s
 [2012-09-08 20:47:05] Solved blocks: 0
 [2012-09-08 20:47:05] Queued work requests: 25805
 [2012-09-08 20:47:05] Share submissions: 231002
 [2012-09-08 20:47:05] Accepted shares: 230735
 [2012-09-08 20:47:05] Rejected shares: 267
 [2012-09-08 20:47:05] Reject ratio: 0.1%
 [2012-09-08 20:47:05] Hardware errors: 0
 [2012-09-08 20:47:05] Efficiency (accepted / queued): 894%
 [2012-09-08 20:47:05] Utility (accepted shares / min): 69.17/min
 [2012-09-08 20:47:05] Work Utility (diff1 shares solved / min): 69.25/min
 [2012-09-08 20:47:05] Discarded work due to new blocks: 1187
 [2012-09-08 20:47:05] Stale submissions discarded due to new blocks: 7
 [2012-09-08 20:47:05] Unable to get work from server occasions: 379
 [2012-09-08 20:47:05] Work items generated locally: 231185
 [2012-09-08 20:47:05] Submitting work remotely delay occasions: 13
 [2012-09-08 20:47:05] New blocks detected on network: 521

BFGminer:
Code:
 [2012-09-13 08:31:11] Started at [2012-09-10 20:36:08]
 [2012-09-13 08:31:11] Runtime: 59 hrs : 55 mins : 3 secs
 [2012-09-13 08:31:11] Average hashrate: 4917.5 Megahash/s
 [2012-09-13 08:31:11] Solved blocks: 0
 [2012-09-13 08:31:11] Queued work requests: 54000
 [2012-09-13 08:31:11] Share submissions: 247619
 [2012-09-13 08:31:11] Accepted shares: 247177
 [2012-09-13 08:31:11] Rejected shares: 442
 [2012-09-13 08:31:11] Reject ratio: 0.2%
 [2012-09-13 08:31:11] Hardware errors: 0
 [2012-09-13 08:31:11] Efficiency (accepted / queued): 458%
 [2012-09-13 08:31:11] Utility (accepted shares / min): 68.76/min
 [2012-09-13 08:31:11] Discarded work due to new blocks: 29545
 [2012-09-13 08:31:11] Stale submissions discarded due to new blocks: 16
 [2012-09-13 08:31:11] Unable to get work from server occasions: 359
 [2012-09-13 08:31:11] Work items generated locally: 252177
 [2012-09-13 08:31:11] Submitting work remotely delay occasions: 25
 [2012-09-13 08:31:11] New blocks detected on network: 523

CGminer has it by a whisker.
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
September 13, 2012, 06:16:22 PM
 #159

CGminer has it by a whisker.
2 days is nowhere near long enough for that amount of precision.

-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
September 25, 2012, 12:41:39 PM
 #160

Looks good to me. Clearly any claim that jesusminer is better is pure fud.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!