Search content
Sort by

Showing 7 of 7 results by Cy13er007
Post
Topic
Board Mining support
Re: BITMAIN Antminer S3 support and OverClocking thread
by
Cy13er007
on 09/08/2014, 04:06:15 UTC
JakeTri -- I would like to thank you for your work, I know the request wasn't mine, but I was wondering about this the same as la7eralus.  I'm interested in how you calculated those Reg. values.  I would like to break this down one more level and be able to find the nitch between 250 and 243.75.  I looked at the Reg. values and attempted to convert from HEX...but that didn't look even close to right.  So...i'm interested in how you calculated them.  If you could explain, or point me to some documentation that explains it...i would be grateful.  I have done a few Google searches...but found zip.  Any direction you could give would be appreciated.

I started with the bit layout for freq_value and from there you can calculate the chip_freq.

Bit layout for the freq_value is as follow:

http://s24.postimg.org/ftzr6e7w5/freq_value.jpg

OD can have values between 0 and 3
R can have values between 0 and 31
F can have values between 0 and 127
BS can have only 0 or 1

From page 6 of BM1382 spec (https://www.bitmaintech.com/files/download/BM1382_Datasheet_v3.0.pdf) you get:

NR = R + 1
NF = 2 * (F + 1)
NO value from OD value (see Table 4 from same spec page)

Fref = Fin / NR
Fvco = Fout * NO
Fout = Fin * NF / (NR*NO)

So Fout is "chip_freq" and can be calculated based on valued from above ("OD", "R" and "F"). BS select "high-band" or "low-band" (see page 7 from BM1382 spec for valid freq values for each band).

chip_freq = 50 * ( F + 1 ) / ( ( R + 1 ) * POWER( 2 , OD ) )

For timeout I used following formula:
timeout = 4000 / chip_freq

I suggest to calculate all 3 Fref, Fvco and Fout and make sure all 3 value are in range described on page 7 for the band specified by "BS" value.

EDIT: Here is an example:

freq_value = 1306

OD = 2
R = 1
F = 38

You can compute the rest as following:

NR = 2
NF = 78
NO = 4

Fref = 12.5
Fvco = 975
Fout = 243.75

BS = 0 and all 3 values for Fref, Fvco and Fout are in range for Low-Band.

Ummmm....thanks?.  You made my brains hurt!  Is that even....I don't know.  Apparently I've got some studying to do.  I better just read the manual from the beginning.  I'll see what I can figure out.
Post
Topic
Board Mining support
Re: BITMAIN Antminer S3 support and OverClocking thread
by
Cy13er007
on 09/08/2014, 00:08:54 UTC
I'm sorry if this was already covered...so Ill keep it brief.  I have an AntMiner S3 that's a rockstar.  I overclocked it to 250 MHz, and it was hashing right along at 505-506 GH/s, even after 2-3 hours.  Temps were great 39C-41C, absolutely no X's on my chips.  This morning, I wake up...take a quick peek before heading off to work and it was sitting at 490GH/s, and it was still sitting at 490GH/s (rock steady) when I got home from work 10 hours later.  After work I calculated the HW errors and i'm sitting at 0.21%(pretty good unless I missed the boat).  Now I know that's nothing to complain about...and I'm not trying to.  I'm just wondering if anyone else has experienced a similar situation and has any kind of explanation or trick to get it back above 500.  Thanks.
Post
Topic
Board Mining support
Re: BITMAIN Antminer S3 support and OverClocking thread
by
Cy13er007
on 08/08/2014, 23:58:38 UTC
I was able to seperate the above frequencies into smaller incremental steps, but I have no idea how to calculate the "reg. value" or the "ideal delay" for them.  Anyone with a little more know-how than myself willing to help out?  I know a few other people in this thread were looking for something like this as well, and any help at all would be appreciated.  Thanks!
Adjusting the S1 formula based on S3 ASIC spec I was able to get following register values (and timeout). Use the settings below at your own risk!

Clock_Freq      Register value    Timeout
(chip_freq)(freq_value)(timeout)
100078340
103.125100739
106.25080338
109.375110737
112.5088336
115.625120735
118.75090334
121.875130733
125098332
128.125140731
131.250A0330
134.375150730
137.50A8329
140.625160728
143.750B0328
146.875170727
1500B8327
153.125180726
156.250C0326
159.375190725
162.50C8325
165.6251A0724
168.750D0324
171.8751B0723
1750D8323
178.1251C0722
181.250E0322
184.3751D0722
187.50E8321
190.6251E0721
193.750F0321
196.8751F0720
200078220
206.25100619
212.5080219
218.75110618
225088218
231.25120617
237.5090217
243.75130616
250098216
256.25140616
262.50A0215
268.75150615
2750A8215
281.25160614
287.50B0214
293.75170614
3000B8213
306.25180613
312.50C0213
318.75190613
3250C8212
331.251A0612
337.50D0212
343.751B0612
3500D8211
356.251C0611
362.50E0211
368.751D0611
3750E8211
381.251E0610
387.50F0210
393.751F0610
4000F8210

JakeTri -- I would like to thank you for your work, I know the request wasn't mine, but I was wondering about this the same as la7eralus.  I'm interested in how you calculated those Reg. values.  I would like to break this down one more level and be able to find the nitch between 250 and 243.75.  I looked at the Reg. values and attempted to convert from HEX...but that didn't look even close to right.  So...i'm interested in how you calculated them.  If you could explain, or point me to some documentation that explains it...i would be grateful.  I have done a few Google searches...but found zip.  Any direction you could give would be appreciated.
Post
Topic
Board Mining support
Re: BITMAIN Antminer S3 support and OverClocking thread
by
Cy13er007
on 08/08/2014, 23:23:26 UTC
Hello!
I'm going to have two antminer s3s
I will never upgrade and I just want a PSU that can handle both Antminer's overclocked.

I heard my EVGA 500W 80 PLUS psu won't work as the 2 pci-e cables are daisy chained? I can't even see if they are or not.
I may return that PSU and try to get either..

EVGA 1000W

or

EVGA 1300W

The cheaper the better.

I was also thinking of getting two
CX600
or
CX750

Please help!

PSUs are less efficient and will burn out sooner if you run them at full load.  My advise is to get yourself a gold or platinum certified PSU around 1000-1200w.  Overclocked at full tilt (350 MHz) you will pull apx 400w from the wall per miner...so your looking at ~800w for the pair. The conversion from 120V AC to 12V DC isn't perfectly efficient, so some energy is lost as heat(why PSUs have fans).  If you have a decent gold/plat PSU your looking at 87-92% efficient...so if your pulling 800w from the wall your miners are only consuming 696-736w...the other 104-64w are lost as heat. The less efficient PSUs (uncertified, bronze, silver) put out more heat, as the conversion is less efficient.  You also want to have some headroom on the PSU so your not pushing it at the max 24/7( = burnout & replacement costs).  I only use gold/platinum certified Corsair PSUs (wish I got $ for the free advertising) because they are pretty much tanks.  I'm running 4 Corsair RM1000 PSUs (gold cert.) and they have a 5 year warranty if I remember correctly.  They worked great on the S1s (I had 6 S1s overclocked on 3 PSUs...2 each), and the S3s.  You can do your own research, and this isn't exact ,but 80% of the rated load is normally approaching the point where efficiency starts to decline because of the heavy load/heat buildup.  You could also run an additional single blade(half an S3) if your not overclocking any of them...overclocked that would be using 1000w and would be incredably hard on any PSU.  My advise is pay the extra for a reliable strong PSU.  You also pay a little more for fully modular, but if you have alot of gear, it keeps clutter to a minimum....may not make a difference to you if your only going to ever have 2 miners, then modular doesn't matter so much.  Just remember...additional cables in the way reduces airflow and increases temps...maybe not to the point of making an impact...the rule holds true to life (ie...computer case cable management).  Good luck and happy mining.
Post
Topic
Board Mining support
Re: BITMAIN Antminer S3 support and OverClocking thread
by
Cy13er007
on 08/08/2014, 22:56:50 UTC

You need to vent at the top and bottom... At the botton you can put in a 8" fan, at the top you can use Dundas insulated 4" conduit and an inline fan to move air from the top of your room over to an exhaust outside. It looks like you're in a garage, so there should be some venting around going outside.  Here's a couple of links:

Insulated duct: http://www.amazon.com/dp/B0049H9970/ref=pe_385040_30332190_TE_dp_1
4" Inline fan: http://www.amazon.com/dp/B00F6BL11U/ref=pe_385040_30332200_TE_item
8" inline fan: http://www.amazon.com/VenTech-DF8-Duct-Fan-400/dp/B005KMUHWY
Transition: http://www.amazon.com/dp/B00009W3GE/ref=pe_385040_30332200_TE_item

Good luck with your room man...



The S3's are all venting out of the enclosure.  The only problem is they cannot pull enough air into the room.  A simple whole in the wall will suffice to fix the problem.

Also, to the OP, your insulation will still be very beneficial to keep the radiating heat from coming through the walls.  It just would have taken some extra math to learn that 16 S3's have more CFM than your window AC can move.  Who knows....Maybe just removing the window barriers next to the AC would be best. 


I agree with this. get an AC that will push more air than your S3's combined

The overall misunderstanding is in how an AC system works.  The AC unit is not pulling the hot air from inside the room to the outside.  What it is doing is a fan is pulling ambient temp air from inside your room,  and moving that air across a coil that is cooler than the ambient air. The colder coil absorbes some of the heat energy and removes some of the moisture via the beer can affect.  The ambient temp room air that has gone through the coil gives up some of it's heat into the coil, and left some of it's moisture condensed on the coil and is returned to the room drier and 8-15 degrees cooler than it started.  That particular AC is a closed system and doesn't move any air from inside the room to the outdoors, or from the outdoors to the inside of the room.  The hot air you feel coming out of the AC on the outside is the "heat energy" collected from the inside air through the cooling coil.  On the outside, another fan blows the outside ambient temp air across the now hot coil, pulling some of the heat from the coil then recirculates the reduced temp coolant back to the inside to soak up more heat energy from the ambient inside air.  I found a good video that illustrates how it works on youtube.      http://www.youtube.com/watch?v=6OU7WHgJ_cY

Air from inside the room is blown across the cooling coil, then back into the room, this keeps the pressure of the room static or unchanged. 

Now with the miners doing what they do, how you currently have them configured, is attempting to pull cooler air from inside the room through the heat sinks, picking up heat energy, and exhausting that warmer air outside the sealed room.  With no air being let into the room (not through the AC as previously assumed) and all of those miners trying to pull air out of the room...creates a vacuum or negative pressure zone, that's why the door slams shut since it opens to the outside of the room which is now a positive pressure area relative to the lower pressure inside the room.  If that door was hinged on the other side of the jam and swung into the room, the miners would be sucking the door open when pulling air into the room.  Your concept is pretty good, however, you should try sealing the miners inside the room entirely.  Seal off all the exhaust holes, and mount the miners vertically so they are sucking cooler air up from the floor since colder air sinks, and exhausts out the top as hot hair naturally wants to rise away from cooler air.  Then your room will be back to a static pressure area, where the cooler air coming out of the AC unit sinks to the floor, gets pulled up through the miners heat sinks and the warmer air naturally wants to rise out of the miners.  In this fashion, your using the miners fans to help the already natural convection current, of cooler air down, and warmer air up.  I have my miners running in a small room, the ambient temp of the room about waist/chest high is 78-80F.  I have my miners mounted vertically, pulling in the air from down by the floor ~74F, (2-3 degrees cooler than midzone), when it comes out of the miners, its much warmer ~94F(warmer than midzone) and rises to the ceiling where it's apx. ~82F.  If you mount 3 digital thermometers in your room, you see the thermocline, or temp difference between the floor, mid, and ceiling height.  Give it a shot...your miners will never run cooler unless you put em in a freezer.
Post
Topic
Board Hardware
Re: ANTMINER S3 Discussion and Support Thread.
by
Cy13er007
on 19/07/2014, 16:18:02 UTC
I got in on the B2 batch of Antminer S3,  below is info from Bitmain website.  Below that, is the info from UPS order tracking w/ time stamps.



Info from Bitmain Website

Order Placed
DATE:
2014-07-01 20:31:24

Payment Confirmed:
Date   2014-07-01 21:15:06

Shipped:
Date   2014-07-19 10:08:26


Info from UPS Tracking:

Scheduled Delivery:
Tuesday, 07/22/2014, By End of Day -- Minnesota USA Local time which is CDT

Location   Date   Local Time   Activity
Shenzhen, China    07/19/2014    11:22 P.M.   Origin Scan
                          07/19/2014    5:02 P.M.   Pickup Scan
China                    07/19/2014    4:08 A.M.   Order Processed: Ready for UPS

Post
Topic
Board Mining support
Re: Bitmain Antminer step by step how to setup Balance Mining Tutorial
by
Cy13er007
on 27/04/2014, 19:55:54 UTC
Here's a mod to "/etc/init.d/cgminer" which will allow you to turn on/off load balance with quota using the web interface while still allowing default failover mode.

With this mod, you can still use the web interface to configure the mining pool as normal, using the default failover mode.

However, if enter in quota information for pool1 using web interface, like "65;stratum.mining.eligius.st:3334", then restart will automatically switch to load balance mode.  Note: you need to enter quota info for pool2 or pool3 if not blank.  For example:
65;stratum.mining.eligius.st:3334
35;pool2.xxx.com:3333
0;pool3.xxx.com:3333

In the above case, pool3 will only be used as failover.

To make the change, vi /etc/init.d/cgminer and search for:

        if [ "$_pool1url" != "" -a "$_pool1user" != "" -a "$_pool1pw" != "" ]; t
            POOL1="-o $_pool1url -O $_pool1user:$_pool1pw"
        fi
        if [ "$_pool2url" != "" -a "$_pool2user" != "" -a "$_pool2pw" != "" ]; t
            POOL2="-o $_pool2url -O $_pool2user:$_pool2pw"
        fi
        if [ "$_pool3url" != "" -a "$_pool3user" != "" -a "$_pool3pw" != "" ]; t
            POOL3="-o $_pool3url -O $_pool3user:$_pool3pw"
        fi

Replace it with:

# RMC switch to load balance if quota is found on pool1
pool_switch="-o"
custom_option=
test_load_balance=`expr index "$_pool1url" ";"`
if [ "$test_load_balance" != 0 ]; then
   pool_switch="-U"
   custom_option="--load-balance"
fi

        if [ "$_pool1url" != "" -a "$_pool1user" != "" -a "$_pool1pw" != "" ]; t
            POOL1="$pool_switch $_pool1url -O $_pool1user:$_pool1pw"
        fi
        if [ "$_pool2url" != "" -a "$_pool2user" != "" -a "$_pool2pw" != "" ]; t
            POOL2="$pool_switch $_pool2url -O $_pool2user:$_pool2pw"
        fi
        if [ "$_pool3url" != "" -a "$_pool3user" != "" -a "$_pool3pw" != "" ]; t
            POOL3="$pool_switch $_pool3url -O $_pool3user:$_pool3pw"
        fi

Finally, search for the line that starts with:
PARAMS="$AOPTIONS $POOL1 $POOL2 $POOL3 $_pb --api-listen

and add "$custom_option" into the line like below:

PARAMS="$AOPTIONS $POOL1 $POOL2 $POOL3 $_pb $custom_option --api-listen


Enjoy...


I'm having a hard time getting this to work.  I followed giletto's instructions, and did end up getting balance mining to work between multiple mining pools but I would like to have the increased control that adding quotas provides.  I have tried leaving the "balance" mod in place while adding n4spd mod...didn't work.  I also removed the "balance" mod and then tried this "quota" mod...again no luck.  Any idea, or does someone have a link to the entire instructions starting from stock?  Thanks in advance for any help provided.