madMAx43v3r / chia-gigahorse

221 stars 32 forks source link

Is it possible to plot on an ARM CPU? #130

Closed x1957 closed 1 year ago

x1957 commented 1 year ago

I don't care much about the speed of plotting, just need the compression ratio.

madMAx43v3r commented 1 year ago

I can make a binary for it yes

madMAx43v3r commented 1 year ago

Check https://github.com/madMAx43v3r/chia-gigahorse/tree/master/cpu-plotter/linux/arm64

x1957 commented 1 year ago

thanks!

x1957 commented 1 year ago

I tried using glibc version 2.30, but I'm experiencing a Segmentation fault during runtime. If I use other versions of glibc, I encounter a 'symbol not defined' problem. Could you possibly compile a version using the -static flag?

madMAx43v3r commented 1 year ago

Pretty sure that's not possible, a lot going on to compile this.

What distro you using?

madMAx43v3r commented 1 year ago

I'm compiling on Ubuntu 20.04, so it should work on anything after that.

x1957 commented 1 year ago

CentOS Linux release 7.9.2009 (AltArch)

madMAx43v3r commented 1 year ago

Ouch, that's very old ... I wont be able to compile on anything older than 20.04

x1957 commented 1 year ago

Thanks, I will think about other methods.

x1957 commented 1 year ago

@madMAx43v3r Thank you very much for your help. I have tested the ARM version, and the farm is slightly slower. We plan to install a few graphics cards. Can you provide an ARM version of the GPU plot binary? Thanks

madMAx43v3r commented 1 year ago

GPU plotter only supports Nvidia, and Nvidia typically don't support ARM unless it's a Jetson

madMAx43v3r commented 1 year ago

Apart from Jetson they only support arm64-sbsa, so it depends what kind of system you are talking about.

x1957 commented 1 year ago

Thanks, I checked, and my CPU supports SBSA.

madMAx43v3r commented 1 year ago

Can you check if it supports CUDA? Try to install nvidia drivers and run some CUDA benchmarks.

x1957 commented 1 year ago

OK, I will check this in a few days.

x1957 commented 1 year ago

Thanks, We are using x84 plotting now