Author Topic: [ANN] ypool.net - Fast PTS pool  (Read 195744 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #161 on: November 13, 2013, 06:33:05 pm »
Some one care to benchmark my latest getwork implementation against ypool?
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline peterwayne

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #160 on: November 13, 2013, 06:30:59 pm »
Mining at 120 collisions/minute vs. 20hpm on Alienware 14 laptop... though the real thing to be seen is how much I get paid/earn.

Offline super3

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #159 on: November 13, 2013, 06:17:41 pm »
Anyone else cloud mining the crap out of this with ypool? It isn't every day you get a profitable CPU coin.

Offline peterwayne

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #158 on: November 13, 2013, 06:14:05 pm »
I use ypool for prime coining mining, so now I'll use it for protoshare mining. Thanks :).

Offline Gumik

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #157 on: November 13, 2013, 06:01:08 pm »
Little script I wrote :

Code: [Select]
#!/usr/bin/python2.7
#  Licensed to WTFPL ( http://www.wtfpl.net/about/ )

import sys
import signal
import datetime
import pexpect
import time

cmd = "./jhProtominer"
args = [ "-o", "http://ypool.net:10034",
  "-u", "your_worker",
  "-p", "your_password",
  "-t", "4",
  "-m512" ]

SHARE_LOG = True

if SHARE_LOG:
logfile=open('./ypool.log', 'a', buffering=1)

# Signal handling

def signal_handler(signum,frame):
if protominer.isalive():
global stop
if signum == 2:
#print("\nProgram received SIGINT signal")
protominer.sendintr()
else:
#print("Program received SIGTERM signal")
protominer.terminate()
stop = True

signal.signal(signal.SIGTERM, signal_handler)
signal.signal(signal.SIGINT, signal_handler)

# Main loop

number = 0
stop = False

while not stop:
protominer = pexpect.spawn(cmd,args,timeout=None,logfile=sys.stdout)
line = protominer.readline()
while line:
try:
line = line.decode()
except:
pass
if "Connection to server lost" in line or "Connection attempt failed" in line:
if SHARE_LOG:
lost_time = datetime.datetime.now() \
   .strftime('[ERROR] %Y-%m-%d %H:%M:%S CONNECTION DOWN\n') \
   .encode('utf8')
logfile.write(lost_time)
print ("Connection down")
break
if SHARE_LOG:
if "Share found!" in line:
number += 1
        share = "[INFO] %Y-%m-%d %H:%M:%S SHARE : " + str(number) + "\n"
                                        newshare_time = datetime.datetime.now() \
                                                   .strftime(share) \
                                                   .encode('utf8')
                                        logfile.write(newshare_time)

line = protominer.readline()
if protominer.isalive():
protominer.terminate()
try:
protominer.wait()

except pexpect.ExceptionPexpect, e:
if e.value != 'Cannot wait for dead child process.':
raise
if stop:
print("Exiting...")
else:
if SHARE_LOG:
restart_time = datetime.datetime.now() \
   .strftime('[INFO] %Y-%m-%d %H:%M:%S RESTART\n') \
   .encode('utf8')
logfile.write(restart_time)
print("Restarting in 10s...")
time.sleep(10)

if SHARE_LOG:
logfile.close()

If the connection attempt fails or the connection is lost it restarts the miner in 10s. If the miner is killed ( like with pkill ), it automatically restarts it too. If the script is killed, it ensures that the miner is stopped properly before exiting.
If SHARE_LOG is set to True, each time it finds a share, it logs the time and share number to ypool.log, also logs connection down and restart times ( maybe I ll disable this because when the pool goes down for a long time that's a lot of useless writing ).

If you want to give it a try you need pexpect installed, if you have pip just do pip install pexpect.
« Last Edit: November 13, 2013, 06:07:12 pm by Gumik »
XPM : AaMussGvG8963TZKswLVwY1BNG3zs22MvK
PTS : PpTe2GPfXkk1T4boaPATERzwVx5Sn5nyRr

Offline joesmoe

  • Jr. Member
  • **
  • Posts: 40
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #156 on: November 13, 2013, 06:00:03 pm »
I tried switching to the sphlib library for better sha512 performance, I seem to be getting about 50% more collisions per minute on my test system

I would be happy if someone could test how it affects their performance.
https://github.com/FrzMe/jhProtominer/tree/linux-port

Great work!!
It boost my E5620 from 91 to ~96. Not very fast, don't know why..

I've merged your changeset (-b sph), add memory of 1024 ~4096MB as well.

Thank you!

I've also experimented with bigger memory sizes (https://github.com/FrzMe/jhProtominer/commit/ce443328095264700f8eb3bd3cbea4187e9e115c ) not sure of the results yet. I've moved the worker function to a new file that can be tweaked with macros to avoid code duplication in the source hope I've done that correctly :D I've moved the worker function to a new file that can be tweaked with macros to avoid code duplication in the source hope I've done that correctly :D

My test system is rather slow that's probably the reason why I get so much more performance with the new hash library (8virtual cores with 4500 mhz host cpu capped -> ~ 1/4 of a more or less modern xeon => I originally had about 30cps, now around 42)

Quote
The last version has 76 c/m in my system, and this new one about 84c/m. BUT, this new version doesn't find any hash in several minutes I have been running it.
Maybe you are just unlucky? :( Of course there might be something wrong but it works fine for me.

Quote
How are you compiling this?
make CFLAGS="-Ofast -march=native"
Haven't tried it on Windows.

root@20:~/jhProtominer/src/jhProtominer# make CFLAGS="-Ofast -march=native"
make: *** No targets specified and no makefile found.  Stop

Offline Gumik

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #155 on: November 13, 2013, 05:38:38 pm »
what 's wrong with my computer?


F:\jhProtominer\64bit>jhProtominer.exe -o ypool.net -u hnzzfj.001 -p x -m512
*****************************************
? jhProtominer (v0.1c)                            ?
? author: jh                                      ?
? http://ypool.net                                ?
*****************************************
Launching miner...
Using 512 megabytes of memory per thread
Using 4 threads
Connected to server using x.pushthrough(xpt) protocol
xpt: Logged in with hnzzfj.001
The miner is configured to use a different algorithm.
Make sure you miner login details are correct


F:\jhProtominer\64bit>jhProtominer -o http://ypool.net:10034  -u hnzzfj.001 -p x -t 4 -m512
*****************************************
? jhProtominer (v0.1c)                            ?
? author: jh                                      ?
? http://ypool.net                                ?
*****************************************
Launching miner...
Using 512 megabytes of memory per thread
Using 4 threads
Connected to server using x.pushthrough(xpt) protocol
xpt: Logged in with hnzzfj.001
The miner is configured to use a different algorithm.
Make sure you miner login details are correct

Seems like you're using your XPM workers, on Ypool you must select PTS as coin mode ( top bar ) and then create your PTS workers on the left ;) 
« Last Edit: November 13, 2013, 05:40:10 pm by Gumik »
XPM : AaMussGvG8963TZKswLVwY1BNG3zs22MvK
PTS : PpTe2GPfXkk1T4boaPATERzwVx5Sn5nyRr

Offline cybe

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #154 on: November 13, 2013, 05:36:13 pm »
Are you able to run miners on the digital ocean vps? I'm not for some reason (some kind of anti-mining botnet measures?)

setup a digital ocean vps - looking good so far.

are there any news on payout bug?

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #153 on: November 13, 2013, 05:27:40 pm »
setup a digital ocean vps - looking good so far.

are there any news on payout bug?

Offline tyeken8

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #152 on: November 13, 2013, 05:23:39 pm »
I keep getting:
Code: [Select]
Share found!
Invalid share
Resaon: Share data time overflow

on my old debian (amd64) laptop (core2duo, just reinstalled).

Any ideas?

Nop, this is a known issue. It occurs on of my servers too. I need jh00's support to debug that.

Offline sword

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #151 on: November 13, 2013, 05:15:42 pm »
what 's wrong with my computer?


F:\jhProtominer\64bit>jhProtominer.exe -o ypool.net -u hnzzfj.001 -p x -m512
*****************************************
? jhProtominer (v0.1c)                            ?
? author: jh                                      ?
? http://ypool.net                                ?
*****************************************
Launching miner...
Using 512 megabytes of memory per thread
Using 4 threads
Connected to server using x.pushthrough(xpt) protocol
xpt: Logged in with hnzzfj.001
The miner is configured to use a different algorithm.
Make sure you miner login details are correct


F:\jhProtominer\64bit>jhProtominer -o http://ypool.net:10034  -u hnzzfj.001 -p x -t 4 -m512
*****************************************
? jhProtominer (v0.1c)                            ?
? author: jh                                      ?
? http://ypool.net                                ?
*****************************************
Launching miner...
Using 512 megabytes of memory per thread
Using 4 threads
Connected to server using x.pushthrough(xpt) protocol
xpt: Logged in with hnzzfj.001
The miner is configured to use a different algorithm.
Make sure you miner login details are correct

Offline cybe

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #150 on: November 13, 2013, 05:13:06 pm »
AMD Opteron(tm) Processor 4171 HE (8 cores)

and compiled it with:

make CFLAGS="-O3 -march=native"  is faster than make CFLAGS="-Ofast -march=native"




Doesn't seem faster for me. Or should I have downloaded the remotes/origin/linux-bigmemversion?
Sad to hear, on what system are you running this and how did you compile it? Bigmem is only for using >512mb ram per thread, I'm not yet sure if that's a good idea.

Offline Frz

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #149 on: November 13, 2013, 05:04:32 pm »
Doesn't seem faster for me. Or should I have downloaded the remotes/origin/linux-bigmemversion?
Sad to hear, on what system are you running this and how did you compile it? Bigmem is only for using >512mb ram per thread, I'm not yet sure if that's a good idea.

Offline cybe

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #148 on: November 13, 2013, 04:46:15 pm »
Doesn't seem faster for me. Or should I have downloaded the remotes/origin/linux-bigmemversion?


I tried switching to the sphlib library for better sha512 performance, I seem to be getting about 50% more collisions per minute on my test system

I would be happy if someone could test how it affects their performance.
https://github.com/FrzMe/jhProtominer/tree/linux-port

Offline BartV

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [ANN] ypool.net + Custom high speed miner (up to 500% faster)
« Reply #147 on: November 13, 2013, 04:40:00 pm »
I keep getting:
Code: [Select]
Share found!
Invalid share
Resaon: Share data time overflow

on my old debian (amd64) laptop (core2duo, just reinstalled).

Any ideas?
BTC: 1CZvZTuN4RyySoUpJXjFqR6Tyx2B1onrMd
PTS: PY2AiusDmMBpbnrhSG5TUCczibkYNoBAkK