Pages:
Author

Topic: Hacking The KNC Firmware: Overclocking - page 20. (Read 144343 times)

legendary
Activity: 861
Merit: 1000
“Create Your Decentralized Life”
April 15, 2014, 11:10:52 PM
today we received 2 boards for add to neptune, and transform it to a jupiter with 4 boards, and we have a problem with one of the boards, it seems like a 1 of 4 chips has disabled or broken, we tried use the enablecore.bin from knc website, re-install 1.0 firmware but nothing not work, any idea? this is we see at advanced screen, actually running at 650 Gh/s but this board still with problem



A lot of thanks!

Have a nice day Smiley

PD: sorry if i bad written something, i'm spanish Wink

Good am sonic's brother,

Thanks mate elasticband that has taught me to relive my die I can put the jupiter has run at 100 x 100, but I have a problem.

When given to apply the changes in advance if you remove the OC window.

When I restart to restart the OC already been disabled dies :-(

I think I'll have to RMA process

Sorry my English google transalator
sr. member
Activity: 462
Merit: 250
April 15, 2014, 03:04:45 PM
Reduce power 100W or more on your Jupiters!

Hi all - I've kept a close eye on this thread and have benefited from the hard work that has gone in to making these machines ever faster Smiley

I've read a lot about people increasing voltages to reduce errors and wake dies.. But how many of you have gone the other way and lowered voltages as much as possible while keeping errors low?

I have and I've reduced power by over 100W each of my November Jupiters using the 1.0 firmware. Here's a quick guide on what I did:



After reading this again, it seems KNC shipped out the Nov Jupiters highly overvolted?    My Oct Jupiters were already near yours in the -.08 -.09 range

What are your SPI volt and Freq?   mine are 2.25 and I use either 250775 or 267130 hertz with a 241 clock


I am about to play around and see what I can get at lower watts since one miner is about 880w at the wall and 700Gh.. I wonder if I could get 650Gh at 700watts

that's what I will shoot for
sr. member
Activity: 462
Merit: 250
April 15, 2014, 02:52:54 PM
Did you buy two modules from KNC recently to make a Nov Saturn into a Jupiter?


I think a lot of people would be interested if they are still shipping out dead dies (like usual)

(looking at your pic it seems you are running 4VRMs so I guess you bought them second hand for Oct miners but just want to be sure)

also it seems your voltage input differ a lot
newbie
Activity: 11
Merit: 0
April 15, 2014, 02:27:42 PM
today we received 2 boards for add to neptune, and transform it to a jupiter with 4 boards, and we have a problem with one of the boards, it seems like a 1 of 4 chips has disabled or broken, we tried use the enablecore.bin from knc website, re-install 1.0 firmware but nothing not work, any idea? this is we see at advanced screen, actually running at 650 Gh/s but this board still with problem

http://fotos.subefotos.com/bd6ac29f26b507d6a5b8fccd69de3b1eo.jpg

A lot of thanks!

Have a nice day Smiley

PD: sorry if i bad written something, i'm spanish Wink
legendary
Activity: 861
Merit: 1000
“Create Your Decentralized Life”
April 14, 2014, 06:34:24 AM
How many amps would be the maximum for a Jupiter 4 VRMs?

is currently 58A & 63A for 703Gh / s, could squeeze a bit more serious or as the limit for the 4 VRMs?

regards
legendary
Activity: 861
Merit: 1000
“Create Your Decentralized Life”
April 07, 2014, 08:55:20 PM
sr. member
Activity: 386
Merit: 250
April 07, 2014, 03:51:08 PM
And using bfgminer how i can oc? With cgminer no problem but using bfgminer i don't know how oc the saturn

A lot of thanks! Have a nice day! Smiley

EDIT: we are trying this https://bitcointalksearch.org/topic/m.5678594 but we can't do it work, we have 1.00 firmware, is only for old version?

I use the same shell script I used with 99.1 test FW.

It is often a modified version of the default /etc/init.d/cgminer.sh

To use a COPY of that file with bfgminer just replace every instance of cgminer with bfgminer instead.
In the top of the file it also refers to
DAEMON= (the full path to the bfgminer executable)
If you type 'which bfgminer' it will tell you what to put in there.
The answer is '/usr/bin/bfgminer' , but it is helpful to know how to find things.
EXCEPT for the cgminer.conf part at the end.
both bfgminer and cgminer can use same .conf file so it can stay the same.

Hope this helps.

YMMV
Smiley


BFGminer someone could put your file to OC, CGminer modifying the file fails.

you can add a screen capture of your advance?

Greetings and thanks

The bondus method works well!
I do not have my copy of that method handy though.

I do not still use this as I can change the clocks on the fly under program control.
(for those interested, use a subset of commands from the shell script)

Below is a working shell script I can use to start one of my Saturn OC'd

Please note!
At MINIMUM you will need to change the DAEMON line as described above
(DAEMON=/usr/bin/bfgminer)
I use bfgminer 3.10.0 which I compiled from source.
(read my posts in this thread if interested)
The customizations depend on KNOWING what slot each ASIC is plugged in.
Subtract 1 from what the Advanced page tells you.
IE: ASIC 1 on the Advanced page is
if [ $p -eq 0 ]
in the code.

Code:
#!/bin/sh

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=./bfgminer
NAME=bfgminer
DESC="BFGminer daemon"

set -e

test -x "$DAEMON" || exit 0

do_start() {
# Stop SPI poller
spi_ena=0
i2cset -y 2 0x71 2 $spi_ena

good_ports=""
bad_ports=""

# CLear faults in megadlynx's
for b in 3 4 5 6 7 8 ; do
for d in 0 1 2 3 4 5 6 7 ; do
i2cset -y $b 0x1$d 3 >/dev/null 2>&1 || true
done
done
for p in 0 1 2 3 4 5 ; do
i2cset -y 2 0x71 1 $((p+1))
good_flag=0
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,3,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,2,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,1,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi
ar="$(spi-test -s 50000 -OHC -D /dev/spidev1.0 0x80,0,0,0,0,0,0,0 | tail -c 13)"
                if [ "x$ar" = "x00 30 A0 01" ] ; then
good_flag=1
fi

if [ "$good_flag" = "1" ] ; then
good_ports=$good_ports" $p"
else
bad_ports=$bad_ports" $p"
fi
done
if [ -n "$good_ports" ] ; then
for p in $good_ports ; do
# Re-enable PLL
i2cset -y 2 0x71 1 $((p+1))
for c in 0 1 2 3 ; do
cmd=$(printf "0x84,0x%02X,0,0" $c)
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
##############################################################################
if [ $p -eq 0 ]
then
if [ $c -eq 0 ]
then
cmd=$(printf "0x86,0x%02X,0x01,0xF1" $c)
fi
if [ $c -eq 1 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x01,0xF1" $c)  
fi                                                
if [ $c -eq 2 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x21" $c)  
fi                                                
if [ $c -eq 3 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x31" $c)  
fi                                                
fi
if [ $p -eq 1 ]
then
if [ $c -eq 0 ]
then
cmd=$(printf "0x86,0x%02X,0x02,0x01" $c)
fi
if [ $c -eq 1 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x41" $c)          
fi                                                  
if [ $c -eq 2 ]                                    
then                                              
cmd=$(printf "0x86,0x%02X,0x02,0x21" $c)          
fi                                                  
if [ $c -eq 3 ]
then
cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
fi
fi
################################################
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
cmd=$(printf "0x85,0x%02X,0,0" $c)
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
done

# re-enable all cores
i=0
while [[ $i -lt 192 ]] ; do
i2cset -y 2 0x2$p $i 1
i=$((i+1))
done
spi_ena=$(( spi_ena | (1 << $p) ))
done
fi
if [ -n "$bad_ports" ] ; then
for p in $bad_ports ; do
# Disable PLL
i2cset -y 2 0x71 1 $((p+1))
for c in 0 1 2 3 ; do
cmd=$(printf "0x84,0x%02X,0,0" $c)
spi-test -s 50000 -OHC -D /dev/spidev1.0 $cmd >/dev/null
done
# disable all cores
i=0
while [[ $i -lt 192 ]] ; do
i2cset -y 2 0x2$p $i 0
i=$((i+1))
done
spi_ena=$(( spi_ena & ~(1 << $p) ))
done
fi

# Disable direct SPI
i2cset -y 2 0x71 1 0

# Enable SPI poller
i2cset -y 2 0x71 2 $spi_ena


/etc/init.d/cgminer.sh stop

        start-stop-daemon -b -S -x screen -- -S bfgminer -t bfgminer -m -d "$DAEMON" -S knc:auto -c /config/cgminer.conf
}

do_stop() {
        killall -9 bfgminer || true
}
case "$1" in
  start)
        echo -n "Starting $DESC: "
do_start
        echo "$NAME."
        ;;
  stop)
        echo -n "Stopping $DESC: "
do_stop
        echo "$NAME."
        ;;
  restart|force-reload)
        echo -n "Restarting $DESC: "
        do_stop
        do_start
        echo "$NAME."
        ;;
  *)
        N=/etc/init.d/$NAME
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
        exit 1
        ;;
esac

exit 0

The custom portion is between the #################### lines
I also added the line
/etc/init.d/cgminer.sh stop
(it's near the end, because monitordcdc sometimes starts cgminer while bfgminer is starting)
It's ugly but it works.

Standard parachute rigger line of sight warranty applies.

YMMV
Smiley
legendary
Activity: 861
Merit: 1000
“Create Your Decentralized Life”
April 07, 2014, 01:25:48 PM
And using bfgminer how i can oc? With cgminer no problem but using bfgminer i don't know how oc the saturn

A lot of thanks! Have a nice day! Smiley

EDIT: we are trying this https://bitcointalksearch.org/topic/m.5678594 but we can't do it work, we have 1.00 firmware, is only for old version?

I use the same shell script I used with 99.1 test FW.

It is often a modified version of the default /etc/init.d/cgminer.sh

To use a COPY of that file with bfgminer just replace every instance of cgminer with bfgminer instead.
In the top of the file it also refers to
DAEMON= (the full path to the bfgminer executable)
If you type 'which bfgminer' it will tell you what to put in there.
The answer is '/usr/bin/bfgminer' , but it is helpful to know how to find things.
EXCEPT for the cgminer.conf part at the end.
both bfgminer and cgminer can use same .conf file so it can stay the same.

Hope this helps.

YMMV
Smiley


BFGminer someone could put your file to OC, CGminer modifying the file fails.

you can add a screen capture of your advance?

Greetings and thanks
sr. member
Activity: 386
Merit: 250
April 06, 2014, 11:12:11 PM
And using bfgminer how i can oc? With cgminer no problem but using bfgminer i don't know how oc the saturn

A lot of thanks! Have a nice day! Smiley

EDIT: we are trying this https://bitcointalksearch.org/topic/m.5678594 but we can't do it work, we have 1.00 firmware, is only for old version?

I use the same shell script I used with 99.1 test FW.

It is often a modified version of the default /etc/init.d/cgminer.sh

To use a COPY of that file with bfgminer just replace every instance of cgminer with bfgminer instead.
In the top of the file it also refers to
DAEMON= (the full path to the bfgminer executable)
If you type 'which bfgminer' it will tell you what to put in there.
The answer is '/usr/bin/bfgminer' , but it is helpful to know how to find things.
EXCEPT for the cgminer.conf part at the end.
both bfgminer and cgminer can use same .conf file so it can stay the same.

Hope this helps.

YMMV
Smiley
member
Activity: 67
Merit: 10
April 06, 2014, 05:45:04 PM
Bi confused reading the bellow, if i wanted to try and push higher than 291 what would i input? 2A1?


Yep.. 2a1, 2b1, and so on.. Careful as you approach 1100mhz, I saw a post that it locked up their miner and they had to reflash.

Edit: I'm at 1150 and rock solid so YMMV Smiley you really want to optimize your power consumption before pushing this far!
legendary
Activity: 1036
Merit: 1000
Nighty Night Don't Let The Trolls Bite Nom Nom Nom
April 06, 2014, 03:00:19 AM
Bi confused reading the bellow, if i wanted to try and push higher than 291 what would i input? 2A1?


My November Jupiter is set at 291, as per the following line in cgminer.sh:

Code:
cmd=$(printf "0x86,0x%02X,0x02,0x91" $c)

Is there a list or chart of values somewhere (ie 0x02,0x91 = 291)? I have good temps (50-60C). How can I push it a bit higher? Thanks.

My list is below
291 would be 1050Mhz

2A comes after 29


Code:
SPEED     setting 
700.0 1B1      372
712.5      382
725.0 1C1      392
737.5      3A2
750.0 1D1      3B2
762.5      3C2
775.0 1E1      3D2
787.5      3E2
800.0 1F1      3F2
812.5              402
825.0 201      412
837.5      422
850.0 211      432
862.5      442
875.0 221      452
887.5      462
900.0 231      472
912.5      482
925.0 241      492
937.5      4A2
950.0 251      4B2
962.5      4C2
975.0 261      4D2
987.5                4E2
1000 271      4F2

the formula is,
 take the first 2 digits,
 convert to decimal (for decimal result),
 multiply by 25Mhz,
 add 25Mhz


EX:
29 hex is 41 decimal

25x41=1025
1025+25 = 1050Mhz clock

YMMV
Smiley
newbie
Activity: 11
Merit: 0
April 03, 2014, 08:34:28 PM
And using bfgminer how i can oc? With cgminer no problem but using bfgminer i don't know how oc the saturn

A lot of thanks! Have a nice day! Smiley

EDIT: we are trying this https://bitcointalksearch.org/topic/m.5678594 but we can't do it work, we have 1.00 firmware, is only for old version?
sr. member
Activity: 386
Merit: 250
April 03, 2014, 12:57:51 PM
to overclocking knc saturn is the same way to overclock knc jupiter?

Yes, for 'all die the same speed' exactly the same.
(change one line in OLD cgminer.sh)

For 'each die optimum speed' requires only 1/2 the editing and testing on Saturn compared to Hoopiter.
(add many lines to copy of OLD cgminer.sh)

OLD = pre 1.0 firmware

Same process less die to tune if you choose to go that route.

YMMV
Smiley

EDIT
I forgot to mention the newest improvement to the process.

https://bitcointalksearch.org/topic/m.5678594

It is easier to maintain a short file of clocks than a long file of program/clock.

Thx again bondus!
newbie
Activity: 11
Merit: 0
April 03, 2014, 12:30:23 PM
to overclocking knc saturn is the same way to overclock knc jupiter?
legendary
Activity: 861
Merit: 1000
“Create Your Decentralized Life”
April 01, 2014, 06:52:13 PM
sr. member
Activity: 386
Merit: 250
April 01, 2014, 02:38:57 PM
Hola, cuantos voltios le podria poner como maximo a cada die en la ventana advance siempre que la temperatura no sea muy alta?

Gracias por todo y perdona las molestias.

;-)

Yes you can try different voltage.
Make small changes and watch how your miner operates.

You must choose how much to PUSH your miner.  (temp and power)
I do not PUSH mine as hard as some miners do.
I try to keep below 60C but it is because of HEAT in the house.
Others have ASIC running happy @ 70C.

The choice is yours.

Many, not all, of my voltages are changed.

I have one die that likes LOWER voltage but many die improve with more.
Each ASIC is different in my experience.

I adjust until HW% on each die is as low as possible.
3% HW error(per die(48core)) is about the same loss as lowering clock 25MHz.

If I change clock/volt and HW% on that die CHANGES over 3% I know it is better to slow down.

I made the .awk prog to help with this process by showing HW% for each die.
Code:
die   Mh/s      HW%      min   max     Volt   Amp   Watt      W/Gh
0_0  849.94    0.160  ( 0.04 / 0.25 )  0.80  52.06  41.70     1.022
0_1  849.83    0.159  ( 0.07 / 0.24 )  0.79  51.06  40.24     0.986
0_2  848.60    1.177  ( 0.91 / 1.39 )  0.79  56.06  44.40     1.090
0_3  783.64    0.135  ( 0.00 / 0.24 )  0.75  47.81  36.05     0.958
55.0 C
1_0  874.23    0.001  ( 0.00 / 0.01 )  0.80  53.38  42.86     1.021
1_1  872.57    0.004  ( 0.00 / 0.02 )  0.81  54.06  43.68     1.043
1_2  895.86    1.384  ( 0.97 / 1.66 )  0.82  57.69  47.48     1.104
1_3  897.31    0.558  ( 0.23 / 0.98 )  0.80  57.69  45.86     1.065
57.0 C
YMMV
Smiley

EDIT the .awk prog is not super accurate.
If things are BAD it will show quickly.
If things are OK it might take 15-60 minutes to look correct.
This is because accuracy improves as more core get share accepted when it is 0 accepted early in a run calculations are less accurate.
legendary
Activity: 861
Merit: 1000
“Create Your Decentralized Life”
April 01, 2014, 01:14:41 PM

few volts could be used as maximum per die having temperatures of 50 and 57 º C

sorry for my English

I still do not understand.

I notice whole paragraphs from you in Spanish in your sig link.

One time only, I invite you to ask or state in Spanish.
It might help if you ask or say in more than one way.
I do understand many of the logic differences between English and Spanish and will try to reply accordingly if possible.

I read and/or speak very little Spanish but google and I are willing to try Smiley

Via google translate:
Yo todavía no entiendo.

Me he dado cuenta de que párrafos enteros en español en su enlace sig.

Sólo una vez, te invito a que pregunte o estatal en español.
Podría ayudar si le preguntas o decir en más de una forma.
Entiendo muchas de las diferencias lógicas entre Inglés y Español, y trataré de responder en consecuencia si es possible.

He leído y / o hablo muy poco español, pero Google y yo estamos dispuestos a probar Smiley

Su experiencia puede ser diferente
SEPSD?

Smiley


Hola, cuantos voltios le podria poner como maximo a cada die en la ventana advance siempre que la temperatura no sea muy alta?

Gracias por todo y perdona las molestias.

;-)
sr. member
Activity: 386
Merit: 250
April 01, 2014, 03:02:24 AM

few volts could be used as maximum per die having temperatures of 50 and 57 º C

sorry for my English

I still do not understand.

I notice whole paragraphs from you in Spanish in your sig link.

One time only, I invite you to ask or state in Spanish.
It might help if you ask or say in more than one way.
I do understand many of the logic differences between English and Spanish and will try to reply accordingly if possible.

I read and/or speak very little Spanish but google and I are willing to try Smiley

Via google translate:
Yo todavía no entiendo.

Me he dado cuenta de que párrafos enteros en español en su enlace sig.

Sólo una vez, te invito a que pregunte o estatal en español.
Podría ayudar si le preguntas o decir en más de una forma.
Entiendo muchas de las diferencias lógicas entre Inglés y Español, y trataré de responder en consecuencia si es possible.

He leído y / o hablo muy poco español, pero Google y yo estamos dispuestos a probar Smiley

Su experiencia puede ser diferente
SEPSD?

Smiley
legendary
Activity: 861
Merit: 1000
“Create Your Decentralized Life”
March 31, 2014, 09:25:06 PM
Might put your window capture advance? volts to see die?

I think I do not understand the question.
(it does not prevent a reply though)

If you are asking about volts per die,
this information can be found on your miner Advanced web interface
or
using bfgminer press 'm' and use up/down arrow keys will work also.

The only advantage of the .awk program I posted is HW%  per die (48 core).
It is not very 'accurate' but is useful to find which die has what %HW error for tuning.

It could also be a shortcut if you want to play with looking at core information.
If you plunge in and start changing things NO RISK, it changes nothing on the miner.

Does that answer your questions?

YMMV
Smiley


few volts could be used as maximum per die having temperatures of 50 and 57 º C

sorry for my English
sr. member
Activity: 386
Merit: 250
March 31, 2014, 09:03:57 PM
Might put your window capture advance? volts to see die?

I think I do not understand the question.
(it does not prevent a reply though)

If you are asking about volts per die,
this information can be found on your miner Advanced web interface
or
using bfgminer press 'm' and use up/down arrow keys will work also.

The only advantage of the .awk program I posted is HW%  per die (48 core).
It is not very 'accurate' but is useful to find which die has what %HW error for tuning.

It could also be a shortcut if you want to play with looking at core information.
If you plunge in and start changing things NO RISK, it changes nothing on the miner.

Does that answer your questions?

YMMV
Smiley
Pages:
Jump to: