Bitcoiners/miners/coders I need help with running an experiment. I’m not good in Terminal.

I am going to run a test on an S19j pro. I need to have it run numerous cycles hashing SHA-256 at a difficulty of 1.

I need to track to the highest degree of accuracy:

-Joules per nonce

-number of hashes per nonce

-real operating efficiency

-Miner temperature

-ambient temperature

-total nonces

-total time between nonces

What is the best way to write a program to do this with the firmware on the miner? How can I get it to run a custom program hashing SHA-256 at D=1 (2^32 search space)

I need to build a large enough dataset. To offset the variability in the time to find a nonce. This is very very important, any help is greatly appreciated.

Reply to this note

Please Login to reply.

Discussion

Do I need to measure energy usage externally via a meter? How accurate is the built in thermometer? Do I need to measure temperature externally?

Most of those can be computed by hand, without running it.

The main problem here is that, using diff 1 blocks, communication with the stratum server will probably dominate the process. You'll see way lower stats than it should be. IIRC, those bitmain machines will give you a pretty accurate number, I would use it.

Connect to some pool (can be your own pool running e.g. ckpool), wait for it to auto-tune and record the numbers it spits out.

About the on-board sensors, I haven't looked at the new UI, but in principle, all asics can report back their temps. Its's a OK sensor built into the chip, so I don't think you can get more accurate than that. cgminer used to log temp for chips, you can try reading those....

What do you mean they can be computed by hand? You perked my interest. I need this data specifically for redefining Boltzmanns constant (Entropy constant).

I don’t want to mine any blocks or communicate with bitcoin at all. I just want to hash SHA-256 at D=1 for the data. I need to know how much joules it takes to hash 2^32 and I need to know the entropy created (heat loss by miner).