Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    NSGminer v0.9.2: The Fastest Feathercoin / NeoScrypt GPU Miner

    Mining
    17
    121
    230081
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ghostlander
      ghostlander Regular Member @Wolf0 last edited by

      @Wolf0 https://github.com/ghostlander/nsgminer/blob/692e2ef2946229cf057dd006c8e85c8674f0342f/neoscrypt.cl#L713

      It’s executed 64 times per hash. The final XOR outside the loop is less important.

      @Wolf0 said:

      Unless you mean something you’ve not pushed, in which case never mind. If you have, then nice - my trick with the aligning the XOR worked out for you.

      Well, I added it to my beta 10 days ago. You have mentioned to do bytewise XOR in uints, I have vectorised it which is also fine. Not uploaded to GitHub yet, but quite a few people use it right now. It’s well improved over the previous release in performance and compatibility. I see only a 5% decrease while switching from 14.6 to 15.7 drivers. It was much worse before (https://bitcointalk.org/index.php?topic=712650.msg13585416#msg13585416).

      W 1 Reply Last reply Reply Quote 1
      • W
        Wolf0 Regular Member @ghostlander last edited by

        @ghostlander said:

        @Wolf0 https://github.com/ghostlander/nsgminer/blob/692e2ef2946229cf057dd006c8e85c8674f0342f/neoscrypt.cl#L713

        It’s executed 64 times per hash. The final XOR outside the loop is less important.

        @Wolf0 said:

        Unless you mean something you’ve not pushed, in which case never mind. If you have, then nice - my trick with the aligning the XOR worked out for you.

        Well, I added it to my beta 10 days ago. You have mentioned to do bytewise XOR in uints, I have vectorised it which is also fine. Not uploaded to GitHub yet, but quite a few people use it right now. It’s well improved over the previous release in performance and compatibility. I see only a 5% decrease while switching from 14.6 to 15.7 drivers. It was much worse before (https://bitcointalk.org/index.php?topic=712650.msg13585416#msg13585416).

        OH, lol, yes, that is good, but that was not what I meant! This line:

        [code]
        neoscrypt_bxor(&Bb[bufptr], &T[0], 32);
        [/code]

        I’m saying I did this operation using uints.

        ghostlander 1 Reply Last reply Reply Quote 0
        • ghostlander
          ghostlander Regular Member @Wolf0 last edited by

          @Wolf0 I get it. I’ve also rewritten it. The code quoted is plain bytewise, though old VLIW GPUs like it for some arcane reason.

          W 1 Reply Last reply Reply Quote 0
          • W
            Wolf0 Regular Member @ghostlander last edited by

            @ghostlander said:

            @Wolf0 I get it. I’ve also rewritten it. The code quoted is plain bytewise, though old VLIW GPUs like it for some arcane reason.

            Odd. I got my 6970 today, so I should be able to work on Cayman in a while.

            1 Reply Last reply Reply Quote 0
            • R
              RIPPEDDRAGON Regular Member last edited by

              I have managed to squeeze 520 and 500Kh/s out of my r9 290s, and up to 420KH/s on my 7950s which is more where I was expecting, all my 7970/280x are between 450 and 500KH/s with the majority being around 500.

              1 Reply Last reply Reply Quote 0
              • ghostlander
                ghostlander Regular Member last edited by

                I have optimised almost all bytewise parts of FastKDF. 800KH/s before with v7 beta, 820KH/s now (Catalyst 14.6) or 770KH/s (Catalyst 15.7).

                1 Reply Last reply Reply Quote 1
                • AmDD
                  AmDD Regular Member last edited by

                  Even with beta v7, Im floating around 320KH/s on my 7950s. I only saw a ~20-30KH/s increase.

                  P2Pool Node: http://104.236.34.9:19327/ 0.5% fee

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    RIPPEDDRAGON Regular Member @AmDD last edited by

                    @AmDD said:

                    Even with beta v7, Im floating around 320KH/s on my 7950s. I only saw a ~20-30KH/s increase.

                    what driver version are you using?

                    AmDD 1 Reply Last reply Reply Quote 0
                    • AmDD
                      AmDD Regular Member @RIPPEDDRAGON last edited by

                      @RIPPEDDRAGON said:

                      @AmDD said:

                      Even with beta v7, Im floating around 320KH/s on my 7950s. I only saw a ~20-30KH/s increase.

                      what driver version are you using?

                      14.7

                      P2Pool Node: http://104.236.34.9:19327/ 0.5% fee

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        RIPPEDDRAGON Regular Member @AmDD last edited by RIPPEDDRAGON

                        @AmDD said:

                        @RIPPEDDRAGON said:

                        @AmDD said:

                        Even with beta v7, Im floating around 320KH/s on my 7950s. I only saw a ~20-30KH/s increase.

                        what driver version are you using?

                        14.7

                        weird… i think that is what I am running, plain and simple -w 128 -I 16…I will check tonight

                        What clocks are yours set to? Im running 1110/1550 or higher…

                        AmDD 2 Replies Last reply Reply Quote 0
                        • AmDD
                          AmDD Regular Member @RIPPEDDRAGON last edited by

                          @RIPPEDDRAGON said:

                          @AmDD said:

                          @RIPPEDDRAGON said:

                          @AmDD said:

                          Even with beta v7, Im floating around 320KH/s on my 7950s. I only saw a ~20-30KH/s increase.

                          what driver version are you using?

                          14.7

                          weird… i think that is what I am running, plain and simple -w 128 -I 16…I will check tonight

                          What clocks are yours set to? Im running 1110/1550 or higher…

                          Ill have to double check my settings but I think clocks are 1100/1600 or so.

                          P2Pool Node: http://104.236.34.9:19327/ 0.5% fee

                          1 Reply Last reply Reply Quote 0
                          • U
                            UnklAdM Regular Member last edited by

                            Trying to compile on a custom Puppy Linux install (MinerPup).

                            ...
                            make[2]: Entering directory `/root/archive/nsgminer'
                              CC       nsgminer-miner.o
                            In file included from miner.c:66:
                            neoscrypt.h:9: error: redefinition of typedef ‘ullong’
                            miner.h:34: error: previous declaration of ‘ullong’ was here
                            neoscrypt.h:12: error: redefinition of typedef ‘uchar’
                            miner.h:30: error: previous declaration of ‘uchar’ was here
                            make[2]: *** [nsgminer-miner.o] Error 1
                            make[2]: Leaving directory `/root/archive/nsgminer'
                            make[1]: *** [all-recursive] Error 1
                            make[1]: Leaving directory `/root/archive/nsgminer'
                            make: *** [all] Error 2
                            

                            Any suggestions?

                            - UnklAdM

                            ghostlander Wellenreiter 2 Replies Last reply Reply Quote 0
                            • AmDD
                              AmDD Regular Member @RIPPEDDRAGON last edited by

                              @RIPPEDDRAGON said:

                              @AmDD said:

                              @RIPPEDDRAGON said:

                              @AmDD said:

                              Even with beta v7, Im floating around 320KH/s on my 7950s. I only saw a ~20-30KH/s increase.

                              what driver version are you using?

                              14.7

                              weird… i think that is what I am running, plain and simple -w 128 -I 16…I will check tonight

                              What clocks are yours set to? Im running 1110/1550 or higher…

                              -w 256 -I 13 -g 2 and 1050/1600 clocks on 14.7 drivers. I did see when I got home that the rig had shutdown and had issues booting back up. I reinstalled the drivers and tried -w 128. So far its slower but I’ll let it hash awhile to see what it does.

                              P2Pool Node: http://104.236.34.9:19327/ 0.5% fee

                              R 1 Reply Last reply Reply Quote 0
                              • ghostlander
                                ghostlander Regular Member @UnklAdM last edited by ghostlander

                                @UnklAdM said:

                                Trying to compile on a custom Puppy Linux install (MinerPup).

                                ...
                                make[2]: Entering directory `/root/archive/nsgminer'
                                  CC       nsgminer-miner.o
                                In file included from miner.c:66:
                                neoscrypt.h:9: error: redefinition of typedef ‘ullong’
                                miner.h:34: error: previous declaration of ‘ullong’ was here
                                neoscrypt.h:12: error: redefinition of typedef ‘uchar’
                                miner.h:30: error: previous declaration of ‘uchar’ was here
                                make[2]: *** [nsgminer-miner.o] Error 1
                                make[2]: Leaving directory `/root/archive/nsgminer'
                                make[1]: *** [all-recursive] Error 1
                                make[1]: Leaving directory `/root/archive/nsgminer'
                                make: *** [all] Error 2
                                

                                Any suggestions?

                                - UnklAdM

                                Edit miner.c and driver-cpu.c to include neoscrypt.h before miner.h, and update typedefs in miner.h to the following:

                                #if !(uchar)
                                typedef unsigned char uchar;
                                #endif
                                #if !(uint)
                                typedef unsigned int uint;
                                #endif
                                #if !(ullong)
                                typedef unsigned long long ullong;
                                #endif

                                1 Reply Last reply Reply Quote 0
                                • Wellenreiter
                                  Wellenreiter Moderators @UnklAdM last edited by Wellenreiter

                                  @UnklAdM

                                  In the code a type is defined, that was previously defined in another part/module/file

                                  Suggesstion:

                                  Edit miner.h and comment out the lines defining the type ullong and uchar

                                  Then try again.

                                  [Edit]
                                  Ghostlanders way is far more elegant :D

                                  Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                                  Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                                  U 1 Reply Last reply Reply Quote 1
                                  • U
                                    UnklAdM Regular Member @Wellenreiter last edited by

                                    @Wellenreiter said:

                                    @UnklAdM

                                    In the code a type is defined, that was previously defined in another part/module/file

                                    Suggesstion:

                                    Edit miner.h and comment out the lines defining the type ullong and uchar

                                    Then try again.

                                    [Edit]
                                    Ghostlanders way is far more elegant :D

                                    Tried that, that’s why I’m here. Thanks anyway! I’ll try the other fix when I get to the office

                                    • UnklAdM.
                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      RIPPEDDRAGON Regular Member @AmDD last edited by RIPPEDDRAGON

                                      @AmDD So I checked driver version…its reporting as 15.8 but I know I downgraded it to 14.6 rc2

                                      also I am running at I 15 because I am under 400KH/s with I 16

                                      1 Reply Last reply Reply Quote 0
                                      • ghostlander
                                        ghostlander Regular Member last edited by

                                        NSGminer v0.9.2 released. Well optimised for any drivers. Enjoy.

                                        https://bitcointalk.org/index.php?topic=712650.msg13953935#msg13953935

                                        M 1 Reply Last reply Reply Quote 3
                                        • M
                                          mirrax @ghostlander last edited by

                                          @ghostlander said:

                                          NSGminer v0.9.2 released. Well optimised for any drivers. Enjoy.

                                          https://bitcointalk.org/index.php?topic=712650.msg13953935#msg13953935

                                          Thank you Ghostlander! I am not a miner, but will send you few more FTC later on :+1:

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            RIPPEDDRAGON Regular Member last edited by

                                            That fixed my slow r9 290!

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post