Author Topic: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool  (Read 614668 times)

0 Members and 1 Guest are viewing this topic.

Offline tony29

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #528 on: November 22, 2013, 12:43:25 pm »
OK,thanks  jabbaah, I will send you 1 pts.

Offline skaffen

  • Jr. Member
  • **
  • Posts: 25
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #527 on: November 22, 2013, 12:38:16 pm »
can someone on a i7 with SSE4 but -NO- AVX check if replacing
-march=native
with
-march=corei7
in
makefile.unix

then compile, then run, helps?

- xolokram

ps. sorry, i'm currently not able to test is

I'm on a VPS that disables avx.  I also had to comment out the selection of the avx assembly code in sha512.c:

   if (pc->proc_type == PROC_X64_INTEL || pc->proc_type == PROC_X64_AMD) {
      /*if (pc->avx_level > 0) {
         sha512_update_func = sha512_avx;
      } else*/ if (pc->sse_level >= 4) {
MMC: MLh27rbqmDWr6w9V5rWDV6pUFjganJhZv3
PTS:  Pf53gFMhCToW2nGovRKfRc4tWoXBY1A3Pq

Offline jabbaah

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #526 on: November 22, 2013, 12:37:58 pm »
I am running a CentOS 5.7 64 on cloud server , does it matter?

Just before you stated to run CentOS 6.2.

I guess CentOS 5.7 is way too old... you won't have all necessary dependencies available.
http://www.dmsp.de/Protoshares   ---   https://github.com/spommerening/ptstools
PTS: PouLU5HendYGqZXwHnzdvBeMboJsUu1z2b   ---   BTC: 1QLNqVxhi3JrC8A4PfTF7jCoSi4h4pQV1R

Offline tony29

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #525 on: November 22, 2013, 12:33:10 pm »
I am running a CentOS 5.7 64 on cloud server , does it matter?

Offline tony29

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #524 on: November 22, 2013, 12:31:05 pm »

yes i have installed yasm ,it give me this information when i execute :

[root@AY131122190016007b5aZ src]# yasm
yasm: No input files specified

just now I found a patch from google, and added belowing code to sha512.c:
#include <sys/param.h>
 #ifdef _BSD
 #include <sys/endian.h>
 #elif defined(__linux__)
 #include <byteswap.h>
 # if __BYTE_ORDER == __LITTLE_ENDIAN
 # ifndef htobe64
 # define htobe64(x) bswap_64 (x)
 # endif
 # ifndef be64toh
 # define be64toh(x) bswap_64 (x)
 # endif
 # else
 # ifndef htobe64
 # define htobe64(x) (x)
 # endif
 # ifndef be64toh
 # define be64toh(x) (x)
 # endif
 # endif
 #endif

  #ifdef HAVE_CONFIG_H
  #include "config.h"
  #endif

but when i make it againg ,
 it shows me a lot of  "*** has not been declared" and
"*** was not declared in this scope"

Offline jabbaah

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #523 on: November 22, 2013, 12:19:45 pm »
hi, i am not familar with linux, could anyone help me plz. when i make the linux source code on centos6.2-64 ,it give me this information:


[root@AY131122190016007b5aZ src]# make -f makefile.unix
g++ -c -O2  -fpermissive -o obj/sha512.o sha512.c
sha512.c: In function ‘void _final(SHA512_Context*, uint8_t*, int, int)’:
sha512.c:257: error: ‘be64toh’ was not declared in this scope
make: *** [obj/sha512.o] Error 1

how can i make it work?

I'm not absolutely sure, but I guess to remember that this error message was displayed before I installed 'yasm'. Did you install 'yasm' before compilation?

Yasm is a new dependency for the 0.7 miner.
http://www.dmsp.de/Protoshares   ---   https://github.com/spommerening/ptstools
PTS: PouLU5HendYGqZXwHnzdvBeMboJsUu1z2b   ---   BTC: 1QLNqVxhi3JrC8A4PfTF7jCoSi4h4pQV1R

Offline tony29

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #522 on: November 22, 2013, 12:08:13 pm »
hi, i am not familar with linux, could anyone help me plz. when i make the linux source code on centos6.2-64 ,it give me this information:


[root@AY131122190016007b5aZ src]# make -f makefile.unix
g++ -c -O2  -fpermissive -o obj/sha512.o sha512.c
sha512.c: In function ‘void _final(SHA512_Context*, uint8_t*, int, int)’:
sha512.c:257: error: ‘be64toh’ was not declared in this scope
make: *** [obj/sha512.o] Error 1

how can i make it work?

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 239
  • beeeeer.org
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #521 on: November 22, 2013, 11:37:55 am »
i had 1-2% on one machine and 4-6% on other machines yesterday

i would say 15% is too much

can you PM me a part of your console output of the miner with some information about REJECTED shares?

- xolokram
« Last Edit: November 22, 2013, 11:58:52 am by xolokram »
stats for pts@beeeeer.org
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb | LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd | PTS: PbfspbvSWxYqrp3DpRH7bsrmEqzY3418Ap

Offline soulhouser

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #520 on: November 22, 2013, 11:21:44 am »
15 % Rejected shares is it normal or too many?
« Last Edit: November 22, 2013, 11:24:05 am by soulhouser »

Offline ryen123

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #519 on: November 22, 2013, 11:03:53 am »
Just my feedback on the v0.7. I compiled myself in ubuntu 13.10, it seems to run much slower on i7-4770k compared to v0.6 (about 1.1sh/m slower). But v0.7 runs faster on my i7-2600k. So weird.

Xolokram my own pc running native ubuntu 13.10 running v0.6 get about 190c/m & 3.9sh/m. After running v0.7, its about 160+c/m & 2.8sh/m. At the beginning of the miner it says "using avx/sse". It's quite a big difference.

Just to put things in perspective my other pc i7-2600k also running native ubuntu13.10 in v0.6 about 160c/m, in v0.7 about 190c/m. Much improvement but sh/m drops.
« Last Edit: November 22, 2013, 11:11:13 am by ryen123 »
Latest by GawMiners | DigitalOcean Sign-Up Receive $10 Credit
Singapore P2Pool: DarkCoin

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 239
  • beeeeer.org
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #518 on: November 22, 2013, 10:44:44 am »
from v0.6 to v0.7? OS? VM or native?
does it state "using sphlib" or "using AVX/SSE" at the beginning of the miner?

i have a wild guess that the changes to the makefile (esp. -march=native) are not suitable for all distros/systems/configs

- xolokram

ps. @all: don't compare sh/m, use col/m
stats for pts@beeeeer.org
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb | LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd | PTS: PbfspbvSWxYqrp3DpRH7bsrmEqzY3418Ap

Offline JohnD

  • Full Member
  • ***
  • Posts: 76
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #517 on: November 22, 2013, 10:35:53 am »
Just my feedback on the v0.7. I compiled myself in ubuntu 13.10, it seems to run much slower on i7-4770k compared to v0.6 (about 1.1sh/m slower). But v0.7 runs faster on my i7-2600k. So weird.

Have exactly the same issue. My I7-4770 dropped from 85 c/m to 70 c/m running on 2 cores.
Donate if you like it:
PTS: Pi236u2LoqHjt8xs75YdQ7ZEFGuMqVd9sJ
BTC: 1AngSrJcBxG3zBks8DnPzvTU3Q2d678XaF

Offline Aikuro

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #516 on: November 22, 2013, 10:02:43 am »
Managed to compile it under FreeBSD 9.2 x64.
Just had to change '#include <endian.h>' to '#include <machine/endian.h>' and comment out this low-priority stuff.
Mining @167c/m using an i7 2600k, 7 threads, 2048MB/thread. Pretty acceptable I guess.
« Last Edit: November 22, 2013, 10:07:02 am by Aikuro »

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 239
  • beeeeer.org
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #515 on: November 22, 2013, 08:47:28 am »
can someone on a i7 with SSE4 but -NO- AVX check if replacing
-march=native
with
-march=corei7
in
makefile.unix

then compile, then run, helps?

- xolokram

ps. sorry, i'm currently not able to test is
stats for pts@beeeeer.org
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb | LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd | PTS: PbfspbvSWxYqrp3DpRH7bsrmEqzY3418Ap

Offline cholik

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (up to 501% faster)
« Reply #514 on: November 22, 2013, 07:58:27 am »
0.7 AVX version works fine on 3570K & 4670K CPU's, but doesn't work on 3570 (without "K")


my i5 3570 (without "K" :D) works fine for me with avx/sse. running win7 64b