Pages:
Author

Topic: Antminer S17 pro fixed Frequency and Voltage default firmware (Read 1028 times)

newbie
Activity: 4
Merit: 2
Thank You. I was looking to underclock/undervolt improve efficiency but keep hashrate. I get a pretty good and stable rate now at 59T-62T average with 2331w from the wall, about 39w per TH (not great, not bad). Currently my "factory" settings on these used S17 Pro's are set at 19V and 550M that shows a frequency at 632 on the status page. But as you said, to maximize efficiency I should lower both volts and frequency to the lowest setting and then slowly step up the frequency until I start to lose stability.

I understand about the auto-tuning per chip rather than per board and I will try custom firmware at a later time to do any underclocking/overclocking, once I get my ROI from these units. Until then, I think I'll just let them run for a few months without any changes(they run fine for now, ain't broke don't fix) and then I'll follow your advice and get the custom firmware once I get my money back. Thanks again.
legendary
Activity: 2394
Merit: 6581
be constructive or S.T.F.U
Can you point out some good reading about the do's and don't s of setting your frequency and voltage to maximize performance and efficiency.

It depends on your goal, if you want efficiency then you are looking for "underclocking", which means you should set the voltage and frequency to the lowest settings available, and then slowly increase the frequency until the miner is no more stable, if you want to "overclock" the miner then it's a different approach, but it's more complicated than this given that the voltage on these gears is universal and not per hashboard.

However, I found that auto-tuning done by custom firmware to be a lot more effienct, not only does it control the frequency of each hashboard but it controls the frequency for every individual chip on each board, and given that different chips on the same hashboard can perform completely different, by maximizing the performance of all chips individually you get an overall much better result wether you are trying to increase the hashrate or the efficiency of the miner.
newbie
Activity: 4
Merit: 2
Can you point out some good reading about the do's and don't s of setting your frequency and voltage to maximize performance and efficiency. Great discussion on how to set your frequency and voltage (Topic: Antminer S17 pro fixed Frequency and Voltage default firmware). But I haven't been able to find anything about which settings to use and why. I don't want to fry my unit so I'd like to get some info about setting fixed frequency and voltage on the S17 pro. Just looking to find the best frequency and voltage to maximize $$$$ and lower power consumption. Overclocking info I've found is vague and not very specific to Asic's.

Thanks to philipma1957 and mikeywith for the great info I've gotten so far from a few discussions I've read: fan speeds, chip temps, etc. And now frequency and voltage. New to the mining game but learning quick because of you guys
copper member
Activity: 33
Merit: 0
I have a few S17+ 73Th units. I am able to find and display the menu, make the edits for the voltage and freq to appear. However upon save they never stick. Any ideas?

Antminer S17+
Hostname   antMiner
Model   GNU/Linux
Hardware Version   35.0.1.3
Kernel Version   Linux 4.6.0-xilinx-gff8137b-dirty #25 SMP PREEMPT Fri Nov 23 15:30:52 CST 2018
File System Version   Tue Apr 7 14:11:08 CST 2020
CGminer Version   1.0.0
jr. member
Activity: 44
Merit: 33
I don't know if it is interesting for you but I will share anyway Smiley

There is changes between APMinerTool 1.0.10 and 1.0.11 in source code, it seems they added support for overclock/underclock for T17,s17 and  s17 pro and voltage freq settings. Actually we added this on our software Smiley

Code:
if (miner.Type == "Antminer T17")
{
parameters.Add("_ant_work_mode", ((Overclock)param).Mode.ToString());
ConfigParam.set_overclock(parameters, ((Overclock)param).Level);
}
else if (miner.Type == "Antminer S17" || miner.Type == "Antminer S17 Pro")
{
parameters.Add("_ant_work_mode", ((Overclock)param).Mode.ToString());
ConfigParam.set_overclock(parameters, ((Overclock)param).Level);
}
else
{
ConfigParam.set_overclock(parameters, "1");
parameters.Add("_ant_asic_boost", "false");
parameters.Add("_ant_low_vol_freq", "true");
parameters.Add("_ant_economic_mode", "false");
}

and here is the parameters:

Code:
public Dictionary setParamS17(JObject conf)
{
try
{
paramS17["_ant_pool1url"] = conf["pools"][0]["url"].ToString().Replace("+", "%2B");
paramS17["_ant_pool1user"] = conf["pools"][0]["user"].ToString().Replace("+", "%2B");
paramS17["_ant_pool1pw"] = conf["pools"][0]["pass"].ToString();
paramS17["_ant_pool2url"] = conf["pools"][1]["url"].ToString().Replace("+", "%2B");
paramS17["_ant_pool2user"] = conf["pools"][1]["user"].ToString().Replace("+", "%2B");
paramS17["_ant_pool2pw"] = conf["pools"][1]["pass"].ToString();
paramS17["_ant_pool3url"] = conf["pools"][2]["url"].ToString().Replace("+", "%2B");
paramS17["_ant_pool3user"] = conf["pools"][2]["user"].ToString().Replace("+", "%2B");
paramS17["_ant_pool3pw"] = conf["pools"][2]["pass"].ToString();
paramS17["_ant_freq"] = conf["bitmain-freq"].ToString();
paramS17["_ant_voltage"] = conf["bitmain-voltage"].ToString();
}
catch (Exception ex)
{
General.m_log.write("setParamS17 error ,message:" + ex?.ToString());
}
return paramS17;
}
newbie
Activity: 11
Merit: 0
[...]

I have two S17 Pro that shows CGminer 1.0.0.

You said yours is CGMiner 2.0.0? How to get this?
member
Activity: 68
Merit: 40
Must be the original firmware that came with the miner

Lost forever in the internet ether. Cry
sr. member
Activity: 446
Merit: 347
Was anyone able to locate this? It would be super to know where to look.  Grin. Can the volts can go even lower than 17v?

Yes of corse Wink , just need lower frequency Tongue
legendary
Activity: 3234
Merit: 1220
Must be the original firmware that came with the miner
member
Activity: 68
Merit: 40
I haven't been able to find that release date in any of the archived S17 firmware sites. Do you know where to find this fixed frequency firmware for S17/S17Pro?

Was anyone able to locate this? It would be super to know where to look.  Grin. Can the volts can go even lower than 17v?
member
Activity: 99
Merit: 16
It's working on S17 and  S17Pro. The settings are visible. no need to unlock.

I don't have the firmware to send you , but i have lots of miners with this firmware.

Quote
Kernel Version   Linux 4.6.0-xilinx-gff8137b-dirty #25 SMP PREEMPT Fri Nov 23 15:30:52 CST 2018
File System Version   Mon Feb 18 20:02:01 CST 2019
CGminer Version   2.0.0

I haven't been able to find that release date in any of the archived S17 firmware sites. Do you know where to find this fixed frequency firmware for S17/S17Pro?
sr. member
Activity: 446
Merit: 347
Great ! if is possible, connect your miner on SSH , and extract the files :

usr/bin/cgminer
usr/bin/cgminer-api
usr/bin/bmminer

and past files here... very utile for all people, by this files, is good methode for replace this on new miner for convert this on fixed frequency !
newbie
Activity: 10
Merit: 7
It's working on S17 and  S17Pro. The settings are visible. no need to unlock.

I don't have the firmware to send you , but i have lots of miners with this firmware.

Quote
Kernel Version   Linux 4.6.0-xilinx-gff8137b-dirty #25 SMP PREEMPT Fri Nov 23 15:30:52 CST 2018
File System Version   Mon Feb 18 20:02:01 CST 2019
CGminer Version   2.0.0
legendary
Activity: 2394
Merit: 6581
be constructive or S.T.F.U
That is a good observation, do the frequency and voltage settings appear by default on the fixed-frequency firmware or you have to unlock them using the same method?

Would be nice to get a list of all 17 series mining gears that have a fixed-frequency firmware available by bitmain, also where to find them because they don't seem to be available on bitmain's website.
newbie
Activity: 10
Merit: 7
I am thinking either I am doing something wrong or that it does not work with the older firmware.

This trick is not working on normal firmwares of S17. you have to be on "Fixed-freq" firmware.

Code:
2020-05-23 16:15:52 driver-btm-soc.c:3368:init_freq_mode: This is fix-freq version
2020-05-23 16:15:52 driver-btm-soc.c:3967:bitmain_soc_init: S17
2020-05-23 16:15:52 driver-btm-soc.c:3968:bitmain_soc_init: opt_multi_version=1
2020-05-23 16:15:52 driver-btm-soc.c:3969:bitmain_soc_init: opt_bitmain_ab=1
2020-05-23 16:15:52 driver-btm-soc.c:3970:bitmain_soc_init: opt_bitmain_economic_mode=false
legendary
Activity: 2394
Merit: 6581
be constructive or S.T.F.U
Ok, it's clear now, so it has a possibility of happening in a minimum of 30 mins and a maximum of infinity, perhaps you could set the fans at max or 90% to avoid overheating the middle chain at 18.3 volts?

Also if you are using awesomeminer monitoring software, you could use the functions of the "rules" to reboot the miner when the middle chain drops, something like this.

legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
no it can stick for 30 or 60 or 90 or 120 or 150 or 180 minutes or longer it does a check every 30 minutes and eventually drops out.  and sets power to 18.3 vs 17.3 volts which over heats the center board

2020-05-19 16:57:08.c:1176:create_check_system_status_thread: create thread

Code:


2020-05-19 16:57:08 driver-btm-api.c:2719:bitmain_soc_init: Init done!
2020-05-19 16:57:08 driver-btm-api.c:216:set_miner_status: STATUS_INIT
2020-05-19 16:57:12 driver-btm-api.c:216:set_miner_status: STATUS_OKAY
2020-05-19 16:57:13 frequency.c:306:get_sale_hash_rate_GH: g_sale_hash_rate = 64000
2020-05-19 16:57:17 driver-btm-api.c:1500:dhash_chip_send_job: Version num 4.
2020-05-19 16:57:17 driver-btm-api.c:1647:dhash_chip_send_job: stime.tv_sec 1589907437, block_ntime 1589907428
2020-05-19 17:27:18 thread.c:252:calc_hashrate_avg: avg rate is 64744.74 in 30 mins
2020-05-19 17:27:18 temperature.c:529:temp_statistics_show:   pcb temp 37~54  chip temp 59~81
2020-05-19 17:57:19 thread.c:252:calc_hashrate_avg: avg rate is 64431.26 in 30 mins
2020-05-19 17:57:19 temperature.c:529:temp_statistics_show:   pcb temp 37~55  chip temp 59~82
2020-05-19 18:27:21 thread.c:252:calc_hashrate_avg: avg rate is 64427.96 in 30 mins
2020-05-19 18:27:21 temperature.c:529:temp_statistics_show:   pcb temp 36~55  chip temp 59~81
2020-05-19 18:57:22 thread.c:252:calc_hashrate_avg: avg rate is 64295.80 in 30 mins
2020-05-19 18:57:22 temperature.c:529:temp_statistics_show:   pcb temp 37~55  chip temp 59~81
2020-05-19 19:27:24 thread.c:252:calc_hashrate_avg: avg rate is 64689.36 in 30 mins
2020-05-19 19:27:24 temperature.c:529:temp_statistics_show:   pcb temp 37~55  chip temp 59~82
2020-05-19 19:57:26 thread.c:252:calc_hashrate_avg: avg rate is 64597.07 in 30 mins
2020-05-19 19:57:26 temperature.c:529:temp_statistics_show:   pcb temp 38~56  chip temp 61~83
2020-05-19 20:27:27 thread.c:252:calc_hashrate_avg: avg rate is 64500.82 in 30 mins
2020-05-19 20:27:27 temperature.c:529:temp_statistics_show:   pcb temp 38~56  chip temp 61~83
2020-05-19 20:57:29 thread.c:252:calc_hashrate_avg: avg rate is 64454.21 in 30 mins
2020-05-19 20:57:29 temperature.c:529:temp_statistics_show:   pcb temp 36~54  chip temp 58~81
2020-05-19 21:27:30 thread.c:252:calc_hashrate_avg: avg rate is 64679.60 in 30 mins
2020-05-19 21:27:30 temperature.c:529:temp_statistics_show:   pcb temp 37~56  chip temp 60~83
2020-05-19 21:57:32 thread.c:252:calc_hashrate_avg: avg rate is 64279.61 in 30 mins
2020-05-19 21:57:32 temperature.c:529:temp_statistics_show:   pcb temp 36~55  chip temp 60~82
2020-05-19 22:27:33 thread.c:252:calc_hashrate_avg: avg rate is 64366.58 in 30 mins
2020-05-19 22:27:33 temperature.c:529:temp_statistics_show:   pcb temp 36~54  chip temp 58~81
2020-05-19 22:57:35 thread.c:252:calc_hashrate_avg: avg rate is 64725.97 in 30 mins
2020-05-19 22:57:35 temperature.c:529:temp_statistics_show:   pcb temp 35~54  chip temp 58~80
2020-05-19 23:27:36 thread.c:252:calc_hashrate_avg: avg rate is 64839.44 in 30 mins
2020-05-19 23:27:36 temperature.c:529:temp_statistics_show:   pcb temp 36~54  chip temp 58~80
2020-05-19 23:57:38 thread.c:252:calc_hashrate_avg: avg rate is 64704.00 in 30 mins
2020-05-19 23:57:38 temperature.c:529:temp_statistics_show:   pcb temp 35~53  chip temp 57~79
2020-05-20 00:27:40 thread.c:252:calc_hashrate_avg: avg rate is 64641.03 in 30 mins
2020-05-20 00:27:40 temperature.c:529:temp_statistics_show:   pcb temp 35~53  chip temp 57~80
2020-05-20 00:57:41 thread.c:252:calc_hashrate_avg: avg rate is 64725.36 in 30 mins
2020-05-20 00:57:41 temperature.c:529:temp_statistics_show:   pcb temp 33~52  chip temp 56~77


I passed 16  straight 30 minute checks and I am still at 17.3 volts and 64 th

If I do awesome miner I think I need to burn a sd card and be with the machine.  Next time I go to Clifton I will consider it.
legendary
Activity: 2394
Merit: 6581
be constructive or S.T.F.U

So this means the settings do get saved, but unfortunately for your particular case it doesn't stick for longer than 30 mins, did I get this right? you should consider vnish firmware (asic.to / awesome miner), those auto-tune every chip individually which is even better than tunning the whole chain, because in the end, the board that drops constantly could be doing so because of a single bad chip, what the firmware will do is tune that chip alone at a very low frequency and leave the rest of the chips at a higher frequency, that 2% fees might be justifiable in your situation.
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
Did it stick after reboot?

Also any power readings?

the gear was doing 2 boards

the gear now does 3 boards

but  the machine does 30 minute checks endlessly eventually it loses the volts and they go back to 18.3 the board over heats and it drops to 2 boards.

you then need to inspect again set low volts and see if it sticks  in the 17.0 to 17.5 range.

too bad it reports back every 30 minutes as that seems to cause the low volt setting to drop out


Code:
2020-05-19 16:56:42 driver-btm-api.c:704:set_timeout: freq 760 final timeout=96
2020-05-19 16:56:42 power_api.c:346:set_to_working_voltage_by_steps: Set to voltage raw 1730, step by step.
2020-05-19 16:57:00 power_api.c:120:check_voltage_multi: retry time: 0
2020-05-19 16:57:01 power_api.c:56:_get_avg_voltage: an6 raw = 2.529032, factor = 1.011613
2020-05-19 16:57:01 power_api.c:60:_get_avg_voltage: chain 0, an0 = 17.352041, an2 17.230867, an6 2.500000.
2020-05-19 16:57:02 power_api.c:56:_get_avg_voltage: an6 raw = 2.522581, factor = 1.009032
2020-05-19 16:57:02 power_api.c:60:_get_avg_voltage: chain 1, an0 = 17.299233, an2 17.396420, an6 2.500000.
2020-05-19 16:57:03 power_api.c:56:_get_avg_voltage: an6 raw = 2.532258, factor = 1.012903
2020-05-19 16:57:03 power_api.c:60:_get_avg_voltage: chain 2, an0 = 17.233122, an2 17.233122, an6 2.500000.
2020-05-19 16:57:03 power_api.c:85:_get_avg_voltage: average_voltage = 17.286803
2020-05-19 16:57:03 power_api.c:106:check_voltage: target_vol = 17.30, actural_vol = 17.29, check voltage passed.
2020-05-19 16:57:05 power_api.c:56:_get_avg_voltage: an6 raw = 2.529032, factor = 1.011613
2020-05-19 16:57:05 power_api.c:60:_get_avg_voltage: chain 0, an0 = 17.327806, an2 17.206633, an6 2.500000.
2020-05-19 16:57:06 power_api.c:56:_get_avg_voltage: an6 raw = 2.522581, factor = 1.009032
2020-05-19 16:57:06 power_api.c:60:_get_avg_voltage: chain 1, an0 = 17.323530, an2 17.420716, an6 2.500000.
2020-05-19 16:57:08 power_api.c:56:_get_avg_voltage: an6 raw = 2.529032, factor = 1.011613
2020-05-19 16:57:08 power_api.c:60:_get_avg_voltage: chain 2, an0 = 17.230867, an2 17.230867, an6 2.500000.
2020-05-19 16:57:08 power_api.c:85:_get_avg_voltage: average_voltage = 17.286072
2020-05-19 16:57:08 power_api.c:106:check_voltage: target_vol = 17.30, actural_vol = 17.29, check voltage passed.
2020-05-19 16:57:08 thread.c:1176:create_check_system_status_thread: create thread
2020-05-19 16:57:08 driver-btm-api.c:2719:bitmain_soc_init: Init done!
2020-05-19 16:57:08 driver-btm-api.c:216:set_miner_status: STATUS_INIT
2020-05-19 16:57:12 driver-btm-api.c:216:set_miner_status: STATUS_OKAY
2020-05-19 16:57:13 frequency.c:306:get_sale_hash_rate_GH: g_sale_hash_rate = 64000
2020-05-19 16:57:17 driver-btm-api.c:1500:dhash_chip_send_job: Version num 4.
2020-05-19 16:57:17 driver-btm-api.c:1647:dhash_chip_send_job: stime.tv_sec 1589907437, block_ntime 1589907428


it just worked at 17.3 when I did a software reboot.

it will come back and test in 30 minutes over and over again.  It will fail eventually and they I have to do a soft ware reboot.

at this 17.3 setting it does under 48 watts a th.

if they had proper firmware and allowed voltage and freq setting this machine would work at 17.30 volts and freq 710 perfectly.

I wish I could sue them over the lack of proper firmware.  as they are robbing all of us miners big bucks $$

Once you see how  braiins + is your hatred of bitmain should raise a few levels.  This is an example of deliberate corporate theft on bitmans behalf.

And if they want to offer the better firmware and charge 1% fine but to not have it is fucked up.

Code:
2020-05-19 16:57:17 driver-btm-api.c:1500:dhash_chip_send_job: Version num 4.
2020-05-19 16:57:17 driver-btm-api.c:1647:dhash_chip_send_job: stime.tv_sec 1589907437, block_ntime 1589907428
2020-05-19 17:27:18 thread.c:252:calc_hashrate_avg: avg rate is 64744.74 in 30 mins
2020-05-19 17:27:18 temperature.c:529:temp_statistics_show:   pcb temp 37~54  chip temp 59~81
2020-05-19 17:57:19 thread.c:252:calc_hashrate_avg: avg rate is 64431.26 in 30 mins
2020-05-19 17:57:19 temperature.c:529:temp_statistics_show:   pcb temp 37~55  chip temp 59~82
2020-05-19 18:27:21 thread.c:252:calc_hashrate_avg: avg rate is 64427.96 in 30 mins
2020-05-19 18:27:21 temperature.c:529:temp_statistics_show:   pcb temp 36~55  chip temp 59~81

so it will check every 30 minutes and fail sooner or later.  it will re set the power at 18.3 then the middle board will get too warm and drop out.

I have to manually reboot via gui it will go to 17.3 volts work for 2 or 3 or 4 even 8 hours  checking every ½ hour till it fails setting volts at 18.3 overheating middle board and dropping to 2.

well better then 2 boards at 18.3 volts all the

3 boards at 17.3 volts some of the time
and 2 boards at 18.3 volts some of the time.
legendary
Activity: 3234
Merit: 1220
Did it stick after reboot?

Also any power readings?
Pages:
Jump to: