Bible Pay

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rob Andrews

Pages: 1 ... 113 114 115 116 117 118 119 [120] 121 122 123 124 125 126 127 ... 263
1786
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 19, 2020, 02:10:10 PM »
Looks like this latest release was real solid! I ran one rig for over 12 hours and only a few bbp share rejects, also

Currently installed ubuntu etc on another rig and fiddling with activating 1 gb huge pages.
Then im gonna see how it works.

Thats great!  Yeah, on an unrelated note, I probably spent 24 hours of my life doing some debugging that was unecessary.
I have been debugging xmrig in a virtual machine, and some of the changes I released were in response to believing I introduced a bug.
So just out of curiosity this morning I downloaded xmrig in the vm and ran it in debug mode and sure enough it crashed.  So the whole time Ive been dealing with something that is already part of the environment.  So basically I believe the way I need to summarize this is :  RandomX creates machine language in JIT for execution on various processors.  We cannot debug this in a vm 'normally'. 

This is pretty wild, so now I rebooted and Im testing the last version in windows again (this thing gave me so many false positives, I think after setting the MSR registers, the machine asked me to reboot, then the miner started dissapearing (silent exit) on my dev machine) - but as a strange coincinence (not related to something we added recently). 

Oh well anyway long story short it appears the GCC version is working on my windows dev machine now after a reboot, and its not exiting.

I guess I had some locked ram pages or something...

Ill try to burn this version in and confirm.

This morning I added the passthrough difficulty onto the users display.


1787
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 18, 2020, 05:02:47 PM »
On the pool, I changed the 3 difficulties, please try these:

port 3008:  Diff = 2

Port 3032:  Diff = VarDiff (range:  1-10)

Port 3256:  Diff = 10


I just added two more ports:


port 3008:  Diff = 2
port 3007:  Diff = 7
Port 3005:  Diff = 5
Port 3032:  Diff = VarDiff (range:  1-10)
Port 3256:  Diff = 10

Ill remove the non corresponding ports later once we work the kinks out.

EDIT:  I see we also need to pass the correct nomp difficulty through to the client (it always says 1).  Ill add to todo.



1788
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 18, 2020, 04:50:44 PM »
XMRig - 5.6.0


- Fix share submission bug



1789
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 18, 2020, 04:45:11 PM »
5.5.9 i got up and running.
Im testing out the  3256 port.

after 5 minutes i got 2 biblepay shares so seems working better now with lower difficulty.

Positive the terminal got less cluttered. 

ill let it run 12 hours atleast.

Thanks, but unfortunately I added a new bug!

Re-releasing now (Ill increase the version).


1790
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 18, 2020, 04:05:29 PM »
XMRig - 5.5.9



Please upgrade to 5.5.9 everyone as this version has the new code to prevent out of order execution.


1791
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 18, 2020, 03:58:13 PM »
Hey Rob.

Im testing new miner now.
Quick question, i changed the : rxtest.biblepay.org:3008 to rxtest.biblepay.org:3256

to change difficulty. Monero and charity monero seems fine from output but i havent seens any bbp solved or rejected.

Should i switch back to starting difficulty ?
Also can say that i have been running miner for 30 minutes so i figured should have gotten some bbp shares solved atleast.

On the pool, I changed the 3 difficulties, please try these:

port 3008:  Diff = 2

Port 3032:  Diff = VarDiff (range:  1-10)

Port 3256:  Diff = 10

Thanks!


1792
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 18, 2020, 03:46:08 PM »
Hey Rob.

Im testing new miner now.
Quick question, i changed the : rxtest.biblepay.org:3008 to rxtest.biblepay.org:3256

to change difficulty. Monero and charity monero seems fine from output but i havent seens any bbp solved or rejected.

Should i switch back to starting difficulty ?
Also can say that i have been running miner for 30 minutes so i figured should have gotten some bbp shares solved atleast.

Yeah, I think 256 is way too hard for randomx, let me go in and edit the pool settings and change two settings.  Just a wild guess but we might be able to get away with 2 and 5, Ill let you test those.  Theoretically the payments will work fine with the new settings - but Ill post when these are changed.

Btw, I have been debugging the GCC version now, trying to get to the source of that machine language error and I believe I finally found it.
(This Randomx algo is very interesting in that hashes have to be done in order.  Basically the problem was the original monero devs make it like this:
first hash -> next Hash -> . . . -> Test hash from a separate VM
BBP was like this:
First hash -> next Hash -> Test hash from the 'same' virtual machine.
(Sounds innoculous but the problem is it corrupts the scratchpad, and I wouldnt have known that except through this trial and error (that took about 3 days of debugging).

I just hope this is behind us!

So, I need to issue a new release.  Thanks!

1793
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 18, 2020, 11:08:46 AM »
XMRig - 5.5.8 - Leisure Upgrade
GCC Version



This release is the GCC version for both windows and linux.
May we please test this new version on both platforms to ensure long term stability?


1794
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 18, 2020, 10:39:27 AM »
Im using windows 10 on my machines.
Gonna move over my headless systems to ubuntu.  Also im no linux guru so  yeah.....

Also i have been running almost 24 hours now i belive this latest miner and it seems to me it works pretty nice.

I have  3.99%  rejected shares for bbp.
Perhaps i can get less rejected shares by changing difficulty to 256 for bbp ?
Oh ok, good to know that you have a headless linux to test on also.
Yes, please let me make a post first for the next release so you can test with the newest version as Im seeing now that monero actually doesnt recommend people to debug in MSVS as some devs are complaining about crashes, so Im building a windows version now in mingw64, to see if the problem the whole time has been the way VS2017 compiles the code.  I also see XMRig no longer supports VS.

Uh, as far as rejects, I don't think we have to worry much as let me explain something on those - and since we are such as "niche" this is actually slightly different info than POBH, or RX in prod.  Since bbp-rx solves for an algorithm, our stales mean any hash that was submitted after the block changes (or a client really was solving for the wrong prior block hash).

So, in our case our hashes will really be minimized when the difficulty increases.
Another words:  With tiny diff (we have a .005 diff in testnet), if any miners share solves the block, there is a very high propensity for stale shares over the next 30 seconds (while the clients abort the current shares and get new ones).

However, when diff is say 10 in prod, since we do support multiple solutions per round (this is in contrast to the way bbp in prod works, which will be a big pro).  Another words, you can have 20 threads running, and if 10 solve shares, they will all be accepted (because all 10 had a chance to solve that block for that round).

So basically, its more on my end - I will try increasing the pools latency for block scanning in testnet.  But in testnet, if we can get diff to increase, stale shares should drop even more to a miniscule number (ie < 1%).


1795
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 18, 2020, 08:48:34 AM »
So I'm going through the code today in an attempt to merge the latest randomx changes into xmrig, and also to harden the build to prevent crashes.
This algorithm is huge, it's a monster when considering how much machine language is generated.
I've exploited some conditions where the bytecode that is generated crashes about 10 stack frames ahead of the last hash (another words the actual crash occurs in the rx virtual machine, in machine language).  Ive been trying to isolate this as it appears to actually be in the jit code on the rx side (last night I removed all the possible biblepay code around it and it still points to the jit code, so Im merging in the latest from XMRig now to see if its something they fixed recently).

But anyway, Id like to find out each OS version that is running out there.  Im using windows 7.  Can each of you please post if you are primarily using the windows exe or the linux version?

After the next build we will need a volunteer to run the linux version for a few days straight, to ensure the jit issue is fixed.  The windows version will probably be OK, as we have a compiler flag we can  set that will overcome any machine language exceptions and let it recover (and keep mining).

1796
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 17, 2020, 09:55:33 AM »
BBP Xmrig 5.5.7e - Leisure Upgrade



Ok, this version theoretically stops the dropouts, let us please test it. 


1797
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 17, 2020, 09:42:36 AM »
Did Another comparison with 8 threads and higher Clocks.

  • Ryzen 5 1600 (14nm)@3.3ghz, Asus b350 rog strix,  8 threads, --cpu-affinity 0xD75, 1x8gb 3200mhz cl16
  • BBP+Xmr-8740 HPS, 70 watts
  • Ryzen 5 1600 (14nm)@3.3ghz, Asus b350 rog strix,  8 threads, --cpu-affinity 0xD75, 1x8gb 3200mhz cl16
  • Xmr only - 4375HPS, 70 watts

Conclusion 10.6% increase in hashrate but 27% increase in power

Thats interesting that the 11% increase pulls 27% more watts (probably 14 more watts or so).
But it also makes me wonder about total system power consumption to break even with XMR.  I remember seeing something like 10,000 hps required to breakeven at 8 cents a kwh, but I believe I was using 500 watts for the power supply.

So out of curiosity do you know if any of these industrial miners can pack 10 ryzen procs in a single machine using some type of board, so the total system power supply is only 1500 watts?  Similar to how they chain asics together?

Im seeing that the casual gamer will pretty much receive their stipend back in the form of xmr while the household pays the electricity (plus they get bbp of course in our case which is a pro).

Im almost ready to release the new miner.


1798
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 16, 2020, 02:09:49 PM »
Ok, I updated the rxtest pool algorithm properties to be much closer to randomx.  So now the worker hashrate speed should be "closer".

Also the graph should come down to earth over the next 4 hours.

I also updated the getting started tab with the proper starting instructions.

Let me burn in the new version of xmrig before I deploy it.  If it lasts over the next 4 hours Ill preliminarily release it so we can all test it.


1799
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 16, 2020, 09:09:26 AM »
XMR miner on same hardware:
Code: [Select]
Model name:          Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz
Stepping:            2
CPU MHz:             1797.916
BogoMIPS:            3595.83
Virtualization:      VT-x
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            30720K
NUMA node0 CPU(s):   0-5
- Compile xmrig for XMR only
Validation of hash rate from pool:
Code: [Select]
2.35 KH/s 0.00 H/s 374925243 114492 0 about a minute ago paladin
Xmrig console output:
Code: [Select]
[2020-02-15 05:48:32.798]  net  new job from us-west.minexmr.com:443 diff 117786 algo rx/0 height 2034184
[2020-02-15 05:49:05.115] speed 10s/60s/15m 2077.5 2063.7 2011.9 H/s max 2164.9 H/s
[2020-02-15 05:49:28.820]  cpu  accepted (3383/0) diff 117786 (72 ms)
[2020-02-15 05:49:32.828]  net  new job from us-west.minexmr.com:443 diff 117750 algo rx/0 height 2034185
[2020-02-15 05:50:05.168] speed 10s/60s/15m 2065.7 2054.3 2012.8 H/s max 2164.9 H/s
[2020-02-15 05:50:05.777]  net  new job from us-west.minexmr.com:443 diff 117770 algo rx/0 height 2034186
[2020-02-15 05:51:05.220] speed 10s/60s/15m 2092.0 2082.8 2018.5 H/s max 2164.9 H/s
[2020-02-15 05:51:57.700]  cpu  accepted (3384/0) diff 117770 (72 ms)
[2020-02-15 05:52:05.275] speed 10s/60s/15m 2033.7 2085.6 2025.9 H/s max 2164.9 H/s
[2020-02-15 05:52:46.657]  cpu  accepted (3385/0) diff 117770 (72 ms)
[2020-02-15 05:53:05.333] speed 10s/60s/15m 2090.6 2094.7 2033.8 H/s max 2164.9 H/s
[2020-02-15 05:53:43.143]  net  new job from us-west.minexmr.com:443 diff 117692 algo rx/0 height 2034187
[2020-02-15 05:54:05.390] speed 10s/60s/15m 2111.2 2103.9 2039.1 H/s max 2164.9 H/s
[2020-02-15 05:54:14.771]  cpu  accepted (3386/0) diff 117692 (72 ms)

Compile BBP version
>cli -version
BiblePay Core RPC client version 1.5.0.2

Compile xmrig (BBP+XMR)

Code: [Select]
* ABOUT        XMRig/5.5.6 gcc/7.4.0
 * BBP + XMR - Welcome to the future of orphan charity
 * LIBS         libuv/1.18.0 OpenSSL/1.1.1 hwloc/1.11.9
 * HUGE PAGES   supported
 * 1GB PAGES    disabled
 * CPU          Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz (6) x64 AES
                L2:0.8 MB L3:30.0 MB 6C/6T NUMA:1
 * MEMORY       8.5/15.7 GB (54%)
 * DONATE       10%
 * ASSEMBLY     auto:intel
 * POOL #1      rxtest.biblepay.org:3008 algo auto
 * COMMANDS     hashrate, pause, resume
 * OPENCL       disabled
 * CUDA         disabled
[2020-02-15 18:24:31.011]  net  use pool rxtest.biblepay.org  Orphan Charity
[2020-02-15 18:24:31.011]  net  new job from rxtest.biblepay.org diff 75000 algo rx/0 height 2034566
[2020-02-15 18:24:31.016]  msr  msr kernel module is not available

BBP pool
Biblepay
Code: [Select]
Address BBP Shares BBP Invalid XMR Shares XMR Invalid XMR Charity Shares Efficiency Hashrate
yLnVyHJxEdVVLQSmafTPsQhaeomNV96gWu 19 5 34 0 0 79.16% 102.01 KH
XMR pool
Code: [Select]
2.94 KH/s 0.00 H/s 39041199 40000 0 less than a minute ago *base address*
XMR/BBP miner console
Code: [Select]
020-02-15 19:57:54.291]  net  new job from rxtest.biblepay.org diff 120621 algo rx/0 height 2034613
[2020-02-15 19:58:01.819] speed 10s/60s/15m 4106.8 4146.3 4165.3 H/s max 4319.6 H/s
[2020-02-15 19:58:54.263]  cpu  accepted (277/20) diff 1 BBP (0 ms)
[2020-02-15 19:59:01.868] speed 10s/60s/15m 4094.9 4103.8 4156.6 H/s max 4319.6 H/s
[2020-02-15 19:59:03.058]  net  new job from rxtest.biblepay.org diff 119971 algo rx/0 height 2034614
[2020-02-15 19:59:37.747]  net  new job from rxtest.biblepay.org diff 119321 algo rx/0 height 2034615
[2020-02-15 19:59:42.731]  net  new job from rxtest.biblepay.org diff 118678 algo rx/0 height 2034616
[2020-02-15 19:59:50.170]  cpu  rejected (277/21) diff 1 BBP "Stale" (0 ms)
[2020-02-15 20:00:01.925] speed 10s/60s/15m 4018.6 4080.5 4148.4 H/s max 4319.6 H/s
[2020-02-15 20:00:11.184]  cpu  accepted (278/21) diff 1 BBP (0 ms)
[2020-02-15 20:00:32.179]  cpu  accepted (279/21) diff 1 BBP (0 ms)
[2020-02-15 20:00:35.175]  cpu  accepted (280/21) diff 1 BBP (0 ms)
[2020-02-15 20:00:56.401]  net  new job from rxtest.biblepay.org diff 117412 algo rx/0 height 2034617
[2020-02-15 20:00:58.185]  cpu  rejected (280/22) diff 1 BBP "Stale" (0 ms)
[2020-02-15 20:01:01.984] speed 10s/60s/15m 3990.0 4023.2 4136.7 H/s max 4319.6 H/s

Thanks!
So it is very nice that your console(s) confirm that you receive 2070/4023 hps (confirming roughly 195% increase is consistent with earlz's results also) - I will add this result to the wiki page.

This also confirms that you will receive almost exactly the same XMR reward if you mine against minexmr as you would against the biblepay/xmr side.  If anyone wants to switch for a couple days feel free to as you will easily see on the minexmr earnings page the results earned.

As far as our Nomp pools hash/ps readout, I do realize that is completely wrong.  Its because no multiplier exists yet for randomx.  Ill create one asap.  I believe its just a matter of changing the multiple from 256 to something like 2.5  - (randomx hashes take a massive amount of time compared to x11 hashes - something like 2000:200000).

Edit:  Ill fix the getting started guide along with the multiplier right after we release this next bug fix.

1800
TestNet Discussion Archive / Re: BIBLEPAY - RANDOMX INTEGRATION
« on: February 16, 2020, 09:01:57 AM »
We are already mining the monero part via minexmr, one of the biggest monero pools.
And ofc its about more than just pool hashrate, ddos protection pool uptime and what not.

Another topic are you guys getting 10%  rejected stale BBP shares?

i have 2541/283 accepted bbp shares seems alot rejected ones.

So before I answer let me give a background from my perspective on the BBP rejected shares:
On version 5.5.5, I was debugging for a couple days and I noticed repetetive behavior on the xmrig side - that about after 8 hours of mining, my BBP side would drop out.  It has something to do with an expiration (which I thought I fixed in 5.5.6).  But at that time, the BBP share would be rejected in every post but it was not a stale share.

So now moving along to 5.5.6, in this version, we reconnect to the pool and reauthorize the miner automatically after a certain amount of time - and I thought that fixed it.  However it appears this actually permutated the same error into stale shares instead of connectivity issues.

So before I went to sleep last night I rebooted the pool; and this confirms that the problem is definitely inside our xmrig (not in the pool).

So for now in summary:  If you restart the xmrig miner, you can mine perfectly for about 8 hours then we start to get stale shares on every share.
I just restarted mine and now its working again.

I'll look at this today.


Pages: 1 ... 113 114 115 116 117 118 119 [120] 121 122 123 124 125 126 127 ... 263