Bitcoin Forum
March 19, 2024, 04:17:14 AM *
News: Latest Bitcoin Core release: 26.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 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 »
  Print  
Author Topic: Algorithmically placed FPGA miner: 255MH/s/chip, supports all known boards  (Read 119415 times)
eldentyrell (OP)
Donator
Legendary
*
Offline Offline

Activity: 980
Merit: 1004


felonious vagrancy, personified


View Profile WWW
July 02, 2012, 06:41:22 PM
 #541

Code:
Caused by: java.lang.IndexOutOfBoundsException: Device number out of range. Valid numbers are 0..-1
        at ztex.ZtexScanBus1.device(ZtexScanBus1.java:174)
        ... 8 more

Yes, I get this too from time to time.  It's a bug in ztex's USB interface.  Sometimes it just gets into a weird state and refuses to appear on the USB bus.  I don't have the time/resources/etc to track it down, but he should.  Anyways, power-cycling the board always fixes it.


I then restarted the computer, powered off all boards and tried again. Working nicely now, I get quite many errors, but it's trying to run at crazy frequencies Smiley. I'll leave it to mine for a while and report stats later when in converges to optimal clock rate. I installed some RAM heat sinks on the underside aswell.

Thanks!  You're running 0.95, right?  0.93 definitely has a bug in the clock calibration code.

The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators.  So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
1710821834
Hero Member
*
Offline Offline

Posts: 1710821834

View Profile Personal Message (Offline)

Ignore
1710821834
Reply with quote  #2

1710821834
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710821834
Hero Member
*
Offline Offline

Posts: 1710821834

View Profile Personal Message (Offline)

Ignore
1710821834
Reply with quote  #2

1710821834
Report to moderator
1710821834
Hero Member
*
Offline Offline

Posts: 1710821834

View Profile Personal Message (Offline)

Ignore
1710821834
Reply with quote  #2

1710821834
Report to moderator
1710821834
Hero Member
*
Offline Offline

Posts: 1710821834

View Profile Personal Message (Offline)

Ignore
1710821834
Reply with quote  #2

1710821834
Report to moderator
eldentyrell (OP)
Donator
Legendary
*
Offline Offline

Activity: 980
Merit: 1004


felonious vagrancy, personified


View Profile WWW
July 02, 2012, 06:42:41 PM
 #542

It's been running almost 6 hours now, and it's not getting the performance I was getting with .92b:

H:143/71,0,71 X:231 C:162,140,160 E:0/0,0,0 T:1m   |  H:178/60,59,58 E:18/22,11,20 A:777 R:14 T:5h17m3s  

With eligius reporting 3h avg. of just ~180Mh/s. Lot's of invalids: [ztex:0:2  ]   invalid nonce: 0x8b170ab6

It's probably the clock calibration code.

What kind of results do you get when you set the frequencies manually and disable clock calibration with

  java -Dtriconemining.recalibrate_clock=false -jar tml.jar ztex:0 <mining-url>

?

The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators.  So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
punin
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile WWW
July 02, 2012, 08:23:31 PM
 #543

It's been running almost 6 hours now, and it's not getting the performance I was getting with .92b:

H:143/71,0,71 X:231 C:162,140,160 E:0/0,0,0 T:1m   |  H:178/60,59,58 E:18/22,11,20 A:777 R:14 T:5h17m3s  

With eligius reporting 3h avg. of just ~180Mh/s. Lot's of invalids: [ztex:0:2  ]   invalid nonce: 0x8b170ab6

It's probably the clock calibration code.

What kind of results do you get when you set the frequencies manually and disable clock calibration with

  java -Dtriconemining.recalibrate_clock=false -jar tml.jar ztex:0 <mining-url>


I've been running 0.95 for about an hour now as you instructed, with clocks set at 170, 150, 160 (~240Mhash) Looking good so far, no errors. Me likey!

Head of Product Development
Bitfury Group
www.bitfury.com
rph
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
July 03, 2012, 03:32:19 AM
 #544

230MH/s, 0% errors, 21.17MH/J

Sweet! That's at ~1.26V, so only around 8.5A (long term average) on the core supply?

-rph

Ultra-Low-Cost DIY FPGA Miner: https://bitcointalk.org/index.php?topic=44891
mrb
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
July 03, 2012, 06:16:32 AM
 #545

enterpoint has sold over a 100 boards (without a decent bitstream)

How did that happen?!?

Because their prices are the lowest by far: $640 for a quad LX150 board. Compare this to Ztex's $920 (qty 50+), or btcfpga's $1070...
Keninishna
Hero Member
*****
Offline Offline

Activity: 556
Merit: 500



View Profile
July 03, 2012, 06:41:34 AM
 #546

enterpoint has sold over a 100 boards (without a decent bitstream)

How did that happen?!?
I'm going to point out the obvious here since, for some unknown reason, you and Enterpoint haven't joined forces yet.  Enterpoint is a professional FPGA hardware solution provider.  You are a brilliant bitstream developer.  Together you could drive sales through the roof and give BFL some real competition.  The fact you haven't done so and instead are wasting your time with Ztex boards is extremely frustrating to myself and many others in the Enterpoint camp.

Get your shit together with Enterpoint and find a truce for whatever BS you all have a beef over.

Lol, I know how you feel. I have a board (23 more coming) with so much potential only doing a measily 380 mh/s. With a tricone bitstream it could possibly push up to 1 gh/s. The only thing though is enterpoint still has work to do on the controller firmware to keep the chips stable and that has nothing to do with eldentryell. Also he has requested the specs he needs to make his bitstream work and yohan has emailed him the information. You're probably better off bitching in the enterpoint thread about the firmware development progress.
punin
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile WWW
July 03, 2012, 07:00:42 AM
 #547

Status update:

0.95 was running like a dream overnight finally converging to 240Mh/s on eligius. Unfortunately when I woke up I found this:

Code:
[ztex:0:1  ] loading job  67dd99a96f74bda852f43c5e1a87a7dc8e18fae0b2276395274639a5b186798f:94f47e834ff26a021a09b78a
H:286/214,71,0 X:240 C:170,150,160 E:0/0,0,0 T:1m   |  H:234/81,73,79 E:0/0,0,0 A:1568 R:12 T:8h2m13s Exception in thread "Thread-2" java.lang.RuntimeException: java.io.EOFException
        at com.triconemining.limp.LimpConnection.run(LimpConnection.java:53)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.EOFException
        at com.triconemining.util.VarInt.read(VarInt.java:16)
        at com.triconemining.limp.LimpConnection.run(LimpConnection.java:50)
        ... 1 more
[ztex:0:2  ] signcrypting 67dd99a96f74bda852f43c5e1a87a7dc8e18fae0b2276395274639a5b186798f:94f47e834ff26a031a09b78a

I'm gonna tweak my clocks up a notch to 245 total and let it run again. I'm quite happy with this performance and the fact no mods were required (apart from extra cooling). Although I'm tempted to try how far it can go with volt mod Smiley

Head of Product Development
Bitfury Group
www.bitfury.com
gyverlb
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000



View Profile
July 03, 2012, 10:42:03 AM
 #548

enterpoint has sold over a 100 boards (without a decent bitstream)

How did that happen?!?

Because their prices are the lowest by far: $640 for a quad LX150 board. Compare this to Ztex's $920 (qty 50+), or btcfpga's $1070...
I believe they are more likely near 500 boards in the field than 100. I have 2 myself and some people are known to have around 10 and more to come. According to the dedicated thread they are sending boards each working day and they reached a point weeks ago where the delivery guy was literally outweighed by the packages to send (the 2 boards I received where in a package that didn't weigh more than 3 kg, probably 2).

They were by far the most efficient from early design to board at doorstep (the fact that FPGA solutions are their core business shows), the price is good and the potential for 1GH/s is there. I'd be surprised if they don't reach the 1000 boards installed this summer. Their pre-order book is full until September, they only need to send 20 boards per day 5 days a week which would match the "delivery guy weight" easily.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
pieppiep
Hero Member
*****
Offline Offline

Activity: 1596
Merit: 502


View Profile
July 03, 2012, 11:03:25 AM
 #549

The quad board is not their only product.
They have a wide variety of fpga products, so it can be possible the day the delivery guy was outweighed they had another big delivery.
But I do belive they've sold much of them already.
punin
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile WWW
July 03, 2012, 02:59:18 PM
 #550

Stock volts. Need I say more?


Head of Product Development
Bitfury Group
www.bitfury.com
Isokivi
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000


Items flashing here available at btctrinkets.com


View Profile WWW
July 03, 2012, 06:59:43 PM
 #551

enterpoint has sold over a 100 boards (without a decent bitstream)

How did that happen?!?
I'm going to point out the obvious here since, for some unknown reason, you and Enterpoint haven't joined forces yet.  Enterpoint is a professional FPGA hardware solution provider.  You are a brilliant bitstream developer.  Together you could drive sales through the roof and give BFL some real competition.  The fact you haven't done so and instead are wasting your time with Ztex boards is extremely frustrating to myself and many others in the Enterpoint camp.

Get your shit together with Enterpoint and find a truce for whatever BS you all have a beef over.
+1 and it's over 150 boards, highest number I have is 159.

Bitcoin trinkets now on my online store: btc trinkets.com <- Bitcoin Tiepins, cufflinks, lapel pins, keychains, card holders and challenge coins.
eldentyrell (OP)
Donator
Legendary
*
Offline Offline

Activity: 980
Merit: 1004


felonious vagrancy, personified


View Profile WWW
July 05, 2012, 01:39:12 AM
 #552

I'm going to point out the obvious here since, for some unknown reason, you and Enterpoint haven't joined forces yet.

Nonsense, they have the board development kit.  I'm still waiting for them to send me the driver code.  Bug them, not me.

a truce for whatever BS you all have a beef over.

This just makes no sense at all.

The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators.  So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
eldentyrell (OP)
Donator
Legendary
*
Offline Offline

Activity: 980
Merit: 1004


felonious vagrancy, personified


View Profile WWW
July 05, 2012, 01:40:31 AM
Last edit: July 05, 2012, 02:31:57 AM by eldentyrell
 #553

Status update:

0.95 was running like a dream overnight finally converging to 240Mh/s on eligius. Unfortunately when I woke up I found this:

Code:
[ztex:0:1  ] loading job  67dd99a96f74bda852f43c5e1a87a7dc8e18fae0b2276395274639a5b186798f:94f47e834ff26a021a09b78a
H:286/214,71,0 X:240 C:170,150,160 E:0/0,0,0 T:1m   |  H:234/81,73,79 E:0/0,0,0 A:1568 R:12 T:8h2m13s Exception in thread "Thread-2" java.lang.RuntimeException: java.io.EOFException
        at com.triconemining.limp.LimpConnection.run(LimpConnection.java:53)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.EOFException
        at com.triconemining.util.VarInt.read(VarInt.java:16)
        at com.triconemining.limp.LimpConnection.run(LimpConnection.java:50)
        ... 1 more
[ztex:0:2  ] signcrypting 67dd99a96f74bda852f43c5e1a87a7dc8e18fae0b2276395274639a5b186798f:94f47e834ff26a031a09b78a


Yes, that is THE major reason why the TML is currently "not for production use".  I still need to do a walk through all the code to make sure it doesn't get "stuck" when something goes wrong.  There's actually a warning about this in the banner that prints out when you first run the TML:

Code:

   Here is a partial list of issues you should be aware of:
     - many kinds of errors (network, etc) cause the miner to get stuck
...

The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators.  So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
eldentyrell (OP)
Donator
Legendary
*
Offline Offline

Activity: 980
Merit: 1004


felonious vagrancy, personified


View Profile WWW
July 05, 2012, 02:01:06 AM
Last edit: July 05, 2012, 08:37:03 AM by eldentyrell
 #554

TML 0.99 is posted.

We have (finally) emerged from BUFGMUX-placement-hell and are able to generate bitstreams again.

Starting with this release the bitstreams have names, issued alphabetically.  There is also a new bitstream, "davis", which in theory supports the following boards via JTAG cable: x6500, nexus6, modminer, icarus, carinsmore.  If you can confirm that any of these work, please let us know.  Again, support for these boards is via urjtag only.  If you want support for board-proprietary USB interfaces, ask your board manufacturer, not us.

Lots of new software features:

Code:
04.Jul.2012  Release v0.99, new bitstream "davis"
04.Jul.2012  Release v0.98, no new bitstream
  named bitstreams
  detect clock pin automatically
  simplify clock calibration algorithm
  add support for statistics plots
  clock on pin J1  (icarus, carinsmore)
  clock on pin K20 (x6500, modminer, nexus)
  add ability to measure clock rate at the pin
  DCM: use closest-match frequency
  include usb_strerror() in error messages

The automatic clock frequency setting code in this release is much, much simpler and should be more reliable.

and pretty graphs:



Also, bitstream davis passes Xilinx timing at 185mhz on all three rings.  This means that getting 277MH/s/chip is "simply" a matter of having a power supply that can deliver enough current without sagging.  In the plot above you can observe the phenomenon bitfury describes, where logic in the center of the device is the first to fail due to inadequate power delivery.

This is the first bitstream that works on both the commercial boards (ztex, etc) and my own nexus6 boards (not for sale, don't ask).  So now I can finally start converting my mine over to the same code I'm asking other people to run.  Once I've finished that I'll feel confident declaring this "ready for production use".


The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators.  So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
ebereon
Sr. Member
****
Offline Offline

Activity: 397
Merit: 500


View Profile
July 05, 2012, 11:29:54 AM
Last edit: July 08, 2012, 01:50:47 AM by ebereon
 #555

...  Again, support for these boards is via urjtag only.  

Can you please provide us with a already patched urjtag windows binary? I don't have a clue how to patch a binary file and compile the whole thing with all required libs and such.

Thank you!

greets,
eb


Nevermind... Got it now after some hours...

But thanks for help  Undecided
kakobrekla
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Psi laju, karavani prolaze.


View Profile
July 05, 2012, 12:39:02 PM
 #556

davis, 1.32V, 30°C ambient,

H:152/38,62,52 X:240 C:168,148,164 E:0/0,0,0 T:15m   |  H:178/55,64,61 E:7/6,8,7 A:179 R:0 T:1h11m37s

10mh more than ztex at same conditions.

punin
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile WWW
July 05, 2012, 08:16:58 PM
 #557

Interestingly I'm getting better results with 0.95. Setting same clocks on 0.99 gets me loads of errors.

Head of Product Development
Bitfury Group
www.bitfury.com
eldentyrell (OP)
Donator
Legendary
*
Offline Offline

Activity: 980
Merit: 1004


felonious vagrancy, personified


View Profile WWW
July 06, 2012, 06:39:25 AM
 #558

Heads up: there is a really stupid mistake in the host software that is causing it to simply lose up to 20% of the nonces.  The higher the hashrate, the more it loses both because work is loaded more often and because each second of time spans a greater part of the nonce-space.

I wanted to go directly from 0.99 to 1.0 but this is too important.  I will post a fix ASAP.

The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators.  So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
eldentyrell (OP)
Donator
Legendary
*
Offline Offline

Activity: 980
Merit: 1004


felonious vagrancy, personified


View Profile WWW
July 06, 2012, 06:49:34 AM
Last edit: July 06, 2012, 07:02:16 AM by eldentyrell
 #559


TML-0.999 is posted.

Please upgrade if you care about performance; all previous versions have a serious performance bug that causes valid shares to silently be "lost".  The number of shares-per-second lost scales non-linearly with clock rate which is why I didn't notice it before.  Please do not report performance numbers using anything earlier than 0.999; those numbers will be skewed low.  The bug manifests itself as the hashrate (H: number) being much lower than the expected hashrate (X: number) even when the error percentage is zero -- that should never happen!

The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators.  So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
eldentyrell (OP)
Donator
Legendary
*
Offline Offline

Activity: 980
Merit: 1004


felonious vagrancy, personified


View Profile WWW
July 06, 2012, 06:58:26 AM
Last edit: July 06, 2012, 06:46:42 PM by eldentyrell
 #560

Interestingly I'm getting better results with 0.95. Setting same clocks on 0.99 gets me loads of errors.

Please try running the 0.999 software with the 0.95 bitstream (named "church").  You can do this by changing the command line to:


java -Dtriconemining.bitstream=church -jar tml-0.999.jar <board-descriptor> <mining-url>


The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators.  So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 »
  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!