Who else wants to be a Chia farmer?

It’s a distributed hash table that distributes hashes?

It’ll run down on a Pi4. Unless it’s totally I/O bound, I wonder if it could be turbo’d with some key native code libraries?

We are working on improvements like native Windows binaries

Probably then.

There is plotting (creating the chia plots) and farming (monitoring for wins). Remember this is a “proof of space” system.

  • Farming is very low resource. Once the space (the 101GB K32 plot file) is created, all it needs to do is sit there on a not-very-fast disk, be accessible via the internet for :tickets: ticket win checks (which aren’t particularly expensive)… and well, that’s it. That’s all. You could easily farm on a Raspberry Pi 4 and a bunch of USB connected 2.5" drives with plot files on 'em.

  • Plotting is somewhat resource intensive, in terms of I/O and CPU to generate the Chia plot files, but nothing like the constant hardcore GPU and specialized ASIC stuff that “proof of work” systems require. You definitely would not want to plot on a Pi 4 though. I mean you can…

A rough benchmark of a SHA3-256 hash of a 60735349 character file, both in Free Pascal, using the same hash library:

AMD Phenom™ II X4 810 Processor, 2600 Mhz. Windows 64
vs
RPI3B+. Raspberry OS 32.

PC: Ticks (ms): 2922
RPi: Ticks (ms): 10466

Yes, not quite a third the speed. Golly those little Pis are so slow!

  • The result hashes were different. Probably due to differences in string types. I’ll check further, because that’s important to another project. I don’t think it would make a difference to the execution times.

Hm. Now how to set up a test to compare that with Python…

eta: /makes a note not to allow anyone to post 61M text messages to ShadowCast.

1 Like

Try on a Pi 4! They’re quite a bit faster. Here’s a few pics of farming rigs powered by a Pi 4:

Note that IMHO the power drawn by the drives (5W - 8W per 3.5" drive, I’d think) will far outstrip the power of the engine driving it, for any chia farm outside the smallest of small…

Go for density, always go for density…

Sure, I’m not even boosting the clock on that 3B+.

In what program did you make System Resourse Usage graph?

I got that graph from Reddit; I didn’t make it. Source is here. Sorry, I should have linked the original source.

That’s a lot of Chia.

1 Like

Whooo boy you start to really want faster network connections. I’m glad some machines have finally started to ship with 2.5gb ports… that’s a very solid ~270-280 MB/sec copy in my experience. Quite the bump from 111-112 MB/sec of standard 1 gigabit ethernet. It’s not too expensive to add on, either.

Convert any boring old USB port (A or C) to a 2.5gb ethernet port for $30:

https://www.amazon.com/gp/product/B084L4JL9K

Get a basic 5-port switch capable of 2.5gb for $132:

https://www.amazon.com/gp/product/B08F9ZL9LY

These 12tb Seagate Ironwolf “NAS” drives have the following performance characteristics:

150mb/sec writes

250mb/sec reads

I’d assume that’s about par for the course on 3.5" 7200rpm spinny rust drives these days? But with the 18tb drives (WD, though I’m not sure the brand matters), I do a bit better:

235mb/sec writes

235mb/sec reads

:loudspeaker: write speeds may change as the drive fills I’ve observed as the drive fills, the write speeds decline. This above examples are with the drives more or less empty. Once it gets full, I remember writes dipping down from 200mb/sec to 130mb/sec. But reads shouldn’t change with available capacity, I don’t think?!

Such a blast from the past. I remember caring about how fast disk platters spun… 5400, 7200, 10k, even 15k… before the transition to SSD around 2012. Now I suddenly care about spinning rust again, because as a farmer you are gravitationally and inevitabally pulled to the densest possible storage!

(And then there’s striping… for that juice… every added drive in a stripe set is a 1x gain in speeds, so even a simple 2x stripe set would give you double the read/write speed! But if anything happens to those drives, bye bye data… see the raid calculator for more.)

Why this matters – side effects of proof-of-work:

Supposedly ethereum is working on a proof-of-stake approach but I’ve heard a lot of skepticism about whether they can or will get it to work.

I’ve taken most of my Chia talk to https://chiaforum.com/ – feel free to check it out if you take up this hobby. :seedling: