Pages:
Author

Topic: AntMiner S1 Underclocking, a thorough discussion - page 3. (Read 8377 times)

member
Activity: 119
Merit: 10
I honestly think that the way you have detailed your results and posted them will entice others to mod their gear and
Keep them S1's running.

Great job sidehack, truly appreciated

Trends
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
Others might like the info. I like to be thorough, after all. Really I should have done this a couple months ago, but I didn't worry a lot about messing with S1 because I've only had two since about June and, here at the shop, power is cheap enough that they're still slightly profitable at stock settings (about a nickel a day, but still).

Maybe in the next few weeks I'll do the same for a Tube. Novak's already posted instructions on hacking a USB BE into a USB serial adapter for them, after all.
member
Activity: 119
Merit: 10
No I'm fine with the info sidehack.
I've done several resistor change outs on the S1's I just thought you had done something a little different.
thanks

Trends
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
That is correct. The divider pair on mine was 8200/9760. As an example, on mine I used a 5K6 resistor across the 8200 which (for ease of installation and because I had a through-hole resistor) I tied between the junction of the two adjacent resistors and the high side of a nearby output cap. That requires much less precision than attaching leads directly to the pads of a 0603 SMD component. I measured between 0.815 and 0.825 in a quick check of VRMs on the board after modification, variance mostly due to the 5% tolerance of the 5K6 resistor.
On one VRM I did replace the 8200 with a 3K3 5% and got the same results. I can post pictures of some things later on if desired. It probably wouldn't hurt to put up information about changing clock speeds as well, as that requires SSH and config file editing. I'll also include info on calculating the hex values for various frequency setpoints and the expected hashrate calculations.
member
Activity: 119
Merit: 10

So just to be clear
 "Parallel R: The resistor value required in parallel with the VRM feedback resistor, to achieve Vset" is the value of the resistor (calculated?) to add to R3, R66, R38 or R52 if R3, R66, R38, R52 are left in place.

Correct
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
I'm not entirely sure. The only problem I had with timeout settings was at the 200MHz neighborhood (200, 196, 193). At timeout 70, the draw current would bounce between about 0.8A and 0.2A (idle) as chips would start to hash, and then all drop out. I'm assuming something in the communication between controller and ASICs was hosing it; once I set timeout to 80 everything worked wonderfully.

The only thing I really saw affecting the HW rate was a Vcore too low at a particular frequency. It makes sense, as in CMOS ICs all the switching is done by charge displacements; higher voltages are required to push a given charge through a given impedance faster, and higher gate charges are required to meet source-drain impedance thresholds for switching. Setting the voltages too low will keep the weakest transistors in the IC from switching effectively, introducing bit errors in the pipeline and returning bad data.

Someone with more software knowledge of Bitmain hardware can probably tell you more about what the timeout setting actually does. I've focused so far on the hardware.
member
Activity: 119
Merit: 10
sidehack

how would the T/O settings affect the HW error rate?
legendary
Activity: 2128
Merit: 1005
ASIC Wannabe
very nice overview! Im picking up some s1 units this weekend to undervolt a little bit and now i think i know where to aim for if i want 1w/GH Smiley
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
Having recently acquired some AntMiner S1 that another miner in my acquaintance was disposing of for the cost of shipping, I decided to see just how efficiently these little guys could run. With that in mind I set up a test to measure the board-level DC power draw of the mining hardware at various parameter setpoints of core voltage and clock speed.

I connected a controller to a single hashing board with three VRMs disabled. The fourth VRM was wired for precise manual output voltage adjustments in the range of 1.20-0.60V. The controller and fan were powered separately, so only the power required by the single enabled VRM and its bank of 8 ASICs was measured (the idle current from the controller-powering 3.3V buck is  considered negligible).

I used a 12V server PSU as the power source, delivered through a 0.1ohm 1% shunt resistor across which I measured the voltage drop, for input current calculations. I used an oscilloscope for the DC power input (measured at the board's connector, below the shunt) and the VRM output voltage (measured at the output capacitors). It was observed that the fan would pull 12V 1A at maximum speed, and the controller (managing 64 ASICs at 250MHz) consumed 0.34A at 3.3VDC; the maximum additional power draw past board draw, then, is expected to be around 13W. At lower board power consumption, the fan requires much less power; assuming half power for the fan, additional power draw would be around 7W.

I included stable voltage ranges for every 25MHz from 400MHz down to 150MHz, and included the stock setpoint ([email protected]) and the AntMiner S2 stock setpoint ([email protected]) for references. The durations of tests varied, most being between 8 and 20 minutes before sample data was recorded. I tried to run up at least a DiffA of 3000, but sometimes I got distracted and ran more; other times, I got impatient (especially during slow-clock tests) and cut it off at less (typically the 20-minute point). For the first batch of samples (400MHz) I reset the voltage after each dataset was recorded, but did not reboot the device. The calculated error data for each sample at 400MHz is based off the DiffA and HW deltas from the previous sample. For all other samples, the machine was rebooted after setting Vcore.

All measurements were taken on an AntMiner S1 with a build date of 2013/11/18, with a VRM feedback resistor pair R3/R12 of 8200 ohms and 9760 ohms, respectively. All resistor modification calculations are based on this pairing.

GH Expected: Expected gigahashrate for a bank of 8 chips at the setpoint frequency
GH Total: The total expected hashrate for a 64-chip S1 at the setpoint frequency
GH Measured: Reported average hashrate during the measurement period
DiffA: Reported DiffA by the end of the measurement period
HW: Reported HW (hardware errors) by the end of the measurement period
Volts in: DC line voltage into the hashboard, measured at the board terminals
Current in: DC line current into the hashboard, measured across the input shunt (see above)
Power in: DC line power into the hashboard ( Vin*Iin )
Vcore: Measured average VRM output voltage during the sample time
W/GH: The power per measured gigahash-per-second ( Pin/GHM )
HWE Percent: Percentage of hardware errors for the sample period ( HW/[DiffA + HW] )
W/GHE: Watts per expected gigahash-per-second ( Pin/GHE )
Vset: The VRM desired-setpoint voltage, to 0.01V
Replacement R: The resistor value required to replace the VRM feedback resistor (R3, R66, R38, R52), to achieve Vset
Parallel R: The resistor value required in parallel with the VRM feedback resistor, to achieve Vset

Setpoint MHzGH ExpectedGH TotalGH MeasuredDiffAHWVolts inCurrent inPower inVcoreW/GHHWE PercentW/GH ExpectedVsetReplacement RParallel R
40025.6204.825.44351011.603.9145.361.1251.790.00%1.771.130
25.56783111.613.8144.231.1121.730.04%1.731.1108052446124
25.695992111.633.7143.151.1001.690.71%1.691.1007889208238
25.31292720811.643.6041.901.0831.665.32%1.641.080756497523
24.91663958111.653.5140.891.0681.649.13%1.601.070740175990
37524.0192.023.83014011.653.4940.661.1101.710.00%1.691.1108052446124
24.33711011.663.4139.761.0881.640.00%1.661.0907727133856
24.03089011.673.3639.211.0791.630.00%1.631.080756497523
24.23327011.673.2938.391.0691.590.00%1.601.070740175990
26.63199011.683.2337.731.0601.420.00%1.571.060723961745
24.133272911.683.1837.141.0491.540.86%1.551.050707651622
23.530716511.693.1236.471.0401.552.07%1.521.040691344059
22.9371121211.703.0435.571.0291.555.40%1.481.030675138194
35022.4179.224.43839011.712.9734.781.0491.430.00%1.551.050707651622
22.93327011.712.9234.191.0401.490.00%1.531.040691344059
22.43199011.722.8533.401.0291.490.00%1.491.030675138194
22.13327011.732.8032.841.0191.490.00%1.471.020658833512
23.85119011.732.7532.261.0091.360.00%1.441.010642529689
22.43071611.732.6931.550.9991.410.19%1.411.000626326508
22.030716911.742.6430.990.9901.412.20%1.380.990610023819
21.5406722911.752.5830.320.9791.415.33%1.350.980593721517
22.04735011.663.4139.761.1201.800.00%1.781.1208215
32520.8166.420.63583011.752.5630.081.0101.460.00%1.451.010642529689
21.23071011.762.5229.641.0001.400.00%1.421.000626326508
20.83071011.762.4628.930.9891.390.00%1.390.990610023819
21.03071011.772.4228.480.9801.360.00%1.370.980593721517
21.43071011.772.3627.780.9681.300.00%1.340.970577519524
21.23455011.782.3227.330.9601.290.00%1.310.960561217781
20.83071211.782.2726.740.9501.290.07%1.290.950544916245
21.548634511.792.2226.170.9391.220.92%1.260.940528714880
19.8435117211.792.1725.580.9281.293.80%1.230.930512413660
30019.2153.619.015743011.802.1124.900.9511.310.00%1.300.950544916245
18.73199011.812.0524.210.9381.290.00%1.260.940528714880
19.13071011.812.0223.860.9311.250.00%1.240.930512413660
19.02687011.821.9723.290.9201.230.00%1.210.920496112562
19.22431011.821.9222.690.9091.180.00%1.180.910479911569
18.72687211.831.8922.360.9011.200.07%1.160.900463610666
18.726873211.831.8521.890.8901.171.18%1.140.89044739843
18.2255912111.841.8121.430.8811.184.51%1.120.88043119088
27517.6140.817.43199011.861.6719.810.8801.140.00%1.130.88043119088
17.74351011.861.6319.330.8701.090.00%1.100.87041488394
17.84479011.861.5918.860.8601.060.00%1.070.86039857754
18.434552111.871.5518.400.8501.000.60%1.050.85038237161
17.0358311011.871.5218.040.8411.062.98%1.030.84036606611
25016.0128.016.23583011.891.3916.530.8401.020.00%1.030.84036606611
16.42559011.891.3616.170.8300.990.00%1.010.83034976098
16.13327011.891.3315.810.8200.980.00%0.990.82033355620
16.03071411.901.2915.350.8100.960.13%0.960.81031725173
15.233274611.901.2614.990.8020.991.36%0.940.80030094754
15.2383924011.901.2314.640.7910.965.88%0.910.79028474360
22514.4115.214.33199011.911.1213.340.7890.930.00%0.930.79028474360
15.02815011.911.0912.980.7800.870.00%0.900.78026843990
15.33071011.911.0612.620.7700.830.00%0.880.77025213641
14.331995611.921.0312.280.7590.861.72%0.850.76023593311
15.1307112111.921.0112.040.7500.803.79%0.840.75021962999
20012.8102.412.63199011.930.9511.330.7680.900.00%0.890.77025213641
12.74351011.930.9311.090.7590.870.00%0.870.76023593311
13.13967011.940.9110.870.7490.830.00%0.850.75021962999
12.54479011.940.8810.510.7390.840.00%0.820.74020332704
14.03583011.940.8610.270.7290.730.00%0.800.73018712424
12.73583811.940.8510.150.7210.800.22%0.790.72017082157
19612.5100.012.83199011.930.9411.210.7700.880.00%0.900.77025213641
13.13199211.950.829.800.7200.750.06%0.780.72017082157
17511.289.611.63071011.960.748.850.7190.760.00%0.790.72017082157
11.22559011.970.728.620.7090.770.00%0.770.71015451904
12.13327111.970.708.380.6970.690.03%0.750.70013831663
9.73199211.970.627.420.6910.770.06%0.660.69012201433
1509.676.89.63199111.980.607.190.6900.750.03%0.750.69012201433

Noteworthy data points:
- 350MHz @ 1.12Vcore, stock S1 setpoint
- 196MHz @ 0.77Vcore, stock S2 setpoint
- 225MHz @ 0.77Vcore, maximum S2 stability point at stock Vcore
- 200MHz @ 0.72Vcore, minimum stability point at 200MHz - some ASICs were unstable below this voltage, causing resets
- 175MHz @ 0.69Vcore, hashrate reports low due to one chip dropping out entirely; remaining 7 hashed well (average 1.39GH, expected 1.20)
- 150MHz @ 0.69Vcore, minimum stable at 150MHz. At 0.68Vcore all chips dropped out and reported 'X' in ASIC status

I currently have a full machine modified for operation at [email protected] (using a 5k6 5% parallel resistor), for which the expected output is 128.0GH at a total power draw (including half-power 6W fan and 1W controller) of about 133W. I measured the power draw at 11.34V 11.52A (using a 1% 0.05ohm shunt; the PSU interface board's 5% shunt measurement reported 11.43A), for 130.6W DC power consumption. The current stats, at 0h 31m 53s operation, are 128.61GH, 59HW, 56191DiffA
This equates to a DC efficiency of 1.02W/GH with a hardware error rate of 0.1%
The fan is reporting 1020RPM, temps 41/43C in a ~65F ambient environment

A note on the maximum S2 stability point at stock Vcore: the S2 uses the same VRM hardware ( 53355DQP monolithic synchronous buck driver ) as in the S1 (and also ASICMiner Cubes and Tubes). Because the S2 is clocked and volt-set to a lower operating point, each ASIC draws far less current than the ASICs in a stock-set S1. The S1 allocates 8 ASICs per VRM; the S2 allocates 16. Therefore, at any particular setpoint on the S1, the power draw per VRM for the same setpoint on the S2 is doubled. If an S1 is stable at 0.77Vcore 225MHz, it is logical to think the S2 would be also. However, the power draw from the S2's VRMs would be twice the 12.62W seen by the S1, at 25.24W. Assuming a 90% efficient regulator (which efficiency typically drops as current increases, due to parasitic resistances in the inductor and drive FETs), that's an estimated output power of 22.72W; as we're outputting 0.77V the current draw is then 29.5A. The 53355DQP is rated for 30A, which means that you're stressing it to 98% capacity continuously. With a best-case efficiency of 95% (and a few other assumptions, to make the comparison easier), the output power is 23.98W, with an output current of 31.1A, a good 3% past rating. With this in mind, it is probably a terrible idea to try and clock an S2 up to 225MHz even if ASIC cooling was adequate.
Pages:
Jump to: